Bug 768904

Summary: RemoteServerException instance has no attribute 'args'
Product: Red Hat Enterprise Linux 5 Reporter: Alexander Todorov <atodorov>
Component: subscription-managerAssignee: Chris Duryee <cduryee>
Status: CLOSED NOTABUG QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 5.8CC: bkearney, cduryee, huiwang, khong, wpoteat, yuzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-25 00:13:48 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:
Bug Depends On:    
Bug Blocks: 726322    
Attachments:
Description Flags
rhsm.log from the failed system none

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?