You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Andreas Huser <ah...@7five-edv.de> on 2013/02/02 20:18:55 UTC
trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Hi all,
I upgrade from 3.0.2 to 4.0 according to the instructions.
After upgrade i do "nohup cloud-sysvmadm -d localhost -u cloud -p xxx -c -r > sysvm.log 2>&1 &"
All router are reboot but cloudstack have old router and systemvm version "Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"
The Virtual Router Starts, but the Network not work. I can not ping local, guest, public IP etc.
can anybody help me?
Regards Andreas
Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Posted by Chip Childers <ch...@sungard.com>.
On Mon, Mar 04, 2013 at 10:45:35AM -0800, Ahmad Emneina wrote:
> I believe thats the correct template. Acton was the 3.0 release, so the
> versions match up. I dont think there were any new system templates since.
Correct - and the same will be true for 4.1.0-incubating.
Watch this space for updates, as we're working on an automated system VM
build process that should be part of 4.2.0-incubating (allowing us to
refresh the image that's used).
-chip
Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Posted by Ahmad Emneina <ae...@gmail.com>.
I believe thats the correct template. Acton was the 3.0 release, so the
versions match up. I dont think there were any new system templates since.
On Tue, Feb 5, 2013 at 2:28 AM, Andreas Huser <ah...@7five-edv.de> wrote:
> Hi,
>
>
> I have a second question.
> In the installation manual of version 4.0 it is set the template download
> path to
> http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2
>
> and the same template it is in my database!?
> I download now the template bunzip and check the checksum.
> both are the same!
>
> When i create a new virtual router (network) and look to the router
> version inside. I get this result
> "Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"
>
> I am not sure but must the template or router version not a little bit
> newer to be?
>
>
> Regards
> Andreas
>
>
> ----- Ursprüngliche Mail -----
>
> Von: "Andreas Huser" <ah...@7five-edv.de>
> An: cloudstack-users@incubator.apache.org
> Gesendet: Dienstag, 5. Februar 2013 10:35:37
> Betreff: Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
>
> Hi,
>
> many thanks for your fast reply und some answers!
> I am use KVM but i think the workaround works for kvm to.
> I build a test environment to test this.
> I say when i'm done and poste the result.
>
> Regards
> Andreas
>
>
> ----- Ursprüngliche Mail -----
>
> Von: "Tamas Monos" <ta...@veber.co.uk>
> An: cloudstack-users@incubator.apache.org
> Gesendet: Montag, 4. Februar 2013 23:16:39
> Betreff: RE: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
>
> Hi,
>
> Done: https://issues.apache.org/jira/browse/CLOUDSTACK-1151
>
> Regards
>
> -----Original Message-----
> From: David Nalley [mailto:david@gnsa.us]
> Sent: 04 February 2013 19:46
> To: cloudstack-users@incubator.apache.org; aemneina@gmail.com
> Subject: Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
>
> On Mon, Feb 4, 2013 at 1:56 PM, Ahmad Emneina <ae...@gmail.com> wrote:
> > Hey Tamas, is it really necessary to manually update the system
> > template id's for vmware? I would have figured cloudstack would have
> > done this... if not it's a bad bug, would you know if thats filed?
> >
> > Also on the usage, is that the only db discrepancy between a clean and
> > upgraded setup. These are all valuable bugs/workarounds, that should
> > probably persist beyond the mailing list... Can we update the release
> > notes for 4.0 with this info???
> >
>
> 4.0.1 has the usage fix in it.
>
> This is the first I've heard of the vmware bug, Tamas, if a bug doesn't
> exist for this, can you please file and mark it as a blocker for 4.0.2?
>
> --David
>
Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Posted by Andreas Huser <ah...@7five-edv.de>.
Hi,
I have a second question.
In the installation manual of version 4.0 it is set the template download path to
http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2
and the same template it is in my database!?
I download now the template bunzip and check the checksum.
both are the same!
When i create a new virtual router (network) and look to the router version inside. I get this result
"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"
I am not sure but must the template or router version not a little bit newer to be?
Regards
Andreas
----- Ursprüngliche Mail -----
Von: "Andreas Huser" <ah...@7five-edv.de>
An: cloudstack-users@incubator.apache.org
Gesendet: Dienstag, 5. Februar 2013 10:35:37
Betreff: Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Hi,
many thanks for your fast reply und some answers!
I am use KVM but i think the workaround works for kvm to.
I build a test environment to test this.
I say when i'm done and poste the result.
Regards
Andreas
----- Ursprüngliche Mail -----
Von: "Tamas Monos" <ta...@veber.co.uk>
An: cloudstack-users@incubator.apache.org
Gesendet: Montag, 4. Februar 2013 23:16:39
Betreff: RE: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Hi,
Done: https://issues.apache.org/jira/browse/CLOUDSTACK-1151
Regards
-----Original Message-----
From: David Nalley [mailto:david@gnsa.us]
Sent: 04 February 2013 19:46
To: cloudstack-users@incubator.apache.org; aemneina@gmail.com
Subject: Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
On Mon, Feb 4, 2013 at 1:56 PM, Ahmad Emneina <ae...@gmail.com> wrote:
> Hey Tamas, is it really necessary to manually update the system
> template id's for vmware? I would have figured cloudstack would have
> done this... if not it's a bad bug, would you know if thats filed?
>
> Also on the usage, is that the only db discrepancy between a clean and
> upgraded setup. These are all valuable bugs/workarounds, that should
> probably persist beyond the mailing list... Can we update the release
> notes for 4.0 with this info???
>
4.0.1 has the usage fix in it.
This is the first I've heard of the vmware bug, Tamas, if a bug doesn't exist for this, can you please file and mark it as a blocker for 4.0.2?
--David
Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Posted by Andreas Huser <ah...@7five-edv.de>.
Hi,
many thanks for your fast reply und some answers!
I am use KVM but i think the workaround works for kvm to.
I build a test environment to test this.
I say when i'm done and poste the result.
Regards
Andreas
----- Ursprüngliche Mail -----
Von: "Tamas Monos" <ta...@veber.co.uk>
An: cloudstack-users@incubator.apache.org
Gesendet: Montag, 4. Februar 2013 23:16:39
Betreff: RE: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Hi,
Done: https://issues.apache.org/jira/browse/CLOUDSTACK-1151
Regards
-----Original Message-----
From: David Nalley [mailto:david@gnsa.us]
Sent: 04 February 2013 19:46
To: cloudstack-users@incubator.apache.org; aemneina@gmail.com
Subject: Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
On Mon, Feb 4, 2013 at 1:56 PM, Ahmad Emneina <ae...@gmail.com> wrote:
> Hey Tamas, is it really necessary to manually update the system
> template id's for vmware? I would have figured cloudstack would have
> done this... if not it's a bad bug, would you know if thats filed?
>
> Also on the usage, is that the only db discrepancy between a clean and
> upgraded setup. These are all valuable bugs/workarounds, that should
> probably persist beyond the mailing list... Can we update the release
> notes for 4.0 with this info???
>
4.0.1 has the usage fix in it.
This is the first I've heard of the vmware bug, Tamas, if a bug doesn't exist for this, can you please file and mark it as a blocker for 4.0.2?
--David
RE: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Posted by Tamas Monos <ta...@veber.co.uk>.
Hi,
Done: https://issues.apache.org/jira/browse/CLOUDSTACK-1151
Regards
-----Original Message-----
From: David Nalley [mailto:david@gnsa.us]
Sent: 04 February 2013 19:46
To: cloudstack-users@incubator.apache.org; aemneina@gmail.com
Subject: Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
On Mon, Feb 4, 2013 at 1:56 PM, Ahmad Emneina <ae...@gmail.com> wrote:
> Hey Tamas, is it really necessary to manually update the system
> template id's for vmware? I would have figured cloudstack would have
> done this... if not it's a bad bug, would you know if thats filed?
>
> Also on the usage, is that the only db discrepancy between a clean and
> upgraded setup. These are all valuable bugs/workarounds, that should
> probably persist beyond the mailing list... Can we update the release
> notes for 4.0 with this info???
>
4.0.1 has the usage fix in it.
This is the first I've heard of the vmware bug, Tamas, if a bug doesn't exist for this, can you please file and mark it as a blocker for 4.0.2?
--David
Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Posted by David Nalley <da...@gnsa.us>.
On Mon, Feb 4, 2013 at 1:56 PM, Ahmad Emneina <ae...@gmail.com> wrote:
> Hey Tamas, is it really necessary to manually update the system template
> id's for vmware? I would have figured cloudstack would have done this... if
> not it's a bad bug, would you know if thats filed?
>
> Also on the usage, is that the only db discrepancy between a clean and
> upgraded setup. These are all valuable bugs/workarounds, that should
> probably persist beyond the mailing list... Can we update the release notes
> for 4.0 with this info???
>
4.0.1 has the usage fix in it.
This is the first I've heard of the vmware bug, Tamas, if a bug
doesn't exist for this, can you please file and mark it as a blocker
for 4.0.2?
--David
Re: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Posted by Ahmad Emneina <ae...@gmail.com>.
Hey Tamas, is it really necessary to manually update the system template
id's for vmware? I would have figured cloudstack would have done this... if
not it's a bad bug, would you know if thats filed?
Also on the usage, is that the only db discrepancy between a clean and
upgraded setup. These are all valuable bugs/workarounds, that should
probably persist beyond the mailing list... Can we update the release notes
for 4.0 with this info???
On Mon, Feb 4, 2013 at 4:16 AM, Tamas Monos <ta...@veber.co.uk> wrote:
> Hi,
>
> Yes I can help you with it however you must turn off storage cleanup
> otherwise you whole environment will self-destruct!!!
> Do this for your own risk in your test environment first, and have backups
> of the database and secondary storage before continuing.
>
> Unfortunately the 3.0.2 -> 4.0 upgrade path is a bit broken so do not use
> it in production if you need usage!!
>
> 3.0.2 -> 4.0 Upgrade workarounds (for vmware):
> 1. Add new vmware template to CS with name systemvm-vmware-4.0
> 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 1)
>
> 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
> 7. Below column has to be added in cloud_usage db for usage server to work.
>
> mysql> ALTER TABLE `cloud_usage`.`account` ADD COLUMN `default_zone_id`
> bigint unsigned;
>
> Hope this helps.
>
> 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: Andreas Huser [mailto:ahuser@7five-edv.de]
> Sent: 02 February 2013 19:19
> To: cloudstack-users@incubator.apache.org
> Subject: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
>
> Hi all,
>
> I upgrade from 3.0.2 to 4.0 according to the instructions.
> After upgrade i do "nohup cloud-sysvmadm -d localhost -u cloud -p xxx -c
> -r > sysvm.log 2>&1 &"
> All router are reboot but cloudstack have old router and systemvm version
> "Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"
> The Virtual Router Starts, but the Network not work. I can not ping local,
> guest, public IP etc.
>
> can anybody help me?
>
> Regards Andreas
>
>
>
RE: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Posted by Tamas Monos <ta...@veber.co.uk>.
Hi,
Yes I can help you with it however you must turn off storage cleanup otherwise you whole environment will self-destruct!!!
Do this for your own risk in your test environment first, and have backups of the database and secondary storage before continuing.
Unfortunately the 3.0.2 -> 4.0 upgrade path is a bit broken so do not use it in production if you need usage!!
3.0.2 -> 4.0 Upgrade workarounds (for vmware):
1. Add new vmware template to CS with name systemvm-vmware-4.0
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 1)
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
7. Below column has to be added in cloud_usage db for usage server to work.
mysql> ALTER TABLE `cloud_usage`.`account` ADD COLUMN `default_zone_id` bigint unsigned;
Hope this helps.
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: Andreas Huser [mailto:ahuser@7five-edv.de]
Sent: 02 February 2013 19:19
To: cloudstack-users@incubator.apache.org
Subject: trouble with upgrade 3.0.2 to 4.0 and systemvm no network
Hi all,
I upgrade from 3.0.2 to 4.0 according to the instructions.
After upgrade i do "nohup cloud-sysvmadm -d localhost -u cloud -p xxx -c -r > sysvm.log 2>&1 &"
All router are reboot but cloudstack have old router and systemvm version "Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"
The Virtual Router Starts, but the Network not work. I can not ping local, guest, public IP etc.
can anybody help me?
Regards Andreas