You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Adam Harvey <ah...@enmasse.com> on 2013/12/05 00:17:06 UTC

xenserver 6.2 added to pool

2013-12-04 23:13:44,097 DEBUG [utils.script.Script] (DirectAgent-119:null) Looking for scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
2013-12-04 23:13:44,097 DEBUG [utils.script.Script] (DirectAgent-119:null) System resource: null
2013-12-04 23:13:44,097 DEBUG [utils.script.Script] (DirectAgent-119:null) Classpath resource: file:/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/patch
2013-12-04 23:13:44,098 DEBUG [utils.script.Script] (DirectAgent-119:null) Absolute path =  /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/patch
2013-12-04 23:13:44,098 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Copying /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py to /etc
/xapi.d/plugins on *removed* with permission 0755
2013-12-04 23:13:44,163 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Copying /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot to /etc/xapi.d/pl
ugins on *removed* with permission 0755
2013-12-04 23:13:44,164 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Unable to create destination path: /etc/xapi.d/plugins on *removed* but trying anyway
2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Copying /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py to /etc/xapi.d
/plugins on *removed* with permission 0755
2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Unable to create destination path: /etc/xapi.d/plugins on *removed* but trying anyway
2013-12-04 23:13:44,327 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Copying /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh to /opt/
xensource/bin on *removed* with permission 0755

This occurring w/anyone else?  Running CS 4.2 with xenserver 6.2
I've verified vhd-util is the proper one recommended in the documentation and I have it placed in:
/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/vhd-util
/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/vhd-util

Thanks,
Adam

RE: xenserver 6.2 added to pool

Posted by Adam Harvey <ah...@enmasse.com>.
I understand.

Here is output of xe network-list.  I've run this on all 3 in the pool, they are the same.

uuid ( RO)                : 4b1c10fd-8e11-c913-b015-53b8f3243745
          name-label ( RW): VLAN-6cb2535a-3d97-5ec7-506a-d5b951dd9147-301
    name-description ( RW):
              bridge ( RO): xapi0


uuid ( RO)                : d82cecd3-4145-e0d6-c1f8-a31ae37c6e4c
          name-label ( RW): VLAN-6cb2535a-3d97-5ec7-506a-d5b951dd9147-355
    name-description ( RW):
              bridge ( RO): xapi2


uuid ( RO)                : 6b48367a-72e0-f94d-f35a-6089a57c4f47
          name-label ( RW): VLAN-6cb2535a-3d97-5ec7-506a-d5b951dd9147-300
    name-description ( RW):
              bridge ( RO): xapi3


uuid ( RO)                : 8c8e9184-76d3-474b-fa42-6760406be276
          name-label ( RW): cloud_link_local_network
    name-description ( RW): link local network used by system vms
              bridge ( RO): xapi1


uuid ( RO)                : 0a3699c5-f9d4-277a-d4cd-8bff7871b692
          name-label ( RW): Host internal management network
    name-description ( RW): Network on which guests will be assigned a private link-local IP address which can be used to talk XenAPI
              bridge ( RO): xenapi


uuid ( RO)                : 6cb2535a-3d97-5ec7-506a-d5b951dd9147
          name-label ( RW): cloud-public
    name-description ( RW):
              bridge ( RO): xenbr1


uuid ( RO)                : ab7d1ecd-aa11-f175-0ec2-df6881ebfa81
          name-label ( RW): mgmt
    name-description ( RW):
              bridge ( RO): xenbr0

-----Original Message-----
From: Shanker Balan [mailto:shanker.balan@shapeblue.com] 
Sent: Friday, December 06, 2013 10:54 PM
To: CloudStack-Users
Subject: Re: xenserver 6.2 added to pool

Comments inline.

On 07-Dec-2013, at 2:50 am, Adam Harvey <ah...@enmasse.com> wrote:

> Aye there is another issue that I've attempted to address which is 
> 'unable to create local link network' on some of the hypervisors


Can you give the output of 'xe network-list' on the problematic XenServers?


[root@vxen1-1 ~]# xe network-list
uuid ( RO)                : 8fcf41ad-071f-1d77-dd0b-2f63340a16cc
          name-label ( RW): cloud_link_local_network
    name-description ( RW): link local network used by system vms
              bridge ( RO): xapi0


uuid ( RO)                : 62e7cd1a-d321-0e11-31db-fe6f5faebcb4
          name-label ( RW): VLAN-615a80b0-6241-136a-5d7f-03ea1283961f-65
    name-description ( RW):
              bridge ( RO): xapi2


uuid ( RO)                : 615a80b0-6241-136a-5d7f-03ea1283961f
          name-label ( RW): MGMT
    name-description ( RW): Management Network
              bridge ( RO): xenbr0


uuid ( RO)                : 3de3a508-f929-210e-620d-ed32fa6e17a0
          name-label ( RW): Host internal management network
    name-description ( RW): Network on which guests will be assigned a private link-local IP address which can be used to talk XenAPI
              bridge ( RO): xenapi


uuid ( RO)                : a694ba20-65f8-45ad-31a4-4ca56e872075
          name-label ( RW): VLAN-615a80b0-6241-136a-5d7f-03ea1283961f-64
    name-description ( RW):
              bridge ( RO): xapi1


> In Cisco UCS manager I've verified they all have the same VLAN tags 
> for non-mgmt and single default VLAN access for mgmt..

Without having access to the infra its hard for me to guess if a step has been missed out.

Regards.
@shankerbalan


>
> -----Original Message-----
> From: Shanker Balan [mailto:shanker.balan@shapeblue.com]
> Sent: Thursday, December 05, 2013 3:09 AM
> To: CloudStack-Users
> Subject: Re: xenserver 6.2 added to pool
>
> On 05-Dec-2013, at 11:13 am, Adam Harvey <ah...@enmasse.com> wrote:
>
>> If it were only that way with these for me. They're completely stock I am at a loss of why this is occurring.
>
> Adam, I am not sure whether you are looking at the real error message. The standard process I follow for setting up a XenServer is as below:
>
> 1) Install from ISO
> 2) Create pool
> 3) Update xenserver traffic label using XenCenter or via 
> "/opt/xensource/bin/xe network-param-set" CLI
> 4) Add the pool master to CloudStack
>
> Of course, copy vhd-util to the manager host first.
>
>
>
>
>>
>> -----Original Message-----
>> From: Shanker Balan [mailto:shanker.balan@shapeblue.com]
>> Sent: Wednesday, December 04, 2013 8:05 PM
>> To: CloudStack-Users
>> Subject: Re: xenserver 6.2 added to pool
>>
>> On 05-Dec-2013, at 4:47 am, Adam Harvey <ah...@enmasse.com> wrote:
>>
>>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>>> (DirectAgent-119:null) Looking for
>>> scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
>>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>>> (DirectAgent-119:null) System resource: null
>>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>>> (DirectAgent-119:null) Classpath resource:
>>> file:/usr/share/cloudstack-management/webapps/client/WEB-INF/classes
>>> / s cripts/vm/hypervisor/xenserver/xenserver60/patch
>>> 2013-12-04 23:13:44,098 DEBUG [utils.script.Script]
>>> (DirectAgent-119:null) Absolute path = 
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scri
>>> p t s/vm/hypervisor/xenserver/xenserver60/patch
>>> 2013-12-04 23:13:44,098 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Copying
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scri
>>> p t s/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py 
>>> to /etc /xapi.d/plugins on *removed* with permission 0755
>>> 2013-12-04 23:13:44,163 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Copying
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scri
>>> p t s/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot to 
>>> /etc/xapi.d/pl ugins on *removed* with permission 0755
>>> 2013-12-04 23:13:44,164 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Unable to create destination path:
>>> /etc/xapi.d/plugins on *removed* but trying anyway
>>> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Copying
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scri
>>> p t s/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py to 
>>> /etc/xapi.d /plugins on *removed* with permission 0755
>>> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Unable to create destination path:
>>> /etc/xapi.d/plugins on *removed* but trying anyway
>>> 2013-12-04 23:13:44,327 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Copying
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scri
>>> p t s/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh 
>>> to /opt/ xensource/bin on *removed* with permission 0755
>>>
>>> This occurring w/anyone else?  Running CS 4.2 with xenserver 6.2 
>>> I've verified vhd-util is the proper one recommended in the documentation and I have it placed in:
>>
>> The only place I put vhd-util is under 
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
>> ON the management server before adding the XenServer hosts to ACS. See below ansible recipe.
>>
>> - name: Copy vhd-util
>> action: copy src=vhd-util
>> dest=/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd
>> -
>> util mode=0755
>> tags: cloudstack
>>
>> The management server then does:
>>
>> [root@csman1-1 ~]# grep vhd-util
>> /var/log/cloudstack/management/management-server.log
>> 2013-12-05 00:01:02,612 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-1:null) Copying
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserve
>> r 60/../vhd-util to /opt/xensource/bin on 192.168.44.23 with 
>> permission
>> 0755
>> 2013-12-05 00:01:12,294 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-9:null) Copying
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserve
>> r 60/../vhd-util to /opt/xensource/bin on 192.168.44.24 with 
>> permission
>> 0755
>>
>>
>>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-uti
>>> l 
>>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserv
>>> e
>>> r
>>> 60/vhd-util
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scri
>>> p t s/vm/hypervisor/xenserver/xenserver60/vhd-util
>>
>> Been adding and removing XenServer 6.2 clusters all day yesterday on stock ACS 4.2.0 without issues.
>>
>> Regards.
>>
>> --
>> @shankerbalan
>>
>> M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com
>> | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India 
>> | LLP,
>> 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
>>
>> 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 is a registered trademark.
>
> --
> @shankerbalan
>
> M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com 
> | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 
> 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
>
> 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 is a registered trademark.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

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 is a registered trademark.

Re: xenserver 6.2 added to pool

Posted by Shanker Balan <sh...@shapeblue.com>.
Comments inline.

On 07-Dec-2013, at 2:50 am, Adam Harvey <ah...@enmasse.com> wrote:

> Aye there is another issue that I've attempted to address which is 'unable to create local link network' on some of the hypervisors


Can you give the output of 'xe network-list’ on the problematic XenServers?


[root@vxen1-1 ~]# xe network-list
uuid ( RO)                : 8fcf41ad-071f-1d77-dd0b-2f63340a16cc
          name-label ( RW): cloud_link_local_network
    name-description ( RW): link local network used by system vms
              bridge ( RO): xapi0


uuid ( RO)                : 62e7cd1a-d321-0e11-31db-fe6f5faebcb4
          name-label ( RW): VLAN-615a80b0-6241-136a-5d7f-03ea1283961f-65
    name-description ( RW):
              bridge ( RO): xapi2


uuid ( RO)                : 615a80b0-6241-136a-5d7f-03ea1283961f
          name-label ( RW): MGMT
    name-description ( RW): Management Network
              bridge ( RO): xenbr0


uuid ( RO)                : 3de3a508-f929-210e-620d-ed32fa6e17a0
          name-label ( RW): Host internal management network
    name-description ( RW): Network on which guests will be assigned a private link-local IP address which can be used to talk XenAPI
              bridge ( RO): xenapi


uuid ( RO)                : a694ba20-65f8-45ad-31a4-4ca56e872075
          name-label ( RW): VLAN-615a80b0-6241-136a-5d7f-03ea1283961f-64
    name-description ( RW):
              bridge ( RO): xapi1


> In Cisco UCS manager I've verified they all have the same VLAN tags for
> non-mgmt and single default VLAN access for mgmt..

Without having access to the infra its hard for me to guess if a step has been missed out.

Regards.
@shankerbalan


>
> -----Original Message-----
> From: Shanker Balan [mailto:shanker.balan@shapeblue.com]
> Sent: Thursday, December 05, 2013 3:09 AM
> To: CloudStack-Users
> Subject: Re: xenserver 6.2 added to pool
>
> On 05-Dec-2013, at 11:13 am, Adam Harvey <ah...@enmasse.com> wrote:
>
>> If it were only that way with these for me. They're completely stock I am at a loss of why this is occurring.
>
> Adam, I am not sure whether you are looking at the real error message. The standard process I follow for setting up a XenServer is as below:
>
> 1) Install from ISO
> 2) Create pool
> 3) Update xenserver traffic label using XenCenter or via "/opt/xensource/bin/xe network-param-set" CLI
> 4) Add the pool master to CloudStack
>
> Of course, copy vhd-util to the manager host first.
>
>
>
>
>>
>> -----Original Message-----
>> From: Shanker Balan [mailto:shanker.balan@shapeblue.com]
>> Sent: Wednesday, December 04, 2013 8:05 PM
>> To: CloudStack-Users
>> Subject: Re: xenserver 6.2 added to pool
>>
>> On 05-Dec-2013, at 4:47 am, Adam Harvey <ah...@enmasse.com> wrote:
>>
>>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>>> (DirectAgent-119:null) Looking for
>>> scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
>>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>>> (DirectAgent-119:null) System resource: null
>>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>>> (DirectAgent-119:null) Classpath resource:
>>> file:/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/
>>> s cripts/vm/hypervisor/xenserver/xenserver60/patch
>>> 2013-12-04 23:13:44,098 DEBUG [utils.script.Script]
>>> (DirectAgent-119:null) Absolute path =
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>>> t s/vm/hypervisor/xenserver/xenserver60/patch
>>> 2013-12-04 23:13:44,098 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Copying
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>>> t s/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py to
>>> /etc /xapi.d/plugins on *removed* with permission 0755
>>> 2013-12-04 23:13:44,163 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Copying
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>>> t s/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot to
>>> /etc/xapi.d/pl ugins on *removed* with permission 0755
>>> 2013-12-04 23:13:44,164 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Unable to create destination path:
>>> /etc/xapi.d/plugins on *removed* but trying anyway
>>> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Copying
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>>> t s/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py to
>>> /etc/xapi.d /plugins on *removed* with permission 0755
>>> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Unable to create destination path:
>>> /etc/xapi.d/plugins on *removed* but trying anyway
>>> 2013-12-04 23:13:44,327 DEBUG [xen.resource.CitrixResourceBase]
>>> (DirectAgent-119:null) Copying
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>>> t s/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh to
>>> /opt/ xensource/bin on *removed* with permission 0755
>>>
>>> This occurring w/anyone else?  Running CS 4.2 with xenserver 6.2 I've
>>> verified vhd-util is the proper one recommended in the documentation and I have it placed in:
>>
>> The only place I put vhd-util is under
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
>> ON the management server before adding the XenServer hosts to ACS. See below ansible recipe.
>>
>> - name: Copy vhd-util
>> action: copy src=vhd-util
>> dest=/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-
>> util mode=0755
>> tags: cloudstack
>>
>> The management server then does:
>>
>> [root@csman1-1 ~]# grep vhd-util
>> /var/log/cloudstack/management/management-server.log
>> 2013-12-05 00:01:02,612 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-1:null) Copying
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver
>> 60/../vhd-util to /opt/xensource/bin on 192.168.44.23 with permission
>> 0755
>> 2013-12-05 00:01:12,294 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-9:null) Copying
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver
>> 60/../vhd-util to /opt/xensource/bin on 192.168.44.24 with permission
>> 0755
>>
>>
>>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
>>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserve
>>> r
>>> 60/vhd-util
>>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>>> t s/vm/hypervisor/xenserver/xenserver60/vhd-util
>>
>> Been adding and removing XenServer 6.2 clusters all day yesterday on stock ACS 4.2.0 without issues.
>>
>> Regards.
>>
>> --
>> @shankerbalan
>>
>> M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com
>> | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP,
>> 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
>>
>> 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 is a registered trademark.
>
> --
> @shankerbalan
>
> M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
>
> 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 is a registered trademark.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

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 is a registered trademark.

RE: xenserver 6.2 added to pool

Posted by Adam Harvey <ah...@enmasse.com>.
Aye there is another issue that I've attempted to address which is 'unable to create local link network' on some of the hypervisors

In Cisco UCS manager I've verified they all have the same VLAN tags for non-mgmt and single default VLAN access for mgmt..

-----Original Message-----
From: Shanker Balan [mailto:shanker.balan@shapeblue.com] 
Sent: Thursday, December 05, 2013 3:09 AM
To: CloudStack-Users
Subject: Re: xenserver 6.2 added to pool

On 05-Dec-2013, at 11:13 am, Adam Harvey <ah...@enmasse.com> wrote:

> If it were only that way with these for me. They're completely stock I am at a loss of why this is occurring.

Adam, I am not sure whether you are looking at the real error message. The standard process I follow for setting up a XenServer is as below:

1) Install from ISO
2) Create pool
3) Update xenserver traffic label using XenCenter or via "/opt/xensource/bin/xe network-param-set" CLI
4) Add the pool master to CloudStack

Of course, copy vhd-util to the manager host first.




>
> -----Original Message-----
> From: Shanker Balan [mailto:shanker.balan@shapeblue.com]
> Sent: Wednesday, December 04, 2013 8:05 PM
> To: CloudStack-Users
> Subject: Re: xenserver 6.2 added to pool
>
> On 05-Dec-2013, at 4:47 am, Adam Harvey <ah...@enmasse.com> wrote:
>
>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>> (DirectAgent-119:null) Looking for
>> scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>> (DirectAgent-119:null) System resource: null
>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>> (DirectAgent-119:null) Classpath resource:
>> file:/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/
>> s cripts/vm/hypervisor/xenserver/xenserver60/patch
>> 2013-12-04 23:13:44,098 DEBUG [utils.script.Script]
>> (DirectAgent-119:null) Absolute path = 
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>> t s/vm/hypervisor/xenserver/xenserver60/patch
>> 2013-12-04 23:13:44,098 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Copying
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>> t s/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py to 
>> /etc /xapi.d/plugins on *removed* with permission 0755
>> 2013-12-04 23:13:44,163 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Copying
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>> t s/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot to 
>> /etc/xapi.d/pl ugins on *removed* with permission 0755
>> 2013-12-04 23:13:44,164 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Unable to create destination path:
>> /etc/xapi.d/plugins on *removed* but trying anyway
>> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Copying
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>> t s/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py to 
>> /etc/xapi.d /plugins on *removed* with permission 0755
>> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Unable to create destination path:
>> /etc/xapi.d/plugins on *removed* but trying anyway
>> 2013-12-04 23:13:44,327 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Copying
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>> t s/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh to 
>> /opt/ xensource/bin on *removed* with permission 0755
>>
>> This occurring w/anyone else?  Running CS 4.2 with xenserver 6.2 I've 
>> verified vhd-util is the proper one recommended in the documentation and I have it placed in:
>
> The only place I put vhd-util is under 
> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
> ON the management server before adding the XenServer hosts to ACS. See below ansible recipe.
>
> - name: Copy vhd-util
>  action: copy src=vhd-util 
> dest=/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-
> util mode=0755
>  tags: cloudstack
>
> The management server then does:
>
> [root@csman1-1 ~]# grep vhd-util 
> /var/log/cloudstack/management/management-server.log
> 2013-12-05 00:01:02,612 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-1:null) Copying 
> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver
> 60/../vhd-util to /opt/xensource/bin on 192.168.44.23 with permission 
> 0755
> 2013-12-05 00:01:12,294 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-9:null) Copying 
> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver
> 60/../vhd-util to /opt/xensource/bin on 192.168.44.24 with permission 
> 0755
>
>
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserve
>> r
>> 60/vhd-util
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
>> t s/vm/hypervisor/xenserver/xenserver60/vhd-util
>
> Been adding and removing XenServer 6.2 clusters all day yesterday on stock ACS 4.2.0 without issues.
>
> Regards.
>
> --
> @shankerbalan
>
> M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com 
> | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 
> 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
>
> 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 is a registered trademark.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

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 is a registered trademark.

Re: xenserver 6.2 added to pool

Posted by Shanker Balan <sh...@shapeblue.com>.
On 05-Dec-2013, at 11:13 am, Adam Harvey <ah...@enmasse.com> wrote:

> If it were only that way with these for me. They're completely stock I am at a loss of why this is occurring.

Adam, I am not sure whether you are looking at the real error message. The
standard process I follow for setting up a XenServer is as below:

1) Install from ISO
2) Create pool
3) Update xenserver traffic label using XenCenter or
via "/opt/xensource/bin/xe network-param-set” CLI
4) Add the pool master to CloudStack

Of course, copy vhd-util to the manager host first.




>
> -----Original Message-----
> From: Shanker Balan [mailto:shanker.balan@shapeblue.com]
> Sent: Wednesday, December 04, 2013 8:05 PM
> To: CloudStack-Users
> Subject: Re: xenserver 6.2 added to pool
>
> On 05-Dec-2013, at 4:47 am, Adam Harvey <ah...@enmasse.com> wrote:
>
>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>> (DirectAgent-119:null) Looking for
>> scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>> (DirectAgent-119:null) System resource: null
>> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
>> (DirectAgent-119:null) Classpath resource:
>> file:/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/s
>> cripts/vm/hypervisor/xenserver/xenserver60/patch
>> 2013-12-04 23:13:44,098 DEBUG [utils.script.Script]
>> (DirectAgent-119:null) Absolute path =
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
>> s/vm/hypervisor/xenserver/xenserver60/patch
>> 2013-12-04 23:13:44,098 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Copying
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
>> s/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py to
>> /etc /xapi.d/plugins on *removed* with permission 0755
>> 2013-12-04 23:13:44,163 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Copying
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
>> s/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot to
>> /etc/xapi.d/pl ugins on *removed* with permission 0755
>> 2013-12-04 23:13:44,164 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Unable to create destination path:
>> /etc/xapi.d/plugins on *removed* but trying anyway
>> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Copying
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
>> s/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py to
>> /etc/xapi.d /plugins on *removed* with permission 0755
>> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Unable to create destination path:
>> /etc/xapi.d/plugins on *removed* but trying anyway
>> 2013-12-04 23:13:44,327 DEBUG [xen.resource.CitrixResourceBase]
>> (DirectAgent-119:null) Copying
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
>> s/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh to
>> /opt/ xensource/bin on *removed* with permission 0755
>>
>> This occurring w/anyone else?  Running CS 4.2 with xenserver 6.2 I've
>> verified vhd-util is the proper one recommended in the documentation and I have it placed in:
>
> The only place I put vhd-util is under /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
> ON the management server before adding the XenServer hosts to ACS. See below ansible recipe.
>
> - name: Copy vhd-util
>  action: copy src=vhd-util dest=/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util mode=0755
>  tags: cloudstack
>
> The management server then does:
>
> [root@csman1-1 ~]# grep vhd-util /var/log/cloudstack/management/management-server.log
> 2013-12-05 00:01:02,612 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-1:null) Copying /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../vhd-util to /opt/xensource/bin on 192.168.44.23 with permission 0755
> 2013-12-05 00:01:12,294 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-9:null) Copying /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../vhd-util to /opt/xensource/bin on 192.168.44.24 with permission 0755
>
>
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
>> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver
>> 60/vhd-util
>> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
>> s/vm/hypervisor/xenserver/xenserver60/vhd-util
>
> Been adding and removing XenServer 6.2 clusters all day yesterday on stock ACS 4.2.0 without issues.
>
> Regards.
>
> --
> @shankerbalan
>
> M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
>
> 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 is a registered trademark.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

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 is a registered trademark.

RE: xenserver 6.2 added to pool

Posted by Adam Harvey <ah...@enmasse.com>.
If it were only that way with these for me. They're completely stock I am at a loss of why this is occurring.

-----Original Message-----
From: Shanker Balan [mailto:shanker.balan@shapeblue.com] 
Sent: Wednesday, December 04, 2013 8:05 PM
To: CloudStack-Users
Subject: Re: xenserver 6.2 added to pool

On 05-Dec-2013, at 4:47 am, Adam Harvey <ah...@enmasse.com> wrote:

> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script] 
> (DirectAgent-119:null) Looking for 
> scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script] 
> (DirectAgent-119:null) System resource: null
> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script] 
> (DirectAgent-119:null) Classpath resource: 
> file:/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/s
> cripts/vm/hypervisor/xenserver/xenserver60/patch
> 2013-12-04 23:13:44,098 DEBUG [utils.script.Script] 
> (DirectAgent-119:null) Absolute path =  
> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
> s/vm/hypervisor/xenserver/xenserver60/patch
> 2013-12-04 23:13:44,098 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-119:null) Copying 
> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
> s/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py to 
> /etc /xapi.d/plugins on *removed* with permission 0755
> 2013-12-04 23:13:44,163 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-119:null) Copying 
> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
> s/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot to 
> /etc/xapi.d/pl ugins on *removed* with permission 0755
> 2013-12-04 23:13:44,164 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-119:null) Unable to create destination path: 
> /etc/xapi.d/plugins on *removed* but trying anyway
> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-119:null) Copying 
> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
> s/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py to 
> /etc/xapi.d /plugins on *removed* with permission 0755
> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-119:null) Unable to create destination path: 
> /etc/xapi.d/plugins on *removed* but trying anyway
> 2013-12-04 23:13:44,327 DEBUG [xen.resource.CitrixResourceBase] 
> (DirectAgent-119:null) Copying 
> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
> s/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh to 
> /opt/ xensource/bin on *removed* with permission 0755
>
> This occurring w/anyone else?  Running CS 4.2 with xenserver 6.2 I've 
> verified vhd-util is the proper one recommended in the documentation and I have it placed in:

The only place I put vhd-util is under /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
ON the management server before adding the XenServer hosts to ACS. See below ansible recipe.

- name: Copy vhd-util
  action: copy src=vhd-util dest=/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util mode=0755
  tags: cloudstack

The management server then does:

[root@csman1-1 ~]# grep vhd-util /var/log/cloudstack/management/management-server.log
2013-12-05 00:01:02,612 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-1:null) Copying /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../vhd-util to /opt/xensource/bin on 192.168.44.23 with permission 0755
2013-12-05 00:01:12,294 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-9:null) Copying /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../vhd-util to /opt/xensource/bin on 192.168.44.24 with permission 0755


> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver
> 60/vhd-util 
> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
> s/vm/hypervisor/xenserver/xenserver60/vhd-util

Been adding and removing XenServer 6.2 clusters all day yesterday on stock ACS 4.2.0 without issues.

Regards.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

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 is a registered trademark.

Re: xenserver 6.2 added to pool

Posted by Shanker Balan <sh...@shapeblue.com>.
On 05-Dec-2013, at 4:47 am, Adam Harvey <ah...@enmasse.com> wrote:

> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script] (DirectAgent-119:null) Looking for scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script] (DirectAgent-119:null) System resource: null
> 2013-12-04 23:13:44,097 DEBUG [utils.script.Script] (DirectAgent-119:null) Classpath resource: file:/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/patch
> 2013-12-04 23:13:44,098 DEBUG [utils.script.Script] (DirectAgent-119:null) Absolute path =  /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/patch
> 2013-12-04 23:13:44,098 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Copying /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py to /etc
> /xapi.d/plugins on *removed* with permission 0755
> 2013-12-04 23:13:44,163 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Copying /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot to /etc/xapi.d/pl
> ugins on *removed* with permission 0755
> 2013-12-04 23:13:44,164 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Unable to create destination path: /etc/xapi.d/plugins on *removed* but trying anyway
> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Copying /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py to /etc/xapi.d
> /plugins on *removed* with permission 0755
> 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Unable to create destination path: /etc/xapi.d/plugins on *removed* but trying anyway
> 2013-12-04 23:13:44,327 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-119:null) Copying /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh to /opt/
> xensource/bin on *removed* with permission 0755
>
> This occurring w/anyone else?  Running CS 4.2 with xenserver 6.2
> I've verified vhd-util is the proper one recommended in the documentation and I have it placed in:

The only place I put vhd-util is under /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
ON the management server before adding the XenServer hosts to ACS. See below ansible recipe.

- name: Copy vhd-util
  action: copy src=vhd-util dest=/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util mode=0755
  tags: cloudstack

The management server then does:

[root@csman1-1 ~]# grep vhd-util /var/log/cloudstack/management/management-server.log
2013-12-05 00:01:02,612 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-1:null) Copying /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../vhd-util to /opt/xensource/bin on 192.168.44.23 with permission 0755
2013-12-05 00:01:12,294 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-9:null) Copying /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../vhd-util to /opt/xensource/bin on 192.168.44.24 with permission 0755


> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/vhd-util
> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/vhd-util

Been adding and removing XenServer 6.2 clusters all day yesterday on
stock ACS 4.2.0 without issues.

Regards.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

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 is a registered trademark.