Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1097233 - unable to update content-view for activation keys
Summary: unable to update content-view for activation keys
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Partha Aji
QA Contact: Ales Dujicek
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-13 12:22 UTC by Kedar Bidarkar
Modified: 2019-09-25 20:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:08:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 5846 0 'Normal' 'Closed' 'unable to update content-view for activation keys' 2019-11-15 08:49:25 UTC

Description Kedar Bidarkar 2014-05-13 12:22:03 UTC
Description of problem:

Unable to update cotent-view for activation keys.

Version-Release number of selected component (if applicable):
beta-snap4/2014-05-08.1

How reproducible:


Steps to Reproduce:
1. Have multiple cv's.
2. Create an activation key
3. Try updating the content-views


Actual results:
Updating the content-view would raise a success alert, but upon checking the content-view value in the UI, it remains the same.

Expected results:
Updating content-view for activation-keys needs to be successful.
also there should be no alert when the content-view was actually not updated.

Additional info:

Comment 1 RHEL Program Management 2014-05-13 12:26:11 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Kedar Bidarkar 2014-05-13 12:30:59 UTC
There is no error in /var/log/foreman/production.log, but below is the output that we get when trying to update the activation key.

Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
Connecting to database specified by database.yml
Processing by Katello::Api::V2::ActivationKeysController#update as JSON
  Parameters: {"id"=>"9", "name"=>"A test key2", "label"=>"A_test_key2", "description"=>nil, "organization"=>{"name"=>"ACME_Corporation", "label"=>"ACME_Corporation"}, "created_at"=>"2014-05-13T10:48:07Z", "updated_at"=>"2014-05-13T10:48:07Z", "content_view"=>{"id"=>3, "name"=>"cv-rhel65-manifest", "label"=>"cv-rhel65-manifest", "description"=>nil, "organization_id"=>1, "default"=>false, "created_at"=>"2014-05-11T18:50:28Z", "updated_at"=>"2014-05-11T18:50:28Z", "composite"=>nil, "next_version"=>2, "organization"=>"ACME_Corporation", "environments"=>["Dev", "Library"], "versions"=>[1], "versions_details"=>[{"version"=>1, "published"=>"2014-05-11 18:54:41 UTC", "environments"=>["Library", "Dev"]}]}, "content_view_id"=>8, "environment_id"=>2, "usage_count"=>1, "user_id"=>1, "usage_limit"=>-1, "release_version"=>nil, "service_level"=>nil, "permissions"=>{"editable"=>true}, "environment"=>{"id"=>2, "name"=>"Dev", "select"=>true, "selected"=>true}, "host_collections"=>[], "api_version"=>"v2", "activation_key"=>{"id"=>"9", "name"=>"A test key2", "description"=>nil, "environment_id"=>2, "created_at"=>"2014-05-13T10:48:07Z", "updated_at"=>"2014-05-13T10:48:07Z", "user_id"=>1, "usage_limit"=>-1, "content_view_id"=>8, "label"=>"A_test_key2", "release_version"=>nil, "service_level"=>nil}}
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/common/update.json.rabl within katello/api/v2/layouts/resource (28.3ms)
Completed 200 OK in 154ms (Views: 24.0ms | ActiveRecord: 5.0ms)

Comment 4 Brad Buckingham 2014-05-21 00:03:57 UTC
Created redmine issue http://projects.theforeman.org/issues/5846 from this bug

Comment 5 Partha Aji 2014-05-21 15:49:08 UTC
should be fixed when 0e8b8eb285ad7f4566c961fcf9fc038f5f7e52bb or  https://github.com/Katello/katello/pull/4126 makes it to master.

Comment 7 Ales Dujicek 2014-05-26 09:52:07 UTC
Verified.
sat6 snap6:  Satellite-6.0.3-RHEL-6-20140523.0

Comment 8 Bryan Kearney 2014-07-02 14:08:33 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.

Comment 9 Bryan Kearney 2014-07-02 14:09:52 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0


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