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.

Bug 794857

Summary: CLI - unable to use CLI after clean install
Product: Red Hat Satellite Reporter: Brad Buckingham <bbuckingham>
Component: APIAssignee: Bryan Kearney <bkearney>
Status: CLOSED DUPLICATE QA Contact: Jitendra Yejare <jyejare>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: mmccune
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-17 21:18:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brad Buckingham 2012-02-17 19:25:41 UTC
Description of problem:

Performed a clean install of Katello on a VM.  After doing so, unable to access the CLI.

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

rpm -qa|grep katello
katello-cli-0.1.55-1.fc15.noarch
katello-glue-foreman-0.1.240-1.fc15.noarch
katello-common-0.1.240-1.fc15.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-glue-candlepin-0.1.240-1.fc15.noarch
katello-0.1.240-1.fc15.noarch
katello-configure-0.1.64-1.fc15.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-repos-testing-0.1.8-1.fc15.noarch
katello-certs-tools-1.0.2-1.fc15.noarch
katello-cli-common-0.1.55-1.fc15.noarch
katello-glue-pulp-0.1.240-1.fc15.noarch
katello-all-0.1.240-1.fc15.noarch
katello-repos-0.1.8-1.fc16.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-selinux-0.1.5-1.fc15.noarch


How reproducible:
always

Steps to Reproduce:
1. using the install wiki (https://fedorahosted.org/katello/wiki/Install), install katello on for F15

2. attempt to access the CLI:
   katello -u admin -p admin shell
  
Actual results:

[root@localhost ~]# katello -u admin -p admin shell
Traceback (most recent call last):
  File "/usr/bin/katello", line 19, in <module>
    from katello.client.cli.admin import AdminCLI
  File "/usr/lib/python2.7/site-packages/katello/client/cli/admin.py", line 16, in <module>
    from katello.client.cli.base import KatelloCLI
  File "/usr/lib/python2.7/site-packages/katello/client/cli/base.py", line 23, in <module>
    from katello.client.core.utils import parse_tokens
  File "/usr/lib/python2.7/site-packages/katello/client/core/utils.py", line 22, in <module>
    from xml.utils import iso8601
ImportError: No module named utils


Expected results:

access to the CLI shell to execute commands

Additional info:

Comment 1 Bryan Kearney 2012-02-17 19:32:33 UTC
Try installing PyXML and let me know if that works. If so, this this is a dupe of 794782.

Comment 2 Mike McCune 2012-02-17 19:33:49 UTC
FYI, works fine on EL6:

# katello -u admin -p admin shell
katello> 

# rpm -q katello-cli katello
katello-cli-0.1.55-1.el6.noarch
katello-0.1.240-1.el6.noarch

Comment 3 Brad Buckingham 2012-02-17 21:18:46 UTC
This was indeed a dup of 794782.  Closing...

*** This bug has been marked as a duplicate of bug 794782 ***

Comment 4 Mike McCune 2013-08-16 18:17:44 UTC
getting rid of 6.0.0 version since that doesn't exist