nova : Discovering nova hosts fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When deploying kolla on arm64, nova reports this error.
TASK [nova : Discovering nova hosts] *******
fatal: [localhost -> localhost]: FAILED! => {"changed": false, "cmd": ["docker", "exec", "nova_api", "nova-manage", "cell_v2", "discover_hosts"], "delta": "0:00:01.857045", "end": "2017-08-08 05:59:55.538689", "failed": true, "msg": "non-zero return code", "rc": 137, "start": "2017-08-08 05:59:53.681644", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
After revert this patch, the deploy succeed.
commit c18615efd54d57f
Author: Sam Yaple <email address hidden>
Date: Fri Jul 28 12:43:34 2017 -0400
Remove priviledged mode for nova-api
This only existed to add an iptables rule for nova-net related things.
Change-Id: I4e6c50d0908edd
Related-Bug: #1687187
Based on Aug 7 origin/master branch.
Changed in kolla: | |
status: | New → Invalid |
kolla-slack mentioned the issue has been fixed by /review. openstack. org/#/c/ 480765/
https:/
"the error is fixed in master and work for rpm distros, ubuntu has not packaged the change in nova code base yet"
Though I am not sure how to verify,
If directly modify code in contianer nova_compute, no use
If directly modify code in contianer nova_api, nova_api restart.
Suppose it is already been solved, pls ignore this report.