You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Tamas Monos <ta...@veber.co.uk> on 2012/11/14 17:06:54 UTC
Cannot create secondary VM on 4.0 after upgrade from 3.0.2
Hi,
I'm trying to create a secondary storage in my zone but I get:
2012-11-14 15:43:36,240 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-17:null) Unable to connect due to
java.lang.IllegalArgumentException: Host 192.168.x.y sent incorrect data center: null
What "data center" and where?
Regards
Tamas Monos DDI +44(0)2034687012
Chief Technical Office +44(0)2034687000
Veber: The Hosting Specialists Fax +44(0)871 522 7057
http://www.veber.co.uk<http://www.veber.co.uk/>
Follow us on Twitter: www.twitter.com/veberhost<http://www.twitter.com/veberhost>
Follow us on Facebook: www.facebook.com/veberhost<http://www.facebook.com/veberhost>
RE: Cannot create secondary VM on 4.0 after upgrade from 3.0.2
Posted by Tamas Monos <ta...@veber.co.uk>.
Hi,
Yes I have done.
I have also used the cloud-sysvm script to update the systemVMs but only my router got rebooted, not even updated.
So I have applied a workaround suggested by the cloud-devel list:
1. Add new vmware template to CS with name systemvm-vmware-4.0 (I have re-imported it)
2. Wait till the template is downloaded and installed successfully
3. Look up id of this template in DB (Name should match the input provided in step
mysql> select id from `cloud`.`vm_template` where name = 'systemvm-vmware-4.0' and removed is null;
4. Update template type to SYSTEM
mysql> update `cloud`.`vm_template` set type='SYSTEM' where id = <id-from-step3>;
5. Update template Id for all system Vms
mysql> update `cloud`.`vm_instance` set vm_template_id = <id-from-step3> where type <> 'User' and hypervisor_type = 'VMware';
6. Restart all system Vms
All systemVMs were working just fine, but then I have enabled the storage cleanup just to see is there was any improvement since 3.0.2 because 3.0.2 removed data for ongoing snapshots.
I wanted to check and verify the fix for it but this time my systemVM were destroyed by the storage cleanup.
It is likely that the storage clean-up script is doing the right thing but because the upgrade did not work and I've applied a workaround to fix it might have caused reference issues therefore they got removed.
I'd be happy to check this and reproduce/verify what exactly happened but I cannot create a new systemVMs because:
2012-11-14 15:43:36,240 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-17:null) Unable to connect due to
java.lang.IllegalArgumentException: Host 192.168.x.y sent incorrect data center: null
I have checked the Zone and everything seems to be just fine apart there are no systemVMs and I cannot add another due to the error above.
Regards
Tamas Monos DDI +44(0)2034687012
Chief Technical Office +44(0)2034687000
Veber: The Hosting Specialists Fax +44(0)871 522 7057
http://www.veber.co.uk
Follow us on Twitter: www.twitter.com/veberhost
Follow us on Facebook: www.facebook.com/veberhost
-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
Sent: 15 November 2012 07:13
To: cloudstack-users
Subject: Re: Cannot create secondary VM on 4.0 after upgrade from 3.0.2
Datacenter refers to cloudstack's zone.
Have you upgraded systemvm template?
On Wed, Nov 14, 2012 at 5:06 PM, Tamas Monos <ta...@veber.co.uk> wrote:
> Hi,
>
> I'm trying to create a secondary storage in my zone but I get:
>
> 2012-11-14 15:43:36,240 WARN [cloud.resource.ResourceManagerImpl]
> (catalina-exec-17:null) Unable to connect due to
> java.lang.IllegalArgumentException: Host 192.168.x.y sent incorrect
> data
> center: null
>
> What "data center" and where?
>
> Regards
>
> Tamas Monos DDI
> +44(0)2034687012
> Chief Technical Office
> +44(0)2034687000
> Veber: The Hosting Specialists Fax +44(0)871 522
> 7057
> http://www.veber.co.uk<http://www.veber.co.uk/>
>
> Follow us on Twitter: www.twitter.com/veberhost<
> http://www.twitter.com/veberhost> Follow us on Facebook:
> www.facebook.com/veberhost< http://www.facebook.com/veberhost>
>
>
Re: Cannot create secondary VM on 4.0 after upgrade from 3.0.2
Posted by Marc Cirauqui <mc...@gmail.com>.
Datacenter refers to cloudstack's zone.
Have you upgraded systemvm template?
On Wed, Nov 14, 2012 at 5:06 PM, Tamas Monos <ta...@veber.co.uk> wrote:
> Hi,
>
> I'm trying to create a secondary storage in my zone but I get:
>
> 2012-11-14 15:43:36,240 WARN [cloud.resource.ResourceManagerImpl]
> (catalina-exec-17:null) Unable to connect due to
> java.lang.IllegalArgumentException: Host 192.168.x.y sent incorrect data
> center: null
>
> What "data center" and where?
>
> Regards
>
> Tamas Monos DDI
> +44(0)2034687012
> Chief Technical Office
> +44(0)2034687000
> Veber: The Hosting Specialists Fax +44(0)871 522
> 7057
> http://www.veber.co.uk<http://www.veber.co.uk/>
>
> Follow us on Twitter: www.twitter.com/veberhost<
> http://www.twitter.com/veberhost>
> Follow us on Facebook: www.facebook.com/veberhost<
> http://www.facebook.com/veberhost>
>
>