nova-compute raise /etc/machine-id does not exist exception in centos image

Bug #1539064 reported by Jeffrey Zhang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Jeffrey Zhang
Liberty
Fix Released
Undecided
Jeffrey Zhang

Bug Description

In the CentOS image( or all image with systemd package), the /etc/machine-id id empty and only use by the systemd service. But it cause the nova-compute service raise exception, when it exist but empty[0]. We need delete it.

[0] https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L3545

Changed in kolla:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
importance: Undecided → Critical
status: New → Confirmed
milestone: none → mitaka-3
Changed in kolla:
status: Confirmed → In Progress
Sam Yaple (s8m)
no longer affects: kolla/mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/273861

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/273508
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=649686584fcc005ec2a49f1ae0698a24d0857aae
Submitter: Jenkins
Branch: master

commit 649686584fcc005ec2a49f1ae0698a24d0857aae
Author: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Date: Thu Jan 28 20:46:18 2016 +0800

    Remove the machine-id which cause nova-compute raise exception

    Change-Id: I3cfb239e6f99e7079b2781b06550fa627fcb8998
    Closes-Bug: #1539064

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/liberty)

Reviewed: https://review.openstack.org/273861
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=14df0d11945faf63b86833b1c7918fd33cae2610
Submitter: Jenkins
Branch: stable/liberty

commit 14df0d11945faf63b86833b1c7918fd33cae2610
Author: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Date: Thu Jan 28 20:46:18 2016 +0800

    Remove the machine-id which cause nova-compute raise exception

    Change-Id: I3cfb239e6f99e7079b2781b06550fa627fcb8998
    Closes-Bug: #1539064
    (cherry picked from commit 649686584fcc005ec2a49f1ae0698a24d0857aae)

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.