[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662068#comment-13662068
 ] 

ASF subversion and git services commented on CLOUDSTACK-2543:
-------------------------------------------------------------

Commit aa60105a84e1260ec9687759a069a0c9cf0c46bf in branch refs/heads/master 
from [~sanjeevn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=aa60105 ]

CLOUDSTACK-2543: [Multiple_IP_Ranges] Failed to create IP alias on router vm
createipAlias.sh/deleteipAlias.sh won't be copied to XenServer host.
The directory of the scripts should be ".." rather "../../.." in all the 
xenserver patches file.
Corrected the path to ".." because the scripts are located at 
scripts/vm/hypervisor/xenserver/xenserver56/patch

                
> [Multiple_IP_Ranges] Failed to create IP alias on router vm
> -----------------------------------------------------------
>
>                 Key: CLOUDSTACK-2543
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2543
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: Latest master build: 
> CloudStack-non-OSS-MASTER-340-rhel6.3.tar.gz
>            Reporter: Sanjeev N
>            Assignee: Sanjeev N
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Failed to create IP alias on router vm
> Repro steps:
> ===========
> 1.Bring up CS in basic zone with xen6.1 cluster
> 2.Add another guest ip range in new cidr
> 3.Exhaust all guest IP addresses from the primary IP range
> 4.Try to deploy guest vm (CS will try to assing ip address from new cidr 
> added at step2)
> Expected Result:
> ==============
> Since vm gets IP address from new cidr ip alias should be created on router 
> vm to server dhcp requests
> Actual Result:
> ============
> vm deployment failed since ip alias creation failed.
> Observations:
> ============
> 1.Observed following error in SMlog on xenserver:
> [13543] 2013-05-16 12:23:13.043525      ['bin/bash', 
> '/opt/xensource/bin/createipAlias.sh', '169.254.2.157', 
> '465:10.147.42.204:255.255.254.0-']
> [13543] 2013-05-16 12:23:13.052127      FAILED in util.pread: (rc 127) 
> stdout: '', stderr: 'bin/bash: /opt/xensource/bin/createipAlias.sh: No such 
> file or directory
> 2.createipAlias.sh script was not copied when host got added to CS.
> 3.Looked at management server log and found that createipAlias.sh path is 
> wrong in patch file.
> log snippet from mgmt server log while adding host to CS:
> 2013-05-15 11:10:19,443 WARN  [xen.resource.CitrixResourceBase] 
> (DirectAgent-1:null) We cannot locate 
> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../../../createipAlias.sh
> Script path mentioned in xenserver60 patch file is as follows:
> createipAlias.sh=../../..,0755,/opt/xensource/bin
> deleteipAlias.sh=../../..,0755,/opt/xensource/bin
>  
> But it should be  "..,0755,/opt/xensource/bin" for both the above scripts 
> since both of them are present in following location in CS:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to