[Openstack] Cannot create instance by using my own image since of failure of "e2fsck"

2012-03-09 Thread livemoon
I always create my own image by the following simple steps: 1. using "qemu-img create" create a raw file 2. using "kvm" command to install vm os on raw file 3. using "glance" to upload raw file. After uploading file, I can create instance using the image no problem. But If I using resize instance

[Openstack] "nova host-action" command return error

2012-03-11 Thread livemoon
when I use "nova host-action" to startup a server, it return error: stack@controller:~$ nova host-action --action startup 741e3074-523f-423b-ab80-87e10bc76035 ERROR: Policy doesn't allow compute_extension:hosts to be performed. (HTTP 403) -- 非淡薄无以明志,非宁静无以致远 __

Re: [Openstack] Help, How to restore existing vms after host reboot?

2012-03-12 Thread livemoon
yes, I do the same steps with Razique. 2012/3/12 Razique Mahroua > I explained in the doc how I deal with disasters - basically, a magic > solution doesn't exist- nova not being environment-aware. > > http://docs.openstack.org/trunk/openstack-compute/admin/content/nova-disaster-recovery-process.

[Openstack] How many Role name can be used in Keystone and what is the use of each role?

2012-03-16 Thread livemoon
I find the roles ( admin, KeystoneAdmin, KeystoneServiceAdmin) are created in devstack. I think each role has it rights to use functions or services. Now I want to know how many roles in keystone can be created and what are use of them . For example, I only want a role only can create/delete user

Re: [Openstack] Installion guide for OpenStack Essex on Ubuntu 12.04

2012-03-31 Thread livemoon
in 12.04, I have found "vnc" cannot work in either dashboard or "novaclient" On Sat, Mar 31, 2012 at 5:25 PM, Shake Chen wrote: > Thanks > > I change nova.conf > > #--verbose > --verbose=False > > Restart the serivce. and work as expect. > > # nova-manage flavor list > > m1.medium: Memory: 40

Re: [Openstack] Installion guide for OpenStack Essex on Ubuntu 12.04

2012-03-31 Thread livemoon
running ? > > What is the output of $ nova get-vnc-consolenovnc > > > Deepak > > On Sat, Mar 31, 2012 at 7:06 PM, livemoon wrote: > > in 12.04, I have found "vnc" cannot work in either dashboard or > > "novaclient" > > > >

[Openstack] novaclient get error in ubuntu12.04

2012-04-06 Thread livemoon
I install package in ubunut12.04(beta). if I use "glance index", it works well. but if I use "nova list", it error. I think keystone should be work fine because glance can work. my novarc is: export NOVA_USERNAME=admin export NOVA_API_KEY=123456 export NOVA_PROJECT_ID=admin export NOVA_URL=http

Re: [Openstack] novaclient get error in ubuntu12.04

2012-04-06 Thread livemoon
It is my mistake. I miss "--auth_strategy=keystone" in nova.conf now it works fine. 2012/4/7 livemoon > I install package in ubunut12.04(beta). > > if I use "glance index", it works well. > > but if I use "nova list", it error. I think keystone

[Openstack] error when running live-migration in essex

2012-04-18 Thread livemoon
First I test live-migration in 12.04 with essex package. I use "nova --debug live-migration cf62b772-2184-4262-a8dd-716a699cf86d node-1", nova-client returns ok. But in nova-compute log, it is only show info of "NETWORK and IPTABLES", no more info about "libvirt". I have set flags in three libvirt

Re: [Openstack] error when running live-migration in essex

2012-04-18 Thread livemoon
MigrateToURI() failed', dom=self) libvirtError: operation failed: failed to retrieve chardev info in qemu with 'info chardev' Removing descriptor: 10 2012/4/19 livemoon > First I test live-migration in 12.04 with essex package. I use "nova > --debug live-migration cf62b772-21

Re: [Openstack] error when running live-migration in essex

2012-04-19 Thread livemoon
oblem, though. > > Kei > > > (2012/04/19 14:21), livemoon wrote: > >> sorry, the error info at first is: >> >> 2012-04-19 13:20:40 DEBUG nova.rpc.amqp >> [req-6a57cafa-9c6c-4ba7-a832-**d0d75928be93 >> 4c96668ef8a646f58ce9585d7b4651**65 548b905bae5548a9b8daf6f

[Openstack] Does openstack support XCP or Xenserver if I use xen Hypervisor?

2012-04-20 Thread livemoon
hi, all If I use xen and libvirt , can it work wll in openstack? Is it possible to install XAPI to manage xen in centos or suse and work well in openstack? -- 非淡薄无以明志,非宁静无以致远 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@l

Re: [Openstack] Quantum deployment on Essex

2012-04-28 Thread livemoon
hi, Dan I install openvswitch and quantum according this two docs. Now I have met some problems. 1. Using "python ovs_quantum_agent.py ovs_quantum_plugin.ini -v" DEBUG:root:## running command: sudo ovs-ofctl del-flows br-int DEBUG:root:## running command: sudo ovs-ofctl add-flow br-int priority=

[Openstack] (no subject)

2012-04-28 Thread livemoon
According doc: http://docs.openstack.org/incubation/openstack-network/admin/content/Net-Create-dle455.html when I create the second network, it return errors: root@cloud:/etc/quantum# nova-manage network create --label=public --fixed_range_v4=10.0.1.0/24 2012-04-28 15:27:21 DEBUG nova.utils [req-

[Openstack] launching instance failed since of nova-network quantum

2012-05-01 Thread livemoon
Hi, all I use quantum and OVS in ubuntu 12.04 ,when I lanuch an instance, it return networking error. This is nova-network log: 2012-05-02 13:26:38 DEBUG nova.utils [req-3c1ab45e-7ea3-4e83-a899-ab1a8dbde09d a372a6b75d254b15b83cc203518a8a45 5567b78b1a3f4bc68421fe74e044f4e3] Attempting to grab sema

[Openstack] Can't get fix ip via dhcp and can't accociate Floating ip using quantum

2012-05-03 Thread livemoon
I use quantum as my nova-network in ubuntu 12.04LTS, there are two problem: 1: it can show fix ip, but in vm, the network interfaces have no ips. Using "dhclient eth0" does not make sense. Using "ifconfig eth0 inet xxx netmask xxx" can work. 2: when I accociate floating ip to a vm , it show error

[Openstack] Cannot get ssh-key in instance

2012-05-10 Thread livemoon
I running an instance(ubuntu or centos), and it cannot get keypair. In ubuntu12.04, I have install cloud-init and in centos I have add some command into /etc/rc.local There is some of instance's logs about cloud-init: cloud-init start-local running: Thu, 10 May 2012 10:17:33 +. up 4.47 secon

Re: [Openstack] Cannot get ssh-key in instance

2012-05-10 Thread livemoon
wrote: > have you started the instance with keypair? > > > -openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: ----- > > To: livemoon > From: Razique Mahroua > Sent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.net > Date: 05/10/2

Re: [Openstack] Cannot get ssh-key in instance

2012-05-10 Thread livemoon
for more info about the metadata service: > > http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html > > > George > > -- > *From:* openstack-bounces+george.mihaiescu=q9@lists.launchpad.net[mailto: > opens

[Openstack] How to let nova use localtime rather than UTC time?

2012-06-06 Thread livemoon
I found nova use "utcnow" to get time and write it to db. So the create_time of vm also show utc time rather than localtime. Is there any flag in nova.conf to let nova use localtime . -- 非淡薄无以明志,非宁静无以致远 ___ Mailing list: https://launchpad.net/~openstac

[Openstack] using cinder to create volumes error

2012-10-21 Thread livemoon
When I create volumes by cinder, error occurs in cinder-volume.log 2012-10-22 10:58:25 DEBUG cinder.volume.manager [req-f51ade4d-5bed-4f24-b492-528b9baca625 cd7e95086cfc4693945f37e59c1b7206 67456c69ae074be4b4ba0af7048b5ceb] volume volume-e224dfdb-913c-4135-811d-eb075a551de8: creating export create

Re: [Openstack] How to commucation vms in multi nodes using quantum?

2012-10-23 Thread livemoon
ork to > use when booting vm. > > 2012/10/24 livemoon > >> Hi, I use quantum as network. A question is if there are multi nodes, how >> to config to make vms communicate with each other in the same subnet. >> >> I use openvswitch as my plugin. A

Re: [Openstack] How to commucation vms in multi nodes using quantum?

2012-10-23 Thread livemoon
> > dan > > p.s. btw, your config looks like its using database polling, which is > not preferred. I'd suggest you use the default config, which uses RPC > communication between agents and the main quantum-server process > > > On Tue, Oct 23, 2012 at 8:44 PM, livemoon

Re: [Openstack] How to commucation vms in multi nodes using quantum?

2012-10-23 Thread livemoon
Thanks Dan On Wed, Oct 24, 2012 at 2:15 PM, Dan Wendlandt wrote: > On Tue, Oct 23, 2012 at 10:56 PM, livemoon wrote: > > Dan: > > Thank you for your help. > > If the server have three nics, which one will be used as port of > "br-int". I > > must kno

Re: [Openstack] How to commucation vms in multi nodes using quantum?

2012-10-24 Thread livemoon
o update the admin guide with the current > configuration details for linuxbridge and openvswitch, and its assigned > to me. I hope to get to this in the next few days. I'll remove the wiki > page, which is also out-if-date, when its complete. > > -Bob > > > > > Dan

[Openstack] How to config nova.conf in controller if I use hyper-v as nova-compute

2012-10-25 Thread livemoon
I have read wiki http://docs.openstack.org/trunk/openstack-compute/admin/content/hyper-v-virtualization-platform.html to install nova-compute and configure in hyper-v. Now I have two question: 1, what about nova.conf in controller if my compute node is running hyper-V, is it the same as running

Re: [Openstack] nova-volumes problem after host reboot

2012-11-10 Thread livemoon
Hi, Ronivon Costa If you use kvm(libvirt), you can logon the compute node. use "virsh list --all" list all your no-running vm. For example, there is an instance name "instance-0001", you cannot reboot using nova command because it attached block disk. You need do: 1. virsh undefine instance-00

[Openstack] How to create or change password when instances started or rebuilded?

2012-11-26 Thread livemoon
I saw there is option "enable_instance_password" in nova.conf in openstack offical doc. But there are no more infomation and how to create password when instances created. I want to know does kvm(libvirt) support this. And how to use it? Another question, I use "nova root-password" in kvm. but i

[Openstack] Cannot access metadata host(169.254.169.254) in folsom

2013-03-04 Thread livemoon
Hi, I am follow http://docs.openstack.org/folsom/basic-install/content/ and set up three nodes folsom. Now I have found my vm cannot get 169.254.169.254 to get cloud-init data. So I check the network node(quantum), using "iptables -L -t nat", I have found: Chain quantum-l3-agent-PREROUTING (1 re

Re: [Openstack] Cannot access metadata host(169.254.169.254) in folsom

2013-03-04 Thread livemoon
izzly, > thanks to Mark's work on integrating metadata into Quantum. Thanks Mark! > > Dan > > > >> -Sylvain >> >> >> Le 04/03/2013 15:29, livemoon a écrit : >> >> Hi, I am follow http://docs.openstack.org/folsom/basic-install/content/and >

Re: [Openstack] Cannot access metadata host(169.254.169.254) in folsom

2013-03-04 Thread livemoon
thanks, I have solved this problem. On Tue, Mar 5, 2013 at 10:09 AM, livemoon wrote: > I followed this installation guide: > http://docs.openstack.org/folsom/basic-install/content/basic-install_intro.html > it is different network configuration between you mention. > > mt cont

Re: [Openstack] VM guest can't access outside world.

2013-03-05 Thread livemoon
Hi, Barrow Kwan. I have the same problem in ubuntu. On Tue, Mar 5, 2013 at 3:37 AM, Barrow Kwan wrote: > Hi, > Thanks Jeff. this is what I got from tcpdump. The target (10.38.1.2 ) > didn't > seem to reply. might be the target ( 10.38.1.2 ) didn't know how to route > the > > packet to 192.16