Bug 1234338
Summary: | AHC-matching overrides already deployed nodes tags | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Jaromir Coufal <jcoufal> |
Component: | rhosp-director | Assignee: | John Trowbridge <jtrowbri> |
Status: | CLOSED ERRATA | QA Contact: | Alexander Chuzhoy <sasha> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | Director | CC: | mburns, rhel-osp-director-maint, rrosa |
Target Milestone: | ga | Keywords: | Triaged |
Target Release: | Director | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ahc-tools-0.1.1-5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-05 13:55:04 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
Jaromir Coufal
2015-06-22 11:59:13 UTC
Thanks Jaromir for reporting this. I put a patch upstream that should fix this: https://review.gerrithub.io/#/c/237390/ Note, the state file should be the new nodes we want to match. So in your example above, on the first run we would have: * state file describes: 1 controller, 1 compute, 1 storage And on the second run (to scale up by 1 compute) we would have: * state file describes: 1 compute This is still broken without the patch above though. Verified: Environment: instack-undercloud-2.1.2-21.el7ost.noarch openstack-ironic-conductor-2015.1.0-9.el7ost.noarch python-ironicclient-0.5.1-9.el7ost.noarch ahc-tools-0.1.1-5.el7ost.noarch openstack-ironic-api-2015.1.0-9.el7ost.noarch python-ironic-discoverd-1.1.0-5.el7ost.noarch openstack-ironic-common-2015.1.0-9.el7ost.noarch openstack-ironic-discoverd-1.1.0-5.el7ost.noarch 1. Installed ahc-tools. 2. sudo sed 's/\[discoverd/\[ironic/' /etc/ironic-discoverd/discoverd.conf > /etc/ahc-tools/ahc-tools.conf 3. chmod 0600 /etc/ahc-tools/ahc-tools.conf 4. sudo cp /etc/ahc-tools/edeploy/compute.specs /etc/ahc-tools/edeploy/foo.specs 5. sudo echo [('foo','*')] > /etc/ahc-tools/edeploy/state 6. run 'ahc-match' 7. ironic node-show [node-uuid]|grep -A2 properties Didn't see anything like "profile:foo" 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/RHEA-2015:1549 |