nova : Discovering nova hosts fails

Bug #1709244 reported by zhangfei gao
6
This bug affects 1 person
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 c18615efd54d57f89d1a81729099285ea1fca3a7
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: I4e6c50d0908edde3b3cc68382f4466a828f377a5
    Related-Bug: #1687187

Based on Aug 7 origin/master branch.

Revision history for this message
zhangfei gao (zhangfei-gao) wrote :

kolla-slack mentioned the issue has been fixed by
https://review.openstack.org/#/c/480765/
"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.

Changed in kolla:
status: New → Invalid
Revision history for this message
zhangfei gao (zhangfei-gao) wrote :

The issue disappears when using latest nova_api, build from source code.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.