Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 877589

Summary: Error katello-configure
Product: [Retired] Katello Reporter: tchek <tchek14>
Component: InstallerAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.1CC: ehelms, lzap, msuchy
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-18 15:50:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log-katello none

Description tchek 2012-11-17 01:16:43 UTC
Created attachment 646662 [details]
log-katello

Description of problem:

error when launch katello-configure.

Creating Katello database
############################################################ ... OK
Populating Katello database schema
############################################################ ... OK
Initializing Katello data

  Failed, please check [/var/log/katello/katello-configure/db_seed.log]
  Report errors using # katello-debug tool.


err: /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]/returns: change from notrun to 0 failed: pulp-migrate >/var/log/katello/katello-configure/pulp_migrate.log 2>&1 && touch /var/lib/pulp/init.flag returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/pulp/manifests/config.pp:63


err: /Stage[main]/Katello::Config/Exec[katello_seed_db]/returns: change from notrun to 0 failed: /usr/bin/env rake seed_with_logging --trace --verbose > /var/log/katello/katello-configure/db_seed.log 2>&1 && touch /var/lib/katello/db_seed_done returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/katello/manifests/config.pp:184
err: /Stage[main]/Katello::Config/Exec[katello_seed_db]: Failed to call refresh: /usr/bin/env rake seed_with_logging --trace --verbose > /var/log/katello/katello-configure/db_seed.log 2>&1 && touch /var/lib/katello/db_seed_done returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/katello/manifests/config.pp:184

cat /var/log/katello/katello-configure/pulp_migrate.log
Traceback (most recent call last):
  File "/usr/bin/pulp-migrate", line 19, in <module>
    from pulp.server.db.migrate import script
  File "/usr/lib/python2.6/site-packages/pulp/server/db/migrate/script.py", line 26, in <module>
    connection.initialize()
  File "/usr/lib/python2.6/site-packages/pulp/server/db/connection.py", line 47, in initialize
    _connection = pymongo.Connection(seeds)
  File "/usr/lib64/python2.6/site-packages/pymongo/connection.py", line 381, in __init__
    self.__find_node()
  File "/usr/lib64/python2.6/site-packages/pymongo/connection.py", line 659, in __find_node
    raise AutoReconnect(', '.join(errors))
pymongo.errors.AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused

Version-Release number of selected component (if applicable):

katello-cli-1.1.10-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-1.1.16-1.el6.noarch
katello-certs-tools-1.1.9-1.el6.noarch
katello-glue-candlepin-1.1.16-1.el6.noarch
katello-configure-1.1.11-1.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-repos-1.1.3-1.el6.noarch
katello-cli-common-1.1.10-1.el6.noarch
katello-glue-pulp-1.1.16-1.el6.noarch
katello-all-1.1.16-1.el6.noarch
katello-glue-foreman-1.1.16-1.el6.noarch
katello-selinux-1.1.2-1.el6.noarch
katello-common-1.1.16-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch


How reproducible:

katello-configure
  
Actual results:


Expected results:


Additional info:

Comment 1 tchek 2012-11-18 17:11:50 UTC
I Have this error in cat /var/log/katello/katello-configure/db_seed.log :

rake aborted!
Resources::Pulp::User: 401 Unauthorized "Invalid OAuth Credentials" (POST /pulp/api/users/)

Comment 2 tchek 2012-11-18 19:02:24 UTC
with nightly ketallo I have this error. /var/log/katello/katello-configure/db_seed.log :

(in /usr/share/katello)
rake aborted!
500 Internal Server Error

Comment 3 Lukas Zapletal 2012-12-18 15:50:17 UTC
Hello, katello nightly is working now, there has been couple of bugs resolved.

Also Katello 1.2 is out, k-c works there too. Closing.

Comment 4 tchek 2012-12-18 19:10:39 UTC
i have test katello 1.2 and i have same error. can you help me please.

Comment 5 Miroslav Suchý 2012-12-19 08:23:07 UTC
I looks like your mondgodb did not start.
Can you investigate 
  /var/log/mongodb/mongodb.log
?