| Summary: | Self-registering Sat 6 fails: Unable to register (Value shown is "0") | ||
|---|---|---|---|
| Product: | Red Hat Quickstart Cloud Installer | Reporter: | Thom Carlin <tcarlin> |
| Component: | Installation - Satellite | Assignee: | John Matthews <jmatthew> |
| Status: | VERIFIED --- | QA Contact: | Thom Carlin <tcarlin> |
| Severity: | medium | Docs Contact: | Dan Macpherson <dmacpher> |
| Priority: | unspecified | ||
| Version: | 1.0 | CC: | bthurber, jmontleo, tsanders |
| Target Milestone: | TP3 | Keywords: | Triaged |
| Target Release: | 1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1212602 | ||
|
Description
Thom Carlin
2016-03-22 18:29:40 UTC
Followed steps Thom described, saw same behavior:
# rpm -Uvh /var/www/html/pub/katello-ca-consumer-latest.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:katello-ca-consumer-fusor.example################################# [100%]
# subscription-manager register --org Default_Organization
Registering to: fusor.example.com:443/rhsm
Username: admin
Password:
0
Looked at /var/log/rhsm/rhsm.log for more info:
2016-04-01 11:54:19,154 [DEBUG] subscription-manager:20901 @connection.py:523 - Making request: GET /rhsm/owners/Default_Organization/environments
2016-04-01 11:54:19,935 [DEBUG] subscription-manager:20901 @connection.py:555 - Response: status=200
2016-04-01 11:54:19,937 [ERROR] subscription-manager:20901 @managercli.py:160 - Error during registration: 0
2016-04-01 11:54:19,937 [ERROR] subscription-manager:20901 @managercli.py:161 - 0
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/managercli.py", line 1064, in _do_command
self.options.environment)
File "/usr/share/rhsm/subscription_manager/managercli.py", line 1176, in _get_environment_id
log.debug('Using the only available environment: "%s"' % env_list[0]['name'])
KeyError: 0
full gist of /var/log/rhsm/rhsm.log:
https://gist.github.com/anonymous/8f4fb66ed4e85ced302643edd4b2052a
# curl -s -k -u admin:changeme https://192.168.155.10/rhsm/owners/Default_Organization/environments | python -m json.tool { "candlepin_proxies": [ { "description": null, "display_name": "Library/Fusor_Puppet_Content", "id": "1-2", "name": "Library/Fusor_Puppet_Content" }, { "description": null, "display_name": "Library", "id": "1", "name": "Library" } ] }
For below snippet of code from subscription-manager, the "env_list" variable equals:
env_list =
{'candlepin_proxies': [{'id': '1-2', 'display_name': 'Library/Fusor_Puppet_Content', 'description': None, 'name': 'Library/Fusor_Puppet_Content'}, {'id': '1', 'display_name': 'Library', 'description': None, 'name': 'Library'}]}
The exception is coming from:
/usr/share/rhsm/subscription_manager/managercli.py
log.debug('Using the only available environment: "%s"' % env_list[0]['name'])
return env_list[0]['id']
---
Looks like the issue is that data we are getting back is under the key 'candlepin_proxies'
I made a one-line change below and re-ran with success
# diff managercli.py.BACKUP managercli.py
1169c1169
<
---
> env_list = env_list['candlepin_proxies']
# subscription-manager register --org Default_Organization
Registering to: fusor.example.com:443/rhsm
Username: admin
Password:
Environment: Library
The system has been registered with ID: e05dca83-7daf-4ac0-b4b4-58bf6656813f
# subscription-manager list --available
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Cloud Infrastructure with Smart Management, Premium (2-sockets)
Provides: Red Hat OpenStack Beta
Red Hat Software Collections (for RHEL Server)
<snip....>
# subscription-manager attach --pool 40XXXXXXXXXXXXXXXXXXXXXXXXXX00bb
Successfully attached a subscription for: Red Hat Cloud Infrastructure with Smart Management, Premium (2-sockets)
# subscription-manager repos --list
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: rhel-7-server-satellite-6.1-rpms
Repo Name: Red Hat Satellite 6.1 (for RHEL 7 Server) (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/$basearch/satellite/6.1/os
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.1-rpms
Repo Name: Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.1/os
Enabled: 0
Repo ID: rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/$releasever/$basearch/os
Enabled: 1
Repo ID: rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os
Enabled: 0
[root@fusor subscription_manager]# subscription-manager repos --enable=rhel-7-server-satellite-6.1-rpms
Repository 'rhel-7-server-satellite-6.1-rpms' is enabled for this system.
[root@fusor subscription_manager]# subscription-manager repos --enable=rhel-7-server-satellite-tools-6.1-rpms
Repository 'rhel-7-server-satellite-tools-6.1-rpms' is enabled for this system.
[root@fusor subscription_manager]# subscription-manager repos --enable=rhel-server-rhscl-7-rpms
Repository 'rhel-server-rhscl-7-rpms' is enabled for this system.
[root@fusor subscription_manager]# subscription-manager repos --list
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: rhel-7-server-satellite-6.1-rpms
Repo Name: Red Hat Satellite 6.1 (for RHEL 7 Server) (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/$basearch/satellite/6.1/os
Enabled: 1
Repo ID: rhel-7-server-satellite-tools-6.1-rpms
Repo Name: Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.1/os
Enabled: 1
Repo ID: rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/$releasever/$basearch/os
Enabled: 1
Repo ID: rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os
Enabled: 1
# yum install katello-agent
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms | 2.1 kB 00:00:00
rhel-7-server-satellite-6.1-rpms | 2.1 kB 00:00:00
rhel-7-server-satellite-tools-6.1-rpms | 2.1 kB 00:00:00
rhel-server-rhscl-7-rpms | 2.1 kB 00:00:00
(1/12): rhel-7-server-rpms/7Server/x86_64/group | 589 kB 00:00:00
(2/12): rhel-7-server-rpms/7Server/x86_64/updateinfo | 985 kB 00:00:00
(3/12): rhel-7-server-rpms/7Server/x86_64/primary | 10 MB 00:00:00
(4/12): rhel-7-server-satellite-6.1-rpms/x86_64/group | 4.1 kB 00:00:00
(5/12): rhel-7-server-satellite-6.1-rpms/x86_64/updateinfo | 56 kB 00:00:00
(6/12): rhel-7-server-satellite-6.1-rpms/x86_64/primary | 143 kB 00:00:00
(7/12): rhel-7-server-satellite-tools-6.1-rpms/x86_64/updateinfo | 12 kB 00:00:00
(8/12): rhel-7-server-satellite-tools-6.1-rpms/x86_64/group | 1.4 kB 00:00:00
(9/12): rhel-7-server-satellite-tools-6.1-rpms/x86_64/primary | 18 kB 00:00:00
(10/12): rhel-server-rhscl-7-rpms/7Server/x86_64/group | 130 B 00:00:00
(11/12): rhel-server-rhscl-7-rpms/7Server/x86_64/updateinfo | 362 kB 00:00:00
(12/12): rhel-server-rhscl-7-rpms/7Server/x86_64/primary | 852 kB 00:00:00
rhel-7-server-rpms 10562/10562
rhel-7-server-satellite-6.1-rpms 681/681
rhel-7-server-satellite-tools-6.1-rpms 83/83
rhel-server-rhscl-7-rpms 4586/4586
Resolving Dependencies
--> Running transaction check
---> Package katello-agent.noarch 0:2.2.6-1.el7sat will be installed
--> Processing Dependency: python-pulp-agent-lib >= 2.6 for package: katello-agent-2.2.6-1.el7sat.noarch
--> Processing Dependency: python-gofer-proton >= 2.5 for package: katello-agent-2.2.6-1.el7sat.noarch
--> Processing Dependency: pulp-rpm-handlers >= 2.6 for package: katello-agent-2.2.6-1.el7sat.noarch
--> Processing Dependency: gofer >= 2.5 for package: katello-agent-2.2.6-1.el7sat.noarch
--> Running transaction check
---> Package gofer.noarch 0:2.6.8-1.el7sat will be installed
---> Package pulp-rpm-handlers.noarch 0:2.6.0.20-1.el7sat will be installed
---> Package python-gofer-proton.noarch 0:2.6.8-1.el7sat will be installed
--> Processing Dependency: python-qpid-proton >= 0.9-5 for package: python-gofer-proton-2.6.8-1.el7sat.noarch
---> Package python-pulp-agent-lib.noarch 0:2.6.0.20-1.el7sat will be installed
--> Running transaction check
---> Package python-qpid-proton.x86_64 0:0.9-12.el7sat will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================================
Installing:
katello-agent noarch 2.2.6-1.el7sat rhel-7-server-satellite-6.1-rpms 24 k
Installing for dependencies:
gofer noarch 2.6.8-1.el7sat rhel-7-server-satellite-6.1-rpms 79 k
pulp-rpm-handlers noarch 2.6.0.20-1.el7sat rhel-7-server-satellite-6.1-rpms 73 k
python-gofer-proton noarch 2.6.8-1.el7sat rhel-7-server-satellite-6.1-rpms 54 k
python-pulp-agent-lib noarch 2.6.0.20-1.el7sat rhel-7-server-satellite-6.1-rpms 92 k
python-qpid-proton x86_64 0.9-12.el7sat rhel-7-server-satellite-6.1-rpms 199 k
Transaction Summary
===================================================================================================================================================================================================
Install 1 Package (+5 Dependent packages)
Total download size: 521 k
Installed size: 1.8 M
Is this ok [y/d/N]: y
Downloading packages:
(1/6): katello-agent-2.2.6-1.el7sat.noarch.rpm | 24 kB 00:00:00
(2/6): gofer-2.6.8-1.el7sat.noarch.rpm | 79 kB 00:00:00
(3/6): pulp-rpm-handlers-2.6.0.20-1.el7sat.noarch.rpm | 73 kB 00:00:00
(4/6): python-gofer-proton-2.6.8-1.el7sat.noarch.rpm | 54 kB 00:00:00
(5/6): python-pulp-agent-lib-2.6.0.20-1.el7sat.noarch.rpm | 92 kB 00:00:00
(6/6): python-qpid-proton-0.9-12.el7sat.x86_64.rpm | 199 kB 00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 980 kB/s | 521 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : python-pulp-agent-lib-2.6.0.20-1.el7sat.noarch 1/6
Installing : pulp-rpm-handlers-2.6.0.20-1.el7sat.noarch 2/6
Installing : gofer-2.6.8-1.el7sat.noarch 3/6
Installing : python-qpid-proton-0.9-12.el7sat.x86_64 4/6
Installing : python-gofer-proton-2.6.8-1.el7sat.noarch 5/6
Installing : katello-agent-2.2.6-1.el7sat.noarch 6/6
Note: Forwarding request to 'systemctl enable goferd.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/goferd.service to /usr/lib/systemd/system/goferd.service.
Redirecting to /bin/systemctl restart goferd.service
rhel-7-server-rpms/7Server/x86_64/productid | 1.7 kB 00:00:00
rhel-server-rhscl-7-rpms/7Server/x86_64/productid | 1.7 kB 00:00:00
Verifying : python-pulp-agent-lib-2.6.0.20-1.el7sat.noarch 1/6
Verifying : katello-agent-2.2.6-1.el7sat.noarch 2/6
Verifying : python-gofer-proton-2.6.8-1.el7sat.noarch 3/6
Verifying : python-qpid-proton-0.9-12.el7sat.x86_64 4/6
Verifying : pulp-rpm-handlers-2.6.0.20-1.el7sat.noarch 5/6
Verifying : gofer-2.6.8-1.el7sat.noarch 6/6
Installed:
katello-agent.noarch 0:2.2.6-1.el7sat
Dependency Installed:
gofer.noarch 0:2.6.8-1.el7sat pulp-rpm-handlers.noarch 0:2.6.0.20-1.el7sat python-gofer-proton.noarch 0:2.6.8-1.el7sat python-pulp-agent-lib.noarch 0:2.6.0.20-1.el7sat
python-qpid-proton.x86_64 0:0.9-12.el7sat
Complete!
Learned some more....issue is related to RHCI bringing in active model serializers 0.9. We do not know yet why this is altering behavior, but we've proved this is having an impact. (Thanks to Jason Montleon for narrowing this down to the exact gem changing the behavior). The expected response is: # curl -s -k -u admin:changeme https://192.168.155.10/rhsm/owners/Default_Organization/environments | python -mjson.tool [ { "description": null, "display_name": "Library/Fusor_Puppet_Content", "id": "1-2", "name": "Library/Fusor_Puppet_Content" }, { "description": null, "display_name": "Library", "id": "1", "name": "Library" } ] If we take a Sat 6.1 instance and add the active model serializers gem it alters the behavior. # cat /usr/share/foreman/bundler.d/ams.rb gem "active_model_serializers", '~> 0.9' sudo katello-service restart # curl -s -k -u admin:changeme https://192.168.155.10/rhsm/owners/Default_Organization/environments | python -mjson.tool { "candlepin_proxies": [ { "description": null, "display_name": "Library/Fusor_Puppet_Content", "id": "1-2", "name": "Library/Fusor_Puppet_Content" }, { "description": null, "display_name": "Library", "id": "1", "name": "Library" } ] } One way to work around this is to add , :root => false to the renders lines in
./app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb
I got this originally:
{"candlepin_proxies":[{"id":"1-2","name":"Library/Fusor_Puppet_Content","display_name":"Library/Fusor_Puppet_Content","description":null},{"id":"1","name":"Library","display_name":"Library","description":null}]}
I edited the file above ~L#403 in the respond_for_index method
from:
render format => collection, :status => status
to:
render format => collection, :status => status, :root => false
gets:
[{"id":"1-2","name":"Library/Fusor_Puppet_Content","display_name":"Library/Fusor_Puppet_Content","description":null},{"id":"1","name":"Library","display_name":"Library","description":null}]
Doing similar in the serials method fixed the serials list for me as well.
I verified with foretello, fusor_{server,ui}, and active_model_serializers removed that there does not appear to be any apparent negative effect.
So at this point known possible options include:
1.) Submitting a PR to katello if they're willing to incorporate the change. Then we can continue with AMS 0.9 indefinitely.
2.) Building a custom version of Katello for TP3 if this is critical and cutting to AMS 0.10 for Sat 6.2 (rails 4 is required) so changes to Katello aren't required.
Maybe we can come up with something even better with some research.
Here we go, think this is teh source of the problem: http://www.jasonfleetwoodboldt.com/writing/2014/07/08/warning-adding-active-model-serializer-will-change/ OK, so this is the fault of the ArraySerializer being used by default and it having root = true by default. When the rhsm api's return an array they are processed and returned with their root.
We can blanket disable returning root and restore the normal functionality by creating config/initializers/active_model_serializer.rb in the foretello gem with contents:
ActiveModel::ArraySerializer.root = false
The problem we hit now is that the arrays returned by our index methods for each controller don't return with a root.
To fix this I created app/serializers/root_array_serializer.rb :
class RootArraySerializer < ActiveModel::ArraySerializer
root = true
end
the in the controllers for each index I add to the render line ', :serializer => RootArraySerializer', which restores the root for our api index calls.
As an example
cat app/controllers/api/v21/organizations_controller.rb
module Api
module V21
class OrganizationsController < V2::OrganizationsController
include Api::Version21
def index
# could not call super, since v2 calls render
if @nested_obj
#@taxonomies = @domain.locations.search_for(*search_options).paginate(paginate_options)
@taxonomies = @nested_obj.send(taxonomies_plural).search_for(*search_options).paginate(paginate_options)
@total = @nested_obj.send(taxonomies_plural).count
else
@taxonomies = taxonomy_class.search_for(*search_options).paginate(paginate_options)
@total = taxonomy_class.count
end
instance_variable_set("@#{taxonomies_plural}", @taxonomies)
render :json => @organizations, :each_serializer => OrganizationSerializer, :serializer => RootArraySerializer
...
*** Bug 1322032 has been marked as a duplicate of this bug. *** Tested Below with: QCI-1.0-RHEL-7-20160411.t.0-QCI-x86_64-dvd1.iso
After I manually synced the needed Repos:
- sat 6.1, tools, scl, rhel7
# rpm -Uvh /var/www/html/pub/katello-ca-consumer-latest.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:katello-ca-consumer-fusor.example################################# [100%]
# subscription-manager register --org Default_Organization
Registering to: fusor.example.com:443/rhsm
Username: admin
Password:
Environment: Library
The system has been registered with ID: ed09e72e-4695-4d18-bb74-a508962c1b7a
[root@fusor ~]# subscription-manager attach --pool 40281b8a5405eed101540641718a00bb
Successfully attached a subscription for: Red Hat Cloud Infrastructure with Smart Management, Premium (2-sockets)
[root@fusor ~]# subscription-manager repos --enable=rhel-7-server-satellite-6.1-rpms
Repository 'rhel-7-server-satellite-6.1-rpms' is enabled for this system.
[root@fusor ~]# subscription-manager repos --enable=rhel-7-server-satellite-tools-6.1-rpms
Repository 'rhel-7-server-satellite-tools-6.1-rpms' is enabled for this system.
[root@fusor ~]# subscription-manager repos --enable=rhel-server-rhscl-7-rpms
Repository 'rhel-server-rhscl-7-rpms' is enabled for this system.
[root@fusor ~]# subscription-manager repos --list
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os
Enabled: 1
Repo ID: rhel-7-server-satellite-6.1-rpms
Repo Name: Red Hat Satellite 6.1 (for RHEL 7 Server) (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/$basearch/satellite/6.1/os
Enabled: 1
Repo ID: rhel-7-server-satellite-tools-6.1-rpms
Repo Name: Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.1/os
Enabled: 1
Repo ID: rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/$releasever/$basearch/os
Enabled: 1
Repo ID: rhel-7-server-supplementary-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Supplementary (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/$releasever/$basearch/supplementary/os
Enabled: 0
Repo ID: rhel-7-server-extras-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
Repo URL: https://fusor.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/$basearch/extras/os
Enabled: 0
[root@fusor ~]# yum install katello-agent
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms | 2.1 kB 00:00:00
rhel-7-server-satellite-6.1-rpms | 2.1 kB 00:00:00
rhel-7-server-satellite-tools-6.1-rpms | 2.1 kB 00:00:00
rhel-server-rhscl-7-rpms | 2.1 kB 00:00:00
(1/12): rhel-7-server-rpms/7Server/x86_64/group | 589 kB 00:00:00
(2/12): rhel-7-server-rpms/7Server/x86_64/updateinfo | 960 kB 00:00:00
(3/12): rhel-7-server-rpms/7Server/x86_64/primary | 10 MB 00:00:00
(4/12): rhel-7-server-satellite-6.1-rpms/x86_64/group | 4.1 kB 00:00:00
(5/12): rhel-7-server-satellite-6.1-rpms/x86_64/updateinfo | 56 kB 00:00:00
(6/12): rhel-7-server-satellite-6.1-rpms/x86_64/primary | 143 kB 00:00:00
(7/12): rhel-7-server-satellite-tools-6.1-rpms/x86_64/updateinfo | 12 kB 00:00:00
(8/12): rhel-7-server-satellite-tools-6.1-rpms/x86_64/group | 1.4 kB 00:00:00
(9/12): rhel-7-server-satellite-tools-6.1-rpms/x86_64/primary | 18 kB 00:00:00
(10/12): rhel-server-rhscl-7-rpms/7Server/x86_64/group | 130 B 00:00:00
(11/12): rhel-server-rhscl-7-rpms/7Server/x86_64/updateinfo | 362 kB 00:00:00
(12/12): rhel-server-rhscl-7-rpms/7Server/x86_64/primary | 852 kB 00:00:00
rhel-7-server-rpms 10572/10572
rhel-7-server-satellite-6.1-rpms 681/681
rhel-7-server-satellite-tools-6.1-rpms 83/83
rhel-server-rhscl-7-rpms 4586/4586
Resolving Dependencies
--> Running transaction check
---> Package katello-agent.noarch 0:2.2.6-1.el7sat will be installed
--> Processing Dependency: python-pulp-agent-lib >= 2.6 for package: katello-agent-2.2.6-1.el7sat.noarch
--> Processing Dependency: python-gofer-proton >= 2.5 for package: katello-agent-2.2.6-1.el7sat.noarch
--> Processing Dependency: pulp-rpm-handlers >= 2.6 for package: katello-agent-2.2.6-1.el7sat.noarch
--> Processing Dependency: gofer >= 2.5 for package: katello-agent-2.2.6-1.el7sat.noarch
--> Running transaction check
---> Package gofer.noarch 0:2.6.8-1.el7sat will be installed
---> Package pulp-rpm-handlers.noarch 0:2.6.0.20-1.el7sat will be installed
---> Package python-gofer-proton.noarch 0:2.6.8-1.el7sat will be installed
--> Processing Dependency: python-qpid-proton >= 0.9-5 for package: python-gofer-proton-2.6.8-1.el7sat.noarch
---> Package python-pulp-agent-lib.noarch 0:2.6.0.20-1.el7sat will be installed
--> Running transaction check
---> Package python-qpid-proton.x86_64 0:0.9-12.el7sat will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================================================
Installing:
katello-agent noarch 2.2.6-1.el7sat rhel-7-server-satellite-6.1-rpms 24 k
Installing for dependencies:
gofer noarch 2.6.8-1.el7sat rhel-7-server-satellite-6.1-rpms 79 k
pulp-rpm-handlers noarch 2.6.0.20-1.el7sat rhel-7-server-satellite-6.1-rpms 73 k
python-gofer-proton noarch 2.6.8-1.el7sat rhel-7-server-satellite-6.1-rpms 54 k
python-pulp-agent-lib noarch 2.6.0.20-1.el7sat rhel-7-server-satellite-6.1-rpms 92 k
python-qpid-proton x86_64 0.9-12.el7sat rhel-7-server-satellite-6.1-rpms 199 k
Transaction Summary
=========================================================================================================================================================================================================
Install 1 Package (+5 Dependent packages)
Total download size: 521 k
Installed size: 1.8 M
Is this ok [y/d/N]: y
Downloading packages:
(1/6): katello-agent-2.2.6-1.el7sat.noarch.rpm | 24 kB 00:00:00
(2/6): gofer-2.6.8-1.el7sat.noarch.rpm | 79 kB 00:00:00
(3/6): pulp-rpm-handlers-2.6.0.20-1.el7sat.noarch.rpm | 73 kB 00:00:00
(4/6): python-gofer-proton-2.6.8-1.el7sat.noarch.rpm | 54 kB 00:00:00
(5/6): python-pulp-agent-lib-2.6.0.20-1.el7sat.noarch.rpm | 92 kB 00:00:00
(6/6): python-qpid-proton-0.9-12.el7sat.x86_64.rpm | 199 kB 00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.9 MB/s | 521 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : python-pulp-agent-lib-2.6.0.20-1.el7sat.noarch 1/6
Installing : pulp-rpm-handlers-2.6.0.20-1.el7sat.noarch 2/6
Installing : gofer-2.6.8-1.el7sat.noarch 3/6
Installing : python-qpid-proton-0.9-12.el7sat.x86_64 4/6
Installing : python-gofer-proton-2.6.8-1.el7sat.noarch 5/6
Installing : katello-agent-2.2.6-1.el7sat.noarch 6/6
Note: Forwarding request to 'systemctl enable goferd.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/goferd.service to /usr/lib/systemd/system/goferd.service.
Redirecting to /bin/systemctl restart goferd.service
rhel-7-server-rpms/7Server/x86_64/productid | 1.7 kB 00:00:00
rhel-server-rhscl-7-rpms/7Server/x86_64/productid | 1.7 kB 00:00:00
Verifying : python-pulp-agent-lib-2.6.0.20-1.el7sat.noarch 1/6
Verifying : katello-agent-2.2.6-1.el7sat.noarch 2/6
Verifying : python-gofer-proton-2.6.8-1.el7sat.noarch 3/6
Verifying : python-qpid-proton-0.9-12.el7sat.x86_64 4/6
Verifying : pulp-rpm-handlers-2.6.0.20-1.el7sat.noarch 5/6
Verifying : gofer-2.6.8-1.el7sat.noarch 6/6
Installed:
katello-agent.noarch 0:2.2.6-1.el7sat
Dependency Installed:
gofer.noarch 0:2.6.8-1.el7sat pulp-rpm-handlers.noarch 0:2.6.0.20-1.el7sat python-gofer-proton.noarch 0:2.6.8-1.el7sat python-pulp-agent-lib.noarch 0:2.6.0.20-1.el7sat
python-qpid-proton.x86_64 0:0.9-12.el7sat
Complete!
jmontleo fixed this issue with PRs to fusor_server and foretello. Root issue was active_model_serializers changed behavior of ArraySerializer to include a namespace of the name of the controller in the output json. Below PRs will restore the behavior for the default array serializer and update fusor APIs to wrap the json as expected by ember. https://github.com/fusor/fusor/pull/754 https://github.com/fusor/fusor/pull/753 https://github.com/fusor/foretello_api_v21/pull/11 Addressed in TP3 RC3 https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.1/html-single/Installation_Guide/index.html Procedure 5.1 Steps 7ff Doc bug mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1320287#c0 is https://bugzilla.redhat.com/show_bug.cgi?id=1322207 Specifically, step 8 needs to be replaced: subscription-manager register --org="org_label" --environment="Library" The The bug described in https://bugzilla.redhat.com/show_bug.cgi?id=1320287#c0 is verified in TP3 RC4. |