[Openstack] grizzly nova+quantum+gre cannot ping instance after nova boot

2013-04-23 Thread Ajiva Fan
i'm following this guide https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide if i launch an instance from horizon, i can using ip netns exec qrouter-xxx ping xxx to ping that instance and ssh to it, and access external network, everything seems fine, at least from my view. **However, i

Re: [Openstack] [nova-network] add-network-to-project

2013-03-29 Thread Ajiva Fan
isn't needed. > > Another option would be to modify the code you mentioned to allow a > workaround: > > if (context and not context.is_admin and project_id and (project_id != > context.project_id)): > > Vish > > On Mar 28, 2013, at 1:46 AM, Ajiva Fan wrote: > >

Re: [Openstack] [nova-network] add-network-to-project

2013-03-28 Thread Ajiva Fan
t; Another option would be to modify the code you mentioned to allow a > workaround: > > if (context and not context.is_admin and project_id and (project_id != > context.project_id)): > > Vish > > On Mar 28, 2013, at 1:46 AM, Ajiva Fan wrote: > > hello everyone: > > i have

Re: [Openstack] [nova-network] add-network-to-project

2013-03-28 Thread Ajiva Fan
> > > On Mar 28, 2013, at 3:46 AM, Ajiva Fan wrote: > > hello everyone: > > i have a very simple question which confuses me for a long time: > how should i add a network to a project via rest api? > > 1) i'm admin of the whole cloud env essex, (i think the folsom

[Openstack] [nova-network] add-network-to-project

2013-03-28 Thread Ajiva Fan
hello everyone: i have a very simple question which confuses me for a long time: how should i add a network to a project via rest api? 1) i'm admin of the whole cloud env essex, (i think the folsom is same in this case) 2) using nova-network:vlan (if using flatdhcp, the associate action is meanle

Re: [Openstack] Network configuration on compute node

2013-02-27 Thread Ajiva Fan
the output of `#brclt show` shows that your br100 is not bridged on any nic and the output of `ifconfig` shows that your br100 get no ipv4 addr br100 plays roles of: 1) gateway 2) dhcp server 3) dns server so since your br100 is not created correctly, i think the vm will not get an ip trough dhcp

Re: [Openstack] [essex vlan]cannot ping vm on other compute node

2013-02-27 Thread Ajiva Fan
thank you, Kevin S, and also thanks George i did this command in the beginning of the time when i meet this problem, and it failed because """sw-31(config)#vlan 105 VTP VLAN configuration not allowed when device is in CLIENT mode.""" meanwhile i'm guided to a wrong way by our network administrator

Re: [Openstack] [essex vlan]cannot ping vm on other compute node

2013-02-27 Thread Ajiva Fan
you apply on a trunk > port. So perhaps you might want to put all your ports in trunk mode > and use the vlan range defined in nova.conf as allowed vlan list. > > Salvatore > > On 27 February 2013 10:18, Ajiva Fan wrote: >> thank you very much. >> >> actullaly, i

Re: [Openstack] [essex vlan]cannot ping vm on other compute node

2013-02-27 Thread Ajiva Fan
n 1-4094 > interface gigbbit 0/23 > switchport mode trunk > switchport trunk encapsulation dot1q > switchport trunk allowed vlan 1-4094 > > > > On Wed, Feb 27, 2013 at 12:02 AM, Ajiva Fan wrote: >> >> since i notice that in switcher: >> sw-31>show

Re: [Openstack] [essex vlan]cannot ping vm on other compute node

2013-02-27 Thread Ajiva Fan
since i notice that in switcher: sw-31>show interface fastEthernet 0/22 trunk PortMode Encapsulation StatusNative vlan Fa0/22 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/22 1-4094 PortVlans allowed and active in mana

Re: [Openstack] [essex vlan]cannot ping vm on other compute node

2013-02-26 Thread Ajiva Fan
thank you for your help i guess you point a way to figure out whether the switcher is working correctly or not after i add a vlan 5 to eth1 and an ip addr to it, the switcher works fine, ping get reply so the switch trunk port seems no problem but br105 got a 10.0.12.{4,6}/24 as well, and also v

[Openstack] [essex vlan]cannot ping vm on other compute node

2013-02-26 Thread Ajiva Fan
greeting, stackers i deploy essex with flatdhcp, it works for a long time, but currently i want to use vlan network, so i deploy a new environment everything is same as the previous one, just use vlan network. here is the probelm: i cannot ping vm on other compute node control node (all-in-one)

[Openstack] how to get version information

2013-01-28 Thread Ajiva Fan
hello everyone, i'm wondering if there is any rest api for componnets' version info. i read the http://api.openstack.org/api-ref.html and find: 1) keystone truly have a rest api for version info: # curl http://127.0.0.1:5000/v2.0/ {"version": {"status": "beta", "updated": "2011-11-19T00:00:00Z",..

Re: [Openstack] Multinic issue (essex)

2013-01-23 Thread Ajiva Fan
hello I'm trying to use multi nics in essex, but it get an error: ERROR: NoNetworksFound: No networks defined. (HTTP 400) and this link https://bugs.launchpad.net/nova/+bug/953426 says that essex currently not enable specific nics. and i tried to use that patch in essex but failed. I'm wondering

[Openstack] [glance] how to export snapshot to local file system

2013-01-17 Thread Ajiva Fan
dear all, i have deployed openstack essex on ubuntu 12.04 precise, there are some instances running for couple of days now the server becomes unstable, so i want to save my instances' snapshot to remote file system in order to use them in a new environment. i find that there is no such command in

Re: [Openstack] Help with Glance

2013-01-16 Thread Ajiva Fan
"My glance version is 2012.1.1" i think command like the following way may solve your problem: # glance add is_public=true name="Ubuntu 12.04 UEC" container_format= ovf disk_format=qcow2 < precise-server-cloudimg-amd64.img use "# glance help" to get more details good luck On 1/16/13, JuanFra Ro

Re: [Openstack] What's the function of devstack?

2013-01-16 Thread Ajiva Fan
a gui like ubuntu installation interface can be provided by dialog which devstack currently doesn't use, devstack just generates plain console output On 1/16/13, Wojciech Dec wrote: > Hi, > > devstack is a scripted (aka using a pre-canned config) openstack setup > using (generally latest) opensta

Re: [Openstack] moving cloud controller to another IP network

2012-12-19 Thread Ajiva Fan
in my situation, endpoint is saved in /etc/keystone/default_templates and ip address is replaced by localhost. i think it is better to use hostname instead of real ip address if you may often change ip network, when you have to change, just modify the /etc/hosts am i right? ___