You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/07/27 00:45:54 UTC
[GitHub] bennysp opened a new issue #2777: Cannot add new host with bonded
interface.
bennysp opened a new issue #2777: Cannot add new host with bonded interface.
URL: https://github.com/apache/cloudstack/issues/2777
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and master branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
cloudstack-agent
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on master branch.
-->
~~~
4.11
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise
-->
1 server (using quicksetup)
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
Centos 7
##### SUMMARY
<!-- Explain the problem/feature briefly -->
When 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.
```
[root@csserv01 ~]# tail -1000f /var/log/cloudstack/agent/setup.log
DEBUG:root:execute:hostname -f
DEBUG:root:execute:selinuxenabled
DEBUG:root:execute:setenforce 0
DEBUG:root:cloudbr0 is not a network device, is it down?
DEBUG:root:execute:route -n|awk '/^0.0.0.0/ {print $2,$8}'
DEBUG:root:execute:ifconfig bond0
DEBUG:root:[Errno 2] No such file or directory
File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 38, in configration
result = self.config()
File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 309, in config
super(networkConfigRedhat, self).cfgNetwork()
File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 108, in cfgNetwork
device = self.netcfg.getDefaultNetwork()
File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 53, in getDefaultNetwork
pdi = networkConfig.getDevInfo(dev)
File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 157, in getDevInfo
elif networkConfig.isBridge(dev) or networkConfig.isOvsBridge(dev):
DEBUG:root:execute:setenforce 1
```
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
Setup a bond0 network between 2 or more NICs on the server.
Follow the quickstart guide. When you get to the step of the wizard "Launch", everything will go through except the error on the host setup.
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
That it finds the bond0 interface and continues to setup
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
Host fails and error below is produced...
[root@csserv01 ~]# tail -1000f /var/log/cloudstack/agent/setup.log
DEBUG:root:execute:hostname -f
DEBUG:root:execute:selinuxenabled
DEBUG:root:execute:setenforce 0
DEBUG:root:cloudbr0 is not a network device, is it down?
DEBUG:root:execute:route -n|awk '/^0.0.0.0/ {print $2,$8}'
DEBUG:root:execute:ifconfig bond0
DEBUG:root:[Errno 2] No such file or directory
File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 38, in configration
result = self.config()
File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 309, in config
super(networkConfigRedhat, self).cfgNetwork()
File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 108, in cfgNetwork
device = self.netcfg.getDefaultNetwork()
File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 53, in getDefaultNetwork
pdi = networkConfig.getDevInfo(dev)
File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 157, in getDevInfo
elif networkConfig.isBridge(dev) or networkConfig.isOvsBridge(dev):
DEBUG:root:execute:setenforce 1
~~~
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services