You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Milamber <mi...@apache.org> on 2015/12/16 09:15:33 UTC

CS 4.7.0 RC1: bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or directory

Hello,

On my 4.7.0 RC1 test environment, I've this warning message:
2015-12-15 23:57:35,165 WARN 
[c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-f1556e81) (logid:db80c3d4) Unable to get 
alerts from router r-11-VM bash: /opt/cloud/bin/getRouterAlerts.sh: No 
such file or directory

I don't find this bash script anywhere (on management node, host node 
and inside the VR)

I find theses references to this script inside:

     public static final String ROUTER_ALERTS = "getRouterAlerts.sh";
./core/src/com/cloud/agent/resource/virtualnetwork/VRScripts.java

         ExecutionResult result = _vrDeployer.executeInVR(routerIp, 
VRScripts.ROUTER_ALERTS, args);
./core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java


I use the system vm template from jenkins [1] dated from 02-Dec-2015.

I my understand, the CS 4.7.0 can use the systemvm 4.6?

This is a bug or just I use the wrong systemvm?


[1] 
http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-4.6.0-kvm.qcow2.bz2



Re: CS 4.7.0 RC1: bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or directory

Posted by Milamber <mi...@apache.org>.

On 16/12/2015 12:54, Wilder Rodrigues wrote:
> Hi there…
>
> What kind of hypervisor do you have?

KVM on Ubuntu 14.04.3

Jira: https://issues.apache.org/jira/browse/CLOUDSTACK-9183

>
> Cheers,
> Wilder
>
>
>> On 16 Dec 2015, at 09:15, Milamber <mi...@apache.org> wrote:
>>
>> Hello,
>>
>> On my 4.7.0 RC1 test environment, I've this warning message:
>> 2015-12-15 23:57:35,165 WARN [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-f1556e81) (logid:db80c3d4) Unable to get alerts from router r-11-VM bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or directory
>>
>> I don't find this bash script anywhere (on management node, host node and inside the VR)
>>
>> I find theses references to this script inside:
>>
>>     public static final String ROUTER_ALERTS = "getRouterAlerts.sh";
>> ./core/src/com/cloud/agent/resource/virtualnetwork/VRScripts.java
>>
>>         ExecutionResult result = _vrDeployer.executeInVR(routerIp, VRScripts.ROUTER_ALERTS, args);
>> ./core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
>>
>>
>> I use the system vm template from jenkins [1] dated from 02-Dec-2015.
>>
>> I my understand, the CS 4.7.0 can use the systemvm 4.6?
>>
>> This is a bug or just I use the wrong systemvm?
>>
>>
>> [1] http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-4.6.0-kvm.qcow2.bz2
>>
>>


Re: CS 4.7.0 RC1: bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or directory

Posted by Wilder Rodrigues <WR...@schubergphilis.com>.
Hi there… 

What kind of hypervisor do you have?

Cheers,
Wilder


> On 16 Dec 2015, at 09:15, Milamber <mi...@apache.org> wrote:
> 
> Hello,
> 
> On my 4.7.0 RC1 test environment, I've this warning message:
> 2015-12-15 23:57:35,165 WARN [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-f1556e81) (logid:db80c3d4) Unable to get alerts from router r-11-VM bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or directory
> 
> I don't find this bash script anywhere (on management node, host node and inside the VR)
> 
> I find theses references to this script inside:
> 
>    public static final String ROUTER_ALERTS = "getRouterAlerts.sh";
> ./core/src/com/cloud/agent/resource/virtualnetwork/VRScripts.java
> 
>        ExecutionResult result = _vrDeployer.executeInVR(routerIp, VRScripts.ROUTER_ALERTS, args);
> ./core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
> 
> 
> I use the system vm template from jenkins [1] dated from 02-Dec-2015.
> 
> I my understand, the CS 4.7.0 can use the systemvm 4.6?
> 
> This is a bug or just I use the wrong systemvm?
> 
> 
> [1] http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-4.6.0-kvm.qcow2.bz2
> 
> 


Re: CS 4.7.0 RC1: bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or directory

Posted by Milamber <mi...@apache.org>.

On 16/12/2015 11:02, Remi Bergsma wrote:
> Hi Milamber,
>
> Nice find! Yes, the 4.6 systemvm template is fine. The 4.7 systemvm.iso contains all changed files that we need.
>
> I see getRouterAlerts.sh in 4.6 but not in 4.7/master. Since I upgraded it still works for me somehow. Will need to investigate why that is.
>
> It looks like regression from 6477bd8ff7f982e10d0d20a97857262897dc05ed, PR 1084.

Reference : CLOUDSTACK-9067


>
> Did you create an issue for it?


Done : https://issues.apache.org/jira/browse/CLOUDSTACK-9183



>   It’s not a big issue I’d say.

I suppose, that could be fix in 4.7.1.

>
> Regards,
> Remi
>
>
>
>
>
> On 16/12/15 09:15, "Milamber" <mi...@apache.org> wrote:
>
>> Hello,
>>
>> On my 4.7.0 RC1 test environment, I've this warning message:
>> 2015-12-15 23:57:35,165 WARN
>> [c.c.n.r.VirtualNetworkApplianceManagerImpl]
>> (RouterStatusMonitor-1:ctx-f1556e81) (logid:db80c3d4) Unable to get
>> alerts from router r-11-VM bash: /opt/cloud/bin/getRouterAlerts.sh: No
>> such file or directory
>>
>> I don't find this bash script anywhere (on management node, host node
>> and inside the VR)
>>
>> I find theses references to this script inside:
>>
>>      public static final String ROUTER_ALERTS = "getRouterAlerts.sh";
>> ./core/src/com/cloud/agent/resource/virtualnetwork/VRScripts.java
>>
>>          ExecutionResult result = _vrDeployer.executeInVR(routerIp,
>> VRScripts.ROUTER_ALERTS, args);
>> ./core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
>>
>>
>> I use the system vm template from jenkins [1] dated from 02-Dec-2015.
>>
>> I my understand, the CS 4.7.0 can use the systemvm 4.6?
>>
>> This is a bug or just I use the wrong systemvm?
>>
>>
>> [1]
>> http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-4.6.0-kvm.qcow2.bz2
>>
>>


Re: CS 4.7.0 RC1: bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or directory

Posted by Remi Bergsma <RB...@schubergphilis.com>.
Hi Milamber,

Nice find! Yes, the 4.6 systemvm template is fine. The 4.7 systemvm.iso contains all changed files that we need.

I see getRouterAlerts.sh in 4.6 but not in 4.7/master. Since I upgraded it still works for me somehow. Will need to investigate why that is.

It looks like regression from 6477bd8ff7f982e10d0d20a97857262897dc05ed, PR 1084.

Did you create an issue for it? It’s not a big issue I’d say.

Regards,
Remi





On 16/12/15 09:15, "Milamber" <mi...@apache.org> wrote:

>Hello,
>
>On my 4.7.0 RC1 test environment, I've this warning message:
>2015-12-15 23:57:35,165 WARN 
>[c.c.n.r.VirtualNetworkApplianceManagerImpl] 
>(RouterStatusMonitor-1:ctx-f1556e81) (logid:db80c3d4) Unable to get 
>alerts from router r-11-VM bash: /opt/cloud/bin/getRouterAlerts.sh: No 
>such file or directory
>
>I don't find this bash script anywhere (on management node, host node 
>and inside the VR)
>
>I find theses references to this script inside:
>
>     public static final String ROUTER_ALERTS = "getRouterAlerts.sh";
>./core/src/com/cloud/agent/resource/virtualnetwork/VRScripts.java
>
>         ExecutionResult result = _vrDeployer.executeInVR(routerIp, 
>VRScripts.ROUTER_ALERTS, args);
>./core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
>
>
>I use the system vm template from jenkins [1] dated from 02-Dec-2015.
>
>I my understand, the CS 4.7.0 can use the systemvm 4.6?
>
>This is a bug or just I use the wrong systemvm?
>
>
>[1] 
>http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-4.6.0-kvm.qcow2.bz2
>
>