do not failed when there is no compute nodes in the deployment env

Bug #1666031 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Jeffrey Zhang
Ocata
Fix Released
Undecided
Jeffrey Zhang

Bug Description

nova-manage cell_v2 simple_cell_setup expects all nova-compute is up and running.

But in ironic env deployment, the compute nodes info will be always empty until ironic node is create. There are also some cause that user just want deploy without any nova-compute.

So deployment should not failed when there is no host in compute node table.

I also create a nova bug for this and try to fix this in upstream[0]

[0] https://bugs.launchpad.net/nova/+bug/1666029

Changed in kolla-ansible:
milestone: none → pike-1
assignee: nobody → Jeffrey Zhang (jeffrey4l)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/435796

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/435796
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=af2acb25e5c216461ae21b47841ab51b5ce6404a
Submitter: Jenkins
Branch: master

commit af2acb25e5c216461ae21b47841ab51b5ce6404a
Author: Jeffrey Zhang <email address hidden>
Date: Mon Feb 20 01:03:11 2017 +0800

    Do not failed when there is no nova-compute is running

    In ironic environment deployment, the compute nodes info will be empty
    until ironic node is created. There are also some case that user just
    want deploy without any nova-compute.

    Also enable auto discover hosts feature. This is useful for small
    environment.

    Closes-Bug: #1666031
    Change-Id: I6f3d1c3668452a404875aa5621ee99b2b41e28f0

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

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/436732

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ocata)

Reviewed: https://review.openstack.org/436732
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=258f014569dd7332af877fcb8ebc266e7b1f57c8
Submitter: Jenkins
Branch: stable/ocata

commit 258f014569dd7332af877fcb8ebc266e7b1f57c8
Author: Jeffrey Zhang <email address hidden>
Date: Mon Feb 20 01:03:11 2017 +0800

    Do not failed when there is no nova-compute is running

    In ironic environment deployment, the compute nodes info will be empty
    until ironic node is created. There are also some case that user just
    want deploy without any nova-compute.

    Also enable auto discover hosts feature. This is useful for small
    environment.

    Closes-Bug: #1666031
    Change-Id: I6f3d1c3668452a404875aa5621ee99b2b41e28f0
    (cherry picked from commit af2acb25e5c216461ae21b47841ab51b5ce6404a)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.0.0rc2

This issue was fixed in the openstack/kolla-ansible 4.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b2 development milestone.

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.