{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/2777","repository_url":"https://api.github.com/repos/apache/cloudstack","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/2777/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/2777/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/2777/events","html_url":"https://github.com/apache/cloudstack/issues/2777","id":345052371,"node_id":"MDU6SXNzdWUzNDUwNTIzNzE=","number":2777,"title":"Cannot add new host with bonded interface.","user":{"login":"bennysp","id":4121872,"node_id":"MDQ6VXNlcjQxMjE4NzI=","avatar_url":"https://avatars0.githubusercontent.com/u/4121872?v=4","gravatar_id":"","url":"https://api.github.com/users/bennysp","html_url":"https://github.com/bennysp","followers_url":"https://api.github.com/users/bennysp/followers","following_url":"https://api.github.com/users/bennysp/following{/other_user}","gists_url":"https://api.github.com/users/bennysp/gists{/gist_id}","starred_url":"https://api.github.com/users/bennysp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennysp/subscriptions","organizations_url":"https://api.github.com/users/bennysp/orgs","repos_url":"https://api.github.com/users/bennysp/repos","events_url":"https://api.github.com/users/bennysp/events{/privacy}","received_events_url":"https://api.github.com/users/bennysp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/apache/cloudstack/milestones/6","html_url":"https://github.com/apache/cloudstack/milestone/6","labels_url":"https://api.github.com/repos/apache/cloudstack/milestones/6/labels","id":3332856,"node_id":"MDk6TWlsZXN0b25lMzMzMjg1Ng==","number":6,"title":"4.11.2.0","description":"","creator":{"login":"rhtyd","id":95203,"node_id":"MDQ6VXNlcjk1MjAz","avatar_url":"https://avatars0.githubusercontent.com/u/95203?v=4","gravatar_id":"","url":"https://api.github.com/users/rhtyd","html_url":"https://github.com/rhtyd","followers_url":"https://api.github.com/users/rhtyd/followers","following_url":"https://api.github.com/users/rhtyd/following{/other_user}","gists_url":"https://api.github.com/users/rhtyd/gists{/gist_id}","starred_url":"https://api.github.com/users/rhtyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhtyd/subscriptions","organizations_url":"https://api.github.com/users/rhtyd/orgs","repos_url":"https://api.github.com/users/rhtyd/repos","events_url":"https://api.github.com/users/rhtyd/events{/privacy}","received_events_url":"https://api.github.com/users/rhtyd/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":33,"state":"open","created_at":"2018-05-09T10:42:20Z","updated_at":"2018-08-17T10:31:57Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-07-27T00:45:54Z","updated_at":"2018-08-17T13:50:51Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release and master branch are affected too.\r\nAlways add information AFTER of these HTML comments, but no need to delete the comments.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!-- Pick one below and delete the rest -->\r\n * Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--\r\nCategorize the issue, e.g. API, VR, VPN, UI, etc.\r\n-->\r\n~~~\r\ncloudstack-agent\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n<!--\r\nNew line separated list of affected versions, commit ID for issues on master branch.\r\n-->\r\n\r\n~~~\r\n4.11\r\n~~~\r\n\r\n##### CONFIGURATION\r\n<!--\r\nInformation about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise\r\n-->\r\n1 server (using quicksetup)\r\n\r\n##### OS / ENVIRONMENT\r\n<!--\r\nInformation about the environment if relevant, N/A otherwise\r\n-->\r\nCentOS Linux release 7.5.1804 (Core)\r\n\r\n##### SUMMARY\r\n<!-- Explain the problem/feature briefly -->\r\nWhen I am going through the Setup Wizard, it gets to the host install/setup and fails.  When I check the agent setup log, this is what I see.\r\n\r\n```\r\n[root@csserv01 ~]# tail -1000f /var/log/cloudstack/agent/setup.log\r\nDEBUG:root:execute:hostname -f\r\nDEBUG:root:execute:selinuxenabled\r\nDEBUG:root:execute:setenforce 0\r\nDEBUG:root:cloudbr0 is not a network device, is it down?\r\nDEBUG:root:execute:route -n|awk '/^0.0.0.0/ {print $2,$8}'\r\nDEBUG:root:execute:ifconfig bond0\r\nDEBUG:root:[Errno 2] No such file or directory\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py\", line 38, in configration\r\n    result = self.config()\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py\", line 309, in config\r\n    super(networkConfigRedhat, self).cfgNetwork()\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py\", line 108, in cfgNetwork\r\n    device = self.netcfg.getDefaultNetwork()\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py\", line 53, in getDefaultNetwork\r\n    pdi = networkConfig.getDevInfo(dev)\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py\", line 157, in getDevInfo\r\n    elif networkConfig.isBridge(dev) or networkConfig.isOvsBridge(dev):\r\n\r\nDEBUG:root:execute:setenforce 1\r\n```\r\n\r\n##### STEPS TO REPRODUCE\r\n<!--\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.\r\n\r\nFor new features, show how the feature would be used.\r\n-->\r\n \r\n\r\n<!-- Paste example playbooks or commands between quotes below -->\r\n~~~\r\nSetup a bond0 network between 2 or more NICs on the server.\r\n\r\nFollow the quickstart guide.  When you get to the step of the wizard \"Launch\", everything will go through except the error on the host setup. \r\n~~~\r\n\r\n<!-- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!-- What did you expect to happen when running the steps above? -->\r\n\r\n~~~\r\nThat it finds the bond0 interface and continues to setup\r\n~~~\r\n\r\n##### ACTUAL RESULTS\r\n<!-- What actually happened? -->\r\n\r\n<!-- Paste verbatim command output between quotes below -->\r\n~~~\r\nHost fails and error below is produced...\r\n\r\n[root@csserv01 ~]# tail -1000f /var/log/cloudstack/agent/setup.log\r\nDEBUG:root:execute:hostname -f\r\nDEBUG:root:execute:selinuxenabled\r\nDEBUG:root:execute:setenforce 0\r\nDEBUG:root:cloudbr0 is not a network device, is it down?\r\nDEBUG:root:execute:route -n|awk '/^0.0.0.0/ {print $2,$8}'\r\nDEBUG:root:execute:ifconfig bond0\r\nDEBUG:root:[Errno 2] No such file or directory\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py\", line 38, in configration\r\n    result = self.config()\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py\", line 309, in config\r\n    super(networkConfigRedhat, self).cfgNetwork()\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py\", line 108, in cfgNetwork\r\n    device = self.netcfg.getDefaultNetwork()\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py\", line 53, in getDefaultNetwork\r\n    pdi = networkConfig.getDevInfo(dev)\r\n  File \"/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py\", line 157, in getDevInfo\r\n    elif networkConfig.isBridge(dev) or networkConfig.isOvsBridge(dev):\r\n\r\nDEBUG:root:execute:setenforce 1\r\n~~~\r\n"},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/413872372","html_url":"https://github.com/apache/cloudstack/issues/2777#issuecomment-413872372","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/2777","id":413872372,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzg3MjM3Mg==","user":{"login":"PaulAngus","id":4810220,"node_id":"MDQ6VXNlcjQ4MTAyMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/4810220?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulAngus","html_url":"https://github.com/PaulAngus","followers_url":"https://api.github.com/users/PaulAngus/followers","following_url":"https://api.github.com/users/PaulAngus/following{/other_user}","gists_url":"https://api.github.com/users/PaulAngus/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulAngus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulAngus/subscriptions","organizations_url":"https://api.github.com/users/PaulAngus/orgs","repos_url":"https://api.github.com/users/PaulAngus/repos","events_url":"https://api.github.com/users/PaulAngus/events{/privacy}","received_events_url":"https://api.github.com/users/PaulAngus/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T13:50:51Z","updated_at":"2018-08-17T13:50:51Z","author_association":"CONTRIBUTOR","body":"@bennysp - CloudStack allows you to bond interfaces, but you still have to set up a bridge on top of that.\r\nin the same way that if you don't have a bond, you still have to create a bridge on top of the interfaces."}}
{"actor":{"display_login":"PaulAngus"}}