{"action":"created","issue":{"url":"https://api.github.com/repos/dCache/dcache/issues/1958","labels_url":"https://api.github.com/repos/dCache/dcache/issues/1958/labels{/name}","comments_url":"https://api.github.com/repos/dCache/dcache/issues/1958/comments","events_url":"https://api.github.com/repos/dCache/dcache/issues/1958/events","html_url":"https://github.com/dCache/dcache/issues/1958","id":117737893,"number":1958,"title":"migration modules migrates to rdonly pools","user":{"login":"calestyo","id":919933,"avatar_url":"https://avatars.githubusercontent.com/u/919933?v=3","gravatar_id":"","url":"https://api.github.com/users/calestyo","html_url":"https://github.com/calestyo","followers_url":"https://api.github.com/users/calestyo/followers","following_url":"https://api.github.com/users/calestyo/following{/other_user}","gists_url":"https://api.github.com/users/calestyo/gists{/gist_id}","starred_url":"https://api.github.com/users/calestyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calestyo/subscriptions","organizations_url":"https://api.github.com/users/calestyo/orgs","repos_url":"https://api.github.com/users/calestyo/repos","events_url":"https://api.github.com/users/calestyo/events{/privacy}","received_events_url":"https://api.github.com/users/calestyo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dCache/dcache/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-19T04:18:24Z","updated_at":"2015-11-24T16:06:48Z","closed_at":"2015-11-19T07:43:29Z","body":"Hi.\r\n\r\nApparently the migration module writes to rdonly marked pools:\r\n[dCache] (lcg-lrz-dc01_0@pool_lcg-lrz-dc01_0) admin > \\s lcg-lrz-dc04_11 migration info 1\r\nCommand    : migration move -target=pgroup -concurrency=2 -- atlas_DataDisk\r\nState      : RUNNING\r\nQueued     : 6948\r\nAttempts   : 1448\r\nTargets    : lcg-lrz-dc03_9,lcg-lrz-dc49_5,lcg-lrz-dc41_4,lcg-lrz-dc45_0,lcg-lrz-dc64_2,lcg-lrz-dc64_1,lcg-lrz-dc60_5,lcg-lrz-dc60_4,lcg-lrz-dc64_0,lcg-lrz-d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,lcg-lrz-dc48_0,lcg-lrz-dc02_1,lcg-lrz-dc63_7,lcg-lrz-dc02_2,lcg-lrz-dc63_6,lcg-lrz-dc44_2,lcg-lrz-dc67_2,lcg-lrz-dc67_1,lcg-lrz-dc59_7,lcg-lrz-dc59_6,lcg-lrz-dc51_5,lcg-lrz-dc32_1,lcg-lrz-dc55_1,lcg-lrz-dc51_4,lcg-lrz-dc55_0,lcg-lrz-dc51_1,lcg-lrz-dc51_0,lcg-lrz-dc55_7,lcg-lrz-dc55_5,lcg-lrz-dc59_1,lcg-lrz-dc13_1,lcg-lrz-dc59_0,lcg-lrz-dc55_4,lcg-lrz-dc13_0,lcg-lrz-dc55_2\r\nCompleted  : 1446 files; 752430164402 bytes; 17%\r\nTotal      : 4282083893402 bytes\r\nConcurrency: 2\r\nRunning tasks:\r\n[1437] 00004C9D74A2ECEC4EA19E204E559846259B: TASK.Copying -> [lcg-lrz-dc04_12@local]\r\n[1447] 000046460C31CF7249BCA0609953D546E142: TASK.Copying -> [lcg-lrz-dc11_0@local]\r\n\r\n\r\nlcg-lrz-dc04_12  (enabled=true;active=29;rdOnly=true;links=0;pgroups=1;hsm=[];mode=enabled)\r\n\r\n\r\nChris."},"comment":{"url":"https://api.github.com/repos/dCache/dcache/issues/comments/159315576","html_url":"https://github.com/dCache/dcache/issues/1958#issuecomment-159315576","issue_url":"https://api.github.com/repos/dCache/dcache/issues/1958","id":159315576,"user":{"login":"calestyo","id":919933,"avatar_url":"https://avatars.githubusercontent.com/u/919933?v=3","gravatar_id":"","url":"https://api.github.com/users/calestyo","html_url":"https://github.com/calestyo","followers_url":"https://api.github.com/users/calestyo/followers","following_url":"https://api.github.com/users/calestyo/following{/other_user}","gists_url":"https://api.github.com/users/calestyo/gists{/gist_id}","starred_url":"https://api.github.com/users/calestyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calestyo/subscriptions","organizations_url":"https://api.github.com/users/calestyo/orgs","repos_url":"https://api.github.com/users/calestyo/repos","events_url":"https://api.github.com/users/calestyo/events{/privacy}","received_events_url":"https://api.github.com/users/calestyo/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T16:06:48Z","updated_at":"2015-11-24T16:06:48Z","body":"Ah sorry I meant to write \"the local<SPACE> hostname\"...\r\nWell in the past I've already had some tickets opened that this causes troubles.\r\n\r\nFor any Debian based distro having the local host name (and the FQDN) pointed to 127.0.1.1 is default since years... and it seems that all others will probably follow sooner or later when libnss-myhostname becomes more and more \"default/mandatory\" via systemd...\r\nAnd libnss-myhostname would also resolve to the loopback unless some global address has been specifically configured.\r\n\r\nIn any case... no software can rely that the hostname (short or fqdn) resolves to the right global address (there may be many)... there is not even a MUST that these names resolve at all.\r\n\r\nSo as said previously,... dCache shouldn't use that hack to discover its own global address, or at least that's what I guess it's used for :)\r\n\r\n\r\nAnd for the migration module case... shall I open a separate issue on that or do you already take care of it?"}}