Re: [openstack-dev] tacker vnf-create is not bringing upalltheinterfaces
My cirros image works ok. What version about your cirros image? -- Original -- From: "Abhilash Goyal"; Date: Mon, Aug 29, 2016 06:43 PM To: "OpenStack Development Mailing List (not for usage questions)"; 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 wrote: OpenWRT image should be enabled first nic's DHCP. -- Original -- From: "Abhilash Goyal"; Date: Mon, Aug 29, 2016 05:35 PM To: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] tacker vnf-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 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 -- Original -- From: "Abhilash Goyal"; Date: Mon, Aug 29, 2016 05:18 PM To: "openstack-dev"; Subject: [openstack-dev] tacker vnf-create is not bringing up all theinterfaces [Tacker]Hello team, I am trying to make an OpenWRT VNF through tacker using this vnf-d. VNF is spawning successfully, but expected VNF should have 3 connecting points with first one in management network, but this is not happening. It is getting up with default network configuration because of this, IPs are not getting assigned to it automatically. Guidance would be appreciated. -- Abhilash Goyal __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Abhilash Goyal __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Abhilash Goyal__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] tacker vnf-create is not bringing up alltheinterfaces
OpenWRT image should be enabled first nic's DHCP. -- Original -- From: "Abhilash Goyal"; Date: Mon, Aug 29, 2016 05:35 PM To: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] tacker vnf-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 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 -- Original -- From: "Abhilash Goyal"; Date: Mon, Aug 29, 2016 05:18 PM To: "openstack-dev"; Subject: [openstack-dev] tacker vnf-create is not bringing up all theinterfaces [Tacker]Hello team, I am trying to make an OpenWRT VNF through tacker using this vnf-d. VNF is spawning successfully, but expected VNF should have 3 connecting points with first one in management network, but this is not happening. It is getting up with default network configuration because of this, IPs are not getting assigned to it automatically. Guidance would be appreciated. -- Abhilash Goyal __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Abhilash Goyal__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] tacker vnf-create is not bringing up all theinterfaces
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 05:18 PM To: "openstack-dev"; Subject: [openstack-dev] tacker vnf-create is not bringing up all theinterfaces [Tacker]Hello team, I am trying to make an OpenWRT VNF through tacker using this vnf-d. VNF is spawning successfully, but expected VNF should have 3 connecting points with first one in management network, but this is not happening. It is getting up with default network configuration because of this, IPs are not getting assigned to it automatically. Guidance would be appreciated. -- Abhilash Goyal__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [neutron][dvr]Why keep SNAT centralized and DNAT distributed?
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 ip from external network. Question A, Why keep SNAT centralized? We put the SNAT namespace in compute node which running DVR l3 agent, don't we? Question B, Why keep DNAT distributed? I think we can keep snat namespace and fip namespace in one node. Why not keep DNAT and SNAT together? Thanks Zhi CHang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [neutron][dvr]How to get the relationship of veth pair device?
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 -S [device_name]" can get peer interface index. But if this interface in namepsace, how do I do? BTW, what's the meaning of "rfp" and "fpr"? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Visa Invitation Letter doesn't contain attachment
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: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [neutron][dvr]What does table 9 used for inbr-tun?
Thanks for your help. I still have a question about flows in br-int. In Muller's blog, he says "the source MAC is replaced from the remote machine’s host MAC to that VM’s gateway MAC." But in my local environment, the flows is " table=1, n_packets=0, n_bytes=0, idle_age=10144, priority=4,dl_vlan=1,dl_dst=fa:16:3e:1b:55:b1 actions=strip_vlan,mod_dl_src:fa:16:3e:50:66:fd,output:27 table=1, n_packets=0, n_bytes=0, idle_age=10130, priority=4,dl_vlan=2,dl_dst=fa:16:3e:50:66:fd actions=strip_vlan,mod_dl_src:fa:16:3e:50:66:fd,output:28 " Port 27 and 28 belongs 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"; Date: Sat, Mar 19, 2016 12:51 PM To: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] [neutron][dvr]What does table 9 used for inbr-tun? Err… correction. Each host has a unique MAC, not each router. Sorry! http://assafmuller.com/2015/04/15/distributed-virtual-routing-overview-and-eastwest-routing/ James From: James Denton Reply-To: "OpenStack Development Mailing List (not for usage questions)" Date: Friday, March 18, 2016 at 11:47 PM To: "OpenStack Development Mailing List (not for usage questions)" Subject: Re: [openstack-dev] [neutron][dvr]What does table 9 used for in br-tun? Each DVR router has a unique MAC address that can be found in the Neutron DB in the dvr_host_macs table. Those will MACs will likely match what’s in the flow rules there. This presentation from the Paris summit (Page 19-20) breaks it down in some detail. https://www.openstack.org/assets/presentation-media/Openstack-kilo-summit-DVR-Architecture-20141030-Master-submitted-to-openstack.pdf James From: Zhi Chang Reply-To: "OpenStack Development Mailing List (not for usage questions)" Date: Friday, March 18, 2016 at 11:33 PM To: openstack-dev Subject: [openstack-dev] [neutron][dvr]What does table 9 used for in br-tun? 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=0x9a5f42115762fc76, duration=392186.447s, table=9, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=1,dl_src=fa:16:3f:76:6c:6f actions=output:1 cookie=0x9a5f42115762fc76, duration=392186.388s, table=9, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=1,dl_src=fa:16:3f:87:39:a3 actions=output:1 cookie=0x9a5f42115762fc76, duration=392186.333s, table=9, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=1,dl_src=fa:16:3f:93:41:45 actions=output:1 Port 1 is a patch interface which is connecting to br-int. Question A: there are for mac addresses in these flows. But these mac addresses don't in my Neutron. What do they come from?? Question B: The action of each flow is output:1, why? Why put the packets to br-int? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [neutron][dvr]What does table 9 used for in br-tun?
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=0x9a5f42115762fc76, duration=392186.447s, table=9, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=1,dl_src=fa:16:3f:76:6c:6f actions=output:1 cookie=0x9a5f42115762fc76, duration=392186.388s, table=9, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=1,dl_src=fa:16:3f:87:39:a3 actions=output:1 cookie=0x9a5f42115762fc76, duration=392186.333s, table=9, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=1,dl_src=fa:16:3f:93:41:45 actions=output:1 Port 1 is a patch interface which is connecting to br-int. Question A: there are for mac addresses in these flows. But these mac addresses don't in my Neutron. What do they come from?? Question B: The action of each flow is output:1, why? Why put the packets to br-int? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [neutron]Where did the flows go in ovs bridge?
My neutron version is openstack-neutron-7.0.4-1.el7 -- Original -- From: "Hirofumi Ichihara"; Date: Sun, Mar 13, 2016 10:38 AM To: "openstack-dev"; Subject: 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 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. And flows was generated normally. But, all flows are gone when I restart "neutron-openvswitch-agent"!. I wait a few minutes but I can't see any flows were generated. Could someone tell me why the flows are gone and they can't generated anymore? Thanks Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [neutron]Where did the flows go in ovs bridge?
There are many WARNING infos: 2016-03-12 08:23:28.919 30738 WARNING neutron.plugins.ml2.drivers.openvswitch.agent.openflow.ovs_ofctl.ofswitch [req-c5695ca8-b886-4092-970f-edb18d8d87cc - - - - -] Deleting flow cookie=0x86cb85757ac914ee, duration=172005.248s, table=22, n_packets=6, n_bytes=308, idle_age=1163, hard_age=65534, dl_vlan=1 actions=strip_vlan,set_tunnel:0x32,output:3,output:2,output:6,output:5,output:4 2016-03-12 08:23:28.934 30738 WARNING neutron.plugins.ml2.drivers.openvswitch.agent.openflow.ovs_ofctl.ofswitch [req-c5695ca8-b886-4092-970f-edb18d8d87cc - - - - -] Deleting flow cookie=0x86cb85757ac914ee, duration=169637.050s, table=22, n_packets=8, n_bytes=608, idle_age=1162, hard_age=65534, dl_vlan=2 actions=strip_vlan,set_tunnel:0x4c,output:3,output:2,output:6,output:5,output:4 2016-03-12 08:23:28.949 30738 WARNING neutron.plugins.ml2.drivers.openvswitch.agent.openflow.ovs_ofctl.ofswitch [req-c5695ca8-b886-4092-970f-edb18d8d87cc - - - - -] Deleting flow cookie=0x86cb85757ac914ee, duration=93767.242s, table=22, n_packets=11, n_bytes=834, idle_age=1163, hard_age=65534, dl_vlan=3 actions=strip_vlan,set_tunnel:0x53,output:3,output:2,output:6,output:5,output:4 2016-03-12 08:23:28.964 30738 WARNING neutron.plugins.ml2.drivers.openvswitch.agent.openflow.ovs_ofctl.ofswitch [req-c5695ca8-b886-4092-970f-edb18d8d87cc - - - - -] Deleting flow cookie=0x86cb85757ac914ee, duration=93743.254s, table=22, n_packets=9, n_bytes=618, idle_age=1163, hard_age=65534, dl_vlan=4 actions=strip_vlan,set_tunnel:0x22,output:3,output:2,output:6,output:5,output:4 2016-03-12 08:24:16.757 30738 INFO neutron.agent.securitygroups_rpc [req-a0e6c976-5ded-4300-bbd0-e489dcd83e02 9f1d641c46954391ba46f06936713fdd 2bec68aa33a54a8b905d4516eaa8b81e - - -] Security group member updated [u'46d98306-d04e-4420-b86b-c6685bc2a8dc'] -- Original -- From: "Doug Wiegley"; Date: Sun, Mar 13, 2016 10:35 AM To: "OpenStack Development Mailing List (not for usage questions)"; 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 wrote: > > 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. And flows was generated > normally. But, all flows are gone when I restart > "neutron-openvswitch-agent"!. I wait a few minutes but I can't see any flows > were generated. > > Could someone tell me why the flows are gone and they can't generated > anymore? > > > Thanks > Zhi Chang > > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [neutron]Where did the flows go in ovs bridge?
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. And flows was generated normally. But, all flows are gone when I restart "neutron-openvswitch-agent"!. I wait a few minutes but I can't see any flows were generated. Could someone tell me why the flows are gone and they can't generated anymore? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [glance]Why vm boots from the cirros image so slow?
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 someone tell me the history of the image name "cirros"? Best Wishes Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [neutron][dnsmasq]DNS redirection by dnsmasq
hi Carl. Thanks for your reply. DNS redirection is our customer's needs. Customer has their own CDN. They want to save traffic in CDN so that they can cost less money. So they let us hijack some domain names. We used dnsmasq "--cname" option to satisfy their needs. So I think 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 -- From: "Carl Baldwin"; Date: Wed, Feb 17, 2016 05:54 AM To: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] [neutron][dnsmasq]DNS redirection by dnsmasq What would be the motivation for this? Could you give some examples of what you'd use it for? Keep in mind that --cname is limited to target names known by dnsmasq itself. Carl On Mon, Feb 15, 2016 at 2:13 AM, Zhi Chang wrote: > 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 idea? > > > Thanks > Zhi Chang > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [neutron][dnsmasq]DNS redirection by dnsmasq
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 idea? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [neutron][db]Why can't I see ports whichbelongsrouter's gateway?
hmm... yes. I miss admin role in my user. sorry ;-) -- Original -- From: "Jerzy Mikolajczak"; Date: Fri, Feb 5, 2016 07:59 PM To: "openstack-dev"; Subject: Re: [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 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: * "OpenStack Development Mailing List (not for usage > questions)"; > *Subject: * Re: [openstack-dev] [neutron][db]Why can't I see ports > whichbelongs router's gateway? > Hi! > > How do you try to get details about it? I don't have any problems with > that, see http://paste.openstack.org/show/486069/ > > On Fri, Feb 5, 2016 at 12:49 PM, Zhi Chang <mailto:chang...@unitedstack.com>> wrote: > > 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 some special reasons? > > Thanks > Zhi Chang > > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: > openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > <http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > > -- > Regards, > Ann Kamyshnikova > Mirantis, Inc > > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [neutron][db]Why can't I see ports whichbelongs router's gateway?
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: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] [neutron][db]Why can't I see ports whichbelongs router's gateway? Hi! How do you try to get details about it? I don't have any problems with that, see http://paste.openstack.org/show/486069/ On Fri, Feb 5, 2016 at 12:49 PM, Zhi Chang wrote: 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 some special reasons? Thanks Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Regards,Ann Kamyshnikova Mirantis, Inc__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [neutron][db]Why can't I see ports which belongs router's gateway?
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 some special reasons? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [ironic]Unable to locate configuration file insecond reboot
hi, thanks for your reply. Another DHCP server reply this machine. Now, I have already stop that DHCP server. But there is another problem, let me describe it. When I use "nova boot" command to boot a machine. Nova-conductor always says "error", The detail info is "NoValidHost: No valid host was found. There are not enough hosts available" . I make some trouble shooting followed by http://docs.openstack.org/developer/ironic/deploy/troubleshooting.html#nova-returns-no-valid-host-was-found-error But it is no uses for my question. Nova flavor info 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: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] [ironic]Unable to locate configuration file insecond reboot Hi, On Thu, Dec 10, 2015 at 4:34 AM, Zhi Chang wrote: > > And my tftp.conf like this http://paste.openstack.org/show/481472/ > > I upload a movie in https://youtu.be/jktPIjEmMV8, at 04:30 there is a > error happens. > > Could someone give me some idea? There is not enough information here, Did the installation finish? How does your 'ironic node-list' and 'ironic node-show ' look like after the machine reboots? It looks like tftp config is missing, How does your ironic tftp config template look like? Once the installation is done ironic conductor is supposed to switch the tftp config so that the machine can boot from harddisk, looks like it is not happening here. -- Arun S A G http://zer0c00l.in/ __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [ironic]Unable to locate configuration file in second reboot
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/jktPIjEmMV8, at 04:30 there is a error happens. Could someone give me some idea? Thx Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [ironic]Can not login machine by using Ironic
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-name new test3 After a few minutes, I can connect the machine from router namespace like this: [stack@localhost ~]$ sudo ip netns exec qrouter-[router_id] ping 10.0.0.205 PING 10.0.0.205 (10.0.0.205) 56(84) bytes of data. 64 bytes from 10.0.0.205: icmp_seq=1 ttl=64 time=0.412 ms 64 bytes from 10.0.0.205: icmp_seq=2 ttl=64 time=0.346 ms So I want to login the machine by using command: sudo ip netns exec qrouter-[router_id] ssh -i ~/.ssh/id_rsa root@10.0.0.205 But I can not login the machine by using the file named ~/.ssh/id_rsa. It remind me to input the password. Why? I used the key to boot this machine! Could someone give me some advice? Thx Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [ironic]Can't login machine by using ironic
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-af58-b9407c209824 --key-name ironic test3". I want to login the machine when the machine boots success(ping the machine is okay). I use the command "sudo ip netns exec qrouter-94b916a9-054a-43b6-91ed-4f86b7eeac64 ssh -i key root@10.0.0.204". Why does the console let me input the password? The console outputs "root@10.0.0.204's password:". Could someone helps me? Thx Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [ironic]Boot physical machine fails, says "PXE-E11 ARP Timeout"
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 some advice? Thx Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [ironic]"No valid host was found" when creatingnode in Ironic
Hi, thanks for your reply. You are right, I forgot to load some drivers in Ironic. But there is another problem. When I run the command "ironic node-set-power-state xxx off", ironic conductor displays an error, says "IPMI Error while attempting ipmitool -I lanplus -H 10.0.8.65 -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 Ironic? Thanks a lot Zhi Chang -- Original -- From: "Dmitry Tantsur"; Date: Mon, Dec 7, 2015 09:08 PM To: "openstack-dev"; Subject: Re: [openstack-dev] [ironic]"No valid host was found" when creatingnode in Ironic On 12/07/2015 10:45 AM, Zhi Chang wrote: > 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_username=root -p ipmi_address=192.168.0.100 -p ipmi_password=12345 > -n testing" to create a node in Ironic. There is an error when I run the > command. It says "No valid host was found. Reason: No conductor service > registered which supports driver ipmi_tool. (HTTP 400)". What should I > do to resolve this problem? Or, what should I do if I want to deploy a > physical machine by using Ironic? Hello, Please check /etc/ironic/ironic.conf. Probably your enabled_drivers configuration does not contain pxe_ipmitool. Please add it there and restart the conductor. > > > Thx > Zhi Chang > > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [ironic]"No valid host was found" when creating node in Ironic
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_username=root -p ipmi_address=192.168.0.100 -p ipmi_password=12345 -n testing" to create a node in Ironic. There is an error when I run the command. It says "No valid host was found. Reason: No conductor service registered which supports driver ipmi_tool. (HTTP 400)". What should I do to resolve this problem? Or, what should I do if I want to deploy a physical machine by using Ironic? Thx Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [ironic]How to deploy bare metal physical machines by using Ironic?
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 Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [ironic]Create vm fails when using IronicDriver
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_host_manager.IronicHostManager ./nova.conf:compute_driver = nova.virt.ironic.IronicDriver Creating vm command is: nova boot --flavor baremetal --image $image --key-name default --nic net-id=xxx testing And the error message is: InstanceDeployFailure: RPC do_node_deploy failed to validate deploy or power info. Error: Node d71babdd-aa91-450d-b957-dc8c633c41f2 is configured to use the agent_ssh driver which currently does not support deploying partition images. Could someone give me some advice? Thx Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [ironic] Install Time Too Long Ironic indevstack
Thanks for your reply. But now, I meet a new problem. My console display: 2015-12-01 10:06:20.591 | ++ timeout 15 sh -c 'while ! ssh -p 22 -o StrictHostKeyChecking=no -i /opt/stack/data/ironic/ssh_keys/ironic_key stack@10.250.11.127 echo success; do sleep 1; done' 2015-12-01 10:06:35.598 | ++ die 725 'server didn'\''t become ssh-able!' 2015-12-01 10:06:35.598 | ++ local exitcode=0 2015-12-01 10:06:35.599 | [Call Trace] 2015-12-01 10:06:35.600 | ./stack.sh:1325:run_phase 2015-12-01 10:06:35.600 | /opt/stack/devstack/functions-common:1746:source 2015-12-01 10:06:35.600 | /opt/stack/devstack/extras.d/50-ironic.sh:29:prepare_baremetal_basic_ops 2015-12-01 10:06:35.600 | /opt/stack/devstack/lib/ironic:816:configure_ironic_auxiliary 2015-12-01 10:06:35.600 | /opt/stack/devstack/lib/ironic:731:ironic_ssh_check 2015-12-01 10:06:35.600 | /opt/stack/devstack/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 Shchelokovskyy"; Date: Tue, Dec 1, 2015 04:39 PM To: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] [ironic] Install Time Too Long Ironic indevstack Hi Zhi, it seems that Ironic is building a new deploy ramdisk for you with diskimage-builder. You can skip it if you state IRONIC_BUILD_DEPLOY_RAMDISK=False in your local.conf, then the bootstrap image will be downloaded from tarballs.o.o. If you are interested here is a sample ironic setting from my local.conf I use to deploy Ironic with DevStack, and it takes about 1000s to complete with full reclone: https://github.com/pshchelo/stackdev/blob/master/local.conf.sample#L128-L145 (this is a sample config, so uncomment all options in this section). Best regards, On Tue, Dec 1, 2015 at 9:39 AM Zhi Chang wrote: 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 -name 'package-installs-*' 2015-12-01 07:08:44.393 | + '[' -n '' ']' 2015-12-01 07:08:44.393 | + package-installs-v2 --phase install.d /tmp/package-installs.json 2015-12-01 07:08:44.461 | Map file for ubuntu element does not exist. 2015-12-01 07:08:44.492 | Map file for ubuntu element does not exist. 2015-12-01 07:08:44.526 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.558 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.595 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.633 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.668 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.703 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.815 | Map file for deploy-tgtadm element does not exist. 2015-12-01 07:08:44.857 | Map file for deploy-tgtadm element does not exist. I wait this a very very long time, does it right? And my devstack's local.conf at: http://paste.openstack.org/show/480462/ Could someone help me? Thx Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Dr. Pavlo ShchelokovskyySenior Software Engineer Mirantis Inc www.mirantis.com__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [ironic] Install Time Too Long Ironic in devstack
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 -name 'package-installs-*' 2015-12-01 07:08:44.393 | + '[' -n '' ']' 2015-12-01 07:08:44.393 | + package-installs-v2 --phase install.d /tmp/package-installs.json 2015-12-01 07:08:44.461 | Map file for ubuntu element does not exist. 2015-12-01 07:08:44.492 | Map file for ubuntu element does not exist. 2015-12-01 07:08:44.526 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.558 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.595 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.633 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.668 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.703 | Map file for deploy-ironic element does not exist. 2015-12-01 07:08:44.815 | Map file for deploy-tgtadm element does not exist. 2015-12-01 07:08:44.857 | Map file for deploy-tgtadm element does not exist. I wait this a very very long time, does it right? And my devstack's local.conf at: http://paste.openstack.org/show/480462/ Could someone help me? Thx Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Neutron][db][migration] Neutron db migrationby python scripts
Thanks for your reply. There is an error when I run migration cmd: stack@devstack:~/neutron/neutron/db/migration$ neutron-db-manage revision -m 'desc' --contract usage: neutron-db-manage [-h] [--config-dir DIR] [--config-file PATH] [--core_plugin CORE_PLUGIN] [--nosplit_branches] [--service SERVICE] [--split_branches] [--subproject SUBPROJECT] [--version] [--database-connection DATABASE_CONNECTION] [--database-engine DATABASE_ENGINE] {current,history,branches,check_migration,upgrade,downgrade,stamp,revision} ... neutron-db-manage: error: unrecognized arguments: --contract -- Original -- From: "Anna Kamyshnikova"; Date: Tue, Nov 3, 2015 07:03 PM To: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] [Neutron][db][migration] Neutron db migrationby python scripts You can create new migration using "neutron-db-manage revision -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 wrote: 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 want to upgrade db and I plan to write db migration scripts manually instead of change database model definitions. Is there some ways to realize it? Does anyone have some good ideas? Thanks Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Regards,Ann Kamyshnikova Mirantis, Inc__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Neutron][db][migration] Neutron db migration by python scripts
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 want to upgrade db and I plan to write db migration scripts manually instead of change database model definitions. Is there some ways to realize it? Does anyone have some good ideas? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Neutron][Metering]How does metering agent work to calc traffic?
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 clear. Could anyone give me some details info about iptables rules? Best regards Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Neutron][dns]What the meaning of"dns_assignment" and "dns_name"?
Hi, Miguel Thank you so much for your reply. You are so patient! After reading your reply, I still have some questions to ask you. :-) Below, is my opinion about the http://paste.openstack.org/show/476210/, please read it and tell me whether I was right. (1). Define a DNS domain (2). Update a network's "dns_domain" attribute to the DNS domain which defined in the step1 (3). Create a VM in this network. The instance's port will assign instance's hostname to it's dns_name attribute (4). Create a floating IP for this VM (5). In Designate, there will be generate a new A record. This record is a link between floating IP and dns_name+domain_name. Just like your record: deec921d-b630-4479-8932-c5ec7c530820 | A| my-instance.my-example.org. | 172.24.4.3 (6). I am don't understand where the IP address "104.130.78.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 -- Original -- From: "Miguel Lavalle"; Date: Wed, Oct 14, 2015 11:22 AM To: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] [Neutron][dns]What the meaning of"dns_assignment" and "dns_name"? Zhi Chang, Thank you for your questions. We are in the process of integrating Neutron and Nova with an external DNS service, using Designate as the reference implementation. This integration is being achieved in 3 steps. What you are seeing is the result of only the first one. These steps are: 1) Internal DNS integration in Neutron, which merged recently: https://review.openstack.org/#/c/200952/. As you may know, Neutron has an internal DHCP / DNS service based on dnsmasq for each virtual network that you create. Previously, whenever you created a port on a given network, your port would get a default host name in dnsmasq of the form 'host-xx-xx-xx-xx.openstacklocal.", where xx-xx-xx-xx came from the port's fixed ip address "xx.xx.xx.xx" and "openstacklocal" is the default domain used by Neutron. This name was generated by the dhcp agent. In the above mentioned patchset, we are moving the generation of these dns names to the Neutron server, with the intent of allowing the user to specify it. In order to do that, you need to enable it by defining in neutron.conf the 'dns_domain' parameter with a value different to the default 'openstacklocal'. Once you do that, you can create or update a port and assign a value to its 'dns_name' attribute. Why is this useful? Please read on. 2) External DNS integration in Neutron. The patchset is being worked now: https://review.openstack.org/#/c/212213/. The functionality implemented here allows Neutron to publish the dns_name associated with a floating ip under a domain in an external dns service. We are using Designate as the reference implementation, but the idea is that in the future other DNS services can be integrated.. Where does the dns name and domain of the floating ip come from? It can come from 2 sources. Source number 1 is the floating ip itself, because in this patchset we are adding a dns_name and a dns_domain attributes to it. If the floating ip doesn't have a dns name and domain associated with it, then they can come from source number 2: the port that the floating ip is associated with (as explained in point 1, ports now can have a dns_name attribute) and the port's network, since this patchset adds dns_domain to networks. 3) Integration of Nova with Neutron's DNS. I have started the implementation of this and over the next few days will push the code to Gerrit for first review. When an instance is created, nova will request to Neutron the creation of the corresponding port specifying the instance's hostname in the port's 'dns_name' attribute (as explained in point 1). If the network where that port lives has a dns_domain associated with it (as explained in point 2) and you assign a floating ip to the port, your instance's hostname will be published in the external dns service. To make it clearer, here I walk you through an example that I executed in my devstack: http://paste.openstack.org/show/476210/ As mentioned above, we also allow the dns_name and dns_domain to be published in the external dns to be defined at the floating ip level. The reason for this is that we envision a use case where the name and ip address made public in the dns service are stable, regardless of the nova instance associated with the floating ip. If you are attending the upcoming Tokyo summit, you could attend the following talk for further informatio
[openstack-dev] [Neutron][dns]What the meaning of "dns_assignment" and "dns_name"?
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 this column is useless except shows DNS infomation (include hostname, ip, fqdn). Does my thought right? Second, I don't quite understand what the meaning of column "dns_name". I can update this column, but there is nothing happen when my operation was done. In other words, this column has no change when I run "neutron port-update xxx --dns_name=test". What the column "dns_name" use for? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Neutron][db]Neutron db revision fails
Ok. Everything looks right when I run command "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini revision -m "Just For Test" --autogenerate" Output: Running revision for neutron ... No handlers could 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 Kamyshnikova"; Date: Mon, Oct 12, 2015 03:19 PM To: "OpenStack Development Mailing List (not for usage questions)"; Subject: Re: [openstack-dev] [Neutron][db]Neutron db revision fails You should use neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini revision -m "Just For Test"" --autogenerate. Make changes in db models and then run this command - migration will be generated automatically. On Mon, Oct 12, 2015 at 7:02 AM, Zhi Chang wrote: 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 questions)"; Subject: Re: [openstack-dev] [Neutron][db]Neutron db revision fails Hi Zhi, We already have a defect logged for this issue. https://bugs.launchpad.net/neutron/+bug/1503342 Thanks Vikram On Oct 12, 2015 8:10 AM, "Zhi Chang" wrote: 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 shows: Running revision for neutron ... FAILED: Multiple heads are present; please specify the head revision on which the new revision should be based, or perform a merge. Does my method wrong? Could someone helps me? Thx Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Regards,Ann Kamyshnikova Mirantis, Inc__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Neutron][db]Neutron db revision fails
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 questions)"; Subject: Re: [openstack-dev] [Neutron][db]Neutron db revision fails Hi Zhi, We already have a defect logged for this issue. https://bugs.launchpad.net/neutron/+bug/1503342 Thanks Vikram On Oct 12, 2015 8:10 AM, "Zhi Chang" wrote: 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 shows: Running revision for neutron ... FAILED: Multiple heads are present; please specify the head revision on which the new revision should be based, or perform a merge. Does my method wrong? Could someone helps me? Thx Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Neutron][db]Neutron db revision fails
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 shows: Running revision for neutron ... FAILED: Multiple heads are present; please specify the head revision on which the new revision should be based, or perform a merge. Does my method wrong? Could someone helps me? Thx Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Neutron]Add dns and dhcp log into DHCP agent
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__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Neutron]Unit test failed but devstack was okay
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 usage questions)"; Subject: Re: [openstack-dev] [Neutron]Unit test failed but devstack was okay Hi Zhi Chang, You will have to use sorted to fix the test failure. i.e., self.assertEqual(sorted(['2.2.2.2', '1.1.1.1']), sorted(dns_list)) --Sridhar. On 07/20/2015 11:17 AM, Zhi Chang wrote: 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.TestEmbraneSubnetsV2.test_subnet_lifecycle_dns_retains_order". But it is okay on my environment. Could someone tells me the reason? What should I do? Thanks Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Neutron]Unit test failed but devstack was okay
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.TestEmbraneSubnetsV2.test_subnet_lifecycle_dns_retains_order". But it is okay on my environment. Could someone tells me the reason? What should I do? Thanks Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Neutron]Subnet's dns nameserver doesn'torderby input
Sorry, this page is also not found... I found a bug report like my thought: https://bugs.launchpad.net/neutron/+bug/1460786 -- Original -- From: "shihanzhang"; Date: Mon, Jul 6, 2015 05:37 PM To: "OpenStack Development Mailing List (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 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 questions)"; Subject: Re: [openstack-dev] [Neutron]Subnet's dns nameserver doesn't orderby input Hi, Currently there is no dns servers prioritization for subnets in Neutron. There is an opened bug for this: https://bugs.launchpad.net/neutron/+bug/1218629 Thanks, Oleg On Mon, Jul 6, 2015 at 11:21 AM, Zhi Chang wrote: 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 nameservers, one is a main nameserver, another is a backup. Therefore, I think we should make difference of the above command. Does anyone have ideas? Thx Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Neutron]Subnet's dns nameserver doesn't orderby input
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 questions)"; Subject: Re: [openstack-dev] [Neutron]Subnet's dns nameserver doesn't orderby input Hi, Currently there is no dns servers prioritization for subnets in Neutron. There is an opened bug for this: https://bugs.launchpad.net/neutron/+bug/1218629 Thanks, Oleg On Mon, Jul 6, 2015 at 11:21 AM, Zhi Chang wrote: 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 nameservers, one is a main nameserver, another is a backup. Therefore, I think we should make difference of the above command. Does anyone have ideas? Thx Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Neutron]Subnet's dns nameserver doesn't order by input
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 nameservers, one is a main nameserver, another is a backup. Therefore, I think we should make difference of the above command. Does anyone have ideas? Thx Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [VPNaas]How to load kernel module with IPSec?
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 (not for usage questions)"; Subject: Re: [openstack-dev] [VPNaas]How to load kernel module with IPSec? Curious as to what operating system you are using and which release? Are you running under DevStack or doing an OpenStack install? Regards, Paul Michali (pc_m) On Mon, Jun 29, 2015 at 6:31 AM Zhi Chang wrote: 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 okay when I run it. But I think the solution is too ungraceful. Does anyone have a simple solution to resolve this problem instead of run "service ipsec start"? Thx. Zhi Chang __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [VPNaas]How to load kernel module with IPSec?
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 okay when I run it. But I think the solution is too ungraceful. Does anyone have a simple solution to resolve this problem instead of run "service ipsec start"? Thx. Zhi Chang__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev