Hi Martin,

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. 

Personally I wouldn't put the instance path into /home more into a subdirectory 
of home (something like /home/nova) 

--
Andrea

----- Reply message -----
From: "Martin Chamambo" <[email protected]>
To: "Andrea Tartaglia " <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: [Openstack] STORAGE ON OPENSTACK
Date: Mon, Apr 20, 2015 8:39 AM

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  [[email protected]]
Sent: Sunday, April 19, 2015 10:09 AM
To: Martin Chamambo
Cc: [email protected]
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" <[email protected]>
To: "John Griffith" <[email protected]>
Cc: "[email protected]" <[email protected]>
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 [[email protected]]
Sent: Sunday, April 19, 2015 2:09 AM
To: John Griffith
Cc: [email protected]
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 [[email protected]]
Sent: Saturday, April 18, 2015 4:51 PM
To: Martin Chamambo
Cc: [email protected]
Subject: Re: [Openstack] STORAGE ON OPENSTACK

On Sat, Apr 18, 2015 at 4:24 AM, Chamambo Martin 
<[email protected]<mailto:[email protected]>> 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: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

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.

http://docs.openstack.org/juno/config-reference/content/section_compute-config-samples.html

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: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to