{"action":"created","issue":{"url":"https://api.github.com/repos/EMCECS/ECS-CommunityEdition/issues/107","repository_url":"https://api.github.com/repos/EMCECS/ECS-CommunityEdition","labels_url":"https://api.github.com/repos/EMCECS/ECS-CommunityEdition/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/EMCECS/ECS-CommunityEdition/issues/107/comments","events_url":"https://api.github.com/repos/EMCECS/ECS-CommunityEdition/issues/107/events","html_url":"https://github.com/EMCECS/ECS-CommunityEdition/pull/107","id":140178193,"number":107,"title":"Update step1_ecs_singlenode_install.py","user":{"login":"bottkars","id":8255007,"avatar_url":"https://avatars.githubusercontent.com/u/8255007?v=3","gravatar_id":"","url":"https://api.github.com/users/bottkars","html_url":"https://github.com/bottkars","followers_url":"https://api.github.com/users/bottkars/followers","following_url":"https://api.github.com/users/bottkars/following{/other_user}","gists_url":"https://api.github.com/users/bottkars/gists{/gist_id}","starred_url":"https://api.github.com/users/bottkars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bottkars/subscriptions","organizations_url":"https://api.github.com/users/bottkars/orgs","repos_url":"https://api.github.com/users/bottkars/repos","events_url":"https://api.github.com/users/bottkars/events{/privacy}","received_events_url":"https://api.github.com/users/bottkars/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-11T13:01:34Z","updated_at":"2016-03-11T13:22:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/EMCECS/ECS-CommunityEdition/pulls/107","html_url":"https://github.com/EMCECS/ECS-CommunityEdition/pull/107","diff_url":"https://github.com/EMCECS/ECS-CommunityEdition/pull/107.diff","patch_url":"https://github.com/EMCECS/ECS-CommunityEdition/pull/107.patch"},"body":"we have to recheck the naming conventions !\r\n\r\ndevice_name ist the full devicepath device_name = disk_path + \"1\"\r\nwhere uuid_name only contains the relative name and not the absolute path\r\n\r\nthis resukts in an invalid logger output:\r\n\r\nMount attached /dev/dev/sdb1 to /ecs/uuid-1 volume.\r\n\r\nand the generated FStab Entry is wrong.\r\n/dev/sdb1 uuid-1 xfs rw,noatime,seclabel,attr2,inode64, noquota 0 0\r\n\r\n[ 1804.971065] systemd-fstab-generator[65807]: Mount point uuid-1 is not a valid path, ignoring.\r\n\r\nAlso, xisting Entries ARE NOT detected.\r\n\r\nmy suggestion would be \r\nfile.write(\"{} /ecs/{} xfs rw,noatime,seclabel,attr2,inode64, noquota 0 0\".format(device_name, uuid_name"},"comment":{"url":"https://api.github.com/repos/EMCECS/ECS-CommunityEdition/issues/comments/195360413","html_url":"https://github.com/EMCECS/ECS-CommunityEdition/pull/107#issuecomment-195360413","issue_url":"https://api.github.com/repos/EMCECS/ECS-CommunityEdition/issues/107","id":195360413,"user":{"login":"bottkars","id":8255007,"avatar_url":"https://avatars.githubusercontent.com/u/8255007?v=3","gravatar_id":"","url":"https://api.github.com/users/bottkars","html_url":"https://github.com/bottkars","followers_url":"https://api.github.com/users/bottkars/followers","following_url":"https://api.github.com/users/bottkars/following{/other_user}","gists_url":"https://api.github.com/users/bottkars/gists{/gist_id}","starred_url":"https://api.github.com/users/bottkars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bottkars/subscriptions","organizations_url":"https://api.github.com/users/bottkars/orgs","repos_url":"https://api.github.com/users/bottkars/repos","events_url":"https://api.github.com/users/bottkars/events{/privacy}","received_events_url":"https://api.github.com/users/bottkars/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T13:22:55Z","updated_at":"2016-03-11T13:22:55Z","body":"tested and works:\r\n Creating the seeds file with IP address: 192.168.2.246\r\n[11/Mar/2016 14:20:04] INFO [root:255] Partitioning the disk '/dev/sdb'\r\n[11/Mar/2016 14:20:04] INFO [root:263] Make File filesystem in '/dev/sdb1'\r\n[11/Mar/2016 14:20:04] INFO [root:268] Make /ecs/uuid-1 Directory in attached Volume\r\n[11/Mar/2016 14:20:04] INFO [root:272] Mount attached /dev/sdb1 to /ecs/uuid-1 volume.\r\n[11/Mar/2016 14:20:04] INFO [root:304] Executing the additional preparation script in '/dev/sdb1'\r\n\r\n\r\nfstab:\r\n\r\n#\r\n# /etc/fstab\r\n# Created by anaconda on Wed Jun  3 10:51:19 2015\r\n#\r\n# Accessible filesystems, by reference, are maintained under '/dev/disk'\r\n# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info\r\n#\r\n/dev/mapper/centos-root /                       xfs     defaults        0 0\r\nUUID=4e67e05d-7b78-473e-b736-8fb0f83b1622 /boot                   xfs     defaults        0 0\r\n/dev/mapper/centos-home /home                   xfs     defaults        0 0\r\n/dev/mapper/centos-swap swap                    swap    defaults        0 0\r\n/dev/sdb1 /ecs/uuid-1 xfs rw,noatime,seclabel,attr2,inode64, noquota 0 0\r\n"}}