You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Daniel Kollmer <Da...@tomtom.com> on 2015/03/06 10:27:46 UTC

Secondary Storage VM & Console Proxy creation failure

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everyone

I am new here, so please bear with me if I submit a newbie question.

I have installed Cloudstack 4.5 on CentOS 7 with a setup that includes
one physical machine as manager, one as hypervisor with KVM and one as
DB/storage. All three can freely communicate with each other.

I have imported the System VM template, made sure primary and
secondary storage are accessible across the network and mounted (they
are), checked whether the System VM appears in secondary storage (it
does) but yet I keep getting the following errors on my management
server

WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-0e6c9d6a)
Exception while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to
create a deployment for VM[ConsoleProxy|v-1-VM]Scope=interface
com.cloud.dc.DataCenter; id=1
WARN  [o.a.c.alerts] (consoleproxy-1:ctx-0e6c9d6a)  alertType:: 10 //
dataCenterId:: 1 // podId:: null // clusterId:: null // message::
Console proxy creation failure.

WARN  [o.a.c.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-f61d7363) Exception while trying to start secondary
storage vm
com.cloud.exception.InsufficientServerCapacityException: Unable to
create a deployment for
VM[SecondaryStorageVm|s-1733-VM]Scope=interface
com.cloud.dc.DataCenter; id=1
WARN  [o.a.c.alerts] (secstorage-1:ctx-f61d7363)  alertType:: 19 //
dataCenterId:: 1 // podId:: null // clusterId:: null // message::
Secondary Storage Vm creation failure. zone

I can see both the console proxy and the System VM in the System VM
tab of the Infrastructure overview but I simply can not start them. I
can also not create any instances, I simply get no choice of a
template even though the System VM template is marked as "ready". I
even imported an ISO but that also does not show up as a choice during
instance creation.

I do not understand the InsufficientServerCapacity message, there is
definitely enough capacity both in storage and in memory.

Can anybody give me a pointer what might be going on here?

If you need to have more information, please let me know.

Thanks in advance.

- -- 

Daniel Kollmer | Sr. System Engineer - OTS |
daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
(0)6 29 13 96 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJU+XMHAAoJEAFpCdELSZ7Z9vwQAMW5GuTlZPyduuhYn7LL9Jde
5hwy96ui5s53iRbrqDii2G248EPcVNQM+U1ESvKB/XT3BM8/CMesJgzlfGsYdAP3
+hwQHQ9T1LiDrdnT5wfshynuOUPV6G9WBQOu4XINMBVuD6IZikuGaEFCfQqNIog2
t1EOQ81FgQ1H3IczCpUCSfgq/ohJGwXmkbse/sXWZpTu7S31HEzMcKpYJr3YHB3z
Zq1sPJeZTIBDCOq4+deTJzazh29R4blFEq6GjJw3ttGSrgR0/5we12sb2K2mtN/0
9xYOWMyV361sYhc4N6+iUVm+/euVlozmNvoAYxXsCVpio2DTo1ir+E0eTKHQ13rJ
PXJtSM5F3ufuhD/Zy3yQA8eIiuge7g3IG9NWzrAJDeRh3rfmBtmnHX2zYNxPHTgX
selvZROKigsa//tUvwyeiZW4uIRjC4qJC4JoTHtlDTgyxgqrfMCFGquhDV1siIaw
FZWlaTFj2h19vGfG46TvLDYYLxONY8HrA7Q8t54PRtXjazM65NAcl7bt3HD8bff0
A/b+o7dM3EYpOAVERAtYww4PHdDLTg+JOrpI2KoRXKmS1OfhJDBOzbKdJiSNvzpE
3X4Uh7jYecvtic4IK4yewxSp/2XeiSmJ9m4GwJX9514zBbOdV+KlPEMSstfoya8H
prO/K9s99pj16QeUZg/r
=zW7k
-----END PGP SIGNATURE-----

Re: Secondary Storage VM & Console Proxy creation failure

Posted by Gopalakrishnan S <go...@assistanz.com>.
Hi Daniel,

Your server have enough capacity but cloudstack server error indicates that 
your cluster and pod load as null value.  My suggestion is you should 
recheck your management traffic ip configuration. Is that ips are 
communicate properly ?

Please make sure your management traffic ip cofiguration in cloudstack 
zone ->pod settings.

Thank You.
Gopalakrishnan.S



dataCenterId:: 1 // podId:: null // clusterId:: null // message::

----- Original Message ----- 
From: "Daniel Kollmer" <Da...@tomtom.com>
To: <us...@cloudstack.apache.org>
Sent: Friday, March 06, 2015 2:57 PM
Subject: Secondary Storage VM & Console Proxy creation failure


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello everyone
>
> I am new here, so please bear with me if I submit a newbie question.
>
> I have installed Cloudstack 4.5 on CentOS 7 with a setup that includes
> one physical machine as manager, one as hypervisor with KVM and one as
> DB/storage. All three can freely communicate with each other.
>
> I have imported the System VM template, made sure primary and
> secondary storage are accessible across the network and mounted (they
> are), checked whether the System VM appears in secondary storage (it
> does) but yet I keep getting the following errors on my management
> server
>
> WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-0e6c9d6a)
> Exception while trying to start console proxy
> com.cloud.exception.InsufficientServerCapacityException: Unable to
> create a deployment for VM[ConsoleProxy|v-1-VM]Scope=interface
> com.cloud.dc.DataCenter; id=1
> WARN  [o.a.c.alerts] (consoleproxy-1:ctx-0e6c9d6a)  alertType:: 10 //
> dataCenterId:: 1 // podId:: null // clusterId:: null // message::
> Console proxy creation failure.
>
> WARN  [o.a.c.s.SecondaryStorageManagerImpl]
> (secstorage-1:ctx-f61d7363) Exception while trying to start secondary
> storage vm
> com.cloud.exception.InsufficientServerCapacityException: Unable to
> create a deployment for
> VM[SecondaryStorageVm|s-1733-VM]Scope=interface
> com.cloud.dc.DataCenter; id=1
> WARN  [o.a.c.alerts] (secstorage-1:ctx-f61d7363)  alertType:: 19 //
> dataCenterId:: 1 // podId:: null // clusterId:: null // message::
> Secondary Storage Vm creation failure. zone
>
> I can see both the console proxy and the System VM in the System VM
> tab of the Infrastructure overview but I simply can not start them. I
> can also not create any instances, I simply get no choice of a
> template even though the System VM template is marked as "ready". I
> even imported an ISO but that also does not show up as a choice during
> instance creation.
>
> I do not understand the InsufficientServerCapacity message, there is
> definitely enough capacity both in storage and in memory.
>
> Can anybody give me a pointer what might be going on here?
>
> If you need to have more information, please let me know.
>
> Thanks in advance.
>
> - -- 
>
> Daniel Kollmer | Sr. System Engineer - OTS |
> daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
> (0)6 29 13 96 47
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBAgAGBQJU+XMHAAoJEAFpCdELSZ7Z9vwQAMW5GuTlZPyduuhYn7LL9Jde
> 5hwy96ui5s53iRbrqDii2G248EPcVNQM+U1ESvKB/XT3BM8/CMesJgzlfGsYdAP3
> +hwQHQ9T1LiDrdnT5wfshynuOUPV6G9WBQOu4XINMBVuD6IZikuGaEFCfQqNIog2
> t1EOQ81FgQ1H3IczCpUCSfgq/ohJGwXmkbse/sXWZpTu7S31HEzMcKpYJr3YHB3z
> Zq1sPJeZTIBDCOq4+deTJzazh29R4blFEq6GjJw3ttGSrgR0/5we12sb2K2mtN/0
> 9xYOWMyV361sYhc4N6+iUVm+/euVlozmNvoAYxXsCVpio2DTo1ir+E0eTKHQ13rJ
> PXJtSM5F3ufuhD/Zy3yQA8eIiuge7g3IG9NWzrAJDeRh3rfmBtmnHX2zYNxPHTgX
> selvZROKigsa//tUvwyeiZW4uIRjC4qJC4JoTHtlDTgyxgqrfMCFGquhDV1siIaw
> FZWlaTFj2h19vGfG46TvLDYYLxONY8HrA7Q8t54PRtXjazM65NAcl7bt3HD8bff0
> A/b+o7dM3EYpOAVERAtYww4PHdDLTg+JOrpI2KoRXKmS1OfhJDBOzbKdJiSNvzpE
> 3X4Uh7jYecvtic4IK4yewxSp/2XeiSmJ9m4GwJX9514zBbOdV+KlPEMSstfoya8H
> prO/K9s99pj16QeUZg/r
> =zW7k
> -----END PGP SIGNATURE----- 


RE: Secondary Storage VM & Console Proxy creation failure

Posted by Timothy Lothering <tl...@datacentrix.co.za>.
Hi Daniel,

Welcome!

I suggest you have a look further in the logs, the " InsufficientServerCapacityException" usually indicates that the server you are trying to provision to does not meet your templates requirements. There are 2 parts to this and I will explain by way of an example:

You have a 2 Socket, 16 Core Server with 64GB RAM, the server cores are rated at 2.0GHz, if you have a template which has been defined as 2.0GHz, theoretically, this should work, but if you look at what the Host system says is available (i.e. 1999MHz), the server will be deemed as having insufficient capacity.

With this said, have you modified the default service offering for your Console Proxy and/or Secondary storage? Also, I suggest you look to see if the Host is in maintenance Mode. Logs will be your best bet

Regards,
Timothy Lothering
Solutions Architect
Managed Services

T: +27877415535
F: +27877415100
C: +27824904099
E: tlothering@datacentrix.co.za


DISCLAIMER NOTICE: 

Everything in this e-mail and any attachments relating to the official business of Datacentrix Holdings Ltd. and its subsidiaries 
('Datacentrix') is proprietary to Datacentrix. It is confidential, legally privileged and protected by law. Datacentrix does not 
own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Datacentrix. 
The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally 
reached you and do not read, disclose or use the content in any way. Datacentrix cannot assure that the integrity of this communication 
has been maintained nor that it is free of errors, virus, interception or interference.
-----Original Message-----
From: Partha Goswami [mailto:partha@tulisoft.co.in] 
Sent: 06 March 2015 11:35 AM
To: users@cloudstack.apache.org
Subject: Re: Secondary Storage VM & Console Proxy creation failure

just keep basic default networking and try i had same issue solved that way

On Fri, Mar 6, 2015 at 2:57 PM, Daniel Kollmer <Da...@tomtom.com>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello everyone
>
> I am new here, so please bear with me if I submit a newbie question.
>
> I have installed Cloudstack 4.5 on CentOS 7 with a setup that includes 
> one physical machine as manager, one as hypervisor with KVM and one as 
> DB/storage. All three can freely communicate with each other.
>
> I have imported the System VM template, made sure primary and 
> secondary storage are accessible across the network and mounted (they 
> are), checked whether the System VM appears in secondary storage (it
> does) but yet I keep getting the following errors on my management 
> server
>
> WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-0e6c9d6a) 
> Exception while trying to start console proxy
> com.cloud.exception.InsufficientServerCapacityException: Unable to 
> create a deployment for VM[ConsoleProxy|v-1-VM]Scope=interface
> com.cloud.dc.DataCenter; id=1
> WARN  [o.a.c.alerts] (consoleproxy-1:ctx-0e6c9d6a)  alertType:: 10 //
> dataCenterId:: 1 // podId:: null // clusterId:: null // message::
> Console proxy creation failure.
>
> WARN  [o.a.c.s.SecondaryStorageManagerImpl]
> (secstorage-1:ctx-f61d7363) Exception while trying to start secondary 
> storage vm
> com.cloud.exception.InsufficientServerCapacityException: Unable to 
> create a deployment for 
> VM[SecondaryStorageVm|s-1733-VM]Scope=interface
> com.cloud.dc.DataCenter; id=1
> WARN  [o.a.c.alerts] (secstorage-1:ctx-f61d7363)  alertType:: 19 //
> dataCenterId:: 1 // podId:: null // clusterId:: null // message::
> Secondary Storage Vm creation failure. zone
>
> I can see both the console proxy and the System VM in the System VM 
> tab of the Infrastructure overview but I simply can not start them. I 
> can also not create any instances, I simply get no choice of a 
> template even though the System VM template is marked as "ready". I 
> even imported an ISO but that also does not show up as a choice during 
> instance creation.
>
> I do not understand the InsufficientServerCapacity message, there is 
> definitely enough capacity both in storage and in memory.
>
> Can anybody give me a pointer what might be going on here?
>
> If you need to have more information, please let me know.
>
> Thanks in advance.
>
> - --
>
> Daniel Kollmer | Sr. System Engineer - OTS | daniel.kollmer@tomtom.com 
> | Phone: +31 20 75 75 084 | Mobile: +31
> (0)6 29 13 96 47
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBAgAGBQJU+XMHAAoJEAFpCdELSZ7Z9vwQAMW5GuTlZPyduuhYn7LL9Jde
> 5hwy96ui5s53iRbrqDii2G248EPcVNQM+U1ESvKB/XT3BM8/CMesJgzlfGsYdAP3
> +hwQHQ9T1LiDrdnT5wfshynuOUPV6G9WBQOu4XINMBVuD6IZikuGaEFCfQqNIog2
> t1EOQ81FgQ1H3IczCpUCSfgq/ohJGwXmkbse/sXWZpTu7S31HEzMcKpYJr3YHB3z
> Zq1sPJeZTIBDCOq4+deTJzazh29R4blFEq6GjJw3ttGSrgR0/5we12sb2K2mtN/0
> 9xYOWMyV361sYhc4N6+iUVm+/euVlozmNvoAYxXsCVpio2DTo1ir+E0eTKHQ13rJ
> PXJtSM5F3ufuhD/Zy3yQA8eIiuge7g3IG9NWzrAJDeRh3rfmBtmnHX2zYNxPHTgX
> selvZROKigsa//tUvwyeiZW4uIRjC4qJC4JoTHtlDTgyxgqrfMCFGquhDV1siIaw
> FZWlaTFj2h19vGfG46TvLDYYLxONY8HrA7Q8t54PRtXjazM65NAcl7bt3HD8bff0
> A/b+o7dM3EYpOAVERAtYww4PHdDLTg+JOrpI2KoRXKmS1OfhJDBOzbKdJiSNvzpE
> 3X4Uh7jYecvtic4IK4yewxSp/2XeiSmJ9m4GwJX9514zBbOdV+KlPEMSstfoya8H
> prO/K9s99pj16QeUZg/r
> =zW7k
> -----END PGP SIGNATURE-----
>

Re: Can not deploy system VMs anymore

Posted by Daniel Kollmer <Da...@tomtom.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/25/2015 08:11 PM, ilya wrote:
> Can you mount the NFS on management server? it does it initially
> for the fist time right before it deploys system vms..

Yes, I can mount NFS on the management server and all the hypervisors.


- -- 

Daniel Kollmer | Sr. System Engineer - OTS |
daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
(0)6 29 13 96 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVE8VbAAoJEAFpCdELSZ7Zz90QANOJgFm1HRTw1UwvDnpvf2uW
y/mn1FFAttofRDvC36Ga0ay+A7bALsNqtQLqRyM3mLxqrzAi3UowH1qNxMsNBcPO
ZLK+rfck5aZXhie4XPybV7MaDdx9TFJy1fpEAcFzVC8jQKMJPESMY7voAcVn7krE
hx7KAFNy6pWXW0ESh/6R3x/5QQijdYeSS3Li9GUzbFpsy4JCm6Zu/n6cjSkVFGwo
eYcJL9qJ5S2slCs/n2s3iBaLxkgBZZpNX+H7iAtc8DrwMuFRu8WB9HHnOChzXyvq
xM0TSvH6cW9P6c2/030CNU7yk5+xZ8dPXloUsAgIJ++fN6dOrPGeG7mmJ6iea/c0
6DKsPmejG7hMR7xHLTWRq6kR5CXyTn2NZ9SMxyJ1JzBodgpfGZJ2ZusF3jXo90Gx
dHCgPB4NT7SrBAHzGQeB1Q5llV/KpvWq967YvXV7ykUj6d6A1K0gfhnPg4KWDPoT
Nl3QVhIySJG9A5QMLr4xA6k6Ql5E/txOVOKB25FmFnQI6vTRKoIkn4RANSGXASnR
xVY5be/34Hjhzi9v/q/aLTY30FoZglkXwbur/2b/ycNl+gcFNeTmFzAq5CpH8XTw
blib69phnz21wPlo4zTwH0G0zcdcwoyRVSBvf0nBRU1cj5s7Jb3xXVgMrRMWNhQu
ztGzGS836aNgxLY2gFpv
=R5Em
-----END PGP SIGNATURE-----

Re: Can not deploy system VMs anymore

Posted by ilya <il...@gmail.com>.
Can you mount the NFS on management server? it does it initially for the 
fist time right before it deploys system vms..



On 3/25/15 9:08 AM, Daniel Kollmer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello All
>
> This is related to my mail from yesterday:
>
>> Today I wanted to try and build a new zone (on cloudstack 4.5/KVM)
>> with VXLAN but upon launching it appears to be unable to start the
>> systemVMs
>>
>> I constantly got errors of this kind:
>>
>> Exception while trying to start secondary storage vm
>> com.cloud.exception.AgentUnavailableException: Resource [Host:1]
>> is unreachable: Host 1: Unable to start instance due to Unable to
>> acquire lock on VMTemplateStoragePool:
>>
>> I have verified that I can mount the secondary storage from the
>> hypervisor, it works.
>>
>> I tried reverting the zone back to a setup which does not use
>> VXLAN but the result was the same. If I check on the hypervisor
>> itself I see messages like this repeating over and over again:
>>
>>
>> 2015-03-24 17:46:28,373{GMT} INFO
>> [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:)
>> Attempting to remove storage pool
>> 5a7d9fa7-3f8a-3e91-802e-bee6c7a2654c from libvirt ^@2015-03-24
>> 17:46:55,195{GMT} INFO [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-3:) Attempting to create storage pool
>> 5a7d9fa7-3f8a-3e91-802e-bee6c7a2654c (NetworkFilesystem) in
>> libvirt 2015-03-24 17:46:55,292{GMT} INFO
>> [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:)
>> Attempting to create volume ea985424-d237-11e4-b2aa-c81f66f5bb98
>> (NetworkFilesystem) in pool 9af29c7c-b3b6-329b-8427-8929fb18fedf
>> with size 2684354560
>>
>> I have the feeling something is going wrong there with the libvirt
>> setup. I have completely emptied the secondary storage and
>> re-deployed the secondary storage VM but to no avail.
>>
> I have tried all day to find out what is going on there. I have
> destroyed and recreated everything from scratch including the database
> and SystemVM seeding. I have reverted to a plain setup without OVS or
> VXLAN and just one layer 2 network.
>
> All machines can reach each other, mount the NFS storage etc, but I
> still get the same errors. Please see the full relevant log here
> http://pastebin.com/DGLTYrjQ
>
> I really am at my wits end because that just stopped working from one
> day to the next and I have no idea why.
>
> I hope someone can point me into the right direction.
>
> - -- 
>
> Daniel Kollmer | Sr. System Engineer - OTS |
> daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
> (0)6 29 13 96 47
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBAgAGBQJVEt10AAoJEAFpCdELSZ7Z+DUP/R8fEWk4DYtiAWr4hkrIM1Wy
> m353Unmjv1Whv9IvdBLodTUHFSHMHtOyc6+hpkr8LyhXy+0S0zWqtXZJ5cwA6ndZ
> WmrTvQOk65qTkhpni+t3W1s3dWKbBEfoMNX5L1jDCIzYU516KUlmkxaQYmJVOpK9
> RTlI2HFDqOpiCJ9QswcecvYpXUA/2wiVp/FgNqSwgDzPc2vnzxgo+5AGtcfF4Zwm
> 4eaTF4GEEeciidZv2x/gCCTXoCEHv4x0uDX96O3w0MKRu/BgjkT8X6u4XCZBTFCy
> 3pTAtswcZYukL0LOESI5+G95MeRfvGG72uZyk6DMU2/Qhh2t4d/raZmq0dsf6itk
> Nj5vdfHqc9x0O9e6g1U8mgcaA/NCXLhBpHnzN4EYLO/O3THBz8pPBTZ0Ajz7jHgT
> Fu1D9uq8YR6mAaeIyI5MT5QjNmfZGeAPWxEgCHaBJ0kOKGzGTFzREsVd1qFe48BE
> RqmpZUV2lXvCDLMU6Ml9GMIKsRoR3snW1WBExd03FScafKNsQBCJ+Y5FDNM4+w6I
> mz1Le+DP2IPxjBNPkaUUXC/tTgx1L1ET/PGegCESFnZcjTrTEi+yrwD6oomFvvx/
> h6BZpdkiw3eQr6KDV6csZT3CdX2PO5LWRC2xIP6domfDYKzLOw/4SQxVLDwkYIXk
> JGqEFEm30TJya7GzBMyI
> =YE3k
> -----END PGP SIGNATURE-----


Re: Can not deploy system VMs anymore

Posted by Daniel Kollmer <Da...@tomtom.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/26/2015 06:20 AM, Sam Ceylani wrote:
> Since it is template size related, is vhd-util installed? I am not
> sure if you need it on KVM or not, but I would check...

Hello

No it is not installed. The documentation said that would only be
needed by Xenserver hypervisors, but I tried installing it anyway.
That did not make a difference though.

Regards;

- -- 

Daniel Kollmer | Sr. System Engineer - OTS |
daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
(0)6 29 13 96 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVE8erAAoJEAFpCdELSZ7ZTFEP/1tBU57+Wgz1gcH766gHlIgj
MvUkMx7ECq/Kwbc/a75W8s7qPosI9CAVUED1YrCDs2o54Ow0j1/+0GbvA+4qyiQD
rRo/zK/a+Oh8n1a/5eIqOAtCa93tIOvA5ft3onEzIm54RpTZExxq8xoZLbvkjXCb
KuSFBMws3xztNn10Y7yB3AnLucRFiBFlTiYDMyN/kG5c9mwLRcI1fcBxQCdN0xOw
Uiwn+ZRSHm8IzbU0A5YEuu3LNuVK3qRRu+lmizFyrCMxpBOdprAK1pBM6LQciVs5
YW1MJVMWTkML/6a6jD1gUIGu4rISXlZIUm0gR8t/+Teq8SPXFNj/MhDrK4zt6zWq
7VhCwYAI9Gao7GGgZYhu3Nufx+b79jdOz29a72CvVZ/3nSBHPBFoNu02Qpk8dit5
ZAfPaJi4C6blJEhGFk4HU+vKeZsPtpUJhb6uzAz6hb+V3um78bjmV5ZKNFiyUWu2
ayvmdPLPP75c0SrbiafG7Rr2zX7LqukI2n8G3Bk7eZ+spT85W7381bqRjmRiKyWu
V9j3ARWy5nbk9MtxkC27O24MKsVJnuL3TGdbUBAcbSGgURRwKCcJT39kUAjFsZ29
jBPNnaxUoLY/QnIKwM+eWcB265qkXGR0+H7Is2ZiWpLa4AkXhymaiEKMhOxdrDak
FVw9T1Kbk8o/FXgcyBsN
=C2S7
-----END PGP SIGNATURE-----

RE: Can not deploy system VMs anymore

Posted by Sam Ceylani <sa...@mistercertified.com>.
Since it is template size related, is vhd-util installed? I am not sure if you need it on KVM or not, but I would check...

-----Original Message-----
From: Sanjeev Neelarapu [mailto:sanjeev.neelarapu@citrix.com] 
Sent: Thursday, March 26, 2015 1:17 AM
To: users@cloudstack.apache.org
Subject: RE: Can not deploy system VMs anymore

We found this issue in our testing as well. The reason is template_spool_ref table is not getting updated with correct template_size So we see this error "Unable to start instance due to can't find mapping in ObjectInDataStore table for: org.apache.cloudstack.storage.image.store.TemplateObject@16352d04"

This is a product issue and needs to be fixed.

-Sanjeev
-----Original Message-----
From: Daniel Kollmer [mailto:Daniel.Kollmer@tomtom.com]
Sent: Wednesday, March 25, 2015 9:38 PM
To: users@cloudstack.apache.org
Subject: Can not deploy system VMs anymore

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello All

This is related to my mail from yesterday:

> Today I wanted to try and build a new zone (on cloudstack 4.5/KVM) 
> with VXLAN but upon launching it appears to be unable to start the 
> systemVMs
> 
> I constantly got errors of this kind:
> 
> Exception while trying to start secondary storage vm
> com.cloud.exception.AgentUnavailableException: Resource [Host:1] is
> unreachable: Host 1: Unable to start instance due to Unable to acquire 
> lock on VMTemplateStoragePool:
> 
> I have verified that I can mount the secondary storage from the 
> hypervisor, it works.
> 
> I tried reverting the zone back to a setup which does not use VXLAN 
> but the result was the same. If I check on the hypervisor itself I see 
> messages like this repeating over and over again:
> 
> 
> 2015-03-24 17:46:28,373{GMT} INFO
> [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:) 
> Attempting to remove storage pool 5a7d9fa7-3f8a-3e91-802e-bee6c7a2654c
> from libvirt ^@2015-03-24 17:46:55,195{GMT} INFO 
> [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:) Attempting to create storage pool 
> 5a7d9fa7-3f8a-3e91-802e-bee6c7a2654c (NetworkFilesystem) in libvirt
> 2015-03-24 17:46:55,292{GMT} INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:) Attempting to create volume
> ea985424-d237-11e4-b2aa-c81f66f5bb98
> (NetworkFilesystem) in pool 9af29c7c-b3b6-329b-8427-8929fb18fedf
> with size 2684354560
> 
> I have the feeling something is going wrong there with the libvirt 
> setup. I have completely emptied the secondary storage and re-deployed 
> the secondary storage VM but to no avail.
> 

I have tried all day to find out what is going on there. I have destroyed and recreated everything from scratch including the database and SystemVM seeding. I have reverted to a plain setup without OVS or VXLAN and just one layer 2 network.

All machines can reach each other, mount the NFS storage etc, but I still get the same errors. Please see the full relevant log here http://pastebin.com/DGLTYrjQ

I really am at my wits end because that just stopped working from one day to the next and I have no idea why.

I hope someone can point me into the right direction.

- -- 

Daniel Kollmer | Sr. System Engineer - OTS | daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
(0)6 29 13 96 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVEt10AAoJEAFpCdELSZ7Z+DUP/R8fEWk4DYtiAWr4hkrIM1Wy
m353Unmjv1Whv9IvdBLodTUHFSHMHtOyc6+hpkr8LyhXy+0S0zWqtXZJ5cwA6ndZ
WmrTvQOk65qTkhpni+t3W1s3dWKbBEfoMNX5L1jDCIzYU516KUlmkxaQYmJVOpK9
RTlI2HFDqOpiCJ9QswcecvYpXUA/2wiVp/FgNqSwgDzPc2vnzxgo+5AGtcfF4Zwm
4eaTF4GEEeciidZv2x/gCCTXoCEHv4x0uDX96O3w0MKRu/BgjkT8X6u4XCZBTFCy
3pTAtswcZYukL0LOESI5+G95MeRfvGG72uZyk6DMU2/Qhh2t4d/raZmq0dsf6itk
Nj5vdfHqc9x0O9e6g1U8mgcaA/NCXLhBpHnzN4EYLO/O3THBz8pPBTZ0Ajz7jHgT
Fu1D9uq8YR6mAaeIyI5MT5QjNmfZGeAPWxEgCHaBJ0kOKGzGTFzREsVd1qFe48BE
RqmpZUV2lXvCDLMU6Ml9GMIKsRoR3snW1WBExd03FScafKNsQBCJ+Y5FDNM4+w6I
mz1Le+DP2IPxjBNPkaUUXC/tTgx1L1ET/PGegCESFnZcjTrTEi+yrwD6oomFvvx/
h6BZpdkiw3eQr6KDV6csZT3CdX2PO5LWRC2xIP6domfDYKzLOw/4SQxVLDwkYIXk
JGqEFEm30TJya7GzBMyI
=YE3k
-----END PGP SIGNATURE-----

RE: Can not deploy system VMs anymore

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
We found this issue in our testing as well. The reason is template_spool_ref table is not getting updated with correct template_size
So we see this error "Unable to start instance due to can't find mapping in ObjectInDataStore table for: org.apache.cloudstack.storage.image.store.TemplateObject@16352d04"

This is a product issue and needs to be fixed.

-Sanjeev
-----Original Message-----
From: Daniel Kollmer [mailto:Daniel.Kollmer@tomtom.com] 
Sent: Wednesday, March 25, 2015 9:38 PM
To: users@cloudstack.apache.org
Subject: Can not deploy system VMs anymore

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello All

This is related to my mail from yesterday:

> Today I wanted to try and build a new zone (on cloudstack 4.5/KVM) 
> with VXLAN but upon launching it appears to be unable to start the 
> systemVMs
> 
> I constantly got errors of this kind:
> 
> Exception while trying to start secondary storage vm
> com.cloud.exception.AgentUnavailableException: Resource [Host:1] is 
> unreachable: Host 1: Unable to start instance due to Unable to acquire 
> lock on VMTemplateStoragePool:
> 
> I have verified that I can mount the secondary storage from the 
> hypervisor, it works.
> 
> I tried reverting the zone back to a setup which does not use VXLAN 
> but the result was the same. If I check on the hypervisor itself I see 
> messages like this repeating over and over again:
> 
> 
> 2015-03-24 17:46:28,373{GMT} INFO
> [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:) 
> Attempting to remove storage pool 5a7d9fa7-3f8a-3e91-802e-bee6c7a2654c 
> from libvirt ^@2015-03-24 17:46:55,195{GMT} INFO 
> [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:) Attempting to create storage pool 
> 5a7d9fa7-3f8a-3e91-802e-bee6c7a2654c (NetworkFilesystem) in libvirt 
> 2015-03-24 17:46:55,292{GMT} INFO [kvm.storage.LibvirtStorageAdaptor] 
> (agentRequest-Handler-3:) Attempting to create volume 
> ea985424-d237-11e4-b2aa-c81f66f5bb98
> (NetworkFilesystem) in pool 9af29c7c-b3b6-329b-8427-8929fb18fedf
> with size 2684354560
> 
> I have the feeling something is going wrong there with the libvirt 
> setup. I have completely emptied the secondary storage and re-deployed 
> the secondary storage VM but to no avail.
> 

I have tried all day to find out what is going on there. I have destroyed and recreated everything from scratch including the database and SystemVM seeding. I have reverted to a plain setup without OVS or VXLAN and just one layer 2 network.

All machines can reach each other, mount the NFS storage etc, but I still get the same errors. Please see the full relevant log here http://pastebin.com/DGLTYrjQ

I really am at my wits end because that just stopped working from one day to the next and I have no idea why.

I hope someone can point me into the right direction.

- -- 

Daniel Kollmer | Sr. System Engineer - OTS | daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
(0)6 29 13 96 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVEt10AAoJEAFpCdELSZ7Z+DUP/R8fEWk4DYtiAWr4hkrIM1Wy
m353Unmjv1Whv9IvdBLodTUHFSHMHtOyc6+hpkr8LyhXy+0S0zWqtXZJ5cwA6ndZ
WmrTvQOk65qTkhpni+t3W1s3dWKbBEfoMNX5L1jDCIzYU516KUlmkxaQYmJVOpK9
RTlI2HFDqOpiCJ9QswcecvYpXUA/2wiVp/FgNqSwgDzPc2vnzxgo+5AGtcfF4Zwm
4eaTF4GEEeciidZv2x/gCCTXoCEHv4x0uDX96O3w0MKRu/BgjkT8X6u4XCZBTFCy
3pTAtswcZYukL0LOESI5+G95MeRfvGG72uZyk6DMU2/Qhh2t4d/raZmq0dsf6itk
Nj5vdfHqc9x0O9e6g1U8mgcaA/NCXLhBpHnzN4EYLO/O3THBz8pPBTZ0Ajz7jHgT
Fu1D9uq8YR6mAaeIyI5MT5QjNmfZGeAPWxEgCHaBJ0kOKGzGTFzREsVd1qFe48BE
RqmpZUV2lXvCDLMU6Ml9GMIKsRoR3snW1WBExd03FScafKNsQBCJ+Y5FDNM4+w6I
mz1Le+DP2IPxjBNPkaUUXC/tTgx1L1ET/PGegCESFnZcjTrTEi+yrwD6oomFvvx/
h6BZpdkiw3eQr6KDV6csZT3CdX2PO5LWRC2xIP6domfDYKzLOw/4SQxVLDwkYIXk
JGqEFEm30TJya7GzBMyI
=YE3k
-----END PGP SIGNATURE-----

Can not deploy system VMs anymore

Posted by Daniel Kollmer <Da...@tomtom.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello All

This is related to my mail from yesterday:

> Today I wanted to try and build a new zone (on cloudstack 4.5/KVM) 
> with VXLAN but upon launching it appears to be unable to start the 
> systemVMs
> 
> I constantly got errors of this kind:
> 
> Exception while trying to start secondary storage vm 
> com.cloud.exception.AgentUnavailableException: Resource [Host:1]
> is unreachable: Host 1: Unable to start instance due to Unable to
> acquire lock on VMTemplateStoragePool:
> 
> I have verified that I can mount the secondary storage from the 
> hypervisor, it works.
> 
> I tried reverting the zone back to a setup which does not use
> VXLAN but the result was the same. If I check on the hypervisor
> itself I see messages like this repeating over and over again:
> 
> 
> 2015-03-24 17:46:28,373{GMT} INFO
> [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:)
> Attempting to remove storage pool 
> 5a7d9fa7-3f8a-3e91-802e-bee6c7a2654c from libvirt ^@2015-03-24
> 17:46:55,195{GMT} INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:) Attempting to create storage pool
> 5a7d9fa7-3f8a-3e91-802e-bee6c7a2654c (NetworkFilesystem) in
> libvirt 2015-03-24 17:46:55,292{GMT} INFO
> [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:)
> Attempting to create volume ea985424-d237-11e4-b2aa-c81f66f5bb98
> (NetworkFilesystem) in pool 9af29c7c-b3b6-329b-8427-8929fb18fedf
> with size 2684354560
> 
> I have the feeling something is going wrong there with the libvirt 
> setup. I have completely emptied the secondary storage and
> re-deployed the secondary storage VM but to no avail.
> 

I have tried all day to find out what is going on there. I have
destroyed and recreated everything from scratch including the database
and SystemVM seeding. I have reverted to a plain setup without OVS or
VXLAN and just one layer 2 network.

All machines can reach each other, mount the NFS storage etc, but I
still get the same errors. Please see the full relevant log here
http://pastebin.com/DGLTYrjQ

I really am at my wits end because that just stopped working from one
day to the next and I have no idea why.

I hope someone can point me into the right direction.

- -- 

Daniel Kollmer | Sr. System Engineer - OTS |
daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
(0)6 29 13 96 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVEt10AAoJEAFpCdELSZ7Z+DUP/R8fEWk4DYtiAWr4hkrIM1Wy
m353Unmjv1Whv9IvdBLodTUHFSHMHtOyc6+hpkr8LyhXy+0S0zWqtXZJ5cwA6ndZ
WmrTvQOk65qTkhpni+t3W1s3dWKbBEfoMNX5L1jDCIzYU516KUlmkxaQYmJVOpK9
RTlI2HFDqOpiCJ9QswcecvYpXUA/2wiVp/FgNqSwgDzPc2vnzxgo+5AGtcfF4Zwm
4eaTF4GEEeciidZv2x/gCCTXoCEHv4x0uDX96O3w0MKRu/BgjkT8X6u4XCZBTFCy
3pTAtswcZYukL0LOESI5+G95MeRfvGG72uZyk6DMU2/Qhh2t4d/raZmq0dsf6itk
Nj5vdfHqc9x0O9e6g1U8mgcaA/NCXLhBpHnzN4EYLO/O3THBz8pPBTZ0Ajz7jHgT
Fu1D9uq8YR6mAaeIyI5MT5QjNmfZGeAPWxEgCHaBJ0kOKGzGTFzREsVd1qFe48BE
RqmpZUV2lXvCDLMU6Ml9GMIKsRoR3snW1WBExd03FScafKNsQBCJ+Y5FDNM4+w6I
mz1Le+DP2IPxjBNPkaUUXC/tTgx1L1ET/PGegCESFnZcjTrTEi+yrwD6oomFvvx/
h6BZpdkiw3eQr6KDV6csZT3CdX2PO5LWRC2xIP6domfDYKzLOw/4SQxVLDwkYIXk
JGqEFEm30TJya7GzBMyI
=YE3k
-----END PGP SIGNATURE-----

Re: Secondary Storage VM & Console Proxy creation failure

Posted by sandeep khandekar <cl...@gmail.com>.
Rohit may be right change the permissions it may work.

It seems like there is a coding error in CS unless your secondary storage
comes up, you cannot progress any further in CS.

Your Templates(centos, system vm) should get downloaded . Check the status
of templates if they are 100% downloaded and ready then only you can deploy
your ISO or download your ISO.

It shows everything is working fine on UI, but there may be a bug or
somewhere you went wrong during installation.

Re: Secondary Storage VM & Console Proxy creation failure

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Daniel,

I'm not exactly sure what's happening. The general issues around this
are incorrectly configured primary/secondary storage, systemvm templates
not seeded or chmod issues.

If you're trying with KVM, you may read this:
http://bhaisaab.org/logs/cloudstack-kvm

For ACS 4.4 - Download systemvm templates from this URL and check the
MD5 checksum after downloading:

http://packages.shapeblue.com/systemvmtemplate/4.4

If you need docs and all links on one page try this:
http://shapeblue.com/packages

Lastly, when you try a clean/fresh installation next time and face any
issues share the management server logs somewhere with us so we can help
debug your issues.

Regards.


On Friday 06 March 2015 09:47 PM, Daniel Kollmer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/06/2015 01:12 PM, Partha Goswami wrote:
>> Daniel,
>>
>> I have faced same problem. i had just installed Cloudstack and add
>> "Basic Zones" Then I have changed in Zones> Physical Networking And
>> I have faced same issue, for quick solution, i just delete db and
>> run cloudstack-management commnad for setup and setup zones again
>> with wizards, I have not any issue anymore.
>
> Hello Partha
>
> I tried that and I ended up with the exact same error. BTW, to try and
> make sure that I have the compatible one, I used the system VM
> template which is recommended on this page here:
> http://cloudstack-release-notes-ja.readthedocs.org/ja/stable/upgrade/upgrade-4.4.html
>
> KKind regards;
>
>
> - --
>
> Daniel Kollmer | Sr. System Engineer - OTS |
> daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
> (0)6 29 13 96 47
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBAgAGBQJU+dMnAAoJEAFpCdELSZ7Z7OAP+wS+HMFrl1ZuKcWmnrCqfOjD
> pczXMY4PsJMGwknNhDr2KVx/HwE1orvTVBWuUMaAD64xhL+AuvlZVHg2hg4oiREv
> tLK3cfqHk4L9DAvizxv9Yu7HcSzHGt8R2yhE8HYcUHZLTf9lHKOittg1P+tJEiTA
> ysCKPLgyFrSvofnpCbMw+0rgeyFi5hqAzktnAgVk4LWRx+MVvwr7YHT7DCpVTNwG
> CL6yLJcoIjdoBSlRPEMnHlr51VJC42BFfk3g+HjDXDMRSTQQ/K+BFSuGYPAzpZoY
> 9nkLeqbS2xugGRHiUFD84LOcMvG6IX1WqQ0R1aZz2J77HKu2cwU53YJ0KC7NSTkR
> d4yUebM4g9drTC7pxNDTnK1Gv9nDFJCF2c7YTV71QNL2m6ezWQweYw6phspxwQgH
> xG9c05Zpcrf9GW+IgRSqGwbHo+noZGyT04DTsSLTo7AVL94EorkUW8AUkt5uFt4o
> ztO68Zq3EwL72a1f/DA9p5zmUYVltsGn07K8wshHpAdZ3t1d197641T6noMNDmu+
> j9bULkq6QTDOtOKjVoIcL02Xd9V3janKIGj+977cY5ztu8rE7YfwklVbVv6JqFeH
> PCTIKBpxbewBXZNFCmOWEeHBLGX/+Cp4wvA+UP4Pvs3q8aiF+r/OJmW+yFEWmgkY
> tDR1p524eloCMJ3OFEkh
> =Ppjt
> -----END PGP SIGNATURE-----
>

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
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: Secondary Storage VM & Console Proxy creation failure

Posted by Partha Goswami <pa...@tulisoft.co.in>.
here is the guide
http://cloudstack-installation.readthedocs.org/en/latest/qig.html


On Fri, Mar 6, 2015 at 9:47 PM, Daniel Kollmer <Da...@tomtom.com>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/06/2015 01:12 PM, Partha Goswami wrote:
> > Daniel,
> >
> > I have faced same problem. i had just installed Cloudstack and add
> > "Basic Zones" Then I have changed in Zones> Physical Networking And
> > I have faced same issue, for quick solution, i just delete db and
> > run cloudstack-management commnad for setup and setup zones again
> > with wizards, I have not any issue anymore.
>
> Hello Partha
>
> I tried that and I ended up with the exact same error. BTW, to try and
> make sure that I have the compatible one, I used the system VM
> template which is recommended on this page here:
>
> http://cloudstack-release-notes-ja.readthedocs.org/ja/stable/upgrade/upgrade-4.4.html
>
> KKind regards;
>
>
> - --
>
> Daniel Kollmer | Sr. System Engineer - OTS |
> daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
> (0)6 29 13 96 47
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBAgAGBQJU+dMnAAoJEAFpCdELSZ7Z7OAP+wS+HMFrl1ZuKcWmnrCqfOjD
> pczXMY4PsJMGwknNhDr2KVx/HwE1orvTVBWuUMaAD64xhL+AuvlZVHg2hg4oiREv
> tLK3cfqHk4L9DAvizxv9Yu7HcSzHGt8R2yhE8HYcUHZLTf9lHKOittg1P+tJEiTA
> ysCKPLgyFrSvofnpCbMw+0rgeyFi5hqAzktnAgVk4LWRx+MVvwr7YHT7DCpVTNwG
> CL6yLJcoIjdoBSlRPEMnHlr51VJC42BFfk3g+HjDXDMRSTQQ/K+BFSuGYPAzpZoY
> 9nkLeqbS2xugGRHiUFD84LOcMvG6IX1WqQ0R1aZz2J77HKu2cwU53YJ0KC7NSTkR
> d4yUebM4g9drTC7pxNDTnK1Gv9nDFJCF2c7YTV71QNL2m6ezWQweYw6phspxwQgH
> xG9c05Zpcrf9GW+IgRSqGwbHo+noZGyT04DTsSLTo7AVL94EorkUW8AUkt5uFt4o
> ztO68Zq3EwL72a1f/DA9p5zmUYVltsGn07K8wshHpAdZ3t1d197641T6noMNDmu+
> j9bULkq6QTDOtOKjVoIcL02Xd9V3janKIGj+977cY5ztu8rE7YfwklVbVv6JqFeH
> PCTIKBpxbewBXZNFCmOWEeHBLGX/+Cp4wvA+UP4Pvs3q8aiF+r/OJmW+yFEWmgkY
> tDR1p524eloCMJ3OFEkh
> =Ppjt
> -----END PGP SIGNATURE-----
>

Re: Secondary Storage VM & Console Proxy creation failure

Posted by Daniel Kollmer <Da...@tomtom.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/06/2015 01:12 PM, Partha Goswami wrote:
> Daniel,
> 
> I have faced same problem. i had just installed Cloudstack and add
> "Basic Zones" Then I have changed in Zones> Physical Networking And
> I have faced same issue, for quick solution, i just delete db and
> run cloudstack-management commnad for setup and setup zones again
> with wizards, I have not any issue anymore.

Hello Partha

I tried that and I ended up with the exact same error. BTW, to try and
make sure that I have the compatible one, I used the system VM
template which is recommended on this page here:
http://cloudstack-release-notes-ja.readthedocs.org/ja/stable/upgrade/upgrade-4.4.html

KKind regards;


- -- 

Daniel Kollmer | Sr. System Engineer - OTS |
daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
(0)6 29 13 96 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJU+dMnAAoJEAFpCdELSZ7Z7OAP+wS+HMFrl1ZuKcWmnrCqfOjD
pczXMY4PsJMGwknNhDr2KVx/HwE1orvTVBWuUMaAD64xhL+AuvlZVHg2hg4oiREv
tLK3cfqHk4L9DAvizxv9Yu7HcSzHGt8R2yhE8HYcUHZLTf9lHKOittg1P+tJEiTA
ysCKPLgyFrSvofnpCbMw+0rgeyFi5hqAzktnAgVk4LWRx+MVvwr7YHT7DCpVTNwG
CL6yLJcoIjdoBSlRPEMnHlr51VJC42BFfk3g+HjDXDMRSTQQ/K+BFSuGYPAzpZoY
9nkLeqbS2xugGRHiUFD84LOcMvG6IX1WqQ0R1aZz2J77HKu2cwU53YJ0KC7NSTkR
d4yUebM4g9drTC7pxNDTnK1Gv9nDFJCF2c7YTV71QNL2m6ezWQweYw6phspxwQgH
xG9c05Zpcrf9GW+IgRSqGwbHo+noZGyT04DTsSLTo7AVL94EorkUW8AUkt5uFt4o
ztO68Zq3EwL72a1f/DA9p5zmUYVltsGn07K8wshHpAdZ3t1d197641T6noMNDmu+
j9bULkq6QTDOtOKjVoIcL02Xd9V3janKIGj+977cY5ztu8rE7YfwklVbVv6JqFeH
PCTIKBpxbewBXZNFCmOWEeHBLGX/+Cp4wvA+UP4Pvs3q8aiF+r/OJmW+yFEWmgkY
tDR1p524eloCMJ3OFEkh
=Ppjt
-----END PGP SIGNATURE-----

Re: Secondary Storage VM & Console Proxy creation failure

Posted by Partha Goswami <pa...@tulisoft.co.in>.
Daniel,

I have faced same problem. i had just installed Cloudstack and add "Basic
Zones" Then I have changed in Zones> Physical Networking
And I have faced same issue, for quick solution, i just delete db and run
cloudstack-management commnad for setup and setup zones again with wizards,
I have not any issue anymore.

On Fri, Mar 6, 2015 at 5:27 PM, Gopalakrishnan S <go...@assistanz.com>
wrote:

> Daniel,
>
> Management traffic only communicate with each other and it can be tried to
> create SSVM and secondary storeage, etc.,  You may check with management
> subnet range.
>
> Thank You.
> Gopalakrishnan.S
>
>
> ----- Original Message ----- From: "Daniel Kollmer" <
> Daniel.Kollmer@tomtom.com>
> To: <us...@cloudstack.apache.org>
> Sent: Friday, March 06, 2015 5:18 PM
> Subject: Re: Secondary Storage VM & Console Proxy creation failure
>
>
>
>  -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hello and thank you for your replies.
>>
>> Allow me to address them individually.
>>
>> On 03/06/2015 10:34 AM, Partha Goswami wrote:
>>
>>> just keep basic default networking and try i had same issue solved
>>> that way
>>>
>>>
>> Hello Partha
>>
>> May I ask you to elaborate what you mean by that. Which kind of
>> default networking I would have to use?
>>
>> On 03/06/2015 10:50 AM, Timothy Lothering wrote:
>>
>>  I suggest you have a look further in the logs, the "
>>> InsufficientServerCapacityException" usually indicates that the
>>> server you are trying to provision to does not meet your templates
>>> requirements. There are 2 parts to this and I will explain by way
>>> of an example:
>>>
>>> You have a 2 Socket, 16 Core Server with 64GB RAM, the server
>>> cores are rated at 2.0GHz, if you have a template which has been
>>> defined
>>>
>> as > 2.0GHz, theoretically, this should work, but if you look at what the
>>
>>> Host system says is available (i.e. 1999MHz), the server will be
>>> deemed as having insufficient capacity.
>>>
>>> With this said, have you modified the default service offering for
>>> your Console Proxy and/or Secondary storage? Also, I suggest you
>>> look to see if the Host is in maintenance Mode. Logs will be your
>>> best bet
>>>
>>
>> Hi Timothy
>>
>> Everything is "out-of-the-box" and unmodified. The hypervisor host is
>> up and in the agent logs there is nothing that indicates any warnings.
>> At this time I only have the default "small" and "medium" service
>> offerings which are way below system specs albeit the CPU frequency is
>> indeed not the same as what the system offers (it is lower) should it
>> be the same?
>>
>>
>> On 03/06/2015 11:48 AM, Gopalakrishnan S wrote:
>>
>>  Your server have enough capacity but cloudstack server error
>>> indicates that your cluster and pod load as null value.  My
>>> suggestion is you should recheck your management traffic ip
>>> configuration. Is that ips are communicate properly ?
>>>
>>> Please make sure your management traffic ip cofiguration in
>>> cloudstack zone ->pod settings.
>>>
>>
>> Hello Gopalakrishnan
>>
>> Do you mean I should make sure the hypervisor host can communicate
>> with the management server and vice versa? That is definitely the
>> case, otherwise I would not be able to see the host in my
>> infrastructure overview, right?
>>
>> They are on different subnets though which also have different VLANS,
>> is there something I need to set there?
>>
>> Kind regards and thanks for your feedback everyone.
>>
>> - --
>> Daniel Kollmer | Sr. System Engineer - OTS |
>> daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
>> (0)6 29 13 96 47
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1
>>
>> iQIcBAEBAgAGBQJU+ZQBAAoJEAFpCdELSZ7ZG5EP/jKJNyj4dVPhOJ9PT8t3yvG6
>> TQUgxohGhUfKktORfuLQ/0ulpmXBmxtU/MNBb3qpyoWm986M2s5jCZYx9LSW4ucq
>> +JeAhqxKSLDJtqJVLJ+kVjBewuXdnc/l2PzYP0w7KzUBRpFIrbk4SuxESZXl9ofG
>> ah0RJ46Yy8qeNXfmOERHnVdo1OT/dXPVkP5TuPdsyEa6jBVB1FTcaM1MqNFGj1+K
>> TdnwrvSjhJUQK34w4BJON0/qDUgPjBoznaQzYVFgsMqow68goQ0/BmcKlC92Mb6F
>> 5wusOG98p3TpgOHViGBHUH+FRJnjydRWQA+kPTOz5EqAU7iWW4JGiqhG/ALUrUEv
>> Hc2n+BPzpJWB/ZIQgFQ9uJm/ZwkMj3oC2aDEWOaJI78c4O+mPD2sKkLQyKmqgLga
>> 7AYnOzRYCycHBf+PNqW/6/ZkEoiugX7BvvmuZv1HAT5wYqQGrx2Kfng1cYyh2V03
>> owsxrQ7w1zL9qwU6GmeXmSBEEQY4bVpKbHrC2eVTRfyaZOQtExFOahIbwAGjddtl
>> PZ+CNZLMaIZClpH2SqRxa28uXWYNSBEwiF2I2seImRQNrVJCbHN5U7ItKsEuCRPy
>> 0pqcc3wq0dCGws/2P5sP5daHQaGmKgYIYGMDfukTOqmCuXJTqVPfA64dtBtTWUbq
>> UIlSOqUuZTjBy3Y6jWpb
>> =nEUw
>> -----END PGP SIGNATURE-----
>>
>
>

Re: Secondary Storage VM & Console Proxy creation failure

Posted by Gopalakrishnan S <go...@assistanz.com>.
Daniel,

Management traffic only communicate with each other and it can be tried to 
create SSVM and secondary storeage, etc.,  You may check with management 
subnet range.

Thank You.
Gopalakrishnan.S


----- Original Message ----- 
From: "Daniel Kollmer" <Da...@tomtom.com>
To: <us...@cloudstack.apache.org>
Sent: Friday, March 06, 2015 5:18 PM
Subject: Re: Secondary Storage VM & Console Proxy creation failure


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello and thank you for your replies.
>
> Allow me to address them individually.
>
> On 03/06/2015 10:34 AM, Partha Goswami wrote:
>> just keep basic default networking and try i had same issue solved
>> that way
>>
>
> Hello Partha
>
> May I ask you to elaborate what you mean by that. Which kind of
> default networking I would have to use?
>
> On 03/06/2015 10:50 AM, Timothy Lothering wrote:
>
>> I suggest you have a look further in the logs, the "
>> InsufficientServerCapacityException" usually indicates that the
>> server you are trying to provision to does not meet your templates
>> requirements. There are 2 parts to this and I will explain by way
>> of an example:
>>
>> You have a 2 Socket, 16 Core Server with 64GB RAM, the server
>> cores are rated at 2.0GHz, if you have a template which has been
>> defined
> as > 2.0GHz, theoretically, this should work, but if you look at what the
>> Host system says is available (i.e. 1999MHz), the server will be
>> deemed as having insufficient capacity.
>>
>> With this said, have you modified the default service offering for
>> your Console Proxy and/or Secondary storage? Also, I suggest you
>> look to see if the Host is in maintenance Mode. Logs will be your
>> best bet
>
> Hi Timothy
>
> Everything is "out-of-the-box" and unmodified. The hypervisor host is
> up and in the agent logs there is nothing that indicates any warnings.
> At this time I only have the default "small" and "medium" service
> offerings which are way below system specs albeit the CPU frequency is
> indeed not the same as what the system offers (it is lower) should it
> be the same?
>
>
> On 03/06/2015 11:48 AM, Gopalakrishnan S wrote:
>
>> Your server have enough capacity but cloudstack server error
>> indicates that your cluster and pod load as null value.  My
>> suggestion is you should recheck your management traffic ip
>> configuration. Is that ips are communicate properly ?
>>
>> Please make sure your management traffic ip cofiguration in
>> cloudstack zone ->pod settings.
>
> Hello Gopalakrishnan
>
> Do you mean I should make sure the hypervisor host can communicate
> with the management server and vice versa? That is definitely the
> case, otherwise I would not be able to see the host in my
> infrastructure overview, right?
>
> They are on different subnets though which also have different VLANS,
> is there something I need to set there?
>
> Kind regards and thanks for your feedback everyone.
>
> - -- 
>
> Daniel Kollmer | Sr. System Engineer - OTS |
> daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
> (0)6 29 13 96 47
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBAgAGBQJU+ZQBAAoJEAFpCdELSZ7ZG5EP/jKJNyj4dVPhOJ9PT8t3yvG6
> TQUgxohGhUfKktORfuLQ/0ulpmXBmxtU/MNBb3qpyoWm986M2s5jCZYx9LSW4ucq
> +JeAhqxKSLDJtqJVLJ+kVjBewuXdnc/l2PzYP0w7KzUBRpFIrbk4SuxESZXl9ofG
> ah0RJ46Yy8qeNXfmOERHnVdo1OT/dXPVkP5TuPdsyEa6jBVB1FTcaM1MqNFGj1+K
> TdnwrvSjhJUQK34w4BJON0/qDUgPjBoznaQzYVFgsMqow68goQ0/BmcKlC92Mb6F
> 5wusOG98p3TpgOHViGBHUH+FRJnjydRWQA+kPTOz5EqAU7iWW4JGiqhG/ALUrUEv
> Hc2n+BPzpJWB/ZIQgFQ9uJm/ZwkMj3oC2aDEWOaJI78c4O+mPD2sKkLQyKmqgLga
> 7AYnOzRYCycHBf+PNqW/6/ZkEoiugX7BvvmuZv1HAT5wYqQGrx2Kfng1cYyh2V03
> owsxrQ7w1zL9qwU6GmeXmSBEEQY4bVpKbHrC2eVTRfyaZOQtExFOahIbwAGjddtl
> PZ+CNZLMaIZClpH2SqRxa28uXWYNSBEwiF2I2seImRQNrVJCbHN5U7ItKsEuCRPy
> 0pqcc3wq0dCGws/2P5sP5daHQaGmKgYIYGMDfukTOqmCuXJTqVPfA64dtBtTWUbq
> UIlSOqUuZTjBy3Y6jWpb
> =nEUw
> -----END PGP SIGNATURE----- 


Re: Secondary Storage VM & Console Proxy creation failure

Posted by Daniel Kollmer <Da...@tomtom.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello and thank you for your replies.

Allow me to address them individually.

On 03/06/2015 10:34 AM, Partha Goswami wrote:
> just keep basic default networking and try i had same issue solved
> that way
> 

Hello Partha

May I ask you to elaborate what you mean by that. Which kind of
default networking I would have to use?

On 03/06/2015 10:50 AM, Timothy Lothering wrote:

> I suggest you have a look further in the logs, the " 
> InsufficientServerCapacityException" usually indicates that the 
> server you are trying to provision to does not meet your templates 
> requirements. There are 2 parts to this and I will explain by way
> of an example:
> 
> You have a 2 Socket, 16 Core Server with 64GB RAM, the server
> cores are rated at 2.0GHz, if you have a template which has been
> defined
as > 2.0GHz, theoretically, this should work, but if you look at what the
> Host system says is available (i.e. 1999MHz), the server will be 
> deemed as having insufficient capacity.
> 
> With this said, have you modified the default service offering for
> your Console Proxy and/or Secondary storage? Also, I suggest you 
> look to see if the Host is in maintenance Mode. Logs will be your 
> best bet

Hi Timothy

Everything is "out-of-the-box" and unmodified. The hypervisor host is
up and in the agent logs there is nothing that indicates any warnings.
At this time I only have the default "small" and "medium" service
offerings which are way below system specs albeit the CPU frequency is
indeed not the same as what the system offers (it is lower) should it
be the same?


On 03/06/2015 11:48 AM, Gopalakrishnan S wrote:

> Your server have enough capacity but cloudstack server error
> indicates that your cluster and pod load as null value.  My
> suggestion is you should recheck your management traffic ip
> configuration. Is that ips are communicate properly ?
> 
> Please make sure your management traffic ip cofiguration in
> cloudstack zone ->pod settings.

Hello Gopalakrishnan

Do you mean I should make sure the hypervisor host can communicate
with the management server and vice versa? That is definitely the
case, otherwise I would not be able to see the host in my
infrastructure overview, right?

They are on different subnets though which also have different VLANS,
is there something I need to set there?

Kind regards and thanks for your feedback everyone.

- -- 

Daniel Kollmer | Sr. System Engineer - OTS |
daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
(0)6 29 13 96 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJU+ZQBAAoJEAFpCdELSZ7ZG5EP/jKJNyj4dVPhOJ9PT8t3yvG6
TQUgxohGhUfKktORfuLQ/0ulpmXBmxtU/MNBb3qpyoWm986M2s5jCZYx9LSW4ucq
+JeAhqxKSLDJtqJVLJ+kVjBewuXdnc/l2PzYP0w7KzUBRpFIrbk4SuxESZXl9ofG
ah0RJ46Yy8qeNXfmOERHnVdo1OT/dXPVkP5TuPdsyEa6jBVB1FTcaM1MqNFGj1+K
TdnwrvSjhJUQK34w4BJON0/qDUgPjBoznaQzYVFgsMqow68goQ0/BmcKlC92Mb6F
5wusOG98p3TpgOHViGBHUH+FRJnjydRWQA+kPTOz5EqAU7iWW4JGiqhG/ALUrUEv
Hc2n+BPzpJWB/ZIQgFQ9uJm/ZwkMj3oC2aDEWOaJI78c4O+mPD2sKkLQyKmqgLga
7AYnOzRYCycHBf+PNqW/6/ZkEoiugX7BvvmuZv1HAT5wYqQGrx2Kfng1cYyh2V03
owsxrQ7w1zL9qwU6GmeXmSBEEQY4bVpKbHrC2eVTRfyaZOQtExFOahIbwAGjddtl
PZ+CNZLMaIZClpH2SqRxa28uXWYNSBEwiF2I2seImRQNrVJCbHN5U7ItKsEuCRPy
0pqcc3wq0dCGws/2P5sP5daHQaGmKgYIYGMDfukTOqmCuXJTqVPfA64dtBtTWUbq
UIlSOqUuZTjBy3Y6jWpb
=nEUw
-----END PGP SIGNATURE-----

Re: Secondary Storage VM & Console Proxy creation failure

Posted by Partha Goswami <pa...@tulisoft.co.in>.
just keep basic default networking and try i had same issue solved that way

On Fri, Mar 6, 2015 at 2:57 PM, Daniel Kollmer <Da...@tomtom.com>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello everyone
>
> I am new here, so please bear with me if I submit a newbie question.
>
> I have installed Cloudstack 4.5 on CentOS 7 with a setup that includes
> one physical machine as manager, one as hypervisor with KVM and one as
> DB/storage. All three can freely communicate with each other.
>
> I have imported the System VM template, made sure primary and
> secondary storage are accessible across the network and mounted (they
> are), checked whether the System VM appears in secondary storage (it
> does) but yet I keep getting the following errors on my management
> server
>
> WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-0e6c9d6a)
> Exception while trying to start console proxy
> com.cloud.exception.InsufficientServerCapacityException: Unable to
> create a deployment for VM[ConsoleProxy|v-1-VM]Scope=interface
> com.cloud.dc.DataCenter; id=1
> WARN  [o.a.c.alerts] (consoleproxy-1:ctx-0e6c9d6a)  alertType:: 10 //
> dataCenterId:: 1 // podId:: null // clusterId:: null // message::
> Console proxy creation failure.
>
> WARN  [o.a.c.s.SecondaryStorageManagerImpl]
> (secstorage-1:ctx-f61d7363) Exception while trying to start secondary
> storage vm
> com.cloud.exception.InsufficientServerCapacityException: Unable to
> create a deployment for
> VM[SecondaryStorageVm|s-1733-VM]Scope=interface
> com.cloud.dc.DataCenter; id=1
> WARN  [o.a.c.alerts] (secstorage-1:ctx-f61d7363)  alertType:: 19 //
> dataCenterId:: 1 // podId:: null // clusterId:: null // message::
> Secondary Storage Vm creation failure. zone
>
> I can see both the console proxy and the System VM in the System VM
> tab of the Infrastructure overview but I simply can not start them. I
> can also not create any instances, I simply get no choice of a
> template even though the System VM template is marked as "ready". I
> even imported an ISO but that also does not show up as a choice during
> instance creation.
>
> I do not understand the InsufficientServerCapacity message, there is
> definitely enough capacity both in storage and in memory.
>
> Can anybody give me a pointer what might be going on here?
>
> If you need to have more information, please let me know.
>
> Thanks in advance.
>
> - --
>
> Daniel Kollmer | Sr. System Engineer - OTS |
> daniel.kollmer@tomtom.com | Phone: +31 20 75 75 084 | Mobile: +31
> (0)6 29 13 96 47
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBAgAGBQJU+XMHAAoJEAFpCdELSZ7Z9vwQAMW5GuTlZPyduuhYn7LL9Jde
> 5hwy96ui5s53iRbrqDii2G248EPcVNQM+U1ESvKB/XT3BM8/CMesJgzlfGsYdAP3
> +hwQHQ9T1LiDrdnT5wfshynuOUPV6G9WBQOu4XINMBVuD6IZikuGaEFCfQqNIog2
> t1EOQ81FgQ1H3IczCpUCSfgq/ohJGwXmkbse/sXWZpTu7S31HEzMcKpYJr3YHB3z
> Zq1sPJeZTIBDCOq4+deTJzazh29R4blFEq6GjJw3ttGSrgR0/5we12sb2K2mtN/0
> 9xYOWMyV361sYhc4N6+iUVm+/euVlozmNvoAYxXsCVpio2DTo1ir+E0eTKHQ13rJ
> PXJtSM5F3ufuhD/Zy3yQA8eIiuge7g3IG9NWzrAJDeRh3rfmBtmnHX2zYNxPHTgX
> selvZROKigsa//tUvwyeiZW4uIRjC4qJC4JoTHtlDTgyxgqrfMCFGquhDV1siIaw
> FZWlaTFj2h19vGfG46TvLDYYLxONY8HrA7Q8t54PRtXjazM65NAcl7bt3HD8bff0
> A/b+o7dM3EYpOAVERAtYww4PHdDLTg+JOrpI2KoRXKmS1OfhJDBOzbKdJiSNvzpE
> 3X4Uh7jYecvtic4IK4yewxSp/2XeiSmJ9m4GwJX9514zBbOdV+KlPEMSstfoya8H
> prO/K9s99pj16QeUZg/r
> =zW7k
> -----END PGP SIGNATURE-----
>