<div dir="ltr">Looks like curtin is having an issue installing the grub boot loader onto sdb. If you have an sda disk select that disk as the boot disk to see if grub will install to that disk. If not could you please provide the output of the entire installation log on the node details page. Also the output of the curtin config would be helpful, you can get this from the cli.<div><br></div><div>maas {session} node {system_id} get_curtin_config</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 19, 2016 at 3:20 PM, Shilpa Kaul <span dir="ltr"><<a href="mailto:shilkaul@in.ibm.com" target="_blank">shilkaul@in.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="Calibri">Hi,</font><br><br><font size="2" face="Calibri">I have configured a MAAS cluster and have
block device 'sdb' attached to one of the nodes which I am using to deploy
my charm as shown below:</font><br><img src="cid:_1_0CEE3E4C0CEE23AC006A35C565258051" style="border:0px solid"><br><br><font size="2" face="Calibri">After this I created a storage pool called
maastest with attribute tag as 'sdb' and deployed my charm. In the MAAS
controller console I see that the node status is "Failed Deployment"
and I see the below error in the UI for the node on which I am trying to
deploy the charm making use of MAAS storage:</font><br><br><font size="2" face="Calibri"><i>Installing for i386-pc platform.</i></font><br><font size="2" face="Calibri"><i>grub-install : error: unable to identify
a filesystem in hostdisk//dev/sdb; safety check cant be performed</i></font><br><font size="2" face="Calibri"><i>failed to install grub!</i></font><br><font size="2" face="Calibri"><i>Command: ['install-grub', 'tmp/tmpqwTtyG/target',
'/dev/sdb]'</i></font><br><br><font size="2" face="Calibri">MAAS version is 1.9.4 and Ubuntu version
: 14.04</font><br><br><font size="2" face="Calibri">I am new to MAAS and not sure why the above
error is coming, can someone please help me in resolving this error.</font><span class=""><br><br><font size="2" face="sans-serif">Thanks and Regards,<br>Shilpa Kaul<br></font><br><br><br></span><font size="1" color="#5f5f5f" face="sans-serif">From:
</font><font size="1" face="sans-serif">Matt Bruzek <<a href="mailto:matthew.bruzek@canonical.com" target="_blank">matthew.bruzek@canonical.com</a>></font><br><font size="1" color="#5f5f5f" face="sans-serif">To:
</font><font size="1" face="sans-serif">Shilpa Kaul/India/IBM@IBMIN,
Juju email list <<a href="mailto:juju@lists.ubuntu.com" target="_blank">juju@lists.ubuntu.com</a>>, <a href="mailto:maas-devel@lists.ubuntu.com" target="_blank">maas-devel@lists.ubuntu.com</a></font><br><font size="1" color="#5f5f5f" face="sans-serif">Cc:
</font><font size="1" face="sans-serif">Kevin Monroe <<a href="mailto:kevin.monroe@canonical.com" target="_blank">kevin.monroe@canonical.com</a>>,
Suchitra Venugopal1/India/IBM@IBMIN, Andrew Wilkins <<a href="mailto:andrew.wilkins@canonical.com" target="_blank">andrew.wilkins@canonical.com</a>><wbr>,
Antonio Rosales <<a href="mailto:antonio.rosales@canonical.com" target="_blank">antonio.rosales@canonical.com</a><wbr>>, Marco Ceppi <<a href="mailto:marco.ceppi@canonical.com" target="_blank">marco.ceppi@canonical.com</a>>,
Randall Ross <<a href="mailto:randall.ross@canonical.com" target="_blank">randall.ross@canonical.com</a>></font><br><font size="1" color="#5f5f5f" face="sans-serif">Date:
</font><font size="1" face="sans-serif">10/19/2016 09:24 PM</font><br><font size="1" color="#5f5f5f" face="sans-serif">Subject:
</font><font size="1" face="sans-serif">Re: Regarding
juju Storage - using MAAS as cloud provider</font><br><hr noshade><div class="HOEnZb"><div class="h5"><br><br><br><font size="2">Shilpa,<br></font><br><font size="2">There are some documentation about creating storage on
MAAS here: </font><a href="https://maas.ubuntu.com/docs/storage.html" target="_blank"><font size="2" color="blue"><u>https://maas.ubuntu.com/docs/<wbr>storage.html</u></font></a><font size="2"><br></font><br><font size="2">Using this document you should be able to create block
devices in MAAS that you can later use in Juju.<br></font><br><font size="2">The Juju storage documentation can be found here: </font><a href="https://jujucharms.com/docs/stable/charms-storage" target="_blank"><font size="2" color="blue"><u>https://jujucharms.com/docs/<wbr>stable/charms-storage</u></font></a><font size="2"><br><br>As an example, once you have your MAAS storage created and tagged, you
could create a storage pool in Juju like this:<br></font><tt><font size="2"><br>juju create-storage-pool mypool maas tags=<maas-tag></font></tt><font size="2"><br></font><br><font size="2">And then you could add a storage constraint to deploy
your charm like this:</font><br><br><tt><font size="2">juju deploy <charm> --storage disks=mypool,1G</font></tt><br><br><font size="2">I have not tried MAAS storage with Juju so you may need
some additional commands. If anyone else has examples of combining MAAS
storage with Juju please reply here to let us know. Thanks!</font><br><br><font size="2"> - Matt Bruzek <</font><a href="mailto:matthew.bruzek@canonical.com" target="_blank"><font size="2" color="blue"><u>matthew.bruzek@canonical.com</u></font></a><font size="2">></font><br><br><font size="3">On Tue, Oct 18, 2016 at 11:29 AM, Shilpa Kaul <</font><a href="mailto:shilkaul@in.ibm.com" target="_blank"><font size="3" color="blue"><u>shilkaul@in.ibm.com</u></font></a><font size="3">>
wrote:</font><br><font size="2" face="Calibri">Hi Matt/Kevin,</font><font size="3"><br></font><font size="2" face="Calibri"><br>We have a charm called as Spectrum Scale (previously called as gpfs) which
is making use of Juju Storage feature. I have tested this on AWS, making
use of ebs as storage option. When I deploy the charm say "</font><font size="2" color="#4040c2" face="Calibri"><b><i>juju
deploy ibm-spectrum-scale-manager --storage disks=ebs,1G</i></b></font><font size="2" face="Calibri">",
I am able to get block storage disks. My charm uses this disk and then
creates a file sytem on top of that.<br>I am able to test this on AWS, but now we have got a scenario where we
have to deploy the charm on physical servers or VM's. We have configured
MAAS for VM's and are able to deploy a sample charm as well using MAAS
as cloud provider, but I am not sure how to make use of juju storage options
incase of MAAS. Can you please provide us with any contact who can help
us in making use of storage option with MAAS as cloud provider.</font><font size="3"><br></font><font size="2" face="sans-serif"><br>Thanks and Regards,<br>Shilpa Kaul</font><font size="3"><br></font><br><br><br><br></div></div><br>--<br>
Maas-devel mailing list<br>
<a href="mailto:Maas-devel@lists.ubuntu.com">Maas-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/maas-devel" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/maas-devel</a><br>
<br></blockquote></div><br></div>