Bug 794857 - CLI - unable to use CLI after clean install
Summary: CLI - unable to use CLI after clean install
Keywords:
Status: CLOSED DUPLICATE of bug 794782
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.1
Hardware: Unspecified
OS: Linux
unspecified
high vote
Target Milestone: Unspecified
Assignee: Bryan Kearney
QA Contact: Jitendra Yejare
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-17 19:25 UTC by Brad Buckingham
Modified: 2019-02-25 21:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-17 21:18:46 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.