<div dir="ltr"><div class="gmail_default" style="font-size:small">Shilpa,<br><br></div><div class="gmail_default" style="font-size:small">There are some documentation about creating storage on MAAS here: <a href="https://maas.ubuntu.com/docs/storage.html">https://maas.ubuntu.com/docs/storage.html</a><br><br></div><div class="gmail_default" style="font-size:small">Using this document you should be able to create block devices in MAAS that you can later use in Juju.<br><br></div><div class="gmail_default" style="font-size:small">The Juju storage documentation can be found here: <a href="https://jujucharms.com/docs/stable/charms-storage">https://jujucharms.com/docs/stable/charms-storage</a><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><br><span style="font-family:monospace,monospace">juju create-sto</span><wbr><span style="font-family:monospace,monospace">rage-pool mypool maas tags=<maas</span><wbr><span style="font-family:monospace,monospace">-tag></span><br><br><div class="gmail-Kc-ib">And then you could add a storage constraint to deploy your charm like this:</div><div class="gmail-Kc-ib"><br></div><div class="gmail-Kc-ib"><span style="font-family:monospace,monospace">juju deploy <charm> --storage disks=mypo</span><wbr><span style="font-family:monospace,monospace">ol,1G</span></div><br></div><div class="gmail_default" style="font-size:small">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!<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="2">   - Matt Bruzek <<a href="mailto:matthew.bruzek@canonical.com" target="_blank">matthew.bruzek@canonical.com</a>></font><br></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Oct 18, 2016 at 11:29 AM, 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 Matt/Kevin,</font><br><br><font size="2" face="Calibri">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 color="#4040c2" size="2" 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.</font><br><font size="2" face="Calibri">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><br><br><font size="2" face="sans-serif">Thanks and Regards,<br>Shilpa Kaul<br></font><br></blockquote></div><br></div></div>