[Pulp-list] pulp_rpm not working on RHEL 5.x server

Turnbull, Ryan (Calgary) Ryan.Turnbull at nexencnoocltd.com
Fri Jan 10 22:48:08 UTC 2014


Hello,

I'm having some issues with pulp-admin on a RHEL 5.10 workstation.

I have installed the pulp rpms specified in documentation.  Installed pulp RPMS are:

pulp-admin-client-2.3.1-1.el5
pulp-agent-2.3.1-1.el5
pulp-consumer-client-2.3.1-1.el5
pulp-puppet-admin-extensions-2.3.1-1.el5
pulp-puppet-consumer-extensions-2.3.1-1.el5
pulp-puppet-handlers-2.3.1-1.el5
pulp-rpm-admin-extensions-2.3.1-1.el5
pulp-rpm-consumer-extensions-2.3.1-1.el5
pulp-rpm-handlers-2.3.1-1.el5
python-isodate-0.5.0-1.pulp.el5
python-oauth2-1.5.170-3.pulp.el5
python-pulp-agent-lib-2.3.1-1.el5
python-pulp-bindings-2.3.1-1.el5
python-pulp-client-lib-2.3.1-1.el5
python-pulp-common-2.3.1-1.el5
python-pulp-puppet-common-2.3.1-1.el5
python-pulp-rpm-common-2.3.1-1.el5
python-pulp-rpm-extension-2.3.1-1.el5

The python version installed on this workstation is python 2.4.

As stated in the documentation, I would like to use the pulp-admin client to manage the pulp server from my 5.x station, but I'm getting the following error when running pulp-admin -map for example:

pulp-admin --map
The following extensions failed to load: rpm_repo
More information on the failures can be found in ~/.pulp/admin.log

Looking at the ~/.pulp/admin.log I see the following error:

2014-01-10 15:45:56,128 - ERROR - Could not load initialization module [pulp_cli]
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/pulp/client/extensions/loader.py", line 225, in _load_pack
    init_mod = __import__('%s.%s' % (pack_module.__name__, init_mod_name))
  File "/usr/lib/pulp/admin/extensions/rpm_repo/pulp_cli.py", line 22, in ?
    from pulp_rpm.extension.admin import (contents, copy_commands, export, remove, repo_create_update,
  File "/usr/lib/python2.4/site-packages/pulp_rpm/extension/admin/export.py", line 23, in ?
    from pulp_rpm.extension.admin.status import RpmExportStatusRenderer
  File "/usr/lib/python2.4/site-packages/pulp_rpm/extension/admin/status.py", line 22, in ?
    from pulp_rpm.common import constants, ids, models
  File "/usr/lib/python2.4/site-packages/pulp_rpm/common/models.py", line 413
     with open(self.storage_path) as destination_file:
             ^
SyntaxError: invalid syntax

Any help with this would be most appreciated.


Ryan Turnbull



************************************************************ 

IMPORTANT NOTICE: This message is intended for the individual or entity to which it is addressed
and may contain information that is privileged, confidential, and/or exempt from disclosure under 
applicable law. If you are not the intended recipient, you are hereby notified that copying, 
forwarding or other dissemination or distribution of this message is prohibited and that taking 
any action in reliance on the content of this message is to be avoided. Should you receive this 
e-mail in error, please notify the sender immediately via e-mail or call (403) 699-4000 
and delete this message from your system. Thank you. 

************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20140110/9968d125/attachment.htm>


More information about the Pulp-list mailing list