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

2016-08-29 Thread Zhi Chang
tions)"<openstack-dev@lists.openstack.org>; Subject: Re: [openstack-dev] 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 <chang...@unitedsta

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

2016-08-29 Thread Zhi Chang
for Cirros either. On Mon, Aug 29, 2016 at 2:25 PM, Zhi Chang <chang...@unitedstack.com> wrote: 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 -

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"<abhilashgoy...@gmail.com>; Da

[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

[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:

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

2016-03-19 Thread Zhi Chang
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"<james.

[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

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

2016-03-12 Thread Zhi Chang
t: Re: [openstack-dev] [neutron]Where did the flows go in ovs bridge? 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 followi

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

2016-03-12 Thread Zhi Chang
stack-dev@lists.openstack.org>; Subject: Re: [openstack-dev] [neutron]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 <chang...@unitedstack.com> wrote: >

[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.

[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

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

2016-02-16 Thread Zhi Chang
t 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 -- From: &qu

[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

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"<akamyshnik...@mirantis.com>; Date: Fri, Feb

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

2016-02-05 Thread Zhi Chang
[openstack-dev] [neutron][db]Why can't I see ports whichbelongsrouter'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 w

[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

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"<saga...@gmail.com>; Date: Fri, Dec

[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=youtu.be. Could someone give me some

[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]

[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

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 the Iro

[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

[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

[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 =

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

2015-12-01 Thread Zhi Chang
: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 Shchelokovskyy"<pshchelokovs...@mirantis.com

[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

[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".

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

2015-11-03 Thread Zhi Chang
vision -m 'desc' --expand/--contract" depends in what 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 <cha

[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

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

2015-10-14 Thread Zhi Chang
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 -- Original ---

[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

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 Kamys

[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

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"<viks...@gmail.com>; Date: Mon, Oct 12, 2015 12:22 PM To: "OpenStack Development Mailin

[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/network-id/dhcp_dns_log) folder. How does the patch? Please reivew it thx Zhi

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

2015-07-20 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

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 Gaddamsgad...@redhat.com; Date: Mon, Jul 20, 2015 05:16 PM To: OpenStack Development Mailing List (not for usage

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

2015-07-06 Thread Zhi Chang
(not for usage questions)openstack-dev@lists.openstack.org; 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 chang...@unitedstack.com

[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

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 Bondarevobonda...@mirantis.com; Date: Mon, Jul 6, 2015 04:50 PM To: OpenStack Development Mailing List (not for usage

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 Michalip...@michali.net; 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 goes