<div style="font-family: 'Calibri', 'sans-serif';">
<div>Hi Martin,</div><div><br></div><div>the directory needs to be owned by the nova user so it can create and remove directories. Take the permissions in /var/lib/nova as an example and replicate that to your desired directory. </div><div><br></div><div>Personally I wouldn't put the instance path into /home more into a subdirectory of home (something like /home/nova) </div><div><br></div><div>--</div><div>Andrea</div>

<br><div id="htc_header">----- Reply message -----<br>From: "Martin Chamambo" <chamambom@afri-com.net><br>To: "Andrea Tartaglia " <me@andreatartaglia.com><br>Cc: "openstack@lists.openstack.org" <openstack@lists.openstack.org><br>Subject: [Openstack] STORAGE ON OPENSTACK<br>Date: Mon, Apr 20, 2015 8:39 AM</div></div><br><pre style="word-wrap: break-word; white-space: pre-wrap;">I have enabled debug=true in the nova.conf and this is the error i am getting

Error: Failed to launch instance "test": Please try again later [Error: No valid host was found. ].   on THE HORIZON DASHBOARD

2015-04-20 09:32:43.681 3396 TRACE nova.compute.manager [instance: 7eb2a694-a256-43d6-89bf-ee6126be0b17] OSError: [Errno 13] Permission denied: '/home/7eb2a694-a256-43d6-89bf-ee6126be0b17'  --- on nova.conf

and this error when launching a test instance happened when i changed the instance path to /home .... tried changing permissions and its still the same

________________________________________
From: Andrea Tartaglia  [me@andreatartaglia.com]
Sent: Sunday, April 19, 2015 10:09 AM
To: Martin Chamambo
Cc: openstack@lists.openstack.org
Subject: Re: [Openstack] STORAGE ON OPENSTACK

Hi Martin,

you can find some clues in nova.log,you can also try to enable debug log in nova.conf ( debug = True)

--
Andrea

----- Reply message -----
From: "Martin Chamambo" <chamambom@afri-com.net>
To: "John Griffith" <john.griffith@solidfire.com>
Cc: "openstack@lists.openstack.org" <openstack@lists.openstack.org>
Subject: [Openstack] STORAGE ON OPENSTACK
Date: Sun, Apr 19, 2015 7:16 AM


I have hit another wall ,i think its a result of my changing the instance_path to /home in the /etc/nova/nova.conf

Error: Failed to launch instance "test": Please try again later [Error: No valid host was found. ].

still checking the doc you sent me but just thought while i research on my own the mailing list will have something on the fingertips
________________________________________
From: Martin Chamambo [chamambom@afri-com.net]
Sent: Sunday, April 19, 2015 2:09 AM
To: John Griffith
Cc: openstack@lists.openstack.org
Subject: Re: [Openstack] STORAGE ON OPENSTACK

________________________________________
From: Martin Chamambo
Sent: Sunday, April 19, 2015 2:06 AM
To: John Griffith
Subject: RE: [Openstack] STORAGE ON OPENSTACK

________________________________________
From: John Griffith [john.griffith@solidfire.com]
Sent: Saturday, April 18, 2015 4:51 PM
To: Martin Chamambo
Cc: openstack@lists.openstack.org
Subject: Re: [Openstack] STORAGE ON OPENSTACK

On Sat, Apr 18, 2015 at 4:24 AM, Chamambo Martin <chamambom@afri-com.net<mailto:chamambom@afri-com.net>> wrote:
I just installed openstack and im still learning everything I can get my
hands on , from youtube videos to openstack docs and just thought I can join
a mailing list to speed up the process of acquiring openstack knowledge.

This is my case : I have openstack all_in_one and right now everthing is
just on one machine [from reading the docs seems like I can expand my
openstack projects [cinder ,nova etc] to other nodes and that will be for
later]

Right now I have installed the RDO icehouse packstack and its on a centos
machine , with 4 gig. So far so good.On the same machine I have configured a
/home directory with 1 terabyte for storing my images and when I open
openstack dashboard , I cant seem to find a way to reference it ,how can I
add that filesystem as my storage for my VMs

My filestystem is as follows

[root@cumulonimbus ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_cumulonimbus-lv_root
-------------------------------------------on open stack dashboard ,it seems
to recognize this only
                       50G  2.6G   45G   6% /
tmpfs                 1.9G  4.0K  1.9G   1% /dev/shm
/dev/sda1             477M   49M  403M  11% /boot
/dev/mapper/vg_cumulonimbus-lv_home
                      351G   67M  333G   1% /home
/srv/loopback-device/swiftloopback
                      1.9G  3.0M  1.8G   1% /srv/node/swiftloopback
[root@cumulonimbus ~]#



_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : openstack@lists.openstack.org<mailto:openstack@lists.openstack.org>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>

Sounds like you're looking for instances path?  In other words the location you want the qcow files for the instances to live?

That's set up in the nova.conf file as: instances_path

Check out the docs page here and see if that helps.  Items like conf settings don't show up in the dashboard by the way.

<a href="http://docs.openstack.org/juno/config-reference/content/section_compute-config-samples.html">http://docs.openstack.org/juno/config-reference/content/section_compute-config-samples.html</a>

Thanks,
John

thank you john , managed to read the doc you sent me and what i wanted seem to have worked ,let me get my hands dirty on youtube videos and any docs that can help me before i scale out my all_in one packstack


_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : openstack@lists.openstack.org
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : openstack@lists.openstack.org
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>

</pre>