You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Wikus van der Walt (RedArmour)" <wv...@redarmour.co.uk> on 2014/12/08 10:48:48 UTC

System VMs not starting

Hi All,

I have a simple lab setup:
1 x CSMS v4.4.1 and 1 X Xen v6.2.

ccsm01 (10.10.0.16)
cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).

Xenserver network:
nic0: management (vlan 10 access port)
nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)

I followed the guide for Xen server system VM templates and they are
populated on the primary storage NFS (10.10.1.2:/csprimary).

Attached is an output of:
grep -i -E 'exception|unable|fail|invalid|leak|warn|error'
/var/log/cloudstack/management/management-server.log

This entry makes me think that my network setup is incorrect:
*2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class
com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on
top of another VLAN - use the underlying physical PIF/bond instead*

Any help would be much appreciated.

Cheers,
Wikus

Re: System VMs not starting

Posted by Andrija Panic <an...@gmail.com>.
Please use:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
to troubleshoot SSVM connectivity...

On 8 December 2014 at 11:20, Wikus van der Walt (RedArmour) <
wvanderwalt@redarmour.co.uk> wrote:

> Thanks Abhi,  Can you please be more specific about what is bad about it?
> My primary storage NFS is on a separate segment from my Xen management
> network.  In order to reach the storage NFS I create an external network on
> the Xenserver and assign an IP on that segment (vlan11).  Is this not
> supported?
>
> On 8 December 2014 at 10:10, Abhinandan Prateek <
> abhinandan.prateek@shapeblue.com> wrote:
>
> > The error is due to bad storage network on your Xenserver, give it
> another
> > check.
> >
> > -abhi
> >
> > M +919701199011 | abhinandan.prateek@shapeblue.com<mailto:
> > abhinandan.prateek@shapeblue.com>
> >
> >
> > On 08-Dec-2014, at 3:18 pm, Wikus van der Walt (RedArmour) <
> > wvanderwalt@redarmour.co.uk<ma...@redarmour.co.uk>> wrote:
> >
> > Hi All,
> >
> > I have a simple lab setup:
> > 1 x CSMS v4.4.1 and 1 X Xen v6.2.
> >
> > ccsm01 (10.10.0.16)
> > cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).
> >
> > Xenserver network:
> > nic0: management (vlan 10 access port)
> > nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)
> >
> > I followed the guide for Xen server system VM templates and they are
> > populated on the primary storage NFS (10.10.1.2:/csprimary).
> >
> > Attached is an output of:
> > grep -i -E 'exception|unable|fail|invalid|leak|warn|error'
> > /var/log/cloudstack/management/management-server.log
> >
> > This entry makes me think that my network setup is incorrect:
> > 2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase]
> > (DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class
> > com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on
> > top of another VLAN - use the underlying physical PIF/bond instead
> >
> > Any help would be much appreciated.
> >
> > Cheers,
> > Wikus
> >
> > <ccsms01log.txt>
> >
> > Find out more about ShapeBlue and our range of CloudStack related
> services
> >
> > IaaS Cloud Design & Build<
> > http://shapeblue.com/iaas-cloud-design-and-build//>
> > CSForge - rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> > CloudStack Software Engineering<
> > http://shapeblue.com/cloudstack-software-engineering/>
> > CloudStack Infrastructure Support<
> > http://shapeblue.com/cloudstack-infrastructure-support/>
> > CloudStack Bootcamp Training Courses<
> > http://shapeblue.com/cloudstack-training/>
> >
> > 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.
> >
>



-- 

Andrija Panić

Re: System VMs not starting

Posted by Abhinandan Prateek <ab...@shapeblue.com>.
Another issue is that the system vm templates should be seeded on secondary not on primary.

Looks like you have created the network on Xenserver for each traffic type.
Cloudstack is again trying to setup the networks. google the error you will find some leads to debug it.


Abhinandan Prateek

M +919701199011
abhinandan.prateek@shapeblue.com




> On 08-Dec-2014, at 3:50 pm, Wikus van der Walt (RedArmour) <wv...@redarmour.co.uk> wrote:
>
> Thanks Abhi,  Can you please be more specific about what is bad about it?
> My primary storage NFS is on a separate segment from my Xen management
> network.  In order to reach the storage NFS I create an external network on
> the Xenserver and assign an IP on that segment (vlan11).  Is this not
> supported?
>
> On 8 December 2014 at 10:10, Abhinandan Prateek <
> abhinandan.prateek@shapeblue.com> wrote:
>
>> The error is due to bad storage network on your Xenserver, give it another
>> check.
>>
>> -abhi
>>
>> M +919701199011 | abhinandan.prateek@shapeblue.com<mailto:
>> abhinandan.prateek@shapeblue.com>
>>
>>
>> On 08-Dec-2014, at 3:18 pm, Wikus van der Walt (RedArmour) <
>> wvanderwalt@redarmour.co.uk<ma...@redarmour.co.uk>> wrote:
>>
>> Hi All,
>>
>> I have a simple lab setup:
>> 1 x CSMS v4.4.1 and 1 X Xen v6.2.
>>
>> ccsm01 (10.10.0.16)
>> cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).
>>
>> Xenserver network:
>> nic0: management (vlan 10 access port)
>> nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)
>>
>> I followed the guide for Xen server system VM templates and they are
>> populated on the primary storage NFS (10.10.1.2:/csprimary).
>>
>> Attached is an output of:
>> grep -i -E 'exception|unable|fail|invalid|leak|warn|error'
>> /var/log/cloudstack/management/management-server.log
>>
>> This entry makes me think that my network setup is incorrect:
>> 2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase]
>> (DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class
>> com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on
>> top of another VLAN - use the underlying physical PIF/bond instead
>>
>> Any help would be much appreciated.
>>
>> Cheers,
>> Wikus
>>
>> <ccsms01log.txt>
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge - rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Software Engineering<
>> http://shapeblue.com/cloudstack-software-engineering/>
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>
>> 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.

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

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

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.

Re: System VMs not starting

Posted by "Wikus van der Walt (RedArmour)" <wv...@redarmour.co.uk>.
Thanks Abhi,  Can you please be more specific about what is bad about it?
My primary storage NFS is on a separate segment from my Xen management
network.  In order to reach the storage NFS I create an external network on
the Xenserver and assign an IP on that segment (vlan11).  Is this not
supported?

On 8 December 2014 at 10:10, Abhinandan Prateek <
abhinandan.prateek@shapeblue.com> wrote:

> The error is due to bad storage network on your Xenserver, give it another
> check.
>
> -abhi
>
> M +919701199011 | abhinandan.prateek@shapeblue.com<mailto:
> abhinandan.prateek@shapeblue.com>
>
>
> On 08-Dec-2014, at 3:18 pm, Wikus van der Walt (RedArmour) <
> wvanderwalt@redarmour.co.uk<ma...@redarmour.co.uk>> wrote:
>
> Hi All,
>
> I have a simple lab setup:
> 1 x CSMS v4.4.1 and 1 X Xen v6.2.
>
> ccsm01 (10.10.0.16)
> cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).
>
> Xenserver network:
> nic0: management (vlan 10 access port)
> nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)
>
> I followed the guide for Xen server system VM templates and they are
> populated on the primary storage NFS (10.10.1.2:/csprimary).
>
> Attached is an output of:
> grep -i -E 'exception|unable|fail|invalid|leak|warn|error'
> /var/log/cloudstack/management/management-server.log
>
> This entry makes me think that my network setup is incorrect:
> 2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class
> com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on
> top of another VLAN - use the underlying physical PIF/bond instead
>
> Any help would be much appreciated.
>
> Cheers,
> Wikus
>
> <ccsms01log.txt>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge - rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software Engineering<
> http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> 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.
>

Re: System VMs not starting

Posted by Abhinandan Prateek <ab...@shapeblue.com>.
The error is due to bad storage network on your Xenserver, give it another check.

-abhi

M +919701199011 | abhinandan.prateek@shapeblue.com<ma...@shapeblue.com>


On 08-Dec-2014, at 3:18 pm, Wikus van der Walt (RedArmour) <wv...@redarmour.co.uk>> wrote:

Hi All,

I have a simple lab setup:
1 x CSMS v4.4.1 and 1 X Xen v6.2.

ccsm01 (10.10.0.16)
cXen01 (10.10.0.14-mgmt, 10.10.1.14 storage).

Xenserver network:
nic0: management (vlan 10 access port)
nic1: vlan interfaces vlans 2 (public), 11(storage), 12(guest)

I followed the guide for Xen server system VM templates and they are populated on the primary storage NFS (10.10.1.2:/csprimary).

Attached is an output of:
grep -i -E 'exception|unable|fail|invalid|leak|warn|error' /var/log/cloudstack/management/management-server.log

This entry makes me think that my network setup is incorrect:
2014-12-08 09:41:00,204 WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-113:ctx-1b7ca6b6) Catch Exception: class com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on top of another VLAN - use the underlying physical PIF/bond instead

Any help would be much appreciated.

Cheers,
Wikus

<ccsms01log.txt>

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

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge - rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

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.