dynamic_inventory "container"_cidr strongly typed

Bug #1543225 reported by Miguel Alejandro Cantu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Undecided
Unassigned

Bug Description

The dynamic_inventory.py script explicitly checks for "container" in cidr_networks, which limits the use of arbitrary cidrs for custom environments.

https://github.com/openstack/openstack-ansible/blob/master/playbooks/inventory/dynamic_inventory.py#L932-L937

The check should be removed.

Changed in openstack-ansible:
assignee: nobody → Miguel Alejandro Cantu (miguel-cantu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

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

Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
Miguel Alejandro Cantu (miguel-cantu) wrote :

It doesn't seem to be an issue anymore. It looks like the code checks the substring of the variable name now: https://github.com/openstack/openstack-ansible/blob/master/playbooks/inventory/dynamic_inventory.py#L1226-L1232.

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

This is not relevant anymore:

https://github.com/openstack/openstack-ansible/blob/a1bc7d1902620b317c0f5d1b1f2d927f001086d0/playbooks/inventory/dynamic_inventory.py#L1227-L1233

As you can see there, the naming requirement is not as strong as it was before, and corresponds to what Alex was looking for.

Changed in openstack-ansible:
status: In Progress → Invalid
assignee: Miguel Alejandro Cantu (miguel-cantu) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible (master)

Change abandoned by Jesse Pretorius (odyssey4me) (<email address hidden>) on branch: master
Review: https://review.openstack.org/277511
Reason: Abandoning due to lack of feedback or revision.

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.