Project

General

Profile

Support #28034

The subscription-manager doesn't register a node to Katello master through smart proxy

Added by Eugeny Kisel almost 3 years ago. Updated about 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Activation Key
Target version:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I've created the Forema/Katello installation on my local env to testing this solution. Foreman version - 1.23, Katello 3.13.
When I try to connect my test host to Katello master with an activation key I get the error: Unauthorized: Invalid credentials for request.

2019-10-10 12:45:59,648 [DEBUG] subscription-manager:28889:MainThread @https.py:56 - Using standard libs to provide httplib and ssl
2019-10-10 12:45:59,749 [DEBUG] subscription-manager:28889:MainThread @dbus_interface.py:39 - self.has_main_loop=False
2019-10-10 12:45:59,759 [DEBUG] subscription-manager:28889:MainThread @ga_loader.py:91 - ga_loader GaImporterGtk3
2019-10-10 12:45:59,760 [DEBUG] subscription-manager:28889:MainThread @plugins.py:571 - loaded plugin modules: []
2019-10-10 12:45:59,760 [DEBUG] subscription-manager:28889:MainThread @plugins.py:572 - loaded plugins: {}
2019-10-10 12:45:59,760 [DEBUG] subscription-manager:28889:MainThread @identity.py:138 - Loading consumer info from identity certificates.
2019-10-10 12:45:59,760 [DEBUG] subscription-manager:28889:MainThread @identity.py:149 - Reload of consumer identity cert /etc/pki/consumer/cert.pem raised an exception with msg: [Errno 2] No such file or directory: '/etc/pki/consumer/key.pem'
2019-10-10 12:45:59,761 [DEBUG] subscription-manager:28889:MainThread @connection.py:808 - Environment variable NO_PROXY= will be used
2019-10-10 12:45:59,761 [INFO] subscription-manager:28889:MainThread @connection.py:905 - Connection built: host=puppet-proxy-1.nhl.net port=8443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2019-10-10 12:45:59,768 [INFO] subscription-manager:28889:MainThread @managercli.py:462 - X-Correlation-ID: dda4b6b3228b4b79b349152f24cfa84d
2019-10-10 12:45:59,768 [INFO] subscription-manager:28889:MainThread @managercli.py:351 - Client Versions: {'subscription-manager': '1.24.13-3.el7.centos'}
2019-10-10 12:45:59,769 [DEBUG] subscription-manager:28889:MainThread @connection.py:808 - Environment variable NO_PROXY= will be used
2019-10-10 12:45:59,769 [INFO] subscription-manager:28889:MainThread @connection.py:905 - Connection built: host=puppet-proxy-1.nhl.net port=8443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2019-10-10 12:45:59,769 [DEBUG] subscription-manager:28889:MainThread @connection.py:808 - Environment variable NO_PROXY= will be used
2019-10-10 12:45:59,769 [INFO] subscription-manager:28889:MainThread @connection.py:905 - Connection built: host=puppet-proxy-1.nhl.net port=8443 handler=/rhsm auth=none
2019-10-10 12:45:59,769 [INFO] subscription-manager:28889:MainThread @managercli.py:351 - Client Versions: {'subscription-manager': '1.24.13-3.el7.centos'}
2019-10-10 12:45:59,769 [INFO] subscription-manager:28889:MainThread @managercli.py:327 - Consumer Identity name=None uuid=None
2019-10-10 12:45:59,770 [INFO] subscription-manager:28889:MainThread @managercli.py:327 - Consumer Identity name=None uuid=None
2019-10-10 12:45:59,770 [DEBUG] subscription-manager:28889:MainThread @connection.py:808 - Environment variable NO_PROXY= will be used
2019-10-10 12:45:59,770 [INFO] subscription-manager:28889:MainThread @connection.py:905 - Connection built: host=puppet-proxy-1.nhl.net port=8443 handler=/rhsm auth=none
2019-10-10 12:45:59,781 [INFO] subscription-manager:28889:MainThread @dmiinfo.py:76 - Using dmidecode dump file: /dev/mem
2019-10-10 12:46:00,330 [DEBUG] subscription-manager:28889:MainThread @connection.py:523 - Loaded CA certificates from /etc/rhsm/ca/: katello-server-ca.pem, katello-default-ca.pem
2019-10-10 12:46:00,331 [DEBUG] subscription-manager:28889:MainThread @connection.py:571 - Making request: POST /rhsm/consumers?owner=Test&activation_keys=mike
2019-10-10 12:46:01,976 [INFO] subscription-manager:28889:MainThread @connection.py:618 - Response: status=200, request="POST /rhsm/consumers?owner=Test&activation_keys=mike"
2019-10-10 12:46:01,977 [DEBUG] subscription-manager:28889:MainThread @cache.py:114 - Wrote cache: /var/lib/rhsm/cache/installed_products.json
2019-10-10 12:46:01,978 [INFO] subscription-manager:28889:MainThread @managerlib.py:72 - Consumer created: node-1.nhl.net (0cb1f61b-d648-4d7f-847a-56e102b781eb)
2019-10-10 12:46:01,978 [DEBUG] subscription-manager:28889:MainThread @identity.py:138 - Loading consumer info from identity certificates.
2019-10-10 12:46:01,979 [DEBUG] subscription-manager:28889:MainThread @connection.py:808 - Environment variable NO_PROXY= will be used
2019-10-10 12:46:01,979 [INFO] subscription-manager:28889:MainThread @connection.py:905 - Connection built: host=puppet-proxy-1.nhl.net port=8443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2019-10-10 12:46:01,980 [DEBUG] subscription-manager:28889:MainThread @connection.py:523 - Loaded CA certificates from /etc/rhsm/ca/: katello-server-ca.pem, katello-default-ca.pem
2019-10-10 12:46:01,980 [DEBUG] subscription-manager:28889:MainThread @connection.py:571 - Making request: GET /rhsm/status
2019-10-10 12:46:02,224 [INFO] subscription-manager:28889:MainThread @connection.py:618 - Response: status=200, request="GET /rhsm/status"
2019-10-10 12:46:02,224 [DEBUG] subscription-manager:28889:MainThread @connection.py:950 - Server has the following capabilities: [u'instance_multiplier', u'derived_product', u'vcpu', u'cert_v3', u'hypervisors_heartbeat', u'remove_by_pool_id', u'syspurpose', u'storage_band', u'cores', u'hypervisors_async', u'org_level_content_access', u'guest_limit', u'ram', u'batch_bind', u'combined_reporting']
2019-10-10 12:46:02,225 [DEBUG] subscription-manager:28889:MainThread @connection.py:523 - Loaded CA certificates from /etc/rhsm/ca/: katello-server-ca.pem, katello-default-ca.pem
2019-10-10 12:46:02,225 [DEBUG] subscription-manager:28889:MainThread @connection.py:571 - Making request: GET /rhsm/consumers/0cb1f61b-d648-4d7f-847a-56e102b781eb
2019-10-10 12:46:02,455 [INFO] subscription-manager:28889:MainThread @connection.py:618 - Response: status=401, request="GET /rhsm/consumers/0cb1f61b-d648-4d7f-847a-56e102b781eb"
2019-10-10 12:46:02,455 [ERROR] subscription-manager:28889:MainThread @connection.py:643 - Response: 401
2019-10-10 12:46:02,455 [ERROR] subscription-manager:28889:MainThread @connection.py:644 - JSON parsing error: Expecting ':' delimiter: line 1 column 9 (char 8)
2019-10-10 12:46:02,456 [ERROR] subscription-manager:28889:MainThread @managercli.py:189 - Error during registration: Server error attempting a GET to /rhsm/consumers/0cb1f61b-d648-4d7f-847a-56e102b781eb returned status 401
Unauthorized: Invalid credentials for request.
2019-10-10 12:46:02,456 [ERROR] subscription-manager:28889:MainThread @managercli.py:190 - Server error attempting a GET to /rhsm/consumers/0cb1f61b-d648-4d7f-847a-56e102b781eb returned status 401
Unauthorized: Invalid credentials for request.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 1332, in _do_command
type=self.options.consumertype
File "/usr/lib64/python2.7/site-packages/rhsmlib/services/register.py", line 104, in register
store.sync()
File "/usr/lib/python2.7/site-packages/syspurpose/files.py", line 282, in sync
remote_contents = self.get_remote_contents()
File "/usr/lib/python2.7/site-packages/syspurpose/files.py", line 341, in get_remote_contents
consumer = self.uep.getConsumer(self.consumer_uuid)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 1167, in getConsumer
return self.conn.request_get(method)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 726, in request_get
return self._request("GET", method, headers=headers)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 752, in _request
info=info, headers=headers)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 627, in _request
self.validateResponse(result, request_type, handler)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 699, in validateResponse
handler=handler)
UnauthorizedException: Server error attempting a GET to /rhsm/consumers/0cb1f61b-d648-4d7f-847a-56e102b781eb returned status 401
Unauthorized: Invalid credentials for request.

History

#1 Updated by Eugeny Kisel almost 3 years ago

  • Category set to Activation Key

#2 Updated by Eugeny Kisel almost 3 years ago

I don't use RedHatRepos. I just created custom products.

#3 Updated by Eugeny Kisel almost 3 years ago

Log from the file /var/log/foreman/production.log

2019-10-10T13:47:57 [I|app|255c9841] Started GET "/content_hosts?page=1&per_page=20&sortBy=name&sortOrder=ASC" for 192.168.1.108 at 2019-10-10 13:47:57 +0000
2019-10-10T13:47:57 [I|app|255c9841] Processing by Bastion::BastionController#index as HTML
2019-10-10T13:47:57 [I|app|255c9841] Parameters: {"page"=>"1", "per_page"=>"20", "sortBy"=>"name", "sortOrder"=>"ASC", "bastion_page"=>"content_hosts"}
2019-10-10T13:47:57 [I|app|255c9841] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/engines/bastion/app/views/bastion/layouts/application.html.erb
2019-10-10T13:47:57 [I|app|255c9841] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/engines/bastion/app/views/bastion/layouts/assets.html.erb
2019-10-10T13:47:57 [I|app|255c9841] Rendering layouts/base.html.erb
2019-10-10T13:47:57 [I|app|255c9841] Rendered layouts/base.html.erb (18.8ms)
2019-10-10T13:47:57 [I|app|255c9841] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/engines/bastion/app/views/bastion/layouts/assets.html.erb (56.5ms)
2019-10-10T13:47:57 [I|app|255c9841] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/engines/bastion/app/views/bastion/layouts/application.html.erb (57.2ms)
2019-10-10T13:47:57 [I|app|255c9841] Completed 200 OK in 70ms (Views: 50.2ms | ActiveRecord: 11.2ms)
2019-10-10T13:47:57 [I|app|ac996ba1] Started GET "/notification_recipients" for 192.168.1.108 at 2019-10-10 13:47:57 +0000
2019-10-10T13:47:57 [I|app|ac996ba1] Processing by NotificationRecipientsController#index as JSON
2019-10-10T13:47:57 [I|app|ac996ba1] Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 1.8ms)
2019-10-10T13:47:57 [I|app|f2dc799f] Started GET "/content-hosts/views/content-hosts.html" for 192.168.1.108 at 2019-10-10 13:47:57 +0000
2019-10-10T13:47:57 [I|app|30b1f405] Started GET "/api/v2/hosts?organization_id=1&page=1&paged=true&per_page=20&search=&sort_by=name&sort_order=ASC" for 192.168.1.108 at 2019-10-10 13:47:57 +0000
2019-10-10T13:47:57 [I|app|30b1f405] Processing by Api::V2::HostsController#index as JSON
2019-10-10T13:47:57 [I|app|30b1f405] Parameters: {"organization_id"=>"1", "page"=>"1", "paged"=>"true", "per_page"=>"20", "search"=>"", "sort_by"=>"name", "sort_order"=>"ASC", "apiv"=>"v2"}
2019-10-10T13:47:57 [I|app|30b1f405] Rendering api/v2/hosts/index.json.rabl within api/v2/layouts/index_layout
2019-10-10T13:47:57 [I|app|30b1f405] Rendered api/v2/hosts/index.json.rabl within api/v2/layouts/index_layout (114.1ms)
2019-10-10T13:47:57 [I|app|30b1f405] Completed 200 OK in 196ms (Views: 59.6ms | ActiveRecord: 88.6ms)
2019-10-10T13:47:57 [I|app|64ebfbd1] Started GET "/layouts/table-with-header.html" for 192.168.1.108 at 2019-10-10 13:47:57 +0000
2019-10-10T13:47:58 [I|app|6b14b9fd] Started GET "/layouts/partials/table.html" for 192.168.1.108 at 2019-10-10 13:47:58 +0000
2019-10-10T13:47:58 [I|app|5afc024a] Started GET "/layouts/partials/page-header-with-actions.html" for 192.168.1.108 at 2019-10-10 13:47:58 +0000
2019-10-10T13:47:58 [I|app|e9e2e3d9] Started GET "/layouts/partials/messages-container.html" for 192.168.1.108 at 2019-10-10 13:47:58 +0000
2019-10-10T13:47:58 [I|app|6b2a07ef] Started GET "/layouts/select-all-results.html" for 192.168.1.108 at 2019-10-10 13:47:58 +0000
2019-10-10T13:47:58 [I|app|f7b603d1] Started GET "/common/views/select-action-dropdown.html" for 192.168.1.108 at 2019-10-10 13:47:58 +0000
2019-10-10T13:47:58 [I|app|9b29ff41] Started GET "/api/v2/bookmarks?search=controller%3Dhosts" for 192.168.1.108 at 2019-10-10 13:47:58 +0000
2019-10-10T13:47:58 [I|app|9b29ff41] Processing by Api::V2::BookmarksController#index as JSON
2019-10-10T13:47:58 [I|app|9b29ff41] Parameters: {"search"=>"controller=hosts", "apiv"=>"v2"}
2019-10-10T13:47:58 [I|app|9b29ff41] Rendering api/v2/bookmarks/index.json.rabl within api/v2/layouts/index_layout
2019-10-10T13:47:58 [I|app|9b29ff41] Rendered api/v2/bookmarks/index.json.rabl within api/v2/layouts/index_layout (7.8ms)
2019-10-10T13:47:58 [I|app|9b29ff41] Completed 200 OK in 26ms (Views: 10.5ms | ActiveRecord: 4.3ms)
2019-10-10T13:47:58 [I|app|6b0247fb] Started GET "/errata/views/errata-counts.html" for 192.168.1.108 at 2019-10-10 13:47:58 +0000
2019-10-10T13:48:00 [I|app|76acf266] Started GET "/content-hosts/details/views/content-host-details.html" for 192.168.1.108 at 2019-10-10 13:48:00 +0000
2019-10-10T13:48:00 [I|app|a0c46d6f] Started GET "/content-hosts/details/views/content-host-info.html" for 192.168.1.108 at 2019-10-10 13:48:00 +0000
2019-10-10T13:48:00 [I|app|4fcc4df3] Started GET "/layouts/details-page-with-breadcrumbs.html" for 192.168.1.108 at 2019-10-10 13:48:00 +0000
2019-10-10T13:48:00 [I|app|73dc38d6] Started GET "/api/v2/hosts/3" for 192.168.1.108 at 2019-10-10 13:48:00 +0000
2019-10-10T13:48:00 [I|app|73dc38d6] Processing by Api::V2::HostsController#show as JSON
2019-10-10T13:48:00 [I|app|73dc38d6] Parameters: {"apiv"=>"v2", "id"=>"3"}
2019-10-10T13:48:00 [I|app|73dc38d6] Rendering api/v2/hosts/show.json.rabl
2019-10-10T13:48:00 [I|app|73dc38d6] Rendered api/v2/hosts/show.json.rabl (417.3ms)
2019-10-10T13:48:00 [I|app|73dc38d6] Completed 200 OK in 487ms (Views: 268.6ms | ActiveRecord: 192.1ms)
2019-10-10T13:48:00 [I|app|4224e5cd] Started GET "/layouts/partials/page-loading-indicator.html" for 192.168.1.108 at 2019-10-10 13:48:00 +0000
2019-10-10T13:48:00 [I|app|ea567c2f] Started GET "/subscriptions/views/content-access-mode-banner.html" for 192.168.1.108 at 2019-10-10 13:48:00 +0000
2019-10-10T13:48:00 [I|app|b2153492] Started GET "/layouts/partials/full-row-breadcrumbs.html" for 192.168.1.108 at 2019-10-10 13:48:00 +0000
2019-10-10T13:48:00 [I|app|66c32ce8] Started GET "/layouts/two-column-details.html" for 192.168.1.108 at 2019-10-10 13:48:00 +0000
2019-10-10T13:48:00 [I|app|0ac29a5b] Started GET "/katello/api/v2/organizations/1" for 192.168.1.108 at 2019-10-10 13:48:00 +0000
2019-10-10T13:48:00 [I|app|0ac29a5b] Processing by Katello::Api::V2::OrganizationsController#show as JSON
2019-10-10T13:48:00 [I|app|0ac29a5b] Parameters: {"api_version"=>"v2", "id"=>"1"}
2019-10-10T13:48:00 [I|app|0ac29a5b] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/app/views/katello/api/v2/organizations/show.json.rabl
2019-10-10T13:48:01 [I|app|0ac29a5b] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/app/views/katello/api/v2/organizations/show.json.rabl (560.9ms)
2019-10-10T13:48:01 [I|app|0ac29a5b] Completed 200 OK in 618ms (Views: 387.3ms | ActiveRecord: 210.8ms)
2019-10-10T13:48:01 [I|app|12157219] Started GET "/common/views/registration.html" for 192.168.1.108 at 2019-10-10 13:48:01 +0000
2019-10-10T13:48:01 [I|app|2a735ac5] Started GET "/katello/api/v2/organizations/1/environments/paths" for 192.168.1.108 at 2019-10-10 13:48:01 +0000
2019-10-10T13:48:01 [I|app|2a735ac5] Processing by Katello::Api::V2::EnvironmentsController#paths as JSON
2019-10-10T13:48:01 [I|app|2a735ac5] Parameters: {"api_version"=>"v2", "organization_id"=>"1"}
2019-10-10T13:48:01 [I|app|2a735ac5] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/app/views/katello/api/v2/environments/paths.json.rabl within katello/api/v2/layouts/collection
2019-10-10T13:48:01 [I|app|2a735ac5] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/app/views/katello/api/v2/environments/paths.json.rabl within katello/api/v2/layouts/collection (89.5ms)
2019-10-10T13:48:01 [I|app|2a735ac5] Completed 200 OK in 121ms (Views: 29.4ms | ActiveRecord: 81.7ms)
2019-10-10T13:48:03 [I|app|5429fb34] Started DELETE "/api/v2/hosts/3/subscriptions" for 192.168.1.108 at 2019-10-10 13:48:03 +0000
2019-10-10T13:48:03 [I|app|5429fb34] Processing by Katello::Api::V2::HostSubscriptionsController#destroy as JSON
2019-10-10T13:48:03 [I|app|5429fb34] Parameters: {"api_version"=>"v2", "host_id"=>"3"}
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on host_id 3
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on uuid 009771da-3901-4b29-9463-7b58c81e802e
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on service_level
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on release_version
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on autoheal true
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on registered_at 2019-10-10 16:12:42 +0300
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on registered_through puppet-proxy-1.nhl.net
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on user_id
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on hypervisor false
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on hypervisor_host_id
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on purpose_usage
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on purpose_role
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (6) destroy event on pool_ids [1]
2019-10-10T13:48:03 [I|aud|5429fb34] Host::Base (1) update event on uuid 009771da-3901-4b29-9463-7b58c81e802e,
2019-10-10T13:48:03 [I|app|] Rails cache backend: File
2019-10-10T13:48:03 [I|app|5429fb34] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/app/views/katello/api/v2/common/destroy.json.rabl within katello/api/v2/layouts/resource
2019-10-10T13:48:03 [I|app|5429fb34] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.13.0/app/views/katello/api/v2/common/destroy.json.rabl within katello/api/v2/layouts/resource (0.3ms)
2019-10-10T13:48:03 [I|app|5429fb34] Completed 200 OK in 855ms (Views: 0.7ms | ActiveRecord: 178.7ms)
2019-10-10T13:48:04 [I|app|30b7f73a] Started GET "/api/v2/hosts?organization_id=1&page=1&paged=true&per_page=20&search=&sort_by=name&sort_order=ASC" for 192.168.1.108 at 2019-10-10 13:48:04 +0000
2019-10-10T13:48:04 [I|app|30b7f73a] Processing by Api::V2::HostsController#index as JSON
2019-10-10T13:48:04 [I|app|30b7f73a] Parameters: {"organization_id"=>"1", "page"=>"1", "paged"=>"true", "per_page"=>"20", "search"=>"", "sort_by"=>"name", "sort_order"=>"ASC", "apiv"=>"v2"}
2019-10-10T13:48:04 [I|app|30b7f73a] Rendering api/v2/hosts/index.json.rabl within api/v2/layouts/index_layout
2019-10-10T13:48:04 [I|app|30b7f73a] Rendered api/v2/hosts/index.json.rabl within api/v2/layouts/index_layout (94.4ms)
2019-10-10T13:48:04 [I|app|30b7f73a] Completed 200 OK in 253ms (Views: 66.4ms | ActiveRecord: 134.0ms)
2019-10-10T13:48:04 [I|app|ba6a842c] Started GET "/api/v2/bookmarks?search=controller%3Dhosts" for 192.168.1.108 at 2019-10-10 13:48:04 +0000
2019-10-10T13:48:04 [I|app|ba6a842c] Processing by Api::V2::BookmarksController#index as JSON
2019-10-10T13:48:04 [I|app|ba6a842c] Parameters: {"search"=>"controller=hosts", "apiv"=>"v2"}
2019-10-10T13:48:04 [I|app|ba6a842c] Rendering api/v2/bookmarks/index.json.rabl within api/v2/layouts/index_layout
2019-10-10T13:48:04 [I|app|ba6a842c] Rendered api/v2/bookmarks/index.json.rabl within api/v2/layouts/index_layout (15.4ms)
2019-10-10T13:48:04 [I|app|ba6a842c] Completed 200 OK in 49ms (Views: 4.5ms | ActiveRecord: 32.6ms)
2019-10-10T13:48:07 [W|app|] Creating scope :path_of. Overwriting existing method Hostgroup.path_of.
2019-10-10T13:48:07 [W|app|] Creating scope :path_of. Overwriting existing method Taxonomy.path_of.
2019-10-10T13:48:07 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2019-10-10T13:48:07 [I|app|30e2e190] Started GET "/notification_recipients" for 192.168.1.108 at 2019-10-10 13:48:07 +0000
2019-10-10T13:48:07 [I|app|30e2e190] Processing by NotificationRecipientsController#index as JSON
2019-10-10T13:48:07 [I|app|30e2e190] Completed 200 OK in 20ms (Views: 0.1ms | ActiveRecord: 12.9ms)
2019-10-10T13:48:08 [W|app|] Scoped order is ignored, it's forced to be batch order.
2019-10-10T13:48:08 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2019-10-10T13:48:09 [W|app|] Creating scope :path_of. Overwriting existing method FactName.path_of.
2019-10-10T13:48:16 [I|app|f163d5d9] Started POST "/rhsm/consumers?owner=Test&activation_keys=mike" for 192.168.1.134 at 2019-10-10 13:48:16 +0000
2019-10-10T13:48:16 [I|app|f163d5d9] Processing by Katello::Api::Rhsm::CandlepinProxiesController#consumer_activate as JSON
2019-10-10T13:48:16 [I|app|f163d5d9] Parameters: {"name"=>"node-1.nhl.net", "contentTags"=>[], "serviceLevel"=>"", "usage"=>"", "role"=>"", "facts"=>"[FILTERED]", "addOns"=>[], "type"=>"system", "owner"=>"Test", "activation_keys"=>"mike"}
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (1) update event on uuid , 62eedd3e-ae0a-4d9f-8448-740e3d91371a
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on host_id 3
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on uuid 62eedd3e-ae0a-4d9f-8448-740e3d91371a
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on service_level
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on release_version
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on autoheal false
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on registered_at 2019-10-09 17:52:47 UTC
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on registered_through
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on user_id
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on hypervisor false
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on hypervisor_host_id
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on purpose_usage
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on purpose_role
2019-10-10T13:48:16 [I|aud|f163d5d9] Host::Base (7) create event on pool_ids []
2019-10-10T13:48:20 [I|app|f163d5d9] Import facts for 'node-1.nhl.net' completed. Added: 0, Updated: 1, Deleted 0 facts
2019-10-10T13:48:20 [I|aud|f163d5d9] Host::Base (7) update event on autoheal false, true
2019-10-10T13:48:20 [I|aud|f163d5d9] Host::Base (7) update event on registered_at 2019-10-09 17:52:47 UTC, 2019-10-10 13:48:16 UTC
2019-10-10T13:48:20 [I|aud|f163d5d9] Host::Base (7) update event on registered_through , puppet-proxy-1.nhl.net
2019-10-10T13:48:21 [I|app|f163d5d9] Completed 200 OK in 5038ms (Views: 1.9ms | ActiveRecord: 799.4ms)
2019-10-10T13:48:21 [I|app|bcfb15d0] Started GET "/rhsm/status" for 192.168.1.134 at 2019-10-10 13:48:21 +0000
2019-10-10T13:48:21 [I|app|bcfb15d0] Processing by Katello::Api::Rhsm::CandlepinProxiesController#server_status as JSON
2019-10-10T13:48:21 [I|app|bcfb15d0] Completed 200 OK in 41ms (Views: 0.3ms | ActiveRecord: 12.4ms)
2019-10-10T13:48:21 [I|app|7f708f19] Started GET "/rhsm/consumers/62eedd3e-ae0a-4d9f-8448-740e3d91371a/compliance" for 192.168.1.134 at 2019-10-10 13:48:21 +0000
2019-10-10T13:48:21 [I|app|7f708f19] Processing by Katello::Api::Rhsm::CandlepinProxiesController#get as JSON
2019-10-10T13:48:21 [I|app|7f708f19] Parameters: {"id"=>"62eedd3e-ae0a-4d9f-8448-740e3d91371a"}
2019-10-10T13:48:21 [I|app|7f708f19] Completed 200 OK in 153ms (Views: 0.1ms | ActiveRecord: 19.1ms)
2019-10-10T13:48:21 [I|app|d48f1e41] Started GET "/rhsm/consumers/62eedd3e-ae0a-4d9f-8448-740e3d91371a" for 192.168.1.134 at 2019-10-10 13:48:21 +0000
2019-10-10T13:48:21 [I|app|d48f1e41] Processing by Katello::Api::Rhsm::CandlepinProxiesController#consumer_show as JSON
2019-10-10T13:48:21 [I|app|d48f1e41] Parameters: {"id"=>"62eedd3e-ae0a-4d9f-8448-740e3d91371a"}
2019-10-10T13:48:21 [I|app|d48f1e41] Rendering api/v2/errors/unauthorized.json.rabl within api/v2/layouts/error_layout
2019-10-10T13:48:21 [I|app|d48f1e41] Rendered api/v2/errors/unauthorized.json.rabl within api/v2/layouts/error_layout (0.4ms)
2019-10-10T13:48:21 [I|app|d48f1e41] Filter chain halted as :authorize_client_or_user rendered or redirected
2019-10-10T13:48:21 [I|app|d48f1e41] Completed 401 Unauthorized in 88ms (Views: 1.1ms | ActiveRecord: 66.7ms)
2019-10-10T13:48:21 [I|app|13aac212] Started GET "/rhsm/consumers/62eedd3e-ae0a-4d9f-8448-740e3d91371a/compliance" for 192.168.1.134 at 2019-10-10 13:48:21 +0000
2019-10-10T13:48:21 [I|app|13aac212] Processing by Katello::Api::Rhsm::CandlepinProxiesController#get as JSON
2019-10-10T13:48:21 [I|app|13aac212] Parameters: {"id"=>"62eedd3e-ae0a-4d9f-8448-740e3d91371a"}
2019-10-10T13:48:21 [I|app|13aac212] Completed 200 OK in 115ms (Views: 0.1ms | ActiveRecord: 23.0ms

#4 Updated by Eugeny Kisel almost 3 years ago

  • Tracker changed from Bug to Support

#5 Updated by Samir Jha almost 3 years ago

  • Fixed in Releases deleted (Katello 3.13.0)

#6 Updated by James Jeffers almost 3 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello Backlog

#7 Updated by Eugeny Kisel almost 3 years ago

  • Status changed from New to Rejected

#8 Updated by Jonathon Turel about 2 years ago

  • Target version changed from Katello Backlog to Katello Recycle Bin

Also available in: Atom PDF