Red Hat Bugzilla – Bug 1274333
Overcloud Environment File should not require CPU/RAM
Last modified: 2016-04-18 02:56:04 EDT
- Description of problem:
The introspection of nodes collects system information such as CPU count, memory, disk space, etc. Yet before we can do that we need to manually provide that information in a instackenv.json only to have it overwritten again. Users are putting garbage data in this file to make the parser happy and then counting on introspection to set it correctly. Rather than require them to supply that garbage data could the parser not require it and require only the data it needs to perform the introspection?
- Version-Release number of selected component (if applicable):
[stack@undercloud ~]$ openstack --version
- How reproducible:
- Steps to Reproduce:
1. Create instackenv.json without cpu, memory, disk data
2. `openstack baremetal import --json instackenv.json`
3. Observe rejection because these fields are missing
4. Update instackenv.json with garbage data
5. `openstack baremetal import --json instackenv.json`
6. Perform instrospection and observe garbage data being overwritten anyway
- Actual results:
Unable to import Overcloud Environment File without CPU, RAM, etc.
- Expected results:
Aable to import Overcloud Environment File without CPU, RAM, etc. because introspection will capture it later.
*** This bug has been marked as a duplicate of bug 1271890 ***
Is this really a duplicate?
bz1271890 is a docbug to change what the documentation says.
bz1274333 (this) is a bug to change how the program works.
Sorry, wrong bug, I caught the doc clone, not the original code change bug. Still a duplicate, though
*** This bug has been marked as a duplicate of bug 1255504 ***