Bug 1257607
Summary: | Discovered hosts UI does not allow setting Organization/Location when provisioning | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Barak Korren <bkorren> | ||||
Component: | Discovery Plugin | Assignee: | Lukas Zapletal <lzap> | ||||
Status: | CLOSED ERRATA | QA Contact: | orabin | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.1.0 | CC: | bbuckingham, bkearney, cwelton, lzap, orabin, wpinheir | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://projects.theforeman.org/issues/4426 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-02-21 16:51: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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1338516 | ||||||
Attachments: |
|
Description
Barak Korren
2015-08-27 12:42:45 UTC
Created redmine issue http://projects.theforeman.org/issues/11605 from this bug WORKAROUND: It is possible to change org/loc of existing discovered hosts using mass assignement action. Select one or more hosts, click on Select action and use Assign org/loc button to do this. Created attachment 1068596 [details]
Unable to change org/loc via mass action
There is a problem with this - the mass action window shows the list of hosts again instead of allowing to select the org/loc. (See attached screenshot)
Thanks, reported and fixed as in https://bugzilla.redhat.com/show_bug.cgi?id=1258521 The patch is small, you can apply it onto your instance if you dont want to wait for z-stream update. Or you can use "foreman-rake console" if API won't work. Unfortunately, this is a technical limitation of reusing Edit Host form in Discovery. This can't be easily fixed, my initial attempt stalled and we need to implement proper solution - brand new provisioning form for discovered hosts. Moving to POST since upstream bug http://projects.theforeman.org/issues/4426 has been closed Version Tested: Satellite-6.3 Snap 10 The selection of organization and location works with the wizard. Choosing hostgroup, organization and location then clicking quick or create will work as expected. However, I found a bug with one case: 1) Click provision on a discovered host 2) Choose organization and location that are not the default and leave the hostgroup empty 3) Click create host 4) fill in hostgroup and submit Expected result: Success save or validation erro Actual result: Host not found Moved bug back to assigned but it's also possible to open a new bug and mark this one as verified. Adding need more information so assignee will decide how to proceed. Ok I prefer separate bug for this, created upstream issue for that: http://projects.theforeman.org/issues/20784 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/RHSA-2018:0336 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/RHSA-2018:0336
|