ThinkSystem SR645 failed commissioning ERROR: Failed to commit `User3:Password': Invalid/Unsupported Config
Bug #1993916 reported by
Angel Vargas
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
Medium
|
Jacopo Rota |
Bug Description
Unable to commission ThinkSystem SR645
MAAS: 3.2.6
30-maas-
Stderr
```
ERROR: Failed to commit `User3:Password': Invalid/Unsupported Config
ERROR: Failed to commit `User3:Password': Invalid/Unsupported Config
ERROR: Unable to add BMC user!
```
Seen on MAAS 3.2 stable snap channel; later, we upgraded to 3.3.0~beta1, but the same problem is noticed.
Is there any workaround for this problem?
Related branches
~r00ta/maas:lp-1993916-add-password-try-in-bmc-commissioning
Merged
into
maas:master
- Björn Tillenius: Approve
- MAAS Lander: Approve
-
Diff: 76 lines (+20/-0)2 files modifiedsrc/metadataserver/builtin_scripts/commissioning_scripts/bmc_config.py (+2/-0)
src/metadataserver/builtin_scripts/commissioning_scripts/tests/test_bmc_config.py (+18/-0)
description: | updated |
Changed in maas: | |
status: | Expired → Confirmed |
Changed in maas: | |
status: | Confirmed → In Progress |
assignee: | nobody → Jacopo Rota (r00ta) |
importance: | Undecided → Medium |
Changed in maas: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This is part of the commissioning log
ERROR: Redfish <urlopen error [Errno 111] Connection refused> python3. 10/urllib/ request. py", line 1348, in do_open req.get_ method( ), req.selector, req.data, headers, python3. 10/http/ client. py", line 1282, in request _send_request( method, url, body, headers, encode_chunked) python3. 10/http/ client. py", line 1328, in _send_request endheaders( body, encode_ chunked= encode_ chunked) python3. 10/http/ client. py", line 1277, in endheaders _send_output( message_ body, encode_ chunked= encode_ chunked) python3. 10/http/ client. py", line 1037, in _send_output python3. 10/http/ client. py", line 975, in send python3. 10/http/ client. py", line 1447, in connect ).connect( ) python3. 10/http/ client. py", line 941, in connect connection( python3. 10/socket. py", line 845, in create_connection python3. 10/socket. py", line 833, in create_connection connect( sa) edError: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/lib/
h.request(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
super(
File "/usr/lib/
self.sock = self._create_
File "/usr/lib/
raise err
File "/usr/lib/
sock.
ConnectionRefus
During handling of the above exception, another exception occurred:
Traceback (most recent call last): data.sh. HCysqt/ scripts/ commissioning/ 30-maas- 01-bmc- config" , line 1103, in detect_ and_configure data.sh. HCysqt/ scripts/ commissioning/ 30-maas- 01-bmc- config" , line 1037, in detected data.sh. HCysqt/ scripts/ commissioning/ 30-maas- 01-bmc- config" , line 1092, in get_bmc_ip data.sh. HCysqt/ scripts/ commissioning/ 30-maas- 01-bmc- config" , line 1055, in _get_bmc_ip request. urlopen( python3. 10/urllib/ request. py", line 216, in urlopen python3. 10/urllib/ request. py", line 519, in open python3. 10/urllib/ request. py", line 536, in _open chain(self. handle_ open, protocol, protocol + python3. 10/urllib/ request. py", line 496, in _call_chain python3. 10/urllib/ request. py", line 1391, in https_open open(http. client. HTTPSConnection , req, python3. 10/urllib/ request. py", line 1351, in do_open error.URLError: <urlopen error [Errno 111] Connection refused>
File "/tmp/user_
if bmc.detected():
File "/tmp/user_
return self.get_bmc_ip() is not None
File "/tmp/user_
self._bmc_ip = self._get_bmc_ip()
File "/tmp/user_
response = urllib.
File "/usr/lib/
return opener.open(url, data, timeout)
File "/usr/lib/
response = self._open(req, data)
File "/usr/lib/
result = self._call_
File "/usr/lib/
result = func(*args)
File "/usr/lib/
return self.do_
File "/usr/lib/
raise URLError(err)
urllib.