Reviewed: https://review.openstack.org/438353 Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=7df772c0fc44c3df8f2c09113ca23f8efcf87029 Submitter: Jenkins Branch: stable/ocata
commit 7df772c0fc44c3df8f2c09113ca23f8efcf87029 Author: Joel Griffiths <email address hidden> Date: Mon Feb 13 23:06:14 2017 +0000
Fix error during 'inventory-manage.py -r' calls
Use load_inventory instead for load_from_json. Rename load_from_json to _load_from_json.
Move most of the --clear-ip and --remove calls to their corresponding functions. Modified other calls to account for the change
Add a test to test for inventory item removal.
fixes bug: 1663328
Change-Id: I2dbecb085383b3d02e298cc09b02566d1e52a064 (cherry picked from commit 3a08bb7b78b52590e9994703262fe54e4e7f7099)
Reviewed: https:/ /review. openstack. org/438353 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=7df772c0fc4 4c3df8f2c09113c a23f8efcf87029
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 7df772c0fc44c3d f8f2c09113ca23f 8efcf87029
Author: Joel Griffiths <email address hidden>
Date: Mon Feb 13 23:06:14 2017 +0000
Fix error during 'inventory- manage. py -r' calls
Use load_inventory instead for load_from_json. Rename
load_from_json to _load_from_json.
Move most of the --clear-ip and --remove calls to their
corresponding functions. Modified other calls to account
for the change
Add a test to test for inventory item removal.
fixes bug: 1663328
Change-Id: I2dbecb085383b3 d02e298cc09b025 66d1e52a064 0e9994703262fe5 4e4e7f7099)
(cherry picked from commit 3a08bb7b78b5259