Description of problem: The content host status is a green dot, but it shows "Warning" Version-Release number of selected component (if applicable): How reproducible: Easy Steps to Reproduce: 1. Install a capsule normally 2. Check the content host details - provisioning details tab for that capsule. Actual results: In the status field - the dot is green but shows a warning Expected results: In the status field the dot should either be yellow and show Warning or Green and show "Fully entitled" (or a similar successful message) Additional info: screenshot http://www.clipular.com/c/5666756448747520.png?k=yqroXkU_JomZrASQPepyfKhKElQ
Created redmine issue http://projects.theforeman.org/issues/14372 from this bug
PR Merged https://github.com/Katello/katello/pull/5925
Moving to POST since upstream bug http://projects.theforeman.org/issues/14372 has been closed ------------- John Mitsch Applied in changeset commit:katello|d31dff1eaa26ee3e7390c820457c129a58e5d413.
*** Bug 1325956 has been marked as a duplicate of this bug. ***
When verifying this bug, recommend verifying the behavior for both an atomic and non-atomic host. Refer to duplicate bug 1325956 for details on the atomic scenario.
WORKAROUND: The correct status is represented by the text (e.g. Warning) and not the color. As an alternative, the user can also view the status by doing the following in the UI: - Go to Hosts -> All Hosts - Select the host - View the Properties -> Status
Verified with sat6.2 GA snap10 I can see host status 'Green' with text 'OK' under content host details - provisioning details and Subscription Status as 'Fully Entitled'. Please see the attached screenshot.
Created attachment 1157107 [details] host status as 'OK' with green dot
Created attachment 1157109 [details] host subscription status as fully entitled
Need to check for atomic host, so keeping it in on_qa
Ok, I provisioned atomic host via satellite6.2 snap11.0 and on content-host -> indev page, I can see the "Green" dot under "subscription status. under "provisioning details" -> "yellow" dot and text "Warning" under subscription tab -> subscription status - "Red" dot Under atomic content-host -> details -> subscription status -> Full entitled. Since host is already associated with "Red Hat Atomic host ostree contents" subscription then subscription tab -> subscription status shouldn't show "Red" dot. @John: Could you please confirm if its expected behaviour ?. thanks
Created attachment 1158258 [details] on content-host index page, subscription status "green" dot for atomic host
Created attachment 1158259 [details] "Fully Entitled" on details page
Created attachment 1158261 [details] "red" dot on subscriptions tab -> subscription status
Similar issue with snap13.1 build.
Sachin, Sorry for the delayed response, I do not believe that is correct behavior and I am looking into it further. I will update here when I figure out further information and what I think the next steps should be.
Sachin, Looks like that is an issue that needs to be fixed as part of this BZ. I am setting this back to assigned and am looking into it.
Upstream bug component is Provisioning
Added an issue for the aforementioned issue with the content host details > subscription tab showing the wrong sub status. This seems to be happening across all hosts. PR here - https://github.com/Katello/katello/pull/6107
Upstream bug component is Hosts
John... is the same as https://bugzilla.redhat.com/show_bug.cgi?id=1337522
Bryan, That BZ (1337522) is a different issue, it addresses subscription status showing green instead of red. I am fixing: 1) Showing incorrect text with a color (i.e. green dot with "Warning") 2) Content Host details > Subscriptions tab > Subscription status always showing a red status with no text. Let me know if I can further clarify anything.
Verified with sat62 GA snap17. the reported issue is still reproducible with sat6.2 snap17. Under provisioning details -> status: I can see Error, with green dot for one host. and for another host warning (with green dot).
Created attachment 1172890 [details] error on "provisioning details" -> status and dot is green
Created attachment 1172891 [details] warning on "provisioning details" -> status and dot is green
Sachin, Can you provide me with the steps you took to reproduce this error?
Hey John, Just provision a new host with hostgroup from satellite but without associating activation-key to hostgroup and you will see green dot, with "warning". In other words, host provisioned via satellite should not be registered with server. The other issue "Error" with green dot is something when host is not reachable to Satellite server. Its hard to reproduce. I'll see if I can reproduce it.
Sure thing, will look into it ASAP
Made the fix upstream and referenced the original issue - https://github.com/Katello/katello/pull/6166
Verified with Sat62 GA snap20.2. Case1 - For registered and provisioned atomic host via satellite: ================================================================== Under Details tab: - katello-agent yellow(dot) - not installed - subscription - green(dot) - Fully entitled under "provisioning details" - yellow(dot) with Warning text - green(dot) with Fully entitled. Case2- For registered and provisioned via Satellite host: ================================================= Under Details tab: - katello-agent green(dot) - Installed - subscription - green(dot) - Fully entitled under "provisioning details" - Green(dot) with OK text - green(dot) with Fully entitled. Case3 - For unregistered host but provisioned via Satellite: ==================================================== Under Details tab: no subscription status, as host is not registered under "provisioning details" - Green(dot) with Warning text Please note that case3 is not working as expected. I should see 'yellow' dot with warning text instead of green.
Created attachment 1181416 [details] warning on "provisioning details" and dot is green, should be 'yellow'
Sachin, Can you give some more details on how you provisioned the host? It would make it easier for me to reproduce as this mismatch seems to be happening on very specific cases.
Hey John, I provisioned the host via Satellite but without associating hostgroup and activation key. This way host was provisioned successfully but didn't get registered.
qa -> pgagne
In 6.3 presentation of content host subscriptions status changed from colored dots to "tick" mark, though I can still see the original reported issue. Steps to reproduce: a) Provision a host through satellite b) do not associate activation-key when creating a new host c) once host is provisioned, goto -> content-host-provisioning details tab
Created attachment 1346896 [details] provisioning details -> tick sign w/ warning text Please note that tick sign shouldappear w/ 'OK' text and "!" appears w/ warning. So here either we should "tick" ok OR "!warning" but not "tick warning". Hope I'm clear :)
note to self for reproducing: provision host w/ no host group + no activation key using UI, check provision tab
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days