Project

General

Profile

Actions

Bug #4725

closed

(nightlies 3-19-14) creating host groups is missing published content views

Added by Erik Jacobs almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

foreman-1.5.0-0.develop.201403182248gitdf471c7.el6.noarch
foreman-postgresql-1.5.0-0.develop.201403182248gitdf471c7.el6.noarch
foreman-proxy-1.5.0-0.develop.201403141615git2f75941.el6.noarch
foreman-release-1.5.0-0.develop.201403182248gitdf471c7.el6.noarch
katello-1.5.0-14.201403182251gita638704.el6.noarch
katello-apache-1.0-1.noarch
katello-ca-1.0-1.noarch
katello-certs-tools-1.5.2-1.git.1.edab2c4.el6.noarch
katello-installer-0.0.19-1.201403121737git943ff82.el6.noarch
katello-repos-1.5.1-1.git.14.0868bd1.el6.noarch
pulp-katello-plugins-0.2-1.el6.noarch
ruby193-rubygem-foreman-tasks-0.4.0-1.el6.noarch
ruby193-rubygem-katello-1.5.0-10.201403182251gita638704.el6.noarch
rubygem-foreman_api-0.1.11-1.el6.noarch
rubygem-hammer_cli_foreman-0.0.18-1.el6.noarch
rubygem-hammer_cli_foreman_tasks-0.0.1-3.el6.noarch
rubygem-hammer_cli_katello-0.0.3-1.201403182248git62f913f.git.0.087e5ab.el6.noarch
rubygem-katello_api-0.0.8-1.201403182244git25f03d8.git.0.b35bfdd.el6.noarch

1. Create a product and a puppet repository
2. Upload a puppet module
3. Create a content view with said module
4. Publish the content view to the library
5. Go to the hostgroups page
6. Create a new hostgroup

Only the default view is visible: <option data-katello-id="ACME_Corporation/Library/Default_Organization_View" value="1" style="display: block;">Default_Organization_View</option>

There is a view published that is not in the dropdown.

Additionally, if I select the default view, a popup error appears:
Error while loading activation keys from Katello

From foreman/production.log:
Processing by HostgroupsController#environment_selected as */*
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rXjmGf3Ki8zJGflqzlmVn2qhrTnYZ7BAmWknmuVUymw=", "hostgroup"=>{"parent_id"=>"", "name"=>"motd", "environment_id"=>"1", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "domain_id"=>"", "architecture_id"=>"", "root_pass"=>"[FILTERED]", "organization_ids"=>["", "1"]}, "kt_environment_id"=>"ACME_Corporation/Library", "kt_activation_keys"=>"", "host_id"=>"1"}

ActionController::RoutingError (No route matches [GET] "/katello/api/organizations/ACME_Corporation/content_views"):
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'

Rendered puppetclasses/_selectedClasses.html.erb (0.0ms)
Rendered puppetclasses/_classes.html.erb (1.5ms)
Rendered puppetclasses/_class_selection.html.erb (11.0ms)
Completed 200 OK in 34ms (Views: 13.5ms | ActiveRecord: 2.5ms)
Connecting to database specified by database.yml
Clean start.
shutting down Core ...
... Core terminated.

I think that error is unrelated to the missing view(s).


Files

Screenshot from 2014-03-19 14_27_21.png View Screenshot from 2014-03-19 14_27_21.png 271 KB create hostgroup page Erik Jacobs, 03/19/2014 06:27 PM
Screenshot from 2014-03-19 14_29_03.png View Screenshot from 2014-03-19 14_29_03.png 276 KB published content view Erik Jacobs, 03/19/2014 06:29 PM
Screenshot from 2014-03-19 14_40_23.png View Screenshot from 2014-03-19 14_40_23.png 277 KB showing promoted content Erik Jacobs, 03/19/2014 06:41 PM
Actions

Also available in: Atom PDF