Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Audrey Roberto B Baldin
Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and yes, the 
OVS plugin is missing. So I ask: Why is it missing? I had seen it before (CS 
4.5.1 probably) and using XEN 6.5 was able to configure PVLAN.

Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?


Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" 
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" 
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Hello Audrey,

 Look at this document: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN
 XenServer uses OVS and CS have OVS pluging to work with. OVS plugin 
for cloudstack hasn't been updated for a long time as I know. At my CS 
4.5.2 this plugin is missing, though in older versions of CS it was 
present. I think this functionality does not work for XenServer 6.5. Use 
VLANs - it is more reliable.

Vadim.

  On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:

> Hello everybody!
> 
> I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated 
> for Public traffic, one for MGMT + Secondary Storage, one for Primary 
> Storage and a bond configured for the Guest traffic. Zone is installed 
> as Advanced without Security Groups.
> 
> When I add a Guest Network with PVLAN, the network is created, but when 
> I try to create a new instance it does not start. I realized that the 
> virtual router also does not start. Adding a Guest Network without 
> PVLAN works as expected.
> 
> Does anyone have an idea about it?
> 
> Looking into the log I could find the information below:
> 
> 2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase] 
> (DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
> d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label: 
> GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
> r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was 
> a failure communicating with the plugin.
> 
> 2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr
> owable caught while executing command
> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed 
> for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
> b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add, 
> dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1
> 50.236.11, due to There was a failure communicating with the plugin.
> at 
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
> at 
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
> at 
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:541)
> at 
> com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:64)
> at 
> com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:87)
> at 
> com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:6
> 5)
> at 
> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:1
> 03)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53
> )
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.j
> ava:178)
> at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292
> )
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> 
> Thanks for your help!
> 
> Att.,
> Audrey


Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Vadim Kimlaychuk

Dear Audrey,

 OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created 
bug report in JIRA 
https://issues.apache.org/jira/browse/CLOUDSTACK-7446. Since 4.5.1 this 
plugin is not in the list anymore. The reason, I guess, is outdated code 
that is not compatible with this release. CS 4.6 version has a lot of 
problems with VR, so I would not recommend you to install it. Don't know 
if OVS is back there. I doubt.


 I think you may find OVS plugin at CS source tree, but whether you want 
to update it? Is PVLAN so important for you?


Vadim.

On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:


Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and 
yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen 
it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure 
PVLAN.


Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?

Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" 
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" 
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Hello Audrey,

Look at this document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN 
[1]

XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
for cloudstack hasn't been updated for a long time as I know. At my CS
4.5.2 this plugin is missing, though in older versions of CS it was
present. I think this functionality does not work for XenServer 6.5. 
Use

VLANs - it is more reliable.

Vadim.

On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:


Hello everybody!

I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
for Public traffic, one for MGMT + Secondary Storage, one for Primary
Storage and a bond configured for the Guest traffic. Zone is installed
as Advanced without Security Groups.

When I add a Guest Network with PVLAN, the network is created, but 
when

I try to create a new instance it does not start. I realized that the
virtual router also does not start. Adding a Guest Network without
PVLAN works as expected.

Does anyone have an idea about it?

Looking into the log I could find the information below:

2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label:
GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was
a failure communicating with the plugin.

2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache]
(DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr
owable caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add,
dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1
50.236.11, due to There was a failure communicating with the plugin.
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:541)
at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:64)
at
com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:87)
at
com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:6
5)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:1
03)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53
)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.j
ava:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292
)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java

Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Remi Bergsma
Hi Vadim,

What VR problems do you refer to in ACS 4.6?

Regards,
Remi






On 18/11/15 12:52, "Vadim Kimlaychuk"  wrote:

>Dear Audrey,
>
>  OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created 
>bug report in JIRA 
>https://issues.apache.org/jira/browse/CLOUDSTACK-7446. Since 4.5.1 this 
>plugin is not in the list anymore. The reason, I guess, is outdated code 
>that is not compatible with this release. CS 4.6 version has a lot of 
>problems with VR, so I would not recommend you to install it. Don't know 
>if OVS is back there. I doubt.
>
>  I think you may find OVS plugin at CS source tree, but whether you want 
>to update it? Is PVLAN so important for you?
>
>Vadim.
>
>On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:
>
>> Hi Vadim, thanks for your help.
>> 
>> After reading your message I remembered of the plugin area of CS and 
>> yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen 
>> it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure 
>> PVLAN.
>> 
>> Is it possible to instal the OVS plugin? Where can I find it?
>> 
>> Does CS 4.6 has the plugin out-of-the-box?
>> 
>> Att.,
>> Audrey
>> 
>> - Mensagem original -
>> De: "Vadim Kimlaychuk" 
>> Para: users@cloudstack.apache.org
>> Cc: "Audrey Roberto B Baldin" 
>> Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
>> Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan
>> 
>> Hello Audrey,
>> 
>> Look at this document:
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN
>>  
>> [1]
>> XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
>> for cloudstack hasn't been updated for a long time as I know. At my CS
>> 4.5.2 this plugin is missing, though in older versions of CS it was
>> present. I think this functionality does not work for XenServer 6.5. 
>> Use
>> VLANs - it is more reliable.
>> 
>> Vadim.
>> 
>> On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:
>> 
>>> Hello everybody!
>>> 
>>> I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
>>> for Public traffic, one for MGMT + Secondary Storage, one for Primary
>>> Storage and a bond configured for the Guest traffic. Zone is installed
>>> as Advanced without Security Groups.
>>> 
>>> When I add a Guest Network with PVLAN, the network is created, but 
>>> when
>>> I try to create a new instance it does not start. I realized that the
>>> virtual router also does not start. Adding a Guest Network without
>>> PVLAN works as expected.
>>> 
>>> Does anyone have an idea about it?
>>> 
>>> Looking into the log I could find the information below:
>>> 
>>> 2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase]
>>> (DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
>>> d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label:
>>> GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
>>> r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was
>>> a failure communicating with the plugin.
>>> 
>>> 2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache]
>>> (DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr
>>> owable caught while executing command
>>> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
>>> for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
>>> b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add,
>>> dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1
>>> 50.236.11, due to There was a failure communicating with the plugin.
>>> at
>>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
>>> at
>>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
>>> at
>>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:541)
>>> at
>>> com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:64)
>>> at
>>> com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:87)
>>> at
>>> com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:6
>>> 5)
>>> at
>>> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
>>> at
>>> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>>> at
>>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>>> at
>>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:1
>>> 03)
>>> at
>>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53
>>> )
>>> at
>>> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>>> at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>> a

Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Vadim Kimlaychuk

Dear Remi,

My apologize to mislead Audrey with notations - problem were 
with VPC, not VR. Voting process for 4.6 release was also very 
difficult. Of course official release will be stabilized, but from user 
perspective I will say the same to Aundery - 4.6 will not solve his 
problem with OVS plugin and probably will bring more problems than 
4.5.2. May be this is just fear before release, but this is my personal 
fear - I will wait until 4.6.1 definitely.  My 4.5.2 VPC works too good 
to take a risk of immediate update :)


Vadim.

On 2015-11-18 15:32, Remi Bergsma wrote:


Hi Vadim,

What VR problems do you refer to in ACS 4.6?

Regards,
Remi

On 18/11/15 12:52, "Vadim Kimlaychuk"  wrote:

Dear Audrey,

OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created
bug report in JIRA
https://issues.apache.org/jira/browse/CLOUDSTACK-7446 [1]. Since 4.5.1 
this
plugin is not in the list anymore. The reason, I guess, is outdated 
code

that is not compatible with this release. CS 4.6 version has a lot of
problems with VR, so I would not recommend you to install it. Don't 
know

if OVS is back there. I doubt.

I think you may find OVS plugin at CS source tree, but whether you want
to update it? Is PVLAN so important for you?

Vadim.

On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:

Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and
yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen
it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure
PVLAN.

Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?

Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" 
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" 
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Hello Audrey,

Look at this document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN 
[2]

[1]
XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
for cloudstack hasn't been updated for a long time as I know. At my CS
4.5.2 this plugin is missing, though in older versions of CS it was
present. I think this functionality does not work for XenServer 6.5.
Use
VLANs - it is more reliable.

Vadim.

On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:

Hello everybody!

I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
for Public traffic, one for MGMT + Secondary Storage, one for Primary
Storage and a bond configured for the Guest traffic. Zone is installed
as Advanced without Security Groups.

When I add a Guest Network with PVLAN, the network is created, but
when
I try to create a new instance it does not start. I realized that the
virtual router also does not start. Adding a Guest Network without
PVLAN works as expected.

Does anyone have an idea about it?

Looking into the log I could find the information below:

2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label:
GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was
a failure communicating with the plugin.

2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache]
(DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr
owable caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add,
dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1
50.236.11, due to There was a failure communicating with the plugin.
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:541)
at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:64)
at
com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:87)
at
com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:6
5)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:1
03)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(D

Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Audrey Roberto B Baldin
Vadim,

I will use VPC also, but in my initial tests (CS 4.5.2), when I tried to 
configure a static route to a private gateway, using the UI or cloudmonkey, the 
route was not installed in the VR. Did you notice this problem?

Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" 
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" , "Remi Bergsma" 

Enviadas: Quarta-feira, 18 de Novembro de 2015 12:45:28
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Dear Remi,

 My apologize to mislead Audrey with notations - problem were 
with VPC, not VR. Voting process for 4.6 release was also very 
difficult. Of course official release will be stabilized, but from user 
perspective I will say the same to Aundery - 4.6 will not solve his 
problem with OVS plugin and probably will bring more problems than 
4.5.2. May be this is just fear before release, but this is my personal 
fear - I will wait until 4.6.1 definitely.  My 4.5.2 VPC works too good 
to take a risk of immediate update :)

Vadim.

On 2015-11-18 15:32, Remi Bergsma wrote:

> Hi Vadim,
> 
> What VR problems do you refer to in ACS 4.6?
> 
> Regards,
> Remi
> 
> On 18/11/15 12:52, "Vadim Kimlaychuk"  wrote:
> 
> Dear Audrey,
> 
> OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created
> bug report in JIRA
> https://issues.apache.org/jira/browse/CLOUDSTACK-7446 [1]. Since 4.5.1 
> this
> plugin is not in the list anymore. The reason, I guess, is outdated 
> code
> that is not compatible with this release. CS 4.6 version has a lot of
> problems with VR, so I would not recommend you to install it. Don't 
> know
> if OVS is back there. I doubt.
> 
> I think you may find OVS plugin at CS source tree, but whether you want
> to update it? Is PVLAN so important for you?
> 
> Vadim.
> 
> On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:
> 
> Hi Vadim, thanks for your help.
> 
> After reading your message I remembered of the plugin area of CS and
> yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen
> it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure
> PVLAN.
> 
> Is it possible to instal the OVS plugin? Where can I find it?
> 
> Does CS 4.6 has the plugin out-of-the-box?
> 
> Att.,
> Audrey
> 
> - Mensagem original -
> De: "Vadim Kimlaychuk" 
> Para: users@cloudstack.apache.org
> Cc: "Audrey Roberto B Baldin" 
> Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
> Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan
> 
> Hello Audrey,
> 
> Look at this document:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN
>  
> [2]
> [1]
> XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
> for cloudstack hasn't been updated for a long time as I know. At my CS
> 4.5.2 this plugin is missing, though in older versions of CS it was
> present. I think this functionality does not work for XenServer 6.5.
> Use
> VLANs - it is more reliable.
> 
> Vadim.
> 
> On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:
> 
> Hello everybody!
> 
> I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
> for Public traffic, one for MGMT + Secondary Storage, one for Primary
> Storage and a bond configured for the Guest traffic. Zone is installed
> as Advanced without Security Groups.
> 
> When I add a Guest Network with PVLAN, the network is created, but
> when
> I try to create a new instance it does not start. I realized that the
> virtual router also does not start. Adding a Guest Network without
> PVLAN works as expected.
> 
> Does anyone have an idea about it?
> 
> Looking into the log I could find the information below:
> 
> 2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
> d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label:
> GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
> r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was
> a failure communicating with the plugin.
> 
> 2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache]
> (DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr
> owable caught while executing command
> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
> for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
> b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add,
> dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1
> 50.236.11, due to There was a failure communicating with the plugin.
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:541)
> at
> com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:64)
> at
> com.cloud.hypervisor.xenser

Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Vadim Kimlaychuk

Audrey,

  If you talk about VPC private gateway you should start a new 
thread. I haven't used it yet.


Vadim.

On 2015-11-18 17:16, Audrey Roberto B Baldin wrote:


Vadim,

I will use VPC also, but in my initial tests (CS 4.5.2), when I tried 
to configure a static route to a private gateway, using the UI or 
cloudmonkey, the route was not installed in the VR. Did you notice this 
problem?


Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" 
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" , "Remi 
Bergsma" 

Enviadas: Quarta-feira, 18 de Novembro de 2015 12:45:28
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Dear Remi,

My apologize to mislead Audrey with notations - problem were
with VPC, not VR. Voting process for 4.6 release was also very
difficult. Of course official release will be stabilized, but from user
perspective I will say the same to Aundery - 4.6 will not solve his
problem with OVS plugin and probably will bring more problems than
4.5.2. May be this is just fear before release, but this is my personal
fear - I will wait until 4.6.1 definitely. My 4.5.2 VPC works too good
to take a risk of immediate update :)

Vadim.

On 2015-11-18 15:32, Remi Bergsma wrote:


Hi Vadim,

What VR problems do you refer to in ACS 4.6?

Regards,
Remi

On 18/11/15 12:52, "Vadim Kimlaychuk"  wrote:

Dear Audrey,

OVS plugin, as I remember, last seen OK before CS 4.4.0. I have 
created

bug report in JIRA
https://issues.apache.org/jira/browse/CLOUDSTACK-7446 [1] [1 [1]]. 
Since 4.5.1

this
plugin is not in the list anymore. The reason, I guess, is outdated
code
that is not compatible with this release. CS 4.6 version has a lot of
problems with VR, so I would not recommend you to install it. Don't
know
if OVS is back there. I doubt.

I think you may find OVS plugin at CS source tree, but whether you 
want

to update it? Is PVLAN so important for you?

Vadim.

On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:

Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and
yes, the OVS plugin is missing. So I ask: Why is it missing? I had 
seen

it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure
PVLAN.

Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?

Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" 
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" 
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Hello Audrey,

Look at this document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN 
[2]

[2 [2]]
[1 [1]]
XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
for cloudstack hasn't been updated for a long time as I know. At my CS
4.5.2 this plugin is missing, though in older versions of CS it was
present. I think this functionality does not work for XenServer 6.5.
Use
VLANs - it is more reliable.

Vadim.

On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:

Hello everybody!

I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
for Public traffic, one for MGMT + Secondary Storage, one for Primary
Storage and a bond configured for the Guest traffic. Zone is installed
as Advanced without Security Groups.

When I add a Guest Network with PVLAN, the network is created, but
when
I try to create a new instance it does not start. I realized that the
virtual router also does not start. Adding a Guest Network without
PVLAN works as expected.

Does anyone have an idea about it?

Looking into the log I could find the information below:

2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label:
GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was
a failure communicating with the plugin.

2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache]
(DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr
owable caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add,
dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1
50.236.11, due to There was a failure communicating with the plugin.
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:541)
at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:64)
at
com.cloud.hypervisor.xenserver.resource.XenServer610Resource.e

How to migrate the normal router to vpc router

2015-11-18 Thread kotipalli venkatesh
Hi Friends,

How to migrate the normal router to vpc router.

Note:* Without dis-tubing the interface.*

Is anyone Successfully migrate the above scenario  are any one have good
idea migration routers please help me guys.

Thank you,
Venkatesh.k


Re: How to migrate the normal router to vpc router

2015-11-18 Thread Daan Hoogland
Venkatesh,

I'm afraid it is not possible at the moment. The plan is to unify vr and
vpc in the future.

On Wed, Nov 18, 2015 at 5:22 PM, kotipalli venkatesh <
venkateshcloudt...@gmail.com> wrote:

> Hi Friends,
>
> How to migrate the normal router to vpc router.
>
> Note:* Without dis-tubing the interface.*
>
> Is anyone Successfully migrate the above scenario  are any one have good
> idea migration routers please help me guys.
>
> Thank you,
> Venkatesh.k
>



-- 
Daan


Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Remi Bergsma
Hi Vadim,

Thanks for your reply. For the 4.6 release we changed the way we work. Instead 
of branching off early and making a release branch stable, we decided to 
stabilise master. We got many complaints that master didn’t compile at times or 
functionality wasn’t tested before it entered master. Making master stable was 
quite some work, even harder than making a release branch stable. I can imagine 
that process gives you the impression of “many problems”.

In reality, this should bring more stable releases. 4.7 will be built on top of 
4.6, so if 4.6 is good, 4.7 will be better (and so on). In the past, 4.5 was 
not built on top of 4.4 (so you saw problems coming back and had to wait until 
a .1 or .2 release, indeed).


4.6.0 was released after just two RC voting rounds, while previous releases 
needed more of them. That says something about the quality IMHO.

This is not so related to the question that was asked but I wanted to be sure 
there weren’t any “problems” in 4.6 that I didn’t know about (so they could be 
addressed). It’s perfectly fine not to upgrade yet. But please don’t give 
people the impression there are “many problems” while you cannot name them.


In the mean while we work on 4.6.1 and 4.7.0 and hopefully some day you’ll have 
a smooth upgrade and enjoy the new features.

If you need any help with upgrading, please drop us a line on the dev list.

Regards,
Remi


On 18/11/15 15:45, "Vadim Kimlaychuk"  wrote:

>Dear Remi,
>
> My apologize to mislead Audrey with notations - problem were 
>with VPC, not VR. Voting process for 4.6 release was also very 
>difficult. Of course official release will be stabilized, but from user 
>perspective I will say the same to Aundery - 4.6 will not solve his 
>problem with OVS plugin and probably will bring more problems than 
>4.5.2. May be this is just fear before release, but this is my personal 
>fear - I will wait until 4.6.1 definitely.  My 4.5.2 VPC works too good 
>to take a risk of immediate update :)
>
>Vadim.
>
>On 2015-11-18 15:32, Remi Bergsma wrote:
>
>> Hi Vadim,
>> 
>> What VR problems do you refer to in ACS 4.6?
>> 
>> Regards,
>> Remi
>> 
>> On 18/11/15 12:52, "Vadim Kimlaychuk"  wrote:
>> 
>> Dear Audrey,
>> 
>> OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created
>> bug report in JIRA
>> https://issues.apache.org/jira/browse/CLOUDSTACK-7446 [1]. Since 4.5.1 
>> this
>> plugin is not in the list anymore. The reason, I guess, is outdated 
>> code
>> that is not compatible with this release. CS 4.6 version has a lot of
>> problems with VR, so I would not recommend you to install it. Don't 
>> know
>> if OVS is back there. I doubt.
>> 
>> I think you may find OVS plugin at CS source tree, but whether you want
>> to update it? Is PVLAN so important for you?
>> 
>> Vadim.
>> 
>> On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:
>> 
>> Hi Vadim, thanks for your help.
>> 
>> After reading your message I remembered of the plugin area of CS and
>> yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen
>> it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure
>> PVLAN.
>> 
>> Is it possible to instal the OVS plugin? Where can I find it?
>> 
>> Does CS 4.6 has the plugin out-of-the-box?
>> 
>> Att.,
>> Audrey
>> 
>> - Mensagem original -
>> De: "Vadim Kimlaychuk" 
>> Para: users@cloudstack.apache.org
>> Cc: "Audrey Roberto B Baldin" 
>> Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
>> Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan
>> 
>> Hello Audrey,
>> 
>> Look at this document:
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN
>>  
>> [2]
>> [1]
>> XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
>> for cloudstack hasn't been updated for a long time as I know. At my CS
>> 4.5.2 this plugin is missing, though in older versions of CS it was
>> present. I think this functionality does not work for XenServer 6.5.
>> Use
>> VLANs - it is more reliable.
>> 
>> Vadim.
>> 
>> On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:
>> 
>> Hello everybody!
>> 
>> I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
>> for Public traffic, one for MGMT + Secondary Storage, one for Primary
>> Storage and a bond configured for the Guest traffic. Zone is installed
>> as Advanced without Security Groups.
>> 
>> When I add a Guest Network with PVLAN, the network is created, but
>> when
>> I try to create a new instance it does not start. I realized that the
>> virtual router also does not start. Adding a Guest Network without
>> PVLAN works as expected.
>> 
>> Does anyone have an idea about it?
>> 
>> Looking into the log I could find the information below:
>> 
>> 2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase]
>> (DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
>> d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label:
>> GUESTBR0, isolated-pvlan: 999, op: add, dhcp

Re: SSVM can not connect to Management

2015-11-18 Thread Yan Bai
The java version is 1.7.0_91. Is there anyone solved this issue before? I
think there is something wrong in the Management server so it close the
connection.

Not only the ssvm, one of my host also has this issue. They can not
communicate with management server on port 8250.

-Yan

On Wed, Nov 18, 2015 at 12:09 AM, Rajani Karuturi  wrote:

> what is the java version? upgrading java or nss might help. details at
> http://blog.backslasher.net/java-ssl-crash.html
>
> ~Rajani
>
> On Wed, Nov 18, 2015 at 10:02 AM, Yan Bai  wrote:
>
> > Hi All,
> >
> > I have an issue of connection between SSVM and Management server. I am
> > using Cloudstack 4.5.2 and XenServer 6.2
> >
> > 192.168.1.10 is the Management server. I have turn off firewall of
> > Management server.
> >
> >
> > Below is the error log in SSVM(/var/log/cloud.log):
> >
> > 2015-11-18 04:21:37,989 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> > Connecting to 192.168.1.10:8250
> >
> > 2015-11-18 04:22:38,069 ERROR [utils.nio.NioConnection]
> > (Agent-Selector:null) Unable to initialize the threads.
> >
> > java.io.IOException: Connection closed with -1 on reading size.
> >
> > at com.cloud.utils.nio.Link.doHandshake(Link.java:513)
> >
> > at com.cloud.utils.nio.NioClient.init(NioClient.java:81)
> >
> > at com.cloud.utils.nio.NioConnection.run(NioConnection.java:113)
> >
> > at java.lang.Thread.run(Thread.java:745)
> >
> > 2015-11-18 04:22:43,076 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> > Connecting to 192.168.1.10:8250
> >
> > 2015-11-18 04:23:43,154 ERROR [utils.nio.NioConnection]
> > (Agent-Selector:null) Unable to initialize the threads.
> >
> > java.io.IOException: Connection closed with -1 on reading size.
> >
> > at com.cloud.utils.nio.Link.doHandshake(Link.java:513)
> >
> > at com.cloud.utils.nio.NioClient.init(NioClient.java:81)
> >
> > at com.cloud.utils.nio.NioConnection.run(NioConnection.java:113)
> >
> > at java.lang.Thread.run(Thread.java:745)
> >
> >
> >
> > I have ran health check in SSVM and everything looks fine:
> >
> > root@s-1-VM:/usr/local/cloud/systemvm# ./ssvm-check.sh
> >
> > 
> >
> > First DNS server is  192.168.1.1
> >
> > PING 192.168.1.1 (192.168.1.1): 48 data bytes
> >
> > 56 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=1.037 ms
> >
> > 56 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.895 ms
> >
> > --- 192.168.1.1 ping statistics ---
> >
> > 2 packets transmitted, 2 packets received, 0% packet loss
> >
> > round-trip min/avg/max/stddev = 0.895/0.966/1.037/0.071 ms
> >
> > Good: Can ping DNS server
> >
> > 
> >
> > Good: DNS resolves download.cloud.com
> >
> > 
> >
> > nfs is currently mounted
> >
> > 
> >
> > Management server is 192.168.1.10. Checking connectivity.
> >
> > Good: Can connect to management server port 8250
> >
> > 
> >
> > Good: Java process is running
> >
> > 
> >
> > Tests Complete. Look for ERROR or WARNING above.
> >
> >
> > I feel like something with SSL connection. Seems that the connection
> > between SSVM and Management server is SSL connection. So maybe something
> > wrong with those ssl keys.
> >
> >
> > -Yan
> >
>


Re: gpg verification: missing key 0EE3D884

2015-11-18 Thread Rohit Yadav
Hi John and Udo,

Thanks for bringing this to attention. I’m unsure how I missed this but updated 
the KEYS file now.

Regards.

On 17-Nov-2015, at 5:28 AM, John Kinsella 
mailto:j...@stratosec.co>> wrote:

Rohit - looks like your key isn’t in 
https://dist.apache.org/repos/dist/release/cloudstack/KEYS ?

On Nov 16, 2015, at 3:43 PM, Udo Rader 
mailto:list...@bestsolution.at>> wrote:

Hi,

I've downloaded the latest 4.5.2 tar.bz2 and tried to verify the
download using gpg, but gpg tells me that the used key is unknown:

[udo@artio Downloads]$ gpg --verify apache-cloudstack-4.5.2-src.tar.bz2.asc
gpg: assuming signed data in `apache-cloudstack-4.5.2-src.tar.bz2'
gpg: Signature made Wed 19 Aug 2015 11:13:04 AM CEST using RSA key ID
0EE3D884
gpg: Can't check signature: public key not found

So is the key missing from http://www.apache.org/dist/cloudstack/KEYS or
am I missing something?

Regards

Udo


Regards,
Rohit Yadav
Software Architect, ShapeBlue


[cid:image003.png@01D104EF.CE276C40]


M. +91 88 262 30892 | 
rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.