Bug 1096346
Summary: | [Rubygem-Staypuft]: While setting up a new deployment there's no way to Unassign hosts from host-groups. | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Omri Hochman <ohochman> |
Component: | rubygem-staypuft | Assignee: | Martyn Taylor <mtaylor> |
Status: | CLOSED WONTFIX | QA Contact: | Omri Hochman <ohochman> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | aberezin, mburns, mlopes, morazi, mtaylor |
Target Milestone: | z4 | Keywords: | TestOnly, ZStream |
Target Release: | 4.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ruby193-rubygem-staypuft-0.0.13 | Doc Type: | Bug Fix |
Doc Text: |
Previously the deploy page button to add/remove hosts to a service was labelled 'Assign'.
Consequently, this implied that this button was exclusively used for assigning hosts, whereas it was actually also used for unassigning.
This fix renames the button to 'Assign / Unassign', with the result that it now more accurately reflects the expected behavior.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-15 16:59:15 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1093126 |
Description
Omri Hochman
2014-05-09 17:39:11 UTC
The way to do this is to unselect the check box of the host you incorrectly assigned then click assign again. Could you please try this method and confirm if this works for you. I will rename the button to some more descriptive of the behaviour. Likely "Update Associations" or "Assign/Unassign". Cheers I went with "Assign / Unassign" https://github.com/theforeman/staypuft/pull/125 commit adde32d9f29df03bd6525da27d3ae5063b4cb192 Author: Martyn Taylor <mtaylor> Date: Thu May 15 11:53:34 2014 +0100 Renamed 'Assign' button to 'Assign / Unassign' The assign button on the deployment page actually removes hosts from a hostgroup as well as adding them. This behaviour is not obvious since the button is named 'Assign' which suggests add only. Renaming to make the behaviour more obvious. I checked again and it's possible to 'unassign' hosts by clicking again on the assign button - it allows only before 'deploy' (after deployment the check-box of the hosts is disabled) . notes : -------- (1) for this bug fix - we would like to switch the 'Assign' button to 'Unassign' -> after the host has been associated with host group. (2) there is a GUI tweak that moves the focus from the selected host group to the first host group in the host-group list. see : #1098213 (3) For future release user should be able to Unassign hosts even after 'Deploy' see: #1098284 Verified ruby193-rubygem-staypuft-0.0.16-1.el6ost.noarch. I verified that it's possible to edit the host and change it's host-group to blank and then reassign the host to another role on the deployment. Still need to check if the host should remain marked as "managed" or not in this case. |