Validations fail when undercloud.conf does not exist

Bug #1643810 reported by Tomas Sedovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Katerina Pilatova

Bug Description

The check-network-gateway, ctlplane-iprange and dhcp-provisioning validations fail when the undercloud.conf file does not exist. This can happen when the deployer installs the undercloud with default values.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-validations (master)

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

Changed in tripleo:
assignee: nobody → Katerina Pilatova (kpilatov)
status: Triaged → In Progress
Changed in tripleo:
milestone: ocata-2 → ocata-3
Changed in tripleo:
milestone: ocata-3 → ocata-rc1
Revision history for this message
Ben Nemec (bnemec) wrote :

While this is obviously not ideal behavior, copying undercloud.conf is an explicit step for real deployments so it's not something that should be hit in normal usage.

Changed in tripleo:
importance: High → Medium
Changed in tripleo:
milestone: ocata-rc1 → ocata-rc2
Changed in tripleo:
milestone: ocata-rc2 → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-validations (master)

Reviewed: https://review.openstack.org/407098
Committed: https://git.openstack.org/cgit/openstack/tripleo-validations/commit/?id=c27c9e6b39a178434538816514fa21897f13e3ba
Submitter: Jenkins
Branch: master

commit c27c9e6b39a178434538816514fa21897f13e3ba
Author: Katerina Pilatova <email address hidden>
Date: Mon Dec 5 18:23:09 2016 +0100

    prevent validations from failing when undercloud.conf is missing:

    - check-network-gateway, ctlplane-iprange and dhcp-provisioning now don't fail when
      undercloud.conf is missing, they use default values for the validation instead
    - module undercloud_conf.py has a new option ignore_missing which (if set to true)
      prevents the module from failing when undercloud.conf does not exist

    Change-Id: I859f814f1bbeda267d7f39d27edce87a41126138
    Closes-Bug: #1643810

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

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

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

Reviewed: https://review.openstack.org/453154
Committed: https://git.openstack.org/cgit/openstack/tripleo-validations/commit/?id=7401f9e136ebfdb3fe0e8b7c247d3b3e713f4d77
Submitter: Jenkins
Branch: stable/ocata

commit 7401f9e136ebfdb3fe0e8b7c247d3b3e713f4d77
Author: Katerina Pilatova <email address hidden>
Date: Mon Dec 5 18:23:09 2016 +0100

    prevent validations from failing when undercloud.conf is missing:

    - check-network-gateway, ctlplane-iprange and dhcp-provisioning now don't fail when
      undercloud.conf is missing, they use default values for the validation instead
    - module undercloud_conf.py has a new option ignore_missing which (if set to true)
      prevents the module from failing when undercloud.conf does not exist

    Change-Id: I859f814f1bbeda267d7f39d27edce87a41126138
    Closes-Bug: #1643810
    (cherry picked from commit c27c9e6b39a178434538816514fa21897f13e3ba)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-validations 7.0.0

This issue was fixed in the openstack/tripleo-validations 7.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-validations 5.5.0

This issue was fixed in the openstack/tripleo-validations 5.5.0 release.

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.