Re: [Openstack] [openstack-dev][neutron]

2017-03-10 Thread Abdulhalim Dandoush
Dear all,

The issue is that we want to create a virtual link between two VMs on
the same physical machine (regardless of their interfaces and network
already created by neutron that inter-connect them through br-int or
ovs). Let us consider the most simple scenario: same physical machine,
same project, etc.

More specifically, let's say that using network name-spaces we can do it
easily as follow, and we want to do the same for compute VMs.

Create two net NameSpaces and inter-connect them via direct veth link

--
$ sudo ip netns add vm1

$ sudo ip netns add vm2

$ sudo ip link add name veth1 type veth peer name veth2

$ sudo ip link set dev veth2 netns vm2

$ sudo ip link set dev veth1 netns vm1

$ sudo ip netns exec vm2 ip link set dev veth2 up

$ sudo ip netns exec vm1 ip link set dev veth1 up

$ sudo ip netns exec vm2 ip address add 10.1.1.2/24 dev veth2

$ sudo ip netns exec vm1 ip address add 10.1.1.1/24 dev veth1

$ sudo ip netns exec vm1 bash

# ifconfig

veth1 Link encap:Ethernet  HWaddr 1e:d8:69:ba:76:e2

  inet addr:10.1.1.1  Bcast:0.0.0.0  Mask:255.255.255.0

  inet6 addr: fe80::1cd8:69ff:feba:76e2/64 Scope:Link

  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

  RX packets:8 errors:0 dropped:0 overruns:0 frame:0

  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0

  collisions:0 txqueuelen:1000

  RX bytes:648 (648.0 B)  TX bytes:648 (648.0 B)



# ping 10.1.1.2

PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.

64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.051 ms

64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.061 ms

64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.072 ms

^C

--- 10.1.1.2 ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 1998ms

--

Thanks in advance,

Abdulhalim

Le 22/02/2017 02:18, 김기석 [Kiseok Kim] a écrit :
> Hello Roua Touihri,
> 
>  
> 
> I think you should consider neutron service plugin.
> 
> with neutron service plugin, you could crdate your own network service
> what you want.
> 
>  
> 
> you could insert your codes into service plugin interacting with
> event(create, delete, update) and resource(port, sunnet, network..)
> 
>  
> 
> Thank you.
> 
>  
> 
> *From:*Roua Touihri [mailto:roua.toui...@devoteam.com]
> *Sent:* Wednesday, February 22, 2017 12:03 AM
> *To:* openstack-...@lists.openstack.org; openstack@lists.openstack.org
> *Cc:* Abdulhalim Dandoush
> *Subject:* [Openstack] [openstack-dev][neutron]
> 
>  
> 
> Hello everybody,
> 
>  
> 
> How can we interconnect two VMs without using a bridge or a switch as an
> intermediate. That is, only via a virtual link (e.g. veth or tap). In
> fact, I see that when we create an aditional subnet and two ports of the
> given subnet. Then when I attach each port to a running VM, neutron use
> a bridge as an intermediate element. I want to create a mesh topology
> between several VMs of the same tenant in addition to or without the
> default network created by neutron.
> 
>  
> 
> If such a configuration were not possible, I must then create new APIs
> for doing that. However, I do not know how to get started with this
> task. I guess that I should create new classes similarly to the
> "neutron.create_port" one and maybe to overload the veth/tap constructor.
> 
>  
> 
> Thanks in advance
> 
>  
> 
> -- 
> 
>  
> 
> ​Kindly,
> 
>  
> 
>  
> 
> R.T
> 

-- 
Abdulhalim Dandoush
---
PhD in Information Technology
Researcher-Teacher
ESME Sudria, Paris Sud
Images, Signals and Networks Lab
Tel: +33 1 56 20 62 33
Fax: +33 1 56 20 62 62

___
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] Query Reg. Mirantis Community Version

2017-03-10 Thread Raja T Nair
Thanks Jay. I am checking StackLight.
My intention was to leverage my existing monitoring infra to watch Fuel
nodes as well.

Regards,
Raja.

On 7 March 2017 at 21:23, Simon Pasquier  wrote:

> Hello Raja,
> If you're using Fuel, I would recommend you to use the StackLight plugins
> for monitoring. You can download the plugins and their user guides here [1].
> Best regards,
> Simon
> [1] https://www.mirantis.com/software/fuel-plugins/
>
>
> On Tue, Mar 7, 2017 at 4:55 AM, Raja T Nair  wrote:
>
>> Thanks Jay, for responding and correcting me.
>> Yes I meant Mirantis Fuel and openstack packages.
>>
>> I am trying to implement Mirantis openstack in my infrastructure. Had a
>> query about monitoring the platform.
>> - Is it possible to use my existing monitoring setup(nagios, cacti) to
>> monitor the Mirantis nodes?
>>
>> Best Regards,
>> Raja.
>>
>>
>> On Monday, 6 March 2017, Jay Pipes  wrote:
>>
>>> On 03/06/2017 06:05 AM, Raja T Nair wrote:
>>>
 Hi,

 Can I ask queries about Mirantis community version on this list?
 If not, can somebody point to an appropriate link?

>>>
>>> Hi Raja,
>>>
>>> There's no such thing as Mirantis Community version. Are you referring
>>> to OpenStack Fuel? Perhaps the Mirantis OpenStack packages? Something else
>>> entirely?
>>>
>>> Please elaborate :)
>>>
>>> Best,
>>> -jay
>>>
>>> ___
>>> 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
>>
>>
>


-- 
:^)
___
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] Trove is skipped in Newton

2017-03-10 Thread Mark Kirkwood
The way I have debugged this issue is enabling port 22 (+ssh keys) so 
you can log into the guest instance and see why it has failed to get to 
a running state. Once there it is usually obvious what has gone wrong 
(but may require several retries to get working)!


Best wishes

Mark


On 09/03/17 20:31, Wang Sen wrote:

I have been trying to deploy trove since last December, but my database
instances never escape from BUILD or Error state :(





___
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] oslo_service.service error starting thread

2017-03-10 Thread ChangBo Guo
I think you'd better file a bug in https://bugs.launchpad.net/nova/
and post details of logs there, then developers can help figure out the
root cause.

2017-03-10 16:22 GMT+08:00 Excalibur <243523...@qq.com>:

> hi guys,
>
> I followed the docs to install otaca version. But when I finished
> installing and configuring a compute node, and came to verify operation. I
> found there are only service components on the controller node are enabled,
> the service component on the compute node is not appeared in the compute
> service list.
>
> I checked the nova-compute.log,and it said oslo_service.service error
> starting thread.
>
> I need your help, thanks a lot !
>
> Sincerely,
> Jeff
>
> ___
> 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
>
>


-- 
ChangBo Guo(gcb)
___
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] oslo_service.service error starting thread

2017-03-10 Thread Excalibur
This is the whole log:
 2017-03-10 16:05:20.724 25061 INFO os_vif [-] Loaded VIF plugins: ovs, 
linux_bridge
2017-03-10 16:05:20.724 25061 WARNING oslo_reports.guru_meditation_report [-] 
Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward 
compatibility. SIGUSR1 will no longer be registered in a future release, so 
please use SIGUSR2 to generate reports.
2017-03-10 16:05:20.758 25061 WARNING oslo_config.cfg [-] Option "use_neutron" 
from group "DEFAULT" is deprecated for removal.  Its value may be silently 
ignored in the future.
2017-03-10 16:05:20.785 25061 INFO nova.virt.driver 
[req-f5c5bd6b-6d4e-4eab-840f-dda1f506d0a9 - - - - -] Loading compute driver 
'libvirt.LibvirtDriver'
2017-03-10 16:05:20.935 25061 WARNING os_brick.initiator.connectors.remotefs 
[req-f5c5bd6b-6d4e-4eab-840f-dda1f506d0a9 - - - - -] Connection details not 
present. RemoteFsClient may not initialize properly.
2017-03-10 16:05:20.978 25061 WARNING oslo_config.cfg 
[req-f5c5bd6b-6d4e-4eab-840f-dda1f506d0a9 - - - - -] Option 
"force_dhcp_release" from group "DEFAULT" is deprecated for removal.  Its value 
may be silently ignored in the future.
2017-03-10 16:05:21.004 25061 INFO nova.service [-] Starting compute node 
(version 15.0.0-1.el7)
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service [-] Error starting 
thread.
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service Traceback (most recent 
call last):
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service   File 
"/usr/lib/python2.7/site-packages/oslo_service/service.py", line 722, in 
run_service
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service service.start()
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service   File 
"/usr/lib/python2.7/site-packages/nova/service.py", line 144, in start
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service 
self.manager.init_host()
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service   File 
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1136, in 
init_host
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service raise 
exception.PlacementNotConfigured()
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service 
PlacementNotConfigured: This compute is not configured to talk to the placement 
service. Configure the [placement] section of nova.conf and restart the service.
2017-03-10 16:05:21.005 25061 ERROR oslo_service.service___
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] oslo_service.service error starting thread

2017-03-10 Thread Excalibur
hi guys,
  
 I followed the docs to install otaca version. But when I finished installing 
and configuring a compute node, and came to verify operation. I found there are 
only service components on the controller node are enabled, the service 
component on the compute node is not appeared in the compute service list.
  
 I checked the nova-compute.log,and it said oslo_service.service error starting 
thread.
  
 I need your help, thanks a lot !
  
 Sincerely,
 Jeff___
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