quickstart shall allow to pass empty external networks for undercloud

Bug #1720796 reported by Yolanda Robla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Yolanda Robla

Bug Description

On my previous deployments, i had undercloud networks defined like that: undercloud_networks: {}

This currently fails, because it's assuming that we always have some value, and is checking for a device type, failing with: "AnsibleUndefinedVariable: 'dict object' has no attribute 'device_type'"

This is because the code doesn't check for an empty value there. Template needs to be fixed to support it

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

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

Changed in tripleo:
assignee: nobody → Yolanda Robla (yolanda.robla)
status: New → In Progress
Changed in tripleo:
importance: Undecided → Medium
milestone: none → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/508881
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=580c8ab5438e18e8224a81362a467f2f37fae86e
Submitter: Zuul
Branch: master

commit 580c8ab5438e18e8224a81362a467f2f37fae86e
Author: Yolanda Robla <email address hidden>
Date: Mon Oct 2 15:44:44 2017 +0200

    Ensure that network.device type exists before using it

    When passing an empty external network definition for the
    undercloud, it was failing because it was assuming to have values
    and a device type. Check if that exists before using it

    Change-Id: I6b573485d373219d257b8c34a252d8490a4c09a0
    Fixes-Bug: #1720796

Changed in tripleo:
status: In Progress → Fix Released
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.