Re: [openstack-dev] tacker vnf-create is not bringing upalltheinterfaces

2016-08-29 Thread Zhi Chang
tacker vnf-create is not bringing upalltheinterfaces Hello Chang, thanks a lot, this image worked. Could you guide me the same for cirros image. On Mon, Aug 29, 2016 at 2:54 PM, Zhi Chang wrote: OpenWRT image should be enabled first nic's DHCP. -- Origina

Re: [openstack-dev] tacker vnf-create is not bringing up alltheinterfaces

2016-08-29 Thread Zhi Chang
nf-create is not bringing up alltheinterfaces Hi Chang, I am using https://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/openwrt-15.05-x86-kvm_guest-combined-ext4.img.gz image of openWRT. This feature is not working for Cirros either. On Mon, Aug 29, 2016 at 2:25 PM, Zhi Chang wro

Re: [openstack-dev] tacker vnf-create is not bringing up all theinterfaces

2016-08-29 Thread Zhi Chang
Hi, Goyal. What version about your OpenWRT image? You can get OpenWRT image from this: https://drive.google.com/open?id=0B-ruQ8Tx46wSMktKV3JLRWhnLTA Thanks Zhi Chang -- Original -- From: "Abhilash Goyal"; Date: Mon, Aug 29, 2016 0

[openstack-dev] [neutron][dvr]Why keep SNAT centralized and DNAT distributed?

2016-03-25 Thread Zhi Chang
hi all. I have some questions about NAT in DVR. In Neutron, we provide two NAT types. One is SNAT, we can associate a floating ip to router so that all vms attached this router can connect external network. The other NAT types is DNAT, we can connect a vm which associated floating i

[openstack-dev] [neutron][dvr]How to get the relationship of veth pair device?

2016-03-22 Thread Zhi Chang
hi, all. In DVR mode, a veth pair devices were generated when I create a floating ip and associate it to a vm. And one of the pair device in fip namespace, the other one in qrouter namespace. How can I get the relationship between the veth pair device? I know the command "ethtool -

[openstack-dev] Visa Invitation Letter doesn't contain attachment

2016-03-20 Thread Zhi Chang
hi, guys. I received Visa Invitation Letter a few days ago. But the letter doesn't contain attachment. What should I do? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: op

Re: [openstack-dev] [neutron][dvr]What does table 9 used for inbr-tun?

2016-03-18 Thread Zhi Chang
longs local vms. And, two qr interface's mac addresss are fa:16:3e:1b:55:b1 and fa:16:3e:50:66:fd. Flows in br-int are not match what Muller says in his blog. :-( Could you explain it? Thanks Zhi Chang -- Original -- From: "James Denton&quo

[openstack-dev] [neutron][dvr]What does table 9 used for in br-tun?

2016-03-18 Thread Zhi Chang
hi guys. In DVR mode, I have some questions about flows of table 9 in br-tun. I see these flows in br-tun: cookie=0x9a5f42115762fc76, duration=392186.503s, table=9, n_packets=1, n_bytes=90, idle_age=247, hard_age=65534, priority=1,dl_src=fa:16:3f:64:82:2f actions=output:1 cookie=0x9a5f42

Re: [openstack-dev] [neutron]Where did the flows go in ovs bridge?

2016-03-12 Thread Zhi Chang
Which version did you use? Neutron had the issue once. On 2016/03/13 10:54, Zhi Chang wrote: hi, guys. I deployed DVR in my local environment by following this document(https://wiki.openstack.org/wiki/Neutron/DVR). And I

Re: [openstack-dev] [neutron]Where did the flows go in ovs bridge?

2016-03-12 Thread Zhi Chang
tron]Where did the flows go in ovs bridge? Take a look in /var/log/neutron/openvswitch-agent.log, or similar, on the hypervisor. Doug > On Mar 12, 2016, at 6:54 PM, Zhi Chang wrote: > > hi, guys. > > I deployed DVR in my local environment by following this > docu

[openstack-dev] [neutron]Where did the flows go in ovs bridge?

2016-03-12 Thread Zhi Chang
hi, guys. I deployed DVR in my local environment by following this document(https://wiki.openstack.org/wiki/Neutron/DVR). And I have three compute nodes which running DVR l3-agent and two network nodes which running DVR_SNAT l3-agent. I created a vm in one of the computes nodes. An

[openstack-dev] [glance]Why vm boots from the cirros image so slow?

2016-03-09 Thread Zhi Chang
hi guys. There is a question confuses me a long time. I create a vm by using the "cirros" image. Why the vm was so slow? In the VNC console, I see these info says "further output written to /dev/tty0". And the vm hangs a long time. What does the vm doing at that time?? Besides, could someo

Re: [openstack-dev] [neutron][dnsmasq]DNS redirection by dnsmasq

2016-02-16 Thread Zhi Chang
k that maybe we can add "cnames" into subnet's attributes. BTW, I'm not quite understand about "--cname is limited to target names known by dnsmasq itself". Could you give me some explanation about it? Thanks Zhi Chang -- Original

[openstack-dev] [neutron][dnsmasq]DNS redirection by dnsmasq

2016-02-15 Thread Zhi Chang
hi, guys. Most of us know about DNS redirection. I think that we can implement DNS redirection in Neutron. In dnsmasq, there is a option named "--cname"(http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html), we can use this option to implement this function. What about your id

Re: [openstack-dev] [neutron][db]Why can't I see ports whichbelongsrouter's gateway?

2016-02-05 Thread Zhi Chang
ter's gateway? Missing admin role on Your user maybe? http://paste.openstack.org/show/486081/ Jerzy On 05.02.2016 11:57, Zhi Chang wrote: > Hi, thanks for your reply. > > In my db, data is right. But when I run cmd, data is empty. > see: http://paste.opens

Re: [openstack-dev] [neutron][db]Why can't I see ports whichbelongs router's gateway?

2016-02-05 Thread Zhi Chang
Hi, thanks for your reply. In my db, data is right. But when I run cmd, data is empty. see: http://paste.openstack.org/show/486072/ Thanks Zhi Chang -- Original -- From: "Anna Kamyshnikova"; Date: Fri, Feb 5, 2016 06:29 PM To: "OpenSt

[openstack-dev] [neutron][db]Why can't I see ports which belongs router's gateway?

2016-02-05 Thread Zhi Chang
hi, all. Neutron will create a port when setting router gateway to a router. This port's device_owner is "network:router_gateway". And, I can see this port in db. But, why cmd says "Unable to find port with name xxx" when I want to get the detail info about this port? Does there

Re: [openstack-dev] [ironic]Unable to locate configuration file insecond reboot

2015-12-10 Thread Zhi Chang
and Ironic node info at: http://paste.openstack.org/show/481583/ I paste all the info at: http://paste.openstack.org/show/481583/ Could you give some suggestion? Thx Zhi Chang -- Original -- From: "Arun SAG"; Date: Fri, Dec 11, 2015 02:58 PM To: &quo

[openstack-dev] [ironic]Unable to locate configuration file in second reboot

2015-12-10 Thread Zhi Chang
Hi, all Something goes wrong when the vm reboot again. The console outputs: "Unable to locate configuration file. Boot failed: press a key to retry, or wait for reset..." And my tftp.conf like this http://paste.openstack.org/show/481472/ I upload a movie in https://youtu.be/jkt

[openstack-dev] [ironic]Can not login machine by using Ironic

2015-12-09 Thread Zhi Chang
hi, all I have installed Ironic in my devstack. And I create a keypair in nova by using command: nova keypair-add --pub-key ~/.ssh/id_rsa.pub new Next, I boot a vm in nova by using command: nova boot --image [image_id] --flavor [baremetal_id] --nic net-id=[net_id] --key-na

[openstack-dev] [ironic]Can't login machine by using ironic

2015-12-09 Thread Zhi Chang
hi, all I create a keypair in nova. So nova generates a key named "ironic" and I store the data into a file named "key". Then I boot a vm by using command "nova boot --image 9eb9d034-a33b-421d-8c9d-a960597e4101 --flavor 7095f52d-d438-44c3-bdf7-ca5cca3012bd --nic net-id=cf9e60fa-1e62-4af7-af

[openstack-dev] [ironic]Boot physical machine fails, says "PXE-E11 ARP Timeout"

2015-12-09 Thread Zhi Chang
hi, all I treat a normal physical machine as a bare metal machine. The physical machine booted when I run "nova boot xxx" in command line. But there is an error happens. I upload a movie in youtube, link: https://www.youtube.com/watch?v=XZQCNsrkyMI&feature=youtu.be. Could someone give me so

Re: [openstack-dev] [ironic]"No valid host was found" when creatingnode in Ironic

2015-12-07 Thread Zhi Chang
L ADMINISTRATOR -U root -R 12 -N 5 -f /tmp/tmpboxKdA power status". And log says "Unable to establish IPMI v2 / RMCP+ session unable to get chassis power status". But this command runs well in shell after I input the password of IPMI. Could you tell me what's wrong with th

[openstack-dev] [ironic]"No valid host was found" when creating node in Ironic

2015-12-07 Thread Zhi Chang
Hi, all I install devstack with Ironic in physical machine. And I want to deploy a another physical machine which IPMI info is "username:root password:12345 ip_address: 192.168.0.100". I use this command "ironic node-create -c d5f2dee1-f5bc-409e-a9be-a3ae5c392cfa -d ipmi_tool -p ipmi_usernam

[openstack-dev] [ironic]How to deploy bare metal physical machines by using Ironic?

2015-12-03 Thread Zhi Chang
Hi, all I have installed Ironic in my devstack a few days ago. And everything goes okay. Now, I want to deploy bare metal physical machines by using Ironic. But I find no documentation about how to deploy physical machines by using Ironic. Could someone give me some advice? Thank you Zhi C

[openstack-dev] [ironic]Create vm fails when using IronicDriver

2015-12-01 Thread Zhi Chang
hi, all I install Ironic in my devstack by following the document http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html. But I meet a problem now. Create a vm fail by nova by using IronicDriver. My nova.conf like this: ./nova.conf:scheduler_host_manager = nova.scheduler.ironic

Re: [openstack-dev] [ironic] Install Time Too Long Ironic indevstack

2015-12-01 Thread Zhi Chang
ck/lib/ironic:725:die 2015-12-01 10:06:35.604 | [ERROR] /opt/stack/devstack/lib/ironic:725 server didn't become ssh-able! 2015-12-01 10:06:36.607 | Error on exit Could you give some advice? Thx Zhi Chang -- Original -- From: "Pavlo Shchelo

[openstack-dev] [ironic] Install Time Too Long Ironic in devstack

2015-11-30 Thread Zhi Chang
hi, all I want to install Ironic in my devstack by the document http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html. During the install process, my console displays: 2015-12-01 07:08:44.390 | + PACKAGES= 2015-12-01 07:08:44.391 | ++ find /tmp/in_target.d/install.d -maxdepth 1 -

Re: [openstack-dev] [Neutron][db][migration] Neutron db migrationby python scripts

2015-11-03 Thread Zhi Chang
hat changes do you want to do in migration expand - add something, contract - delete or modify. More information - http://docs.openstack.org/developer/neutron/devref/alembic_migrations.html On Tue, Nov 3, 2015 at 1:52 PM, Zhi Chang wrote: Hi, all Now, I should make some database model de

[openstack-dev] [Neutron][db][migration] Neutron db migration by python scripts

2015-11-03 Thread Zhi Chang
Hi, all Now, I should make some database model definitions if I want to upgrade db. And a database migration script will generated when I run "neutron-db-manage revision -m "description of revision" --autogenerate". The database will upgraded when run "neutron-db-manage upgrade head". I

[openstack-dev] [Neutron][Metering]How does metering agent work to calc traffic?

2015-10-19 Thread Zhi Chang
Hi, all In order to calc bandwidth, how does metering agent work? For example, how does iptables looks like if I have a floating ip? I find some instructions about metering agent in https://wiki.openstack.org/wiki/Neutron/Metering/Bandwidth. And there is iptables picture, but it is not clea

Re: [openstack-dev] [Neutron][dns]What the meaning of"dns_assignment" and "dns_name"?

2015-10-13 Thread Zhi Chang
8.191" comes from. I think this address is a public DNS, just like 8.8.8.8. Does it right? (7). I can dig "my-instance.my-example.org." by a public DNS. And the result is the floating IP. Does my understanding was right? Hope For Your Reply. Thanks Zhi Chang --

[openstack-dev] [Neutron][dns]What the meaning of "dns_assignment" and "dns_name"?

2015-10-13 Thread Zhi Chang
Hi, all I install the latest devstack and create a vm by nova. I get the port's info which created by Neutron. I'm confused that what the meaning of column "dns_assignment" and column "dns_name". First, column "dns_assignment" is a read-only attribute. What is it used for? I think that t

Re: [openstack-dev] [Neutron][db]Neutron db revision fails

2015-10-12 Thread Zhi Chang
be found for logger "neutron.quota" INFO [alembic.runtime.migration] Context impl MySQLImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. OK Where is the new migration script? Thx Zhi Chang -- Original -- From: "Anna Kamyshniko

Re: [openstack-dev] [Neutron][db]Neutron db revision fails

2015-10-11 Thread Zhi Chang
Thanks for your reply. What should I do if I want to create a new migration script? Thanks Zhi Chang -- Original -- From: "Vikram Choudhary"; Date: Mon, Oct 12, 2015 12:22 PM To: "OpenStack Development Mailing List (not for usage questio

[openstack-dev] [Neutron][db]Neutron db revision fails

2015-10-11 Thread Zhi Chang
Hi, everyone. I install a devstack from the latest code. But there is an error when I create a db migration script. My migration shell is: "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini revision -m "Just For Test"" The error

[openstack-dev] [Neutron]Add dns and dhcp log into DHCP agent

2015-07-22 Thread Zhi Chang
hi, all I have a patch which is add dns and dhcp log into DHCP agent. Patch: https://review.openstack.org/#/c/202855. My point is put this log into dnsmasq process (/opt/stack/data/neutron/dhcp//dhcp_dns_log) folder. How does the patch? Please reivew it thx Zhi Chang___

Re: [openstack-dev] [Neutron]Unit test failed but devstack was okay

2015-07-20 Thread Zhi Chang
Thanks for Sridhar. I separate the code by your comments. It can resolve this problem. ;-D Thanks Zhi Chang -- Original -- From: "Sridhar Gaddam"; Date: Mon, Jul 20, 2015 05:16 PM To: "OpenStack Development Mailing List (not for u

[openstack-dev] [Neutron]Unit test failed but devstack was okay

2015-07-19 Thread Zhi Chang
Hi, all. I write a unit test in devstack and runs all tests okay on my environment. Why does Jenkins failed when I upload my patch into review? The patch is https://review.openstack.org/#/c/199588/. The failed test was named "neutron.tests.unit.plugins.embrane.test_embrane_neutron_plugin.Tes

Re: [openstack-dev] [Neutron]Subnet's dns nameserver doesn'torderby input

2015-07-06 Thread Zhi Chang
(not for usage questions)"; Subject: Re: [openstack-dev] [Neutron]Subnet's dns nameserver doesn'torderby input hi, Zhi Chang, this link: #https://bugs.launchpad.net/neutron/+bug/1218629 is ok. At 2015-07-06 17:13:12, "Zhi Chang" wrote: Thanks for your reply. Could

Re: [openstack-dev] [Neutron]Subnet's dns nameserver doesn't orderby input

2015-07-06 Thread Zhi Chang
Thanks for your reply. Could you send the html link again? This does maybe doesn't exist. Thx Zhi Chang -- Original -- From: "Oleg Bondarev"; Date: Mon, Jul 6, 2015 04:50 PM To: "OpenStack Development Mailing List (not for usage qu

[openstack-dev] [Neutron]Subnet's dns nameserver doesn't order by input

2015-07-06 Thread Zhi Chang
Hi, all Subnet's nameserver is out of order. That is to say, cmd "neutron subnet-update [subnet-id] dns_nameservers list=true 1.2.3.4 5.6.7.8" and "neutron subnet-update [subnet-id] dns_nameservers list=true 5.6.7.8 1.2.3.4" is same. I think that we often have two or more dns nameser

Re: [openstack-dev] [VPNaas]How to load kernel module with IPSec?

2015-06-29 Thread Zhi Chang
Hi, thanks for you reply. My OS is CentOS 6.5 and doing an OpenStack install, and my OpenStack verison is I. Regards, Zhi Chang -- Original -- From: "Paul Michali"; Date: Mon, Jun 29, 2015 06:37 PM To: "OpenStack Development Mailing List

[openstack-dev] [VPNaas]How to load kernel module with IPSec?

2015-06-29 Thread Zhi Chang
Hi, all I have some questions about how to load kernel module of IPSec. I'm using Openswan to build VPNaas and there is a error message says "no kernel code presently loaded" when I run "ipsec verify". My solution is running "service ipsec start" on host to load kernel module. Everything goe