Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Installed sat6 beta snap9 and ran katello-installer. On completion installer has thrown message Success.
However I found following failures in production.log
---
Connecting to database specified by database.yml
PGError: ERROR: relation "users" does not exist
LINE 1: SELECT id FROM "users"
^
: SELECT id FROM "users"
Database was not initialized yet: skipping smart proxy katello extension
Clean start.
---
---
Creating scope :from_depth. Overwriting existing method Hostgroup.from_depth.
Creating scope :after_depth. Overwriting existing method Hostgroup.after_depth.
[ERROR 2014-06-12 07:44:40 pulp_rest #32670] RestClient.post "https://dhcp201-103.englab.pnq.redhat.com/pulp/api/v2/users/", "{\"login\":\"admin\",\"name\":\"admin\",\"password\":\"pQ6UkHtjDFjYzexk\"}", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_body_hash=\"2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D\", oauth_consumer_key=\"katello\", oauth_nonce=\"EWEBRFIiTG6GqixSMF4mwJMS3hiehrktyidnvtc\", oauth_signature=\"L63znmLeUNUnG4RZEa50kgYvJ3M%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1402539280\", oauth_version=\"1.0\"", "Content-Length"=>"62", "accept"=>"application/json", "content_type"=>"application/json", "pulp-user"=>"admin"
| \n# => 409 Conflict | application/json 317 bytes
|
pulp user admin: already exists. continuing
Creating scope :roots. Overwriting existing method Hostgroup.roots.
Cr
---
Version-Release number of selected component (if applicable):
sat6 beta snap9 (Satellite-6.0.3-RHEL-6-20140611.1)
How reproducible:
always
Steps to Reproduce:
1. install sat6 beta snap9 and run katello-installer
2.
3.
Actual results:
Success on stdout but production.log has above mentioned two errors
Expected results:
no error should be there on fresh install in production.log
Additional info:
/var/log/messages has errors:
Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: Duplicate resource: admin
Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: Traceback (most recent call last):
Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: File "/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/exception.py", line 44, in __call__
Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: return self.app(environ, start_response)
Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: File "/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/postponed.py", line 42, in __call__
Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: return self.app(environ, start_response)
Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: File "/usr/lib/python2.6/site-packages/web/application.py", line 279, in wsgi
Description of problem: Installed sat6 beta snap9 and ran katello-installer. On completion installer has thrown message Success. However I found following failures in production.log --- Connecting to database specified by database.yml PGError: ERROR: relation "users" does not exist LINE 1: SELECT id FROM "users" ^ : SELECT id FROM "users" Database was not initialized yet: skipping smart proxy katello extension Clean start. --- --- Creating scope :from_depth. Overwriting existing method Hostgroup.from_depth. Creating scope :after_depth. Overwriting existing method Hostgroup.after_depth. [ERROR 2014-06-12 07:44:40 pulp_rest #32670] RestClient.post "https://dhcp201-103.englab.pnq.redhat.com/pulp/api/v2/users/", "{\"login\":\"admin\",\"name\":\"admin\",\"password\":\"pQ6UkHtjDFjYzexk\"}", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_body_hash=\"2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D\", oauth_consumer_key=\"katello\", oauth_nonce=\"EWEBRFIiTG6GqixSMF4mwJMS3hiehrktyidnvtc\", oauth_signature=\"L63znmLeUNUnG4RZEa50kgYvJ3M%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1402539280\", oauth_version=\"1.0\"", "Content-Length"=>"62", "accept"=>"application/json", "content_type"=>"application/json", "pulp-user"=>"admin" | \n# => 409 Conflict | application/json 317 bytes | pulp user admin: already exists. continuing Creating scope :roots. Overwriting existing method Hostgroup.roots. Cr --- Version-Release number of selected component (if applicable): sat6 beta snap9 (Satellite-6.0.3-RHEL-6-20140611.1) How reproducible: always Steps to Reproduce: 1. install sat6 beta snap9 and run katello-installer 2. 3. Actual results: Success on stdout but production.log has above mentioned two errors Expected results: no error should be there on fresh install in production.log Additional info: /var/log/messages has errors: Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: Duplicate resource: admin Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: Traceback (most recent call last): Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: File "/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/exception.py", line 44, in __call__ Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: return self.app(environ, start_response) Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: File "/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/postponed.py", line 42, in __call__ Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: return self.app(environ, start_response) Jun 12 07:44:40 dhcp201-103 pulp: pulp.server.webservices.middleware.exception:ERROR: File "/usr/lib/python2.6/site-packages/web/application.py", line 279, in wsgi