{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/harbor/issues/1104","repository_url":"https://api.github.com/repos/vmware/harbor","labels_url":"https://api.github.com/repos/vmware/harbor/issues/1104/labels{/name}","comments_url":"https://api.github.com/repos/vmware/harbor/issues/1104/comments","events_url":"https://api.github.com/repos/vmware/harbor/issues/1104/events","html_url":"https://github.com/vmware/harbor/issues/1104","id":189904534,"number":1104,"title":"Harbor OVA does not reconfigure the network settings in subsequent boot when it fails in the firstboot","user":{"login":"mobla","id":3538999,"avatar_url":"https://avatars.githubusercontent.com/u/3538999?v=3","gravatar_id":"","url":"https://api.github.com/users/mobla","html_url":"https://github.com/mobla","followers_url":"https://api.github.com/users/mobla/followers","following_url":"https://api.github.com/users/mobla/following{/other_user}","gists_url":"https://api.github.com/users/mobla/gists{/gist_id}","starred_url":"https://api.github.com/users/mobla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobla/subscriptions","organizations_url":"https://api.github.com/users/mobla/orgs","repos_url":"https://api.github.com/users/mobla/repos","events_url":"https://api.github.com/users/mobla/events{/privacy}","received_events_url":"https://api.github.com/users/mobla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ywk253100","id":5835782,"avatar_url":"https://avatars.githubusercontent.com/u/5835782?v=3","gravatar_id":"","url":"https://api.github.com/users/ywk253100","html_url":"https://github.com/ywk253100","followers_url":"https://api.github.com/users/ywk253100/followers","following_url":"https://api.github.com/users/ywk253100/following{/other_user}","gists_url":"https://api.github.com/users/ywk253100/gists{/gist_id}","starred_url":"https://api.github.com/users/ywk253100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywk253100/subscriptions","organizations_url":"https://api.github.com/users/ywk253100/orgs","repos_url":"https://api.github.com/users/ywk253100/repos","events_url":"https://api.github.com/users/ywk253100/events{/privacy}","received_events_url":"https://api.github.com/users/ywk253100/received_events","type":"User","site_admin":false},"assignees":[{"login":"ywk253100","id":5835782,"avatar_url":"https://avatars.githubusercontent.com/u/5835782?v=3","gravatar_id":"","url":"https://api.github.com/users/ywk253100","html_url":"https://github.com/ywk253100","followers_url":"https://api.github.com/users/ywk253100/followers","following_url":"https://api.github.com/users/ywk253100/following{/other_user}","gists_url":"https://api.github.com/users/ywk253100/gists{/gist_id}","starred_url":"https://api.github.com/users/ywk253100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywk253100/subscriptions","organizations_url":"https://api.github.com/users/ywk253100/orgs","repos_url":"https://api.github.com/users/ywk253100/repos","events_url":"https://api.github.com/users/ywk253100/events{/privacy}","received_events_url":"https://api.github.com/users/ywk253100/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/vmware/harbor/milestones/4","html_url":"https://github.com/vmware/harbor/milestones/0.5.0","labels_url":"https://api.github.com/repos/vmware/harbor/milestones/4/labels","id":2094575,"number":4,"title":"0.5.0","description":"","creator":{"login":"reasonerjt","id":2390463,"avatar_url":"https://avatars.githubusercontent.com/u/2390463?v=3","gravatar_id":"","url":"https://api.github.com/users/reasonerjt","html_url":"https://github.com/reasonerjt","followers_url":"https://api.github.com/users/reasonerjt/followers","following_url":"https://api.github.com/users/reasonerjt/following{/other_user}","gists_url":"https://api.github.com/users/reasonerjt/gists{/gist_id}","starred_url":"https://api.github.com/users/reasonerjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reasonerjt/subscriptions","organizations_url":"https://api.github.com/users/reasonerjt/orgs","repos_url":"https://api.github.com/users/reasonerjt/repos","events_url":"https://api.github.com/users/reasonerjt/events{/privacy}","received_events_url":"https://api.github.com/users/reasonerjt/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":17,"state":"open","created_at":"2016-10-26T10:54:03Z","updated_at":"2016-11-17T02:40:52Z","due_on":"2016-11-25T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-11-17T01:14:01Z","updated_at":"2016-11-17T02:44:57Z","closed_at":null,"body":"If you are reporting a problem, please make sure the following information are provided:\r\n1)Version of docker engine and docker-compose\r\n2)Config files of harbor, you can get them by packaging \"Deploy/config\" directory\r\n3)Log files, you can get them by package the /var/log/harbor/ \r\n\r\nSteps:\r\n1. Deploy Harbor OVA on a ESX host with wrong/incorrect network port-group (VM Network) chosen (accidentally) which does not have DHCP capability \r\n2. Harbor OVA firstboot fails with \"Failed to get the IP address\"\r\n3. User corrects the networking issue in the VM (configures vm virtual nic/Network adapter) it back to the right network which has DHCP capability \r\n4. User corrects the VM networking (restarts systemd-networkd) and DHCP-IP and sets the hostname\r\n5. Reboot the Harbor OVA\r\n6. Subsequent boot fails - Expectation is subsequent boot could recover the system?\r\n\r\nThis is a nice to have feature. Feel free to push to next release..\r\n> firstboot.log : \r\n```\r\nLoaded image: vmware/harbor-ui:0.4.5.2\r\nLoaded image: vmware/harbor-log:0.4.5.2\r\nLoaded image: vmware/harbor-db:0.4.5.2\r\nLoaded image: vmware/harbor-jobservice:0.4.5.2\r\nLoaded image: nginx:1.11.5\r\nLoaded image: registry:2.5.0\r\nConfiguring Harbor...\r\nFailed to get the IP address\r\n```\r\n> subsequentboot.log\r\n```\r\n======================= Wed Nov 16 22:57:20 UTC 2016=====================\r\nShutting down Harbor...\r\nCouldn't find env file: /harbor/harbor/common/config/ui/env\r\n======================= Wed Nov 16 23:27:46 UTC 2016=====================\r\nShutting down Harbor...\r\nCouldn't find env file: /harbor/harbor/common/config/ui/env\r\n======================= Wed Nov 16 23:38:39 UTC 2016=====================\r\nShutting down Harbor...\r\nCouldn't find env file: /harbor/harbor/common/config/ui/env\r\n======================= Wed Nov 16 23:41:24 UTC 2016=====================\r\nShutting down Harbor...\r\nCouldn't find env file: /harbor/harbor/common/config/ui/env\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vmware/harbor/issues/comments/261139347","html_url":"https://github.com/vmware/harbor/issues/1104#issuecomment-261139347","issue_url":"https://api.github.com/repos/vmware/harbor/issues/1104","id":261139347,"user":{"login":"ywk253100","id":5835782,"avatar_url":"https://avatars.githubusercontent.com/u/5835782?v=3","gravatar_id":"","url":"https://api.github.com/users/ywk253100","html_url":"https://github.com/ywk253100","followers_url":"https://api.github.com/users/ywk253100/followers","following_url":"https://api.github.com/users/ywk253100/following{/other_user}","gists_url":"https://api.github.com/users/ywk253100/gists{/gist_id}","starred_url":"https://api.github.com/users/ywk253100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywk253100/subscriptions","organizations_url":"https://api.github.com/users/ywk253100/orgs","repos_url":"https://api.github.com/users/ywk253100/repos","events_url":"https://api.github.com/users/ywk253100/events{/privacy}","received_events_url":"https://api.github.com/users/ywk253100/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T02:44:57Z","updated_at":"2016-11-17T02:44:57Z","body":"This has been fixed, the bootstrap will not fail in next release."}}
{"actor":{"display_login":"ywk253100"}}