maas machines create fails when node can't be reached via ipmi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
Undecided
|
Unassigned |
Bug Description
When I create a machine using the CLI, I get a "Authorization Error: 'Nonce already used: xxxx'" failure if the machine can't be reached via IPMI.
The machine goes into commissioning state and tries for about 30 seconds to contact the node. The call blocks waiting for that and then returns an error:
http://
I really don't want to wait for commissioning to start - I just want to create the machine and get the machine info back in json format. The creation still succeeded.
There are no tracebacks in any of the logs. The only thing I see is:
2017-07-06 19:54:59 regiond: [info] 10.245.12.148 POST /MAAS/api/
And in maas.log:
Jul 6 19:58:21 drexel maas.api: [info] geodude: Enlisted new machine
Jul 6 19:58:21 drexel maas.node: [info] geodude: Status transition from NEW to COMMISSIONING
Jul 6 19:58:52 drexel maas.node: [info] geodude: Status transition from COMMISSIONING to NEW
Jul 6 19:58:52 drexel maas.node: [error] geodude: Could not start node for commissioning: No rack controllers can access the BMC of node: geodude
This is with maas 2.2.0
Related branches
- MAAS Lander: Approve
- Andres Rodriguez (community): Needs Information
-
Diff: 32 lines (+13/-0)2 files modifiedsrc/maasserver/api/auth.py (+4/-0)
src/maasserver/api/tests/test_auth.py (+9/-0)
description: | updated |
Changed in maas: | |
importance: | Undecided → Medium |
milestone: | none → 2.3.0 |
status: | New → Triaged |
summary: |
- maas machines create fails when node can't be reached via ipmi + [2.x] maas machines create fails when node can't be reached via ipmi |
description: | updated |
tags: | added: foundations-engine |
tags: | added: internal |
tags: | removed: foundations-engine |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.x |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Newell Jensen (newell-jensen) |
Changed in maas: | |
status: | In Progress → Incomplete |
This is like bug 1600328, except I get a Nonce error.