[Spacewalk-list] spacewalk install - python error

Sandra Fredenburgh sandra.fredenburgh at creativevirtual.com
Thu Jul 21 13:47:06 UTC 2016


# spacewalk-cfg-get product_name
Traceback (most recent call last):
  File "/usr/bin/spacewalk-cfg-get", line 4, in <module>
    from spacewalk.common.rhnConfig import RHNOptions
  File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnConfig.py",
line 535, in <module>
    PRODUCT_NAME = ALL_CFG.PRODUCT_NAME
  File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnConfig.py",
line 229, in __getattr__
    raise AttributeError(key)
AttributeError: PRODUCT_NAME

]# grep product_name /usr/share/rhn/config-defaults/rhn.conf
product_name = Spacewalk


On Thu, Jul 21, 2016 at 5:35 AM, Tomas Lestach <tlestach at redhat.com> wrote:

> What do you get when executing:
>
> # spacewalk-cfg-get product_name
>
> or
>
> # grep product_name /usr/share/rhn/config-defaults/rhn.conf
>
> ?
>
> Regards,
> --
> Tomas Lestach
> Red Hat Satellite Engineering
>
>
> On 07/20/2016 08:19 PM, Sandra Fredenburgh wrote:
>
>> First install of spacewalk and encountering python errors.  Running on
>> CentOS6 with Python 2.6.6
>>
>>   Preparing packages for installation...
>> rhn-org-httpd-ssl-key-pair-st-sysmgmt-01-1.0-2
>> Traceback (most recent call last):
>>   File "/usr/bin/rhn-ssl-dbstore", line 25, in <module>
>>     mod = __import__("spacewalk.satellite_tools", globals(), locals(),
>> [mod_name])
>>   File
>>
>> "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/rhn_ssl_dbstore.py",
>> line 20, in <module>
>>     from spacewalk.common import rhnTB
>>   File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnTB.py",
>> line 29, in <module>
>>     from spacewalk.common.rhnConfig import CFG, PRODUCT_NAME
>>   File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnConfig.py",
>> line 535, in <module>
>>     PRODUCT_NAME = ALL_CFG.PRODUCT_NAME
>>   File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnConfig.py",
>> line 229, in __getattr__
>>     raise AttributeError(key)
>> AttributeError: PRODUCT_NAME
>>
>> Any suggestions would be great to help move along the install.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 


Sandra Fredenburgh, Senior Systems Administrator
Creative Virtual USA, 68 Southfield Ave., 2 Stamford Landing, Suite
220, Stamford,
CT 06902

Mobile: +1-203-943-2018 | sandra.fredenburgh at creativevirtual.com |
www.creativevirtual.com


Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of
the individual or entity to which this message is addressed, and unless
otherwise expressly indicated, is confidential and privileged information
of Creative Virtual USA. Any dissemination, distribution or copying of the
enclosed material is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160721/a444de2c/attachment.htm>


More information about the Spacewalk-list mailing list