Re: [Openstack] [openstack] how to configure quantum so that two private network can ping each other?

2013-06-15 Thread
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.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:

   #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.
   2. If not using Nova security groups, an alternative solution is to set:


   libvirt_vif_driver =
nova.virt.libvirt.vif.LibvirtOpenVswitchVirtualPortDriver




2013/6/15 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.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] netns kernel of RedHat

2013-05-29 Thread
there is no netns support in RedHat kernel:

https://bugzilla.redhat.com/show_bug.cgi?id=869004

is there any progress of this feature?


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


Re: [Openstack] netns kernel of RedHat

2013-05-29 Thread
ce67228d570d2df88d74184e5e3618a5b2ef8704 in glibc 2.14 are patched
in iproute-2.6.32-23.el6_4.netns.1, which is in RDO now


2013/5/29 Lei Zhang zhang.lei@gmail.com

 As I know, the netns depends on glibc.  It support setns after the glibc
 2.14.
 How ever, the RHEL is using glibc2.12. So it is possible to just using a
 new
 patched kernel?


 On Wed, May 29, 2013 at 6:02 PM, Pádraig Brady p...@draigbrady.com wrote:

 On 05/29/2013 09:59 AM, 彭勇 wrote:
  there is no netns support in RedHat kernel:
 
  https://bugzilla.redhat.com/show_bug.cgi?id=869004
 
  is there any progress of this feature?

 We expect to release an netns enabled kernel to
 RDO (http://openstack.redhat.com/) within the next couple of days

 thanks,
 Pádraig.


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




 --
 Lei Zhang

 Blog: http://jeffrey4l.github.io
 twitter/weibo: @jeffrey4l




-- 
彭勇 (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


Re: [Openstack] netns kernel of RedHat

2013-05-29 Thread
and we need a new kernel for namespaces which provide flowing directory:

/proc/self/ns/


2013/5/29 Lei Zhang zhang.lei@gmail.com

 As I know, the netns depends on glibc.  It support setns after the glibc
 2.14.
 How ever, the RHEL is using glibc2.12. So it is possible to just using a
 new
 patched kernel?


 On Wed, May 29, 2013 at 6:02 PM, Pádraig Brady p...@draigbrady.com wrote:

 On 05/29/2013 09:59 AM, 彭勇 wrote:
  there is no netns support in RedHat kernel:
 
  https://bugzilla.redhat.com/show_bug.cgi?id=869004
 
  is there any progress of this feature?

 We expect to release an netns enabled kernel to
 RDO (http://openstack.redhat.com/) within the next couple of days

 thanks,
 Pádraig.


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




 --
 Lei Zhang

 Blog: http://jeffrey4l.github.io
 twitter/weibo: @jeffrey4l




-- 
彭勇 (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


Re: [Openstack] i18n of log message

2012-05-10 Thread
we are here talking about I18N of log information

i prefer to English only log:

1. easy to search and share

2. easy to maintain

2012/5/10 Ying Chun Guo guoyi...@cn.ibm.com:
 I18N is an architecture decision. Besides developers, we should also consult
 customers' options.

 I18N is a very big scope. It includes not only translation, but also
 Date/time format, number format,
 or even the input of non-English characters. Surely I18N will take some
 efforts. But considering
 OpenStack may have a long history, it deserve us to pay some time to work on
 it. We need to consider
 it carefully. Maybe we can just pick out several very popular
 locales/languages and work on these localization
 firstly. It will ensure we have a correct architecture to suppor I18N, with
 a not very big effort.

 I'd like to help on the process documenting.

 Regards
 Daisy

 openstack-bounces+guoyingc=cn.ibm@lists.launchpad.net wrote on
 05/09/2012 12:55:48 AM:

 Thierry Carrez thie...@openstack.org
 Sent by: openstack-bounces+guoyingc=cn.ibm@lists.launchpad.net

 05/09/2012 12:55 AM

 To

 openstack@lists.launchpad.net,

 cc



 Subject

 Re: [Openstack] i18n of log message

 Ying Chun Guo wrote:
  [...]
  So I prefer option 2. As it is said that   option 3 being not
  significantly more work than option 2, so option 3 is also acceptable
  for me.

 So there is no strong consensus so far :) One important prerequisite of
 whatever solution we end up choosing is that it should be the same level
 across all OpenStack core projects. Consistency is important... So we
 should definitely ask PTLs which options they are ready to support, as
 it may seriously reduce our options.

 We should also have a I18N advocacy czar that will push whatever option
 is chosen to completion by documenting the process, encouraging CI /
 translators / devs to do any needed work. Anyone up to it ?

 --
 Thierry Carrez (ttx)
 Release Manager, OpenStack

 ___
 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




-- 
彭勇 (Peng Yong)
常州贝特康姆(BitComm)软件技术有限公司
地址:常州市科教城信息产业园南4楼
电话:+86.519.68887168
传真:+86.519.68887169
手机:+86.18915883399
邮箱:p...@pubyun.com

___
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] route problem in multi-host enviroment

2012-05-09 Thread
there are two zone with fix IP:

Zone1  10.8.0.0/23
Zone2  10.9.0.0/23


there are some network host in each zone, and the vm in same zone can
own different  gateway.

if i need to route VMs in zone1  with VMs in Zone2, how can set it?



-- 
彭勇 (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


Re: [Openstack] i18n of log message

2012-05-01 Thread
2012/5/1 Andrew Hutchings and...@linuxjedi.co.uk

 Hi 彭勇,

 On 01/05/12 03:38, 彭勇 wrote:
  the log messages of OpenStack are i18n now.
 
  i propose to use english only log messages:
 
  1. if any one have problem, they can shared with others more easy.
  he can search english message, and send message to maillist.
  if the log message is i18n, a Chinese version message can't shared to
  Japanese.
 
  2. if we have i18n log message, it's hard to update log message. we
  should update every localization version of message.

 This was all actually covered in the i18n talk at the developer's summit:

 http://etherpad.openstack.org/FolsomI18N

 The information in there says mailing list says no, feedback from
 session says yes (especially requested by operators in china) - need a
 vote? compare to apache projects...


we are guys in China. we have a openstack group more than 500 members.

we can promote a vote for this



 I do also remember a suggestion of translated error messages and a
 common error code (such as NOV1234 I guess?) to use in places such as a
 Google search (such as MySQL does).  You could then search for the
 translated error message or the code if you feel your language skills
 are good enough to get multi-lingual results.


Oracle handle error message this way, for example:

ORA-01000: maximum open cursors exceeded

it's hard to maintain multi-lingual log message for open source project.




 Since we are going to be reworking i18n very soon I suspect feedback
 would be welcome.

 Kind Regards
 --
 Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.uk/

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to     : 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] i18n of log message

2012-04-30 Thread
the log messages of OpenStack are i18n now.

i propose to use english only log messages:

1. if any one have problem, they can shared with others more easy.
he can search english message, and send message to maillist.
if the log message is i18n, a Chinese version message can't shared to
Japanese.

2. if we have i18n log message, it's hard to update log message. we should
update every localization version of message.


-- 
彭勇 (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


Re: [Openstack] what's wrong with novnc package in Ubuntu precise ?

2012-04-18 Thread
here is package compiled by me:

http://openstack.pubyun.com/ubuntu/

2012/4/19 Alexander Gordeev agord...@mirantis.com:
 Hey folks,

 the current novnc package from universe is not workable with Essex release

 I filled a bug against this, but with no response at all

 https://bugs.launchpad.net/ubuntu/+source/novnc/+bug/956949

 any thoughts/suggestions ?


 Many thanks, Alex

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to     : 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


Re: [Openstack] OpenStack 2012.1 (Essex) is RELEASED !

2012-04-05 Thread
great, thanks

2012/4/5 Razique Mahroua razique.mahr...@gmail.com

 Congrats everybody for the great work.

 *Nuage  Co - Razique Mahroua** *
 razique.mahr...@gmail.com


 Le 5 avr. 2012 à 17:02, Duncan McGreggor a écrit :

 Nicely done!

 Congratulations, everyone!!!

 d

 On Thu, Apr 5, 2012 at 10:52 AM, Thierry Carrez thie...@openstack.org
 wrote:

 Hello everyone,


 I'm very happy to announce the immediate release of OpenStack 2012.1

 (code-named Essex). This coordinated release contains 5 components:


 OpenStack Compute (Nova) 2012.1:

 https://launchpad.net/nova/essex/2012.1


 OpenStack Object Storage (Swift) 1.4.8:

 https://launchpad.net/swift/essex/1.4.8


 OpenStack Image Service (Glance) 2012.1:

 https://launchpad.net/glance/essex/2012.1


 OpenStack Identity (Keystone) 2012.1:

 https://launchpad.net/keystone/essex/2012.1


 OpenStack Dashboard (Horizon) 2012.1:

 https://launchpad.net/horizon/essex/2012.1


 You can find tarballs for download, as well as comprehensive lists of

 features and bugfixes, at the URLs above.


 You are strongly encouraged to read the Release Notes at:

 http://wiki.openstack.org/ReleaseNotes/Essex


 Enjoy!


 --

 Thierry Carrez (ttx)

 Release Manager, OpenStack


 ___

 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




-- 
彭勇 (Peng Yong)
常州贝特康姆(BitComm)软件技术有限公司
地址:常州市科教城信息产业园南4楼
电话:+86.519.68887168
传真:+86.519.68887169
手机:+86.18915883399
邮箱:p...@pubyun.com
___
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] dev ref doc for filter_scheduler

2012-04-01 Thread
distributed_scheduler  is renamed to filter_scheduler. and doc is here:

doc/source/devref/filter_scheduler.rst

the developer guide is still point to distributed_scheduler:

http://nova.openstack.org/devref/index.html
http://nova.openstack.org/devref/distributed_scheduler.html

any one can update it?


-- 
彭勇 (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