Re: [Openstack] Error launching instances

2013-11-29 Thread John Smith
On Sat, Nov 30, 2013 at 1:02 AM, Razique Mahroua wrote: > Usually it's a nova.conf which contains all the configuration option. But > you said u were using Devstack right? I don't know if there is > one...probably! > Yes, for devstack it's localrc, and I put them there, in the devstack configurati

Re: [Openstack] Error launching instances

2013-11-29 Thread Razique Mahroua
Usually it's a nova.conf which contains all the configuration option. But you said u were using Devstack right? I don't know if there is one...probably! On Friday, November 29, 2013, John Smith wrote: > On Sat, Nov 30, 2013 at 12:53 AM, Razique Mahroua > > wrote: > > Why don't you put all these

Re: [Openstack] Error launching instances

2013-11-29 Thread Razique Mahroua
Why don't you put all these settings into your configuration file? On 29 Nov 2013, at 15:47, John Smith wrote: > Hi, > > > Well, ive finally managed to successfully launch an instance. > :) > > But I did have to make some additional settings to localrc: > > HOST_IP_IFACE=p3p1 > PUBLIC_INTERFACE=

Re: [Openstack] Error launching instances

2013-11-29 Thread John Smith
On Sat, Nov 30, 2013 at 12:53 AM, Razique Mahroua wrote: > Why don't you put all these settings into your configuration file? > ? What file are you talking about ? I thought 'localrc' was the configuration file ? Regards, John Smith. ___ Mailing li

Re: [Openstack] Error launching instances

2013-11-29 Thread John Smith
Hi, Well, ive finally managed to successfully launch an instance. :) But I did have to make some additional settings to localrc: HOST_IP_IFACE=p3p1 PUBLIC_INTERFACE=p3p1 VLAN_INTERFACE=p3p1 FLAT_INTERFACE=p3p1 HOST_IP=192.168.126.142 FIXED_RANGE=10.4.128.0/20 FIXED_NETWORK_SIZE=4096 FLOATING_RA

Re: [Openstack] Error launching instances

2013-11-29 Thread John Smith
On Fri, Nov 29, 2013 at 3:03 PM, Razique Mahroua wrote: > > Hey :) > Hi. Im starting to wonder if im not just missing some basic steps here. What im doing basically is this : $ cat localrc ADMIN_PASSWORD=password MYSQL_PASSWORD=password RABBIT_PASSWORD=password SERVICE_PASSWORD=password SERVICE_T

Re: [Openstack] Error launching instances

2013-11-29 Thread Razique Mahroua
Hey :) can you show me the file? the conf file is not a mandatory argument. If you don't specify neither explicit arguments from the command line, nor from a config file, then dnsmasq uses the values it has been compiled w/ so removing that flag * should * do it. On 29 Nov 2013, at 2:17, John

Re: [Openstack] Error launching instances

2013-11-29 Thread John Smith
On Thu, Nov 28, 2013 at 11:53 PM, Razique Mahroua wrote: > Couldn't be that: > > --conf-file= > > Razique > Hrm. Thats at least a little strange. You may be on the right track here. :) When I omit the 'sudo nova-rootwrap' bits from the command, and run the dnsmasq command as the root user, I get

Re: [Openstack] Error launching instances

2013-11-29 Thread John Smith
Oh. That "KeyError: 'CONFIG_FILE'" is just because I didnt set the COMMAND env var. So I guess thats not it. Pointing --conf-file= to "devstack/files/dnsmasq-for-baremetal-from-nova-network.conf" doesnt solve the issue either. Regards, John Smith. __

Re: [Openstack] Error launching instances

2013-11-28 Thread Razique Mahroua
Couldn't be that: ` --conf-file=` Razique On 28 Nov 2013, at 13:52, John Smith wrote: Hi, Ive been trying to troubleshoot my devstack image launch failure some more, and the command that fails seems to be 'dnsmasq' command. The full command that gets executed is in the logs: sudo nova-rootw

Re: [Openstack] Error launching instances

2013-11-28 Thread John Smith
Hi, Ive been trying to troubleshoot my devstack image launch failure some more, and the command that fails seems to be 'dnsmasq' command. The full command that gets executed is in the logs: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova.conf"] NETWORK_ID=1 dnsmasq --

Re: [Openstack] Error launching instances

2013-11-26 Thread John Smith
Hi, Ive blown up the openstack like you suggested, and used the localrc you provided inclusing the additions you made. Unfortunately, I still get the same errors. Too bad we couldnt get it to work. I think ill just go back to the localrc I initially started out with, and see if I can get that to

Re: [Openstack] Error launching instances

2013-11-26 Thread Remo Mattei
are you running this on a virtual machine? what env are you using? as far as neutron by default on devstack is going to happen on the next released. For now nova-network is the default.  just my 2 cents --  Remo Mattei November 26, 2013 at 11:32:27, John Smith (lbalba...@gmail.com) ha scritto:

Re: [Openstack] Error launching instances

2013-11-26 Thread Remo Mattei
I would blow up that machine and run it again fresh with the localrc I gave you, just add this additional two lines SWIFT_HASH=stack SWIFT_REPLICAS=1 Try that it should be good to go. Good luck.  --  Remo Mattei November 26, 2013 at 11:38:18, John Smith (lbalba...@gmail.com) ha scritto: On Tu

Re: [Openstack] Error launching instances

2013-11-26 Thread John Smith
On Tue, Nov 26, 2013 at 8:33 PM, Remo Mattei wrote: > are you running this on a virtual machine? > Yes, I am running this in a VMware (Workstation) virtual machine. Regards, John Smith. ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/li

Re: [Openstack] Error launching instances

2013-11-26 Thread John Smith
On Tue, Nov 26, 2013 at 7:52 PM, Remo Mattei wrote: > > you may want to google about nova-network and neutron. BIG BIG difference. > Yeah, I just thought that 'neutron' was the 'way-to-go' these days, so I was just wondering why devstack doesnt use that by default ? > > you have br100 which will

Re: [Openstack] Error launching instances

2013-11-26 Thread Remo Mattei
you may want to google about nova-network and neutron. BIG BIG difference. Swift is just an object store. you have br100 which will not work on neutron. Did you do a clean / unstack before you run the new stack.sh? --  Remo Mattei November 26, 2013 at 10:51:19, John Smith (lbalba...@gmail.com

Re: [Openstack] Error launching instances

2013-11-26 Thread John Smith
Hi, So assuming you think the problem is the network, may I ask what logfile and logentry you noticed to make you suspect that ? I modified my localrc with your suggestions. When running stack.sh, I was asked for a swift password, and provided 'password'. (Do I need to set this elsewhere as well

Re: [Openstack] Error launching instances

2013-11-26 Thread Remo Mattei
I look through the logs and I would suggest to add neutron and not to use nova network.  so here is the one I use.  add this below your PASSWORD and TOKEN options disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-lbaas enable_service q-l3 ena

Re: [Openstack] Error launching instances

2013-11-26 Thread John Smith
On Tue, Nov 26, 2013 at 6:18 PM, Remo Mattei wrote: > you have two tenant and one password. can you try this from the command line > Ah. I see i have set 'OS_TENANT_NAME' twice. Ill remove the first. (With the last export it is set to 'demo', as I intendend.) > > source /whereyourdevstackisinsta

Re: [Openstack] Error launching instances

2013-11-26 Thread Remo Mattei
you have two tenant and one password. can you try this from the command line source /whereyourdevstackisinstalled/openrc admin  then do nova show --  Remo Mattei November 26, 2013 at 9:17:20, John Smith (lbalba...@gmail.com) ha scritto: On Tue, Nov 26, 2013 at 6:02 PM, Remo Mattei wrote: >

Re: [Openstack] Error launching instances

2013-11-26 Thread John Smith
On Tue, Nov 26, 2013 at 6:02 PM, Remo Mattei wrote: > can you share your localrc file? What version is it? Havana? this is hard to > troubleshoot if you leave too many variable out. > > > -- > Remo Mattei > > Hi, This is my localrc: ADMIN_PASSWORD=password MYSQL_PASSWORD=password RABBIT_PASS

Re: [Openstack] Error launching instances

2013-11-26 Thread Remo Mattei
can you share your localrc file? What version is it? Havana? this is hard to troubleshoot if you leave too many variable out.  --  Remo Mattei November 26, 2013 at 9:01:56, John Smith (lbalba...@gmail.com) ha scritto: On Tue, Nov 26, 2013 at 5:08 PM, Remo Mattei wrote: > Hi John, > did t

Re: [Openstack] Error launching instances

2013-11-26 Thread John Smith
On Tue, Nov 26, 2013 at 5:08 PM, Remo Mattei wrote: > Hi John, > did the nova boot gave you any errors? it maybe that nova show is not > working you may want to make sure you have permissions. Did you load the > variables? > > Ciao > -- > Remo Mattei > > Hi, The nova boot cmd did not give any o

Re: [Openstack] Error launching instances

2013-11-26 Thread LIU Yulong
S+=,ceilometer-alarm-notify,ceilometer-alarm-eval Regards,LIU Yulong From: "John Smith";; Date: Tue, Nov 26, 2013 11:39 PM To: "openstack@lists.openstack.org"; Subject: [Openstack] Error launching instances Hi, Im running devstack and am experiencing some trouble

Re: [Openstack] Error launching instances

2013-11-26 Thread dheeru
HI John Instance creation may be failing for different reason. Can you check the erros in /var/log/nova-api.log nova-compute.log and nova-scheduler.log ? Also do you see any errors in /var/log/libvirt/libvird.log ? -Dheerendra On Tue, Nov 26, 2013 at 9:09 PM, John Smith wrote: > Hi, > > > Im

Re: [Openstack] Error launching instances

2013-11-26 Thread Remo Mattei
Devstack will probably have those info into the screen session and not in the log. Unless your localrc does have a line saying you want the logs to a file.  Ciao --  Remo Mattei November 26, 2013 at 8:22:02, dheeru (dheerendra.madhusudh...@gmail.com) ha scritto: HI John   Instance creation ma

Re: [Openstack] Error launching instances

2013-11-26 Thread Remo Mattei
Hi John,  did the nova boot gave you any errors? it maybe that nova show is not working you may want to make sure you have permissions. Did you load the variables?  Ciao --  Remo Mattei November 26, 2013 at 8:07:48, John Smith (lbalba...@gmail.com) ha scritto: Hi, Im running devstack and a

[Openstack] Error launching instances

2013-11-26 Thread John Smith
Hi, Im running devstack and am experiencing some trouble when attempting to launch an instance. I must admit that im a total newbee, so it might just be that i am just missing something obvious. I try to launch an instance as follows from the command line : $ wget https://launchpadlibrarian.ne