Bug 1258651
| Summary: | importing new nodes from instackenv will overwrite existing nodes capabilities | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | bigswitch <rhosp-bugs-internal> |
| Component: | os-cloud-config | Assignee: | Jay Dobies <jason.dobies> |
| Status: | CLOSED ERRATA | QA Contact: | Alexander Chuzhoy <sasha> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 (Kilo) | CC: | brad, dmacpher, jcoufal, mburns, ohochman, rhel-osp-director-maint, yeylon |
| Target Milestone: | y2 | Keywords: | Reopened, Triaged |
| Target Release: | 7.0 (Kilo) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | os-cloud-config-0.2.8-9.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
When registering new nodes and using the existing JSON file to store their info, the director would overwrite the capabilities of existing nodes. This fix skips the existing nodes. Now users can add new nodes to the original JSON file without erasing capabilities for existing nodes.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-12-21 16:55:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
bigswitch
2015-08-31 22:45:54 UTC
hi, this is a duplicate of bug 1241199. *** This bug has been marked as a duplicate of bug 1241199 *** This is not a duplicate. This is two completely different code paths. A simple workaround is to use a new file for new systems. Do not add new systems to the old json file. I will do some investigation as to whether a code fix is appropriate here. But it seems that documentation is the best fix. So, code change might be needed - if the file contains a node which already exists, tell user that the file contains already existing nodes which were already registered, so no action will be performed on these. This appears to be fixed in os-cloud-config 0.2.10. hi I am not seeing this issue with the GA code FYI Verified: Environment: os-cloud-config-0.2.8-9.el7ost.noarch The reported issue doesn't reproduce. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2015:2651 |