← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1674236] Re: CI / promotion: Nova isn't aware of the nodes that were registered with Ironic

 

Reviewed:  https://review.openstack.org/448098
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fe8415060ca452990d7019a03eaaa4b92aadfe8b
Submitter: Jenkins
Branch:    master

commit fe8415060ca452990d7019a03eaaa4b92aadfe8b
Author: Jim Rollenhagen <jim@xxxxxxxxxxxxxxxxxx>
Date:   Tue Mar 21 13:32:35 2017 +0000

    Ironic: hardcode min_unit for standard resources to 1
    
    We've always left users a choice whether to do exact matching or
    "at least" matching for baremetal flavors, by installing the
    exact match scheduler filters. The patch to add get_inventory
    broke this by setting min_unit and max_unit to be equal for
    baremetal resources.
    
    Set min_unit to 1 for these resources so that deployers can continue
    to use the exact match filters to decide how they want baremetal
    flavors to be matched.
    
    Change-Id: I04fdcb73674eb7193e82a61d856747d7985a2b65
    Closes-Bug: #1674236


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1674236

Title:
  CI / promotion: Nova isn't aware of the nodes that were registered
  with Ironic

Status in OpenStack Compute (nova):
  Fix Released
Status in tripleo:
  In Progress

Bug description:
  All CI periodic jobs fail with "No valid host" error:

  http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-ha/6504587/
  http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/

  Hosts are not deployed:
  http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-ovb-nonha/12d034e/logs/postci.txt.gz#_2017-03-19_07_22_10_000
  2017-03-19 07:22:10.000 | +--------------------------------------+-------------------------+--------+------------+-------------+----------+
  2017-03-19 07:22:10.000 | | ID                                   | Name                    | Status | Task State | Power State | Networks |
  2017-03-19 07:22:10.000 | +--------------------------------------+-------------------------+--------+------------+-------------+----------+
  2017-03-19 07:22:10.000 | | 96e8d6bc-0ff4-46ad-a274-7bf554cdaf1a | overcloud-cephstorage-0 | ERROR  | -          | NOSTATE     |          |
  2017-03-19 07:22:10.000 | | 56266ef5-7483-4052-8698-37efe14bc1c6 | overcloud-novacompute-0 | ERROR  | -          | NOSTATE     |          |
  2017-03-19 07:22:10.000 | +--------------------------------------+-------------------------+--------+------------+-------------+----------+

  ironic node-list
  +--------------------------------------+----------------------+---------------+-------------+--------------------+-------------+
  | UUID                                 | Name                 | Instance UUID | Power State | Provisioning State | Maintenance |
  +--------------------------------------+----------------------+---------------+-------------+--------------------+-------------+
  | b4444285-e40e-4068-abd8-7edeeb255cef | baremetal-periodic-0 | None          | power off   | available          | False       |
  | 102deb76-7f12-49a1-9c3c-53472a1d0f3e | baremetal-periodic-1 | None          | power off   | available          | False       |
  | 8afea687-4d29-4eed-97f3-57ba449eed14 | baremetal-periodic-2 | None          | power off   | available          | False       |
  +--------------------------------------+----------------------+---------------+-------------+--------------------+-------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1674236/+subscriptions