[
https://issues.apache.org/jira/browse/CLOUDSTACK-9183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589098#comment-15589098
]
Paul Angus commented on CLOUDSTACK-9183:
----------------------------------------
Pull suggests that reviewers check code that files were no longer in use.
obviously they were wrong, 5 mins digging yields:
getRouterAlerts.sh referenced as ROUTER_ALERTS
https://github.com/apache/cloudstack/blob/87ef8137534fa798101f65c6691fcf71513ac978/core/src/com/cloud/agent/resource/virtualnetwork/VRScripts.java#L57
ROUTER_ALERTS used by GetRouterAlertsAnswer
https://github.com/apache/cloudstack/blob/87ef8137534fa798101f65c6691fcf71513ac978/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java#L225
then it gets confusing because there is another GetRouterAlertsAnswer
import com.cloud.agent.api.GetRouterAlertsAnswer;
https://github.com/apache/cloudstack/blob/87ef8137534fa798101f65c6691fcf71513ac978/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java#L46
> CS 4.7.0 bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or directory
> ---------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9183
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9183
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: SystemVM
> Affects Versions: 4.7.0
> Environment: CloudStack 4.7.0 RC1, Ubuntu 14.04.3, KVM, NFS
> Reporter: Milamber
> Labels: kvm, systemvm
>
> 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
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)