Bug 1330015 - Unable to assign tags to Hosts
Summary: Unable to assign tags to Hosts
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.3.0
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: GA
: 5.6.0
Assignee: Milan Zázrivec
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-25 09:51 UTC by Prasad Mukhedkar
Modified: 2019-10-10 11:58 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-28 17:23:22 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)

Comment 2 Sachin 2016-04-25 12:49:12 UTC
I wonder why this extra parameter("_"=>"") is been added in the customer log?

      Parameters: {"tag_cat"=>"visibility", "_"=>"", "id"=>"1000000000001"}

Whereas in our environment, we do not see the key with the name '_'
 
---

[----] I, [2016-04-25T11:19:28.213479 #10751:69a08c]  INFO -- : Started POST "/host/tag_edit_form_field_changed/1000000000003" for 127.0.0.1 at 2016-04-25 ...
[----] I, [2016-04-25T11:19:28.218081 #10751:69a08c]  INFO -- : Processing by HostController#tag_edit_form_field_changed as JS
[----] I, [2016-04-25T11:19:28.220748 #10751:69a08c]  INFO -- :   Parameters: {"tag_cat"=>"visibility", "id"=>"1000000000003"}
[----] I, [2016-04-25T11:19:28.253951 #10751:69a08c]  INFO -- :   Rendered layouts/_tag_edit_cat_tags.html.erb (0.9ms)
[----] I, [2016-04-25T11:19:28.264645 #10751:69a08c]  INFO -- : Completed 200 OK in 43.7ms (Views: 2.6ms | ActiveRecord: 3.6ms)

---

May be a good pointer to start with.

Comment 3 Milan Zázrivec 2016-04-26 12:10:38 UTC
(In reply to Sachin from comment #2)
> I wonder why this extra parameter("_"=>"") is been added in the customer log?
> 
>       Parameters: {"tag_cat"=>"visibility", "_"=>"", "id"=>"1000000000001"}
> 
> Whereas in our environment, we do not see the key with the name '_'
>  
> ---
> 
> [----] I, [2016-04-25T11:19:28.213479 #10751:69a08c]  INFO -- : Started POST
> "/host/tag_edit_form_field_changed/1000000000003" for 127.0.0.1 at
> 2016-04-25 ...
> [----] I, [2016-04-25T11:19:28.218081 #10751:69a08c]  INFO -- : Processing
> by HostController#tag_edit_form_field_changed as JS
> [----] I, [2016-04-25T11:19:28.220748 #10751:69a08c]  INFO -- :  
> Parameters: {"tag_cat"=>"visibility", "id"=>"1000000000003"}
> [----] I, [2016-04-25T11:19:28.253951 #10751:69a08c]  INFO -- :   Rendered
> layouts/_tag_edit_cat_tags.html.erb (0.9ms)
> [----] I, [2016-04-25T11:19:28.264645 #10751:69a08c]  INFO -- : Completed
> 200 OK in 43.7ms (Views: 2.6ms | ActiveRecord: 3.6ms)
> 
> ---
> 
> May be a good pointer to start with.

Nope. This is expected behavior.

Comment 4 Milan Zázrivec 2016-04-26 12:14:30 UTC
This sort of error should not happen under normal circumstances. For some
reason, the session data here seems to be messed up.

What you can try is to:

1. log into your CFME appliance as root
2. make sure nc package is installed
3. run as root in command line: # echo 'flush_all' | nc localhost 11211
4. log out / log into your CFME UI and re-try the procedure

Comment 10 Sachin 2016-04-28 04:34:54 UTC
Looks like we are able to access 'visibility' tags and tag the host. I don't see any error. Let me confirm once again and we'll revert back.

Comment 12 Milan Zázrivec 2016-04-28 07:41:50 UTC
Do we still have a problem here? Can this bug report be closed?


Note You need to log in before you can comment on or make changes to this bug.