[Openstack] [OpenStack][Mistral]A simple tool to discover and manage custom actions

2017-05-02 Thread int32bit
Hi, All,

As we know, Mistral allow developer  write a new custom action, but must
reinstall Mistral service if it was installed in our system[1]. I think
it's hardly acceptable for production environment.

So I write a CLI tool used for automatically discovering & registering
custom actions and no need modify any configuration and reinstall any
service. In fact, it's completely independent with Mistral project.

In addition, this project provide a CLI to manage custom actions, we can
list all registered actions, and unregister any action if it doesn't need
any more.

For more detail, please see mistral-actions
.

It work well on our environment but not sure if there is any potential
risk. Thanks for any suggest and comment.


[1]
https://docs.openstack.org/developer/mistral/developer/creating_custom_action.html
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Neutron unable to create VLAN network

2017-05-02 Thread Timothy Geier
I’m doing some testing/PoC on an RDO Ocata CentOS7 setup and everything has 
gone well with the exception of configuring multiple VLANs.

After following the configuration detailed at 
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/networking_guide/sec-connect-instance#Using-VLAN-Provider-Networks
 , neutron errors out with the following:

$ neutron net-create 1_network \
--provider:network_type vlan \
--router:external true \
--provider:physical_network extnet \
--provider:segmentation_id 1 --shared
Unable to create the network. The VLAN 1 on physical network extnet is in use.

extnet is mapped to the OVSbridge br-ex, which has a physical interface that’s 
trunked to all of the available VLANs..trying this command on the other 
available VLANs works, but 1 and 2 (the ones I want to test on) always fails.  
Is there anything obvious to try on the system itself or is this more likely a 
network issue?

Thanks much,

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Neutron unable to create VLAN network

2017-05-02 Thread Kevin Benton
That means vlan 1 is in use by one of the other networks.

On May 2, 2017 14:59, "Timothy Geier"  wrote:

> I’m doing some testing/PoC on an RDO Ocata CentOS7 setup and everything
> has gone well with the exception of configuring multiple VLANs.
>
> After following the configuration detailed at https://access.redhat.com/d
> ocumentation/en-us/red_hat_openstack_platform/10/html/networ
> king_guide/sec-connect-instance#Using-VLAN-Provider-Networks , neutron
> errors out with the following:
>
> $ neutron net-create 1_network \
> --provider:network_type vlan \
> --router:external true \
> --provider:physical_network extnet \
> --provider:segmentation_id 1 --shared
> Unable to create the network. The VLAN 1 on physical network extnet is in
> use.
>
> extnet is mapped to the OVSbridge br-ex, which has a physical interface
> that’s trunked to all of the available VLANs..trying this command on the
> other available VLANs works, but 1 and 2 (the ones I want to test on)
> always fails.  Is there anything obvious to try on the system itself or is
> this more likely a network issue?
>
> Thanks much,
>
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> k
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> k
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Strange: lost physical connectivity to compute hosts when using native (ryu) openflow interface

2017-05-02 Thread Gustavo Randich
Hi Kevin, here is some information aout this issue:

- if the network outage lasts less than ~1 minute, then connectivity to
host and instances is automatically restored without problem

- otherwise:

- upon outage, "ovs-vsctl show" reports "is_connected: true" in all bridges
(br-ex / br-int / br-tun)

- after about ~1 minute, "ovs-vsctl show" ceases to show "is_connected:
true" on every bridge

- upon restoring physical interface (fix outage)

- "ovs-vsctl show" now reports "is_connected: true" in all bridges
(br-ex / br-int / br-tun)

   - access to host and VMs is NOT restored, although some pings are
sporadically answered by host (~1 out of 20)


- to restore connectivity, we:


  - execute "ifdown br-ex; ifup br-ex" -> access to host is restored,
but not to VMs


  - restart neutron-openvswitch-agent -> access to VMs is restored

Thank you!




On Fri, Apr 28, 2017 at 5:07 PM, Kevin Benton  wrote:

> With the network down, does ovs-vsctl show that it is connected to the
> controller?
>
> On Fri, Apr 28, 2017 at 2:21 PM, Gustavo Randich <
> gustavo.rand...@gmail.com> wrote:
>
>> Exactly, we access via a tagged interface, which is part of br-ex
>>
>> # ip a show vlan171
>> 16: vlan171:  mtu 9000 qdisc noqueue
>> state UNKNOWN group default qlen 1
>> link/ether 8e:14:8d:c1:1a:5f brd ff:ff:ff:ff:ff:ff
>> inet 10.171.1.240/20 brd 10.171.15.255 scope global vlan171
>>valid_lft forever preferred_lft forever
>> inet6 fe80::8c14:8dff:fec1:1a5f/64 scope link
>>valid_lft forever preferred_lft forever
>>
>> # ovs-vsctl show
>> ...
>> Bridge br-ex
>> Controller "tcp:127.0.0.1:6633"
>> is_connected: true
>> Port "vlan171"
>> tag: 171
>> Interface "vlan171"
>> type: internal
>> ...
>>
>>
>> On Fri, Apr 28, 2017 at 3:03 PM, Kevin Benton  wrote:
>>
>>> Ok, that's likely not the issue then. I assume the way you access each
>>> host is via an IP assigned to an OVS bridge or an interface that somehow
>>> depends on OVS?
>>>
>>> On Apr 28, 2017 12:04, "Gustavo Randich" 
>>> wrote:
>>>
 Hi Kevin, we are using the default listen address of loopback interface:

 # grep -r of_listen_address /etc/neutron
 /etc/neutron/plugins/ml2/openvswitch_agent.ini:#of_listen_address =
 127.0.0.1


 tcp/127.0.0.1:6640 -> ovsdb-server /etc/openvswitch/conf.db
 -vconsole:emer -vsyslog:err -vfile:info 
 --remote=punix:/var/run/openvswitch/db.sock
 --private-key=db:Open_vSwitch,SSL,private_key
 --certificate=db:Open_vSwitch,SSL,certificate
 --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir
 --log-file=/var/log/openvswitch/ovsdb-server.log
 --pidfile=/var/run/openvswitch/ovsdb-server.pid --detach --monitor

 Thanks




 On Fri, Apr 28, 2017 at 5:00 AM, Kevin Benton  wrote:

> Are you using an of_listen_address value of an interface being brought
> down?
>
> On Apr 25, 2017 17:34, "Gustavo Randich" 
> wrote:
>
>> (using Mitaka / Ubuntu 16 / Neutron DVR / OVS / VXLAN / l2_population)
>>
>> This sounds very strange (to me): recently, after a switch outage, we
>> lost connectivity to all our Mitaka hosts. We had to enter via iLO host 
>> by
>> host and restart networking service to regain access. Then restart
>> neutron-openvswitch-agent to regain access to VMs.
>>
>> At first glance we thought it was a problem with the NIC linux driver
>> of the hosts not detecting link state correctly.
>>
>> Then we reproduced the issue simply bringing down physical interfaces
>> for around 5 minutes, then up again. Same issue.
>>
>> And then we found that if instead of using native (ryu) OpenFlow
>> interface in Neutron Openvswitch we used ovs-ofctl, the problem 
>> disappears.
>>
>> Any clue?
>>
>> Thanks in advance.
>>
>>
>> ___
>> Mailing list: http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>> Post to : openstack@lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>>
>>

>>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Neutron unable to create VLAN network

2017-05-02 Thread Kaustubh Kelkar
VLAN 1 might be treated as the “default” VLAN by your switch.

-Kaustubh

From: Kevin Benton [mailto:ke...@benton.pub]
Sent: Tuesday, May 2, 2017 3:19 PM
To: Timothy Geier 
Cc: openstack@lists.openstack.org
Subject: Re: [Openstack] Neutron unable to create VLAN network

That means vlan 1 is in use by one of the other networks.

On May 2, 2017 14:59, "Timothy Geier" 
mailto:tge...@accertify.com>> wrote:
I’m doing some testing/PoC on an RDO Ocata CentOS7 setup and everything has 
gone well with the exception of configuring multiple VLANs.

After following the configuration detailed at 
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/networking_guide/sec-connect-instance#Using-VLAN-Provider-Networks
 , neutron errors out with the following:

$ neutron net-create 1_network \
--provider:network_type vlan \
--router:external true \
--provider:physical_network extnet \
--provider:segmentation_id 1 --shared
Unable to create the network. The VLAN 1 on physical network extnet is in use.

extnet is mapped to the OVSbridge br-ex, which has a physical interface that’s 
trunked to all of the available VLANs..trying this command on the other 
available VLANs works, but 1 and 2 (the ones I want to test on) always fails.  
Is there anything obvious to try on the system itself or is this more likely a 
network issue?

Thanks much,


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : 
openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] 答复: 答复: [openstack-dev] 答复: OpenStack-Ansible HA solution

2017-05-02 Thread Liyuenan (Maxwell Li)
Hi Sampath

If OSA want to add a role to configure Masakari, maybe I can controbute or 
review some code. I had wrote some ansible yaml yet.

Thank you for your help!

Best Regards!
Maxwell Li
maxwelli.com

-邮件原件-
发件人: Sam P [mailto:sam47pr...@gmail.com] 
发送时间: 2017年5月2日 15:25
收件人: Liyuenan (Maxwell Li)
抄送: OpenStack Development Mailing List (not for usage questions); Andy McCrae; 
openstack@lists.openstack.org
主题: Re: 答复: [openstack-dev] [Openstack] 答复: OpenStack-Ansible HA solution

Hi Maxwell,

 > It is so kind of you if you can touch Masakari team.
No problem. I will bring up this topic in Masakari team meetup in Boston summit.
If you are attend to summit, it would be great if you could attend to the 
discussion.
Please check [1] for Masakri meetings at summit. ( it will update)

[1] https://etherpad.openstack.org/p/Masakari-Boston-Summit


--- Regards,
Sampath



On Tue, May 2, 2017 at 3:32 PM, Liyuenan (Maxwell Li)  
wrote:
> Hi Sampath
>
> I do appreciate for your help! And I will pay attention to Masakari.
>
> It is so kind of you if you can touch Masakari team.
>
> Thank you again!
>
> Best Regards!
> Maxwell Li
> maxwelli.com
>
> -邮件原件-
> 发件人: Sam P [mailto:sam47pr...@gmail.com]
> 发送时间: 2017年4月28日 0:16
> 收件人: OpenStack Development Mailing List (not for usage questions)
> 抄送: Andy McCrae; openstack@lists.openstack.org; Liyuenan (Maxwell Li)
> 主题: Re: [openstack-dev] [Openstack] 答复: OpenStack-Ansible HA solution
>
> Hi Maxwell,
>
>  As John mentioned, current OSA does not support Masakri.
>  However, if it make your work easier, then I would love to discuss this with 
> Masakri team [1].
>
> [1] https://wiki.openstack.org/wiki/Meetings/Masakari
> --- Regards,
> Sampath
>
>
>
> On Thu, Apr 27, 2017 at 10:39 PM, John Petrini  wrote:
>> Hi Maxwell,
>>
>> For compute HA have a look at Masakari - 
>> https://wiki.openstack.org/wiki/Masakari. I don't believe OSA 
>> currently supports it but you could always build your own role for it 
>> and the community would likely be open to integrating it into OSA.
>>
>>
>> On Thu, Apr 27, 2017 at 5:24 AM, Andy McCrae  wrote:
>>>
>>> Hi Maxwell,
>>>
>>>
 I found that OSA use keepalived to resolve controller HA, but 
 whether the keepalived support compute HA? What shoud I do or which 
 file I need to config if I want to resolve compute HA?



 And there are some solutions for compute HA in this web:
 http://aspiers.github.io/openstack-summit-2016-austin-compute-ha/ .
 Would the OSA use pacemaker or some other solutions to support compute HA?


>>>
>>> We don't currently have a nova compute HA solution built-in - 
>>> although OSA itself is quite pluggable, so if you were interested in 
>>> adding functionality to OSA for that - by utilizing the inventory 
>>> and roles that are setup in OSA you would be able to achieve this.
>>>
>>> However, as it stands there is only functionality for adding 
>>> keepalived HA functionality for the controller/API services.
>>>
>>> Andy
>>>
>>> ___
>>> Mailing list:
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to : openstack@lists.openstack.org
>>> Unsubscribe :
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>
>>
>> _
>> _  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
>>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Deployment for production

2017-05-02 Thread Satish Patel
We did POC on RDO and we are happy with product but now question is, should we 
use RDO for production deployment or other open source flavor available to 
deploy on prod. Not sure what is the best method of production deployment?

Sent from my iPhone
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack