Re: [Openstack] [openstack] how to configure quantum so that two private network can ping each other?
Thanks so much for the info. The command ‘iptables -t filter -I FORWARD -i qbr+ -o qbr+ -j ACCEPT’ helped. However, it’s temporary. After I issued this command, I was able to ping from vm1 to vm2. After about 10 mins, I could not ping again. How to make this rule permanent? I’m using Ubuntu LTS 12.04. Thanks, YuLing From: p...@juyide.com [mailto:p...@juyide.com] On Behalf Of ?? Sent: Saturday, June 15, 2013 2:21 AM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] [openstack] how to configure quantum so that two private network can ping each other? which OS do you use? if you use RDO on RHEL, please refer to: https://access.redhat.com/site/documentation//en-US/Red_Hat_OpenStack/3/html/Release_Notes/ch03.htmlhttps://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/3/html/Release_Notes/ch03.html When the openvswitch quantum plugin is used, and Nova is configured with libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver the necessary forwarding rules are not created automatically and the Red Hat Enterprise Linux firewall blocks forwarding of network traffic. Hence traffic between VMs located on different compute nodes is blocked. Workarounds to avoid blocking traffic between VMs located on different compute nodes: 1.If using nova security groups, add the following iptables rule on each compute node: 2. 3. 4. #iptables -t filter -I FORWARD -i qbr+ -o qbr+ -j ACCEPT # service iptables save Either reboot, or restart nova-compute after adding this rule, since the rules nova-compute adds at startup must precede this rule. 5.If not using Nova security groups, an alternative solution is to set: 6. 7. libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtOpenVswitchVirtualPortDriver 2013/6/15 yulin...@dell.commailto:yulin...@dell.com Hi All, From openstack documentation, it seems that if we need to create routers in order to have two private network ping each other. However, I followed the instruction on the website http://docs.openstack.org/trunk/openstack-network/admin/content/l3_workflow.html, but still could not get the ping working through two private networks. Here is what I did: 1. I'm using the Vlan mode for OVS network type. 2. I created one network net1 in one subnet. 3. I created another network net2 in another subnet. 4. I created a router and attached the two subnet interfaces to the router. 5. I created two VM instances on net1 and net2 respectively. 6. However, I still was not able to ping from vm1 to vm2. Any idea? Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Peng Yong ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] [openstack] how to configure quantum so that two private network can ping each other?
Hi All, From openstack documentation, it seems that if we need to create routers in order to have two private network ping each other. However, I followed the instruction on the website http://docs.openstack.org/trunk/openstack-network/admin/content/l3_workflow.html, but still could not get the ping working through two private networks. Here is what I did: 1. I'm using the Vlan mode for OVS network type. 2. I created one network net1 in one subnet. 3. I created another network net2 in another subnet. 4. I created a router and attached the two subnet interfaces to the router. 5. I created two VM instances on net1 and net2 respectively. 6. However, I still was not able to ping from vm1 to vm2. Any idea? Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] [openstack] how to configure quantum so that two private network can ping each other?
Thanks Ashok. I've already executed the following two commands: nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0 nova secgroup-add-rule default tcp 22 22 0.0.0.0/0 However, it still didn't help. I can see that vm1 can ping vm2's gateway, and vice versa. Just vm1 could not ping vm2. Could it be cirros issue? Will it make any difference if I use a different vm image? Thanks, YuLing From: Ashok Kumaran [mailto:ashokkumara...@gmail.com] Sent: Friday, June 14, 2013 9:08 PM To: C, Yuling Cc: openstack Subject: Re: [Openstack] [openstack] how to configure quantum so that two private network can ping each other? Hi Yuling, You may need to check the security group rules , ensure that the security group allows ICMP and ssh(22) in case you are looking for ssh access, Regards, Ashok On Sat, Jun 15, 2013 at 7:10 AM, yulin...@dell.commailto:yulin...@dell.com wrote: Hi All, From openstack documentation, it seems that if we need to create routers in order to have two private network ping each other. However, I followed the instruction on the website http://docs.openstack.org/trunk/openstack-network/admin/content/l3_workflow.html, but still could not get the ping working through two private networks. Here is what I did: 1. I'm using the Vlan mode for OVS network type. 2. I created one network net1 in one subnet. 3. I created another network net2 in another subnet. 4. I created a router and attached the two subnet interfaces to the router. 5. I created two VM instances on net1 and net2 respectively. 6. However, I still was not able to ping from vm1 to vm2. Any idea? Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regds, Ashok , Delivery Consultant, HP. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] OVS plugin
Hi All, I was wondering if anyone could help me with a question related to the guideline of Quantum plugin development. Let's say if we need to develop a quantum plugin and we would need to use OVS plugin in our plugin. Is it a good practice to change the code of OVS plugin when we need to, or we should preserve the OVS plugin and only add code on top of it? Or in another word, if we would need to contribute back our quantum plugin to OpenStack, will there be any issue if we changed OVS plugin in our solution? Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file?
Thanks very much Maru. Another question...I'm playing around with Openstack Dashboard. What I can see is that after I launch a VM, a few ports will be created. Port details would also show the MAC address of the port(something like fa:16:3e:97:1f:b7). Is this MAC address the physical MAC address of the port on the NIC card? If not, what MAC address is it? Thanks, YuLing -Original Message- From: Maru Newby [mailto:ma...@redhat.com] Sent: Tuesday, April 30, 2013 2:03 AM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file? On Apr 29, 2013, at 6:03 PM, yulin...@dell.com wrote: Hi, I'm new to Quantum and trying to set up an openstack quantum environment. I installed a single node environment using DevStack(on a VM) successfully. I noticed that by default there is no log files for quantum. I tried to enable the quantum logging using quantum.conf. However, I haven't been lucky enough to get it work yet. Just wondering if anyone can share a working sample of quantum.conf that enables logging to a log file? The default devstack configuration is to have the processes log to a screen session. If file output is desired, add the following to your localrc SCREEN_LOGDIR=$DEST/logs/screen This ensures that log output is also captured to disk - a file per service in the specified output directory. Thanks, Maru Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file?
I guess that's not physical either... since ifConfig -a on the Ubuntu OS(where my VM resides) gave me different HWaddr (something like 5a:86:eb:95:1a:49). So, another question is whether I can get the physical NIC port MAC from Openstack Quantum? The plugin configured in my environment is OVS plugin. Thanks, YuLing -Original Message- From: Maru Newby [mailto:ma...@redhat.com] Sent: Tuesday, April 30, 2013 11:32 AM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file? On Apr 30, 2013, at 11:21 AM, yulin...@dell.com wrote: Thanks very much Maru. Another question...I'm playing around with Openstack Dashboard. What I can see is that after I launch a VM, a few ports will be created. Port details would also show the MAC address of the port(something like fa:16:3e:97:1f:b7). Is this MAC address the physical MAC address of the port on the NIC card? If not, what MAC address is it? It is likely the mac of a virtual nic (quantum port), though the specifics would depend on which Quantum plugin is configured. Thanks, YuLing -Original Message- From: Maru Newby [mailto:ma...@redhat.com] Sent: Tuesday, April 30, 2013 2:03 AM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file? On Apr 29, 2013, at 6:03 PM, yulin...@dell.com wrote: Hi, I'm new to Quantum and trying to set up an openstack quantum environment. I installed a single node environment using DevStack(on a VM) successfully. I noticed that by default there is no log files for quantum. I tried to enable the quantum logging using quantum.conf. However, I haven't been lucky enough to get it work yet. Just wondering if anyone can share a working sample of quantum.conf that enables logging to a log file? The default devstack configuration is to have the processes log to a screen session. If file output is desired, add the following to your localrc SCREEN_LOGDIR=$DEST/logs/screen This ensures that log output is also captured to disk - a file per service in the specified output directory. Thanks, Maru Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file?
Hi Maru, Actually in VMWare case, we will be able to see the physical NIC port address from VCenter(View Network Adapters in Configuration tab of the physical cluster node). I'm not sure how I can get the same information in OVS case... When you mentioned 'it can obviously be discovered manually', what exactly did you refer to? Thanks very much, YuLing -Original Message- From: Maru Newby [mailto:ma...@redhat.com] Sent: Tuesday, April 30, 2013 1:23 PM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file? It is not possible to retrieve the physical mac port as you desire via Quantum's API. The mapping of physical NIC to virtual NIC is plugin-specific and not exposed, though it can obviously be discovered manually. What use-case are you thinking of that requires discovery of the physical mac that is transiting traffic for a given VM? On Apr 30, 2013, at 1:10 PM, yulin...@dell.com wrote: I guess that's not physical either... since ifConfig -a on the Ubuntu OS(where my VM resides) gave me different HWaddr (something like 5a:86:eb:95:1a:49). So, another question is whether I can get the physical NIC port MAC from Openstack Quantum? The plugin configured in my environment is OVS plugin. Thanks, YuLing -Original Message- From: Maru Newby [mailto:ma...@redhat.com] Sent: Tuesday, April 30, 2013 11:32 AM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file? On Apr 30, 2013, at 11:21 AM, yulin...@dell.com wrote: Thanks very much Maru. Another question...I'm playing around with Openstack Dashboard. What I can see is that after I launch a VM, a few ports will be created. Port details would also show the MAC address of the port(something like fa:16:3e:97:1f:b7). Is this MAC address the physical MAC address of the port on the NIC card? If not, what MAC address is it? It is likely the mac of a virtual nic (quantum port), though the specifics would depend on which Quantum plugin is configured. Thanks, YuLing -Original Message- From: Maru Newby [mailto:ma...@redhat.com] Sent: Tuesday, April 30, 2013 2:03 AM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file? On Apr 29, 2013, at 6:03 PM, yulin...@dell.com wrote: Hi, I'm new to Quantum and trying to set up an openstack quantum environment. I installed a single node environment using DevStack(on a VM) successfully. I noticed that by default there is no log files for quantum. I tried to enable the quantum logging using quantum.conf. However, I haven't been lucky enough to get it work yet. Just wondering if anyone can share a working sample of quantum.conf that enables logging to a log file? The default devstack configuration is to have the processes log to a screen session. If file output is desired, add the following to your localrc SCREEN_LOGDIR=$DEST/logs/screen This ensures that log output is also captured to disk - a file per service in the specified output directory. Thanks, Maru Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] anyone has a sample quantum.conf file that configures a valid quantum.log file?
Hi, I'm new to Quantum and trying to set up an openstack quantum environment. I installed a single node environment using DevStack(on a VM) successfully. I noticed that by default there is no log files for quantum. I tried to enable the quantum logging using quantum.conf. However, I haven't been lucky enough to get it work yet. Just wondering if anyone can share a working sample of quantum.conf that enables logging to a log file? Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] quantum and centos
Thanks Robert very much for the infoI would appreciate very much if you could send me the rpm:-) Thanks, YuLing -Original Message- From: Openstack [mailto:openstack-bounces+yuling_c=dell@lists.launchpad.net] On Behalf Of Robert van Leeuwen Sent: Wednesday, April 17, 2013 12:23 AM To: openstack@lists.launchpad.net Subject: Re: [Openstack] quantum and centos Thanks for the information. This link seems to talk about installing openstack grizzly on redhat related linux platform. What I was looking for was folsum quantum server install on redhat/centos...any idea? Yes it is possible to run Quantum on CentOS. I've written down some tips here: http://engineering.spilgames.com/openstack-with-open-vswitch-on-scientific-linux/ You can get the Folsom packages from the EPEL repository. Depending on the functionality you want from Quantum (e.g. GRE tunnels) you need to change to the upstream module instead of the openvswitch from Centos 6.4. If you do not want to build it yourself let me know. I'll send the RPM to you. ( If there is a wide interest in this RPM I'll see if I can make some time to setup a public repo here) Cheers, Robert van Leeuwen ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] quantum and centos
Hi All, Just wondering if anyone knows about how to install cisco plugin? I followed the instructions on http://docs.openstack.org/folsom/openstack-network/admin/content/ch_install.html and installed the quantum server. However, the cisco plugin was not there under /etc/quantum/plugins. How do I install cisco plugin after I install the quantum server? Thanks, YuLing -Original Message- From: Openstack [mailto:openstack-bounces+yuling_c=dell@lists.launchpad.net] On Behalf Of C, Yuling Sent: Thursday, April 18, 2013 11:26 AM To: robert.vanleeu...@spilgames.com; openstack@lists.launchpad.net Subject: Re: [Openstack] quantum and centos Thanks Robert very much for the infoI would appreciate very much if you could send me the rpm:-) Thanks, YuLing -Original Message- From: Openstack [mailto:openstack-bounces+yuling_c=dell@lists.launchpad.net] On Behalf Of Robert van Leeuwen Sent: Wednesday, April 17, 2013 12:23 AM To: openstack@lists.launchpad.net Subject: Re: [Openstack] quantum and centos Thanks for the information. This link seems to talk about installing openstack grizzly on redhat related linux platform. What I was looking for was folsum quantum server install on redhat/centos...any idea? Yes it is possible to run Quantum on CentOS. I've written down some tips here: http://engineering.spilgames.com/openstack-with-open-vswitch-on-scientific-linux/ You can get the Folsom packages from the EPEL repository. Depending on the functionality you want from Quantum (e.g. GRE tunnels) you need to change to the upstream module instead of the openvswitch from Centos 6.4. If you do not want to build it yourself let me know. I'll send the RPM to you. ( If there is a wide interest in this RPM I'll see if I can make some time to setup a public repo here) Cheers, Robert van Leeuwen ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] quantum and centos
Hi All, I'm new to openstack ...just wondering if Quantum is supported on CentOS? Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] quantum and centos
Thanks very much for the information. Actually at this moment what we care more about is the installation of Quantum on CentOS. I was not able to find any documentation for installing Quantum on CentOS…any idea? Thanks, YuLing From: Shake Chen [mailto:shake.c...@gmail.com] Sent: Tuesday, April 16, 2013 7:15 PM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] quantum and centos in CentOS 6.4 quantum support linuxbridge plugin. but seem not full support ovs, not support GRE. On Wed, Apr 17, 2013 at 9:43 AM, yulin...@dell.commailto:yulin...@dell.com wrote: Hi All, I’m new to openstack …just wondering if Quantum is supported on CentOS? Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Shake Chen ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] quantum and centos
Or maybe to rephrase my question…how do I install quantum server on CentOS? It seems the package ‘openstack-quantum’ is not available through ‘yum install’ on CentOS(62)… Thanks, YuLing From: Openstack [mailto:openstack-bounces+yuling_c=dell@lists.launchpad.net] On Behalf Of C, Yuling Sent: Tuesday, April 16, 2013 7:26 PM To: shake.c...@gmail.com Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] quantum and centos Thanks very much for the information. Actually at this moment what we care more about is the installation of Quantum on CentOS. I was not able to find any documentation for installing Quantum on CentOS…any idea? Thanks, YuLing From: Shake Chen [mailto:shake.c...@gmail.com] Sent: Tuesday, April 16, 2013 7:15 PM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] quantum and centos in CentOS 6.4 quantum support linuxbridge plugin. but seem not full support ovs, not support GRE. On Wed, Apr 17, 2013 at 9:43 AM, yulin...@dell.commailto:yulin...@dell.com wrote: Hi All, I’m new to openstack …just wondering if Quantum is supported on CentOS? Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Shake Chen ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] quantum and centos
Thanks for the information. This link seems to talk about installing openstack grizzly on redhat related linux platform. What I was looking for was folsum quantum server install on redhat/centos…any idea? Thanks, YuLing From: Shake Chen [mailto:shake.c...@gmail.com] Sent: Tuesday, April 16, 2013 8:11 PM To: C, Yuling Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] quantum and centos http://openstack.redhat.com/Quickstart On Wed, Apr 17, 2013 at 10:44 AM, yulin...@dell.commailto:yulin...@dell.com wrote: Or maybe to rephrase my question…how do I install quantum server on CentOS? It seems the package ‘openstack-quantum’ is not available through ‘yum install’ on CentOS(62)… Thanks, YuLing From: Openstack [mailto:openstack-bounces+yuling_cmailto:openstack-bounces%2Byuling_c=dell@lists.launchpad.netmailto:dell@lists.launchpad.net] On Behalf Of C, Yuling Sent: Tuesday, April 16, 2013 7:26 PM To: shake.c...@gmail.commailto:shake.c...@gmail.com Cc: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net Subject: Re: [Openstack] quantum and centos Thanks very much for the information. Actually at this moment what we care more about is the installation of Quantum on CentOS. I was not able to find any documentation for installing Quantum on CentOS…any idea? Thanks, YuLing From: Shake Chen [mailto:shake.c...@gmail.commailto:shake.c...@gmail.com] Sent: Tuesday, April 16, 2013 7:15 PM To: C, Yuling Cc: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net Subject: Re: [Openstack] quantum and centos in CentOS 6.4 quantum support linuxbridge plugin. but seem not full support ovs, not support GRE. On Wed, Apr 17, 2013 at 9:43 AM, yulin...@dell.commailto:yulin...@dell.com wrote: Hi All, I’m new to openstack …just wondering if Quantum is supported on CentOS? Thanks, YuLing ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Shake Chen -- Shake Chen ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp