[Openstack] About glance API v2.0 spec

2012-07-12 Thread Yong Sheng Gong
Hi, Who can tell me where glance API v2.0 spec is?ThanksYong Sheng Gong ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.ne

[Openstack] Fwd: [Quantum] Public Network spec proposal

2012-07-12 Thread Yong Sheng Gong
If we just use one flag, it can represent just two values True or False. If we want to represent three values True, False or not specified, we have to use --public True or --public False or nothing at all.So it is a three-values logic.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wr

Re: [Openstack] help me with the xenapi test

2012-07-02 Thread Yong Sheng Gong
Many thanks for the findings.The Jenkins pass now.I removed the setAttr(FLAGS, 'injected', True)-Salvatore Orlando wrote: -----To: Yong Sheng Gong/China/IBM@IBMCNFrom: Salvatore Orlando Date: 07/03/2012 06:29AMCc: "openstack@lists.launchpad.net" Subject: Re: [Opensta

Re: [Openstack] help me with the xenapi test

2012-07-02 Thread Yong Sheng Gong
But I think we should make our test cases environment agnostic.I mean we can set the injected into False since our test cases can fail if it is True.Forget it if I don't get the point.ThanksYong Sheng Gong-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: "openstack@list

[Openstack] help me with the xenapi test

2012-07-02 Thread Yong Sheng Gong
hi,In my change at https://review.openstack.org/#/c/8916/, some xenapi tests alway fail:>>><<< nova.tests.test_xenapi.XenAPIMigrateInstance.test_finish_migrate Loading...10 sec1>>><<< nova.tests.test_xenapi.XenAPIMigrateInstance.test_finish_migrate_no_local_storage Loading...10 sec1>>><<< nova.tes

[Openstack] how to add python-quantumclient dependency into nova/tools/test-requires

2012-06-27 Thread Yong Sheng Gong
Hi,I am implementing the nova network api call to quantum API 2.0.  The new nova network api for quantum will use python-quantumclient to call Quantum API 2.0.The test cases need add python-quantumclient dependency into nova/tools/tests-requires.Who can tell me how to write?ThanksYong Sheng Gong

Re: [Openstack] Development/Debugging

2012-06-12 Thread Yong Sheng Gong
pydev?http://wiki.openstack.org/Setup%20keystone%20in%20Eclipse-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: hitesh wadekar From: Nachi Ueno Sent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 06/12/2012 01:45PMCc: Salman Malik , "openstack@lists.l

Re: [Openstack] [Netstack] [Quantum] Review days for Quantum core devs

2012-06-11 Thread Yong Sheng Gong
+1-netstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: openstack@lists.launchpad.netFrom: Salvatore Orlando Sent by: netstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 06/11/2012 05:26PMCc: netst...@lists.launchpad.netSubject: [Netstack] [Quantum] Review days for

[Openstack] Where is the blueprint move nova.rpc into openstack.common.rpc if any?

2012-05-23 Thread Yong Sheng Gong
Hi,I remember there are discussions about this action. But I don't know where the bluteprint is.Do we have a such blueprint?ThanksYong Sheng Gong ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe

Re: [Openstack] dhcp snat

2012-05-23 Thread Yong Sheng Gong
As far as I know, OpenStack snated just one network specified by: fixed_range=10.0.0.0/24 in nova/nova.conf. It is done when the nova-network starts.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: openstack@lists.launchpad.netFrom: William Herry Sent by: openstack-bou

Re: [Openstack] [Netstack] nova+quantum vm does bind ip

2012-05-18 Thread Yong Sheng Gong
s Yi PS: my nova.conf files are attached. -- Mailing list: https://launchpad.net/~netstackPost to     : netst...@lists.launchpad.netUnsubscribe : https://launchpad.net/~netstackMore help   : https://help.launchpad.net/ListHelp[attachment "nova.conf.server" removed b

[Openstack] About openstack common client

2012-05-17 Thread Yong Sheng Gong
Hi,I just want to ask about the relationship among openstackclient https://launchpad.net/python-openstackclient and other clients.Will openstackclient replace other clients ( such as quantum client, keystone client, nova client, xx) or just a supplement?by now, the openstackclient is calling codes

Re: [Openstack] Understanding Integration Bridge and MACs

2012-05-14 Thread Yong Sheng Gong
Hi,You observation is right. We keep different parts of quantum network info in  nova db and quantum db. Quantum client just removes record in quantum db, while nova-manage network way will removes record in nova db, after that it will call quantum server's api to delete record in quantum. As far

Re: [Openstack] Problem with attaching disks to an instance

2012-05-14 Thread Yong Sheng Gong
Hi,consider to change catalog.RegionOne.volume.publicURL = http://volumenode:8776/v1/$(tenant_id)scatalog.RegionOne.volume.adminURL = http://volumenode:8776/v1/$(tenant_id)scatalog.RegionOne.volume.internalURL = http://v:8776/v1/$(tenant_id)scatalog.RegionOne.volume.name = Volume ServiceIt seems yo

Re: [Openstack] [Netstack] Want to start Keystone support for Quantum Client

2012-05-14 Thread Yong Sheng Gong
wrote:> On Sat, 2012-05-12 at 07:21 +0800, Yong Sheng Gong wrote:> > Hi,> > I want to start a blueprint to implement the "Keystone support for> > Quantum Client" listed in http://wiki.openstack.org/QuantumStarterBugs> > > I would recommend helpi

Re: [Openstack] Accessing VMs in Flat DHCP mode with multiple host

2012-05-10 Thread Yong Sheng Gong
HI,First you have to make sure the network between your control node's br100 and your compute node's br100 are connected. and then can you show the output on control node:ps -ef | grep dnsmasqbrctl showifconfig2. can you login to your vm by vnc to see the eth0 configuration and then try to run udhc

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

2012-05-10 Thread Yong Sheng Gong
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.netDate: 05/10/2012 06:29PMCc: openstack@lists.launchpad.netSubject: Re: [Openstack]

Re: [Openstack] Instance unreachable

2012-05-07 Thread Yong Sheng Gong
find way to login to that VM to check if it has got wanted ip. If not, run sudo udhcp.. I forgot that exact command name.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: ghassen ben hamida , "openstack@lists.launchpad.net" From: "Vaze, Mandar" Sent by: openstack-bounces

Re: [Openstack] questions about IP addressing and network config

2012-05-07 Thread Yong Sheng Gong
Thanks-Jimmy Tsai wrote: -To: Yong Sheng Gong/China/IBM@IBMCNFrom: Jimmy Tsai Date: 05/05/2012 01:13AMCc: Mike Scherbakov , openstack@lists.launchpad.netSubject: Re: [Openstack] questions about IP addressing and network configI find the way to change the nova-base rule, use the command

Re: [Openstack] [nova-scheduler] Question

2012-05-07 Thread Yong Sheng Gong
hi,see my blog post: https://www.ibm.com/developerworks/mydeveloperworks/blogs/e93514d3-c4f0-4aa0-8844-497f370090f5/entry/openstack_nova_scheduler_and_its_algorithm27?lang=enyou will have a good understand of the nova scheduler.enjoy it.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net

Re: [Openstack] questions about IP addressing and network config

2012-05-02 Thread Yong Sheng Gong
It seems change https://review.openstack.org/#/c/6569/ can help. Please see how it add a new configuration item to remove some filters.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Mike Scherbakov From: Jimmy Tsai Sent by: openstack-bounces+gongysh=cn.ibm@lists.l

Re: [Openstack] Error in scheduler when create a new instance.

2012-04-27 Thread Yong Sheng Gong
d       free     shared    buffers     cachedMem:          3951       2121       2830          0        168       160-/+ buffers/cache:        792       3159 Swap:         1951          0       1951On Fri, Apr 27, 2012 at 8:11 PM, Yong Sheng Gong <gong...@cn.ibm.com> wrote: how much free ram le

Re: [Openstack] Error in scheduler when create a new instance.

2012-04-27 Thread Yong Sheng Gong
how much free ram left on your compute node?-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Flavia Missi From: Rogerio Goncalves Sent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 04/28/2012 04:43AMCc: openstack@lists.launchpad.netSubject: Re: [Open

Re: [Openstack] Networking Issue (of newly launched instance)

2012-04-15 Thread Yong Sheng Gong
: -To: Yong Sheng Gong/China/IBM@IBMCNFrom: Salman Malik Date: 04/16/2012 07:55AMCc: Subject: RE: [Openstack] Networking Issue (of newly launched instance) Thanks Sheng. I think you are right. But how to resolve the issue ?Subject: Re: [Openstack] Networking Issue (of newly launched instance)From

Re: [Openstack] Networking Issue (of newly launched instance)

2012-04-15 Thread Yong Sheng Gong
I think the dhcp message is intercepted by your host's dhcp server.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: From: Salman Malik Sent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 04/16/2012 12:30AMSubject: [Openstack] Networking Issue (of newl

Re: [Openstack] problem with devstack multinode installation, service list

2012-04-15 Thread Yong Sheng Gong
As far as I know, the dashboard service list is from catalog/endpoint feature of keystone. They are not same as ones listed by nova-manage service command.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: openstack@lists.launchpad.netFrom: yuanke wei Sent by: openstack-b

Re: [Openstack] Essex, horizon, floating ip pool and compute node

2012-04-15 Thread Yong Sheng Gong
My two centsI think that depends on who is the customer. Is the one who will use the instance the customer or is the one who can launch the instance the customer?If we need customer be able to launch the instance and config it, we need more work on dashboard.-openstack-bounces+gongysh=cn.ibm...

Re: [Openstack] Endpoints problems

2012-04-12 Thread Yong Sheng Gong
Here is one sample keystone default_catalog.templates which defines some services. In fact I think for SQL, we need use keystone client to add them into SQL DB.# config for TemplatedCatalog, using camelCase because I don't want to do# translations for keystone compatcatalog.RegionOne.identity.publi

Re: [Openstack] How to setup vncproxy with ubuntu precise package?

2012-04-12 Thread Yong Sheng Gong
Hi, please see if following text can help. To enable vnc console access VMs started by OpenStack, we need many components to collaborate. Components on control node nova-api, which is API server of OpenStack nova-consoleauth, which is used to authorize vnc client no

Re: [Openstack] Endpoints problems

2012-04-12 Thread Yong Sheng Gong
Maybe, here some codes are worth thouhands of words:keystone.catalog.backends.sql.Catalog:   def get_catalog(self, user_id, tenant_id, metadata=None):    d = dict(CONF.iteritems())    d.update({'tenant_id': tenant_id,  'user_id': user_id})    catalog = {}    endpoint

Re: [Openstack] What is the correct config for vnc or novnctosuccessfully enable VNC CONSOLE in a browser?

2012-04-09 Thread Yong Sheng Gong
I think--vncserver_listen must be one of the ips of compute-node.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: "Anthony Young" From: ".。o 0 O泡泡" <501640...@qq.com>Sent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 04/09/2012 06:16PMCc: openstack S

Re: [Openstack] What is the correct config for vnc or novnc tosuccessfully enable VNC CONSOLE in a browser?

2012-04-09 Thread Yong Sheng Gong
About configuration items in nova.conf #read by nova-compute to compose vnc-console URL # for novnc novncproxy_base_url=http://controlnode:6080/vnc_auto.html # for xvpvnc xvpvncproxy_base_url=http://controlnode:6081/console #read by nova-compute to ins

Re: [Openstack] Client debugs??

2012-04-04 Thread Yong Sheng Gong
I think it supports --debug.look at shell commands below.[root@robinlinux gongys]# keystone  user-list+--+-+---+---+|    id    | enabled |   email   |  name |+--+-+---

Re: [Openstack] Instance fails to spawn when instance_path is nfs mounted

2012-04-04 Thread Yong Sheng Gong
Are you sure your libvirtd will start /usr/bin/kvm with libvirtd group?In default, the /usr/bin/kvm is running with libvirt-qemu like user (that depends on how it is built). you can try to check it by running "ps -ef" to see the effective user and group id after starting a VM in your way.-opens

Re: [Openstack] Instance fails to spawn when instance_path is nfs mounted

2012-04-04 Thread Yong Sheng Gong
Please have a look at my experience to see if it can help.Thanks-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Razique Mahroua From: Yong Sheng Gong/China/IBM@IBMCNSent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 03/29/2012 07:39PMCc: "open

Re: [Openstack] Looking for complete keystone endpoint-create example

2012-04-02 Thread Yong Sheng Gong
I think devstack is still using tempalte catalogdevstack/files/keystone.conf[catalog]driver = keystone.catalog.backends.templated.TemplatedCatalogtemplate_file = %KEYSTONE_DIR%/etc/default_catalog.templatesThese are my commands, you can add for other service:keystone service-create --name "Identity

Re: [Openstack] question about keystone and dashboard on RHEL6

2012-04-02 Thread Yong Sheng Gong
try this:http://wiki.openstack.org/NovaInstall/RHEL6Notes-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: openstack From: Xin Zhao Sent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 04/03/2012 03:09AMSubject: [Openstack] question about keystone and d

Re: [Openstack] HELP: create VM failure

2012-04-01 Thread Yong Sheng Gong
I am also using ubuntu vm under vmware. I can run this command.check if you enabled the virtual Intel Vt-x/EPT or AMD-V/RVI on Vm setting of this vmware vm.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Leander Bessa From: Sam Su Sent by: openstack-bounces+gongysh=cn.

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

2012-03-31 Thread Yong Sheng Gong
nova-manager project list should output nothing as expected.Try to run:nova-manager flavor listnova-manager network create|ist-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Martin Gerhard Loschwitz From: Shake Chen Sent by: openstack-bounces+gongysh=cn.ibm@lists.l

Re: [Openstack] Code 500 when authenticating with password

2012-03-30 Thread Yong Sheng Gong
First:Make sure you have not set SERVICE_TOKEN and SERVICE_ENDPOINT env since keystone client honours token auth over user/password way.Second: you can use keystone --debug user-list to show what http message sent to serveralso you can see the request body from server log, just like this:2012-03-31

Re: [Openstack] KVM cannot start vm when the disk is on NFS

2012-03-29 Thread Yong Sheng Gong
quot;# The group ID for QEMU processes run by the system instance.group = "root"after restarting libvirt-bin, nova-compute can provision vm from the images on NFS share dir now.-Razique Mahroua wrote: -To: Yong Sheng Gong/China/IBM@IBMCNFrom: Razique Mahroua Date: 03/29/2012 0

[Openstack] KVM cannot start vm when the disk is on NFS

2012-03-29 Thread Yong Sheng Gong
I have to run chmod 777 /var/lib/nova/instances/instance-0007 to start the vm on kvm. Appreciate any help from stackers. HostA ( 192.168.1.90): redhat 6.1 nfs4/etc/exports:/var/lib/nova/instances 192.168.1.0/24(rw,sync,fsid=0,no_root_squash)/etc/idmapd:[General]Domain = openstack#service nfs re

Re: [Openstack] problem ssh-ing into vms

2012-03-28 Thread Yong Sheng Gong
http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-openstack-compute-basics.html#configuring-multiple-compute-nodes:If you want to use the 10.04 Ubuntu Enterprise Cloud images that are readily available at http://uec-images.ubuntu.com/releases/10.04/release/, you may run in

Re: [Openstack] problem ssh-ing into vms

2012-03-28 Thread Yong Sheng Gong
It seems iptables or some other similar software  are no running on your host. openstack relies on it to translate 169.254.169.254 to host address.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Pierre Amadio From: Scott Moser Sent by: openstack-bounces+gongysh=cn.ibm.

Re: [Openstack] what's the default username&password for the instance in devstack?

2012-03-28 Thread Yong Sheng Gong
go to the instance's vnc console, it is printed there just before the login: prompt. if you don't know how to get to the console on dashboard UI, just use the virt-manager to access the vnc console of the instance.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Chmouel

Re: [Openstack] Can't delete instances with "error" status.

2012-03-21 Thread Yong Sheng Gong
why not allow "nova delete" and "euca-terminate " to delete the instance with "error" status?Yong Sheng Gong-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Guilherme Birk , Openstack Mail List From: Mandar Vaze Sent by: op