[2.1.3] Commissioning doesn't pick up new storage devices

Bug #1662343 reported by Larry Michel
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Björn Tillenius
2.1
Won't Fix
High
Unassigned

Bug Description

I have been trying to recommission a system for which a set of disks had not previously been initialized.

After initializing them via the controller setup menu during POST and recommissioning, maas would not list them as storage even though lshw showed those disks. I tried going into the commissioning environment and could access the disks without any issue. Then I decided to delete and re-enlist the system and now they are showing up.

I never selected retain storage configuration so could this option actually be set by default?

This looks to be easy to recreate. I have attached content of node page from the UI as well as lshw before and after re-enlisting.

I re-created with an HP system for which RAID got enabled (and so 4 disks weren't being discovered) and after I deleted the RAID and disabled the controller, maas still wouldn't show the disks.

Then, following deletion and re-enlistment of that server, maas started showing the disks. I had not checked the lshw output as I didn't initially think the 2 issues were related, but now I see that this is a re-create.

ubuntu@maas2-production-new:~$ dpkg -l '*maas*'|cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-==============================-============-=================================================
ii maas 2.1.3+bzr5573-0ubuntu1~16.04.1 all "Metal as a Service" is a physical cloud and IPAM
ii maas-cli 2.1.3+bzr5573-0ubuntu1~16.04.1 all MAAS client and command-line interface
un maas-cluster-controller <none> <none> (no description available)
ii maas-common 2.1.3+bzr5573-0ubuntu1~16.04.1 all MAAS server common files
ii maas-dhcp 2.1.3+bzr5573-0ubuntu1~16.04.1 all MAAS DHCP server
ii maas-dns 2.1.3+bzr5573-0ubuntu1~16.04.1 all MAAS DNS server
ii maas-proxy 2.1.3+bzr5573-0ubuntu1~16.04.1 all MAAS Caching Proxy
ii maas-rack-controller 2.1.3+bzr5573-0ubuntu1~16.04.1 all Rack Controller for MAAS
ii maas-region-api 2.1.3+bzr5573-0ubuntu1~16.04.1 all Region controller API service for MAAS
ii maas-region-controller 2.1.3+bzr5573-0ubuntu1~16.04.1 all Region Controller for MAAS
un maas-region-controller-min <none> <none> (no description available)
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-maas-provisioningserver <none> <none> (no description available)
ii python3-django-maas 2.1.3+bzr5573-0ubuntu1~16.04.1 all MAAS server Django web framework (Python 3)
ii python3-maas-client 2.1.3+bzr5573-0ubuntu1~16.04.1 all MAAS python API client (Python 3)
ii python3-maas-provisioningserver 2.1.3+bzr5573-0ubuntu1~16.04.1 all MAAS server provisioning libraries (Python 3)

Tags: oil

Related branches

Revision history for this message
Larry Michel (lmic) wrote :
Changed in maas:
status: New → Triaged
milestone: none → 2.2.0
importance: Undecided → High
Revision history for this message
Blake Rouse (blake-rouse) wrote :

Please provide the output of:

"maas session block-devices read {system_id}"

And the output of the commissioning result:

00-maas-07-block-devices

Changed in maas:
status: Triaged → Incomplete
Revision history for this message
Larry Michel (lmic) wrote :

@blake here's the requested commissioning file.

Changed in maas:
status: Incomplete → New
Revision history for this message
Larry Michel (lmic) wrote :

Tarball missed a file. Here it is again.

Revision history for this message
Blake Rouse (blake-rouse) wrote :

Thank you.

Changed in maas:
status: New → Confirmed
Changed in maas:
milestone: 2.2.0 → 2.2.0rc1
Changed in maas:
milestone: 2.2.0rc1 → 2.2.0rc2
Changed in maas:
milestone: 2.2.0rc2 → 2.2.0rc3
Changed in maas:
milestone: 2.2.0rc3 → 2.2.0rc4
Changed in maas:
milestone: 2.2.0rc4 → 2.2.1
milestone: 2.2.1 → 2.2.0rc4
Changed in maas:
milestone: 2.2.0rc4 → 2.2.1
Changed in maas:
milestone: 2.2.1 → 2.2.x
Changed in maas:
milestone: 2.2.x → 2.3.0rc2
Changed in maas:
assignee: nobody → Björn Tillenius (bjornt)
status: Confirmed → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.