Bug 768904 - RemoteServerException instance has no attribute 'args'
Summary: RemoteServerException instance has no attribute 'args'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Chris Duryee
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: rhel58rtt
TreeView+ depends on / blocked
 
Reported: 2011-12-19 11:27 UTC by Alexander Todorov
Modified: 2012-02-03 16:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-25 00:13:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhsm.log from the failed system (212.49 KB, text/plain)
2011-12-19 11:27 UTC, Alexander Todorov
no flags Details

Description Alexander Todorov 2011-12-19 11:27:42 UTC
Created attachment 548551 [details]
rhsm.log from the failed system

Description of problem:

During registration to subscription.rhn.qa I get:

Traceback (most recent call last):
  File "/usr/sbin/subscription-manager", line 79, in ?
    sys.exit(abs(main() or 0))
  File "/usr/sbin/subscription-manager", line 70, in main
    return managercli.CLI().main()
  File "/usr/share/rhsm/subscription_manager/managercli.py", line 1461, in main
    cmd.main()
  File "/usr/share/rhsm/subscription_manager/managercli.py", line 257, in main
    self._do_command()
  File "/usr/share/rhsm/subscription_manager/managercli.py", line 649, in _do_command
    handle_exception(_("Error during registration: %s") % e, e)
AttributeError: RemoteServerException instance has no attribute 'args'



Version-Release number of selected component (if applicable):
subscription-manager-0.98.8-1.el5

How reproducible:
always

Steps to Reproduce:
1. Prepare Xen PV guest on ia64
2. Run subscription-manager register against subscription.rhn.qa
3.
  
Actual results:
Failure

Expected results:
No failure

Additional info:
rhsm.log shows some more errors

Comment 1 Chris Duryee 2011-12-19 17:06:38 UTC
Alexander,

How did you create the xen pv guest on ia64? I am getting the following during "prepare xen pv guest" step:

[2011-12-19 12:00:40 xend 2558] ERROR (SrvBase:88) Request create failed.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/web/SrvBase.py", line 85, in perform
    return op_method(op, req)
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 82, in op_create
    raise XendError("Error creating domain: " + str(ex))
XendError: Error creating domain: (1, 'Internal error', 'xc_dom_mem_init: arch hooks not set\n')


I am using the following command:

virt-install  --paravirt \
    -l http://nightly/location/ \
    --os-type=linux --ram=1024 --vcpus=2 --name=my-vm \
    --nographics -x console=ttyS0,9600n8 \
    --file /var/lib/libvirt/images/my-vm.img -s 8

Comment 2 Alexander Todorov 2011-12-20 10:16:42 UTC
Chris,
I used virt-manager GUI.

*) Selected the URL
*) Set type/version to Linux/RHEL 5.4+
*) everything else is the default

Also make sure xen-ia64-guest-firmware (from Supplementary) is installed (I'm not sure if it is needed for PV guests but I always have it installed since I run FV guests as well).

Comment 3 Chris Duryee 2011-12-20 20:07:35 UTC
Alexander,

There is an issue in the QA environment that may be causing this on an irregular basis. Can you try again against stage?

Also, I am concerned about the following error which happens further up the log:

2011-12-19 06:19:29,556 [ERROR]  @productid.py:221 - requested datatype productid not available

Are you able to reproduce this? If so, can you send me the URL to the tree you're using?


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