Project

General

Profile

Actions

Bug #4615

closed

subscription-manager list --available fails on client system

Added by Erik Jacobs about 10 years ago. Updated almost 6 years ago.

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

Description

On client system:
[root@client-10 log]# subscription-manager list --available
Error updating system data on the server, see /var/log/rhsm/rhsm.log for more details.

From rhsm.log:
RemoteServerException: Server returned 404
2014-03-10 11:08:37,099 [ERROR] @managercli.py:115 - exception caught in subscription-manager
2014-03-10 11:08:37,099 [ERROR] @managercli.py:116 - Error updating system data on the server, see /var/log/rhsm/rhsm.log for more details.
Traceback (most recent call last):
File "/usr/sbin/subscription-manager", line 88, in <module>
sys.exit(abs(main() or 0))
File "/usr/sbin/subscription-manager", line 79, in main
return managercli.ManagerCLI().main()
File "/usr/share/rhsm/subscription_manager/managercli.py", line 2085, in main
return CLI.main(self)
File "/usr/share/rhsm/subscription_manager/cli.py", line 156, in main
return cmd.main()
File "/usr/share/rhsm/subscription_manager/managercli.py", line 424, in main
return_code = self._do_command()
File "/usr/share/rhsm/subscription_manager/managercli.py", line 1906, in do_command
self.facts, self.options.all, on_date)
File "/usr/share/rhsm/subscription_manager/managerlib.py", line 326, in getAvailableEntitlements
dlist = list_pools(cpserver, consumer_uuid, facts, get_all, active_on)
File "/usr/share/rhsm/subscription_manager/managerlib.py", line 298, in list_pools
facts.update_check(uep, consumer_uuid)
File "/usr/share/rhsm/subscription_manager/cache.py", line 172, in update_check
raise Exception(
("Error updating system data on the server, see /var/log/rhsm/rhsm.log "
Exception: Error updating system data on the server, see /var/log/rhsm/rhsm.log for more details.

From foreman.log:
Processing by Katello::Api::V1::RootController#resource_list as JSON
Parameters: {"api_version"=>"v1", "root"=>{}}
Completed 200 OK in 20ms (Views: 2.2ms | ActiveRecord: 0.0ms)
Processing by Katello::Api::V1::PingController#server_status as JSON
Parameters: {"api_version"=>"v1", "ping"=>{}}
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by Katello::Api::V1::PingController#server_status as JSON
Parameters: {"api_version"=>"v1", "ping"=>{}}
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)

ActionController::RoutingError (No route matches [PUT] "/katello/api/consumers/309e8785-194a-49c0-abf5-d362b6731cde"):
/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'


Files

rhsm.log rhsm.log 93.1 KB Erik Jacobs, 03/10/2014 03:25 PM
Actions #1

Updated by Erik Jacobs about 10 years ago

foreman-1.5.0-0.develop.201403071828gite4d8817.el6.noarch
foreman-postgresql-1.5.0-0.develop.201403071828gite4d8817.el6.noarch
foreman-proxy-1.5.0-0.develop.201402201704gita25e7b9.el6.noarch
foreman-release-1.5.0-0.develop.201403071828gite4d8817.el6.noarch
katello-1.5.0-14.201403071827git0bda7f5.el6.noarch
katello-apache-1.0-1.noarch
katello-ca-1.0-1.noarch
katello-certs-tools-1.5.2-1.el6.noarch
katello-installer-0.0.19-1.201403072013gita7ceec1.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.3.5-1.el6.noarch
ruby193-rubygem-katello-1.5.0-10.201403071827git0bda7f5.el6.noarch
rubygem-foreman_api-0.1.11-1.el6.noarch
rubygem-hammer_cli_foreman-0.0.18-1.el6.noarch
rubygem-hammer_cli_katello-0.0.3-1.el6.noarch
rubygem-katello_api-0.0.8-1.el6.noarch

Actions #2

Updated by Erik Jacobs about 10 years ago

registration:
[root@client-10 ~]# subscription-manager register --environment=Library --org=ACME_Corporation
Username: admin
Password:
The system has been registered with id: 309e8785-194a-49c0-abf5-d362b6731cde

Actions #3

Updated by Eric Helms about 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:69dccdc02257f0274c3ef84110537d9faee83caa.

Actions #4

Updated by Eric Helms almost 10 years ago

  • Triaged set to Yes
Actions #5

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF