Failed Deployment: No Arrays Found

Bug #1538640 reported by Ryan Kather
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Undecided
Unassigned
curtin
Confirmed
High
Unassigned

Bug Description

MaaS 1.9 will not deploy Ubuntu images to commissioned physical nodes. The nodes are HP Proliant DL 380 G5 servers with HP Smart Array P400 Controllers.

    mdadm: No arrays found in config file or automatically
    An error occured handling 'cciss!c0d0': FileNotFoundError - [Errno 2] No such file or directory: '/sys/block/c0d0/holders'
    [Errno 2] No such file or directory: '/sys/block/c0d0/holders'
    Installation failed with exception: Unexpected error while running command.
    Command: ['curtin', 'block-meta', 'custom']
    Exit code: 3
    Reason: -
    Stdout: b"mdadm: No arrays found in config file or automatically\nAn error occured handling 'cciss!c0d0': FileNotFoundError - [Errno 2] No such file or directory: '/sys/block/c0d0/holders'\n[Errno 2] No such file or directory: '/sys/block/c0d0/holders'\n"
Stderr: ''

Verified behavior on 14.04 and 15.10 Ubuntu releases. With flat and LVM volume layouts. Deployment worked on these servers in earlier MaaS version.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi Ryan,

Can you please get the output of:

 maas <user> node get-curtin-config <node's system id>

while the machine is failed deployment?

Also, can you try to re-commission the machjine and try the dpeloyment again? if it fails, could you please obtain the data as above?

Thanks!

Changed in maas:
status: New → Incomplete
Revision history for this message
Ryan Kather (rkather) wrote :

Thank you for the quick response. I've tried recommission and redeployment with same behavior. I should mention I have 8 servers all identical, all exhibiting this behavior.

I've attached the output of maas <user> node get-curtin-config <node's system id>

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

This looks to be an issue on how curtin is handling your specific hardware. Not a MAAS related problem.

Changed in curtin:
status: New → Confirmed
importance: Undecided → High
no longer affects: maas/1.9
Changed in maas:
milestone: none → 1.9.1
status: Incomplete → Invalid
Revision history for this message
Ryan Kather (rkather) wrote :

Interesting, it seems this might be related to this bug (though the discussion makes the mistake of not including HP Proliant G5s in their scenario discussion). I think the CCISS disappeared in G6 and onward;

https://bugs.launchpad.net/curtin/+bug/1263181

From the discussion, it should have been fixed in an earlier package of curtin that was pushed to udpates. However, it seems I have a later package installed and the issue persists (at least on the cluster controller and region controller). I'm curious if there was a regression at some point, or does maas use an older version on the image (not really sure where curtin is called from to be honest.

Installed Curtin on MaaS cluster:
ii curtin-common 0.1.0~bzr314-0ubuntu1 all Library and tools for curtin installer
ii python-curtin 0.1.0~bzr314-0ubuntu1 all Library and tools for curtin installer

Revision history for this message
FelixD (generalkalbasa) wrote :

i have a set of DL 380 G5's, and can confirm curtin has stoped working with them since maas 1.9 and curtin 314, though i have checked the block_meta.py, __init__.py and common and they contain the fixes from curtin 221, so the problem seems to be elsewhere

Revision history for this message
iulianpojar (iulianpojar) wrote :

i have the same problem with HP DL 380 G5, can not deploy any node.

Changed in maas:
milestone: 1.9.1 → 1.9.2
Changed in maas:
milestone: 1.9.2 → none
Revision history for this message
iulianpojar (iulianpojar) wrote :

same problems, bug not fixed in xenial.

Revision history for this message
iulianpojar (iulianpojar) wrote :

An error occured handling 'cciss!c0d0': FileNotFoundError - [Errno 2] No such file or directory: '/sys/block/c0d0/holders'
[Errno 2] No such file or directory: '/sys/block/c0d0/holders'
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'custom']
Exit code: 3
Reason: -
Stdout: b"An error occured handling 'cciss!c0d0': FileNotFoundError - [Errno 2] No such file or directory: '/sys/block/c0d0/holders'\n[Errno 2] No such file or directory: '/sys/block/c0d0/holders'\n"
Stderr: ''

Revision history for this message
Andy S (andy-speed) wrote :

I have the same issue. Is there any workaround or fix in the pipeline? I am also running xenial.

Revision history for this message
Andy S (andy-speed) wrote :

Have found a workaround for this that has allowed me to commission and deploy some of my older HP servers. This was to go into the Settings of MAAS and add the following to the Global Kernel Parameters section:

cciss.blacklist=yes modprobe.blacklist=cciss hpsa.hpsa_allow_any=1

By doing this it was able to see the storage as a regular sda device which at least allowed me to continue with my test lab setup.

This was based on the following post:

https://askubuntu.com/questions/728317/maas-node-deployment-failing-on-hp-proliant-dl380-g5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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