Bug 1834750 - During RHVH installation unable to register host via "Connect to Red Hat".
Summary: During RHVH installation unable to register host via "Connect to Red Hat".
Keywords:
Status: CLOSED DUPLICATE of bug 1822880
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: redhat-virtualization-host
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Yuval Turgeman
QA Contact: Qin Yuan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-12 10:47 UTC by Ameya Charekar
Modified: 2023-09-14 06:00 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-14 07:42:25 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ameya Charekar 2020-05-12 10:47:29 UTC
Description of problem:

During RHVH installation, registering host via "Connect to Red Hat" fails. Providing account "User name" and "Password" results in "Registration failed" with error message "You must specify an organization for new units".

Version-Release number of selected component (if applicable):
RHVH-4.4-20200417.0-RHVH-x86_64-dvd1.iso

How reproducible:
Always

Steps to Reproduce:
1. Begin Installation.
2. Configure Network.
3. Register host from "Connect to Red Hat" tab selecting "Account" as Authentication, providing "User name" and "Password".

Actual results:
Registration fails with error "You must specify an organization for new units".

Expected results:
Able to register host.

Additional info:
Error in rhsm.log:
~~~
2020-05-12 02:20:05,278 [ERROR] rhsm-service:2656:MainThread @util.py:41 - HTTP error (400 - Bad Request): You must specify an organization for new units.
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/rhsmlib/dbus/util.py", line 38, in dbus_handle_exceptions
    ret = func(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/rhsmlib/dbus/objects/register.py", line 123, in Register
    consumer = register_service.register(org, **options)
  File "/usr/lib64/python3.6/site-packages/rhsmlib/services/register.py", line 91, in register
    usage=usage
  File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 1021, in registerConsumer
    return self.conn.request_post(url, params)
  File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 729, in request_post
    return self._request("POST", method, params, headers=headers)
  File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 752, in _request
    info=info, headers=headers)
  File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 627, in _request
    self.validateResponse(result, request_type, handler)
  File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 689, in validateResponse
    raise RestlibException(response['status'], error_msg, response.get('headers'))
rhsm.connection.RestlibException: HTTP error (400 - Bad Request): You must specify an organization for new units.
~~~

Comment 2 cshao 2020-05-13 02:05:54 UTC
Seems the bug is dup with bug 1822880

Comment 4 Sandro Bonazzola 2020-05-14 07:42:25 UTC
Closing as duplicate of bug #1822880

*** This bug has been marked as a duplicate of bug 1822880 ***

Comment 5 Red Hat Bugzilla 2023-09-14 06:00:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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