You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Kuriger, Michael" <Mi...@thryv.com> on 2019/10/07 13:44:53 UTC
how to rebuild system VMs
Sorry about that - so I was told these system VMs would build by themselves but that's not happening which is why I was wondering what commands I can run to force these to build and start up.
Mike Kuriger
-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@gmail.com]
Sent: Monday, October 07, 2019 6:37 AM
To: users
Subject: Re: installing CloudStack [help please!!!]
Hey Mike,
you're jumping in in the middle of another thread - but to answers your
question, CPVM and SSVM are "stateless" in sense that they can be destroyed
and system will create a new one almost immediately.
Andrija
On Mon, 7 Oct 2019, 15:11 Kuriger, Michael, <Mi...@thryv.com>
wrote:
> Is there a way to "re-deploy" a console proxy server that has been
> deleted? The physical host that it was running on crashed, cloudstack
> attempted to do a storage migration and that failed (it always does) and
> the VM was left without a virtual disk. It's been over a week and I can't
> find anything in the documentation that explains how to deploy system VMs.
>
> Thanks!
>
> Mike Kuriger
>
>
>
Re: how to rebuild system VMs
Posted by Andrija Panic <an...@gmail.com>.
Sounds good!
On Mon, 7 Oct 2019 at 22:41, Kuriger, Michael <Mi...@thryv.com>
wrote:
> Hi Andrija,
>
> We have a clean install and it's been running for over a year. One of the
> hypervisors crashed, and the console proxy VM was running on that
> hyperisor. Cloudstack tried to do a storage migration and dor some reason
> the original virtual disk was deleted, and the migrated disk was stuck in
> "creating" and never completed. Our storage migrations always fail - this
> is something else I need to figure out how to fix.
>
> Anyway, I got the system VM up. I downloaded a new system VM template,
> and registered it. But it didn't work until I went into the database and
> manually changed the template to a SYSTEM type instead of a ROUTING type
> like the documentation said to do. Now my console proxy VM is back.
> Thanks for the help!
>
> mysql> update template_view set type="SYSTEM" where id="1045";
> mysql> update template_view set account_id="1" where id="1045";
>
> Mike Kuriger
>
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: Monday, October 07, 2019 1:00 PM
> To: users
> Subject: Re: how to rebuild system VMs
>
> well, yes, fixing the systemVM template should solve the problem :)
>
> Not sure how did you run into the problem. is this an upgraded env or a
> clean install?
>
> Andrija
>
> On Mon, 7 Oct 2019, 21:48 Kuriger, Michael, <Mi...@thryv.com>
> wrote:
>
> > We run cloudstack version 4.12.0.0, and yes we have about 35 or so kvm
> > hypervisors. The system VM template is not ready, I see the error "
> Failed
> > post download script: checksum "{MD5}0bdf558f305a58870083eb4586e72b1a"
> > didn't match the given value, "{MD5}6019c2ed1a13669dcf334fe380c776b0""
> >
> > I'll address this issue and that is likely going to solve the other
> > issue. Thanks!!
> >
> > Mike Kuriger
> >
> >
> >
> > -----Original Message-----
> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > Sent: Monday, October 07, 2019 7:18 AM
> > To: users
> > Subject: Re: how to rebuild system VMs
> >
> > No commands are needed nor possible.
> >
> > Do you have at least 1 alive host (hypervisor) where these could be
> > created?
> > Can you confirm if you systemVM template is in Ready state ?
> > If possible, it won't hurt to restart mgmt server and then proceed with
> > troubleshooting.
> >
> > btw, what ACS version, what hypervisor/version, etc?
> >
> > Best
> > Andrija
> >
> > On Mon, 7 Oct 2019 at 15:45, Kuriger, Michael <Michael.Kuriger@thryv.com
> >
> > wrote:
> >
> > > Sorry about that - so I was told these system VMs would build by
> > > themselves but that's not happening which is why I was wondering what
> > > commands I can run to force these to build and start up.
> > >
> > > Mike Kuriger
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > > Sent: Monday, October 07, 2019 6:37 AM
> > > To: users
> > > Subject: Re: installing CloudStack [help please!!!]
> > >
> > > Hey Mike,
> > >
> > > you're jumping in in the middle of another thread - but to answers your
> > > question, CPVM and SSVM are "stateless" in sense that they can be
> > destroyed
> > > and system will create a new one almost immediately.
> > >
> > > Andrija
> > >
> > > On Mon, 7 Oct 2019, 15:11 Kuriger, Michael, <Michael.Kuriger@thryv.com
> >
> > > wrote:
> > >
> > > > Is there a way to "re-deploy" a console proxy server that has been
> > > > deleted? The physical host that it was running on crashed,
> cloudstack
> > > > attempted to do a storage migration and that failed (it always does)
> > and
> > > > the VM was left without a virtual disk. It's been over a week and I
> > > can't
> > > > find anything in the documentation that explains how to deploy system
> > > VMs.
> > > >
> > > > Thanks!
> > > >
> > > > Mike Kuriger
> > > >
> > > >
> > > >
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
--
Andrija Panić
RE: how to rebuild system VMs
Posted by "Kuriger, Michael" <Mi...@thryv.com>.
Hi Andrija,
We have a clean install and it's been running for over a year. One of the hypervisors crashed, and the console proxy VM was running on that hyperisor. Cloudstack tried to do a storage migration and dor some reason the original virtual disk was deleted, and the migrated disk was stuck in "creating" and never completed. Our storage migrations always fail - this is something else I need to figure out how to fix.
Anyway, I got the system VM up. I downloaded a new system VM template, and registered it. But it didn't work until I went into the database and manually changed the template to a SYSTEM type instead of a ROUTING type like the documentation said to do. Now my console proxy VM is back. Thanks for the help!
mysql> update template_view set type="SYSTEM" where id="1045";
mysql> update template_view set account_id="1" where id="1045";
Mike Kuriger
-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@gmail.com]
Sent: Monday, October 07, 2019 1:00 PM
To: users
Subject: Re: how to rebuild system VMs
well, yes, fixing the systemVM template should solve the problem :)
Not sure how did you run into the problem. is this an upgraded env or a
clean install?
Andrija
On Mon, 7 Oct 2019, 21:48 Kuriger, Michael, <Mi...@thryv.com>
wrote:
> We run cloudstack version 4.12.0.0, and yes we have about 35 or so kvm
> hypervisors. The system VM template is not ready, I see the error " Failed
> post download script: checksum "{MD5}0bdf558f305a58870083eb4586e72b1a"
> didn't match the given value, "{MD5}6019c2ed1a13669dcf334fe380c776b0""
>
> I'll address this issue and that is likely going to solve the other
> issue. Thanks!!
>
> Mike Kuriger
>
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: Monday, October 07, 2019 7:18 AM
> To: users
> Subject: Re: how to rebuild system VMs
>
> No commands are needed nor possible.
>
> Do you have at least 1 alive host (hypervisor) where these could be
> created?
> Can you confirm if you systemVM template is in Ready state ?
> If possible, it won't hurt to restart mgmt server and then proceed with
> troubleshooting.
>
> btw, what ACS version, what hypervisor/version, etc?
>
> Best
> Andrija
>
> On Mon, 7 Oct 2019 at 15:45, Kuriger, Michael <Mi...@thryv.com>
> wrote:
>
> > Sorry about that - so I was told these system VMs would build by
> > themselves but that's not happening which is why I was wondering what
> > commands I can run to force these to build and start up.
> >
> > Mike Kuriger
> >
> >
> >
> > -----Original Message-----
> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > Sent: Monday, October 07, 2019 6:37 AM
> > To: users
> > Subject: Re: installing CloudStack [help please!!!]
> >
> > Hey Mike,
> >
> > you're jumping in in the middle of another thread - but to answers your
> > question, CPVM and SSVM are "stateless" in sense that they can be
> destroyed
> > and system will create a new one almost immediately.
> >
> > Andrija
> >
> > On Mon, 7 Oct 2019, 15:11 Kuriger, Michael, <Mi...@thryv.com>
> > wrote:
> >
> > > Is there a way to "re-deploy" a console proxy server that has been
> > > deleted? The physical host that it was running on crashed, cloudstack
> > > attempted to do a storage migration and that failed (it always does)
> and
> > > the VM was left without a virtual disk. It's been over a week and I
> > can't
> > > find anything in the documentation that explains how to deploy system
> > VMs.
> > >
> > > Thanks!
> > >
> > > Mike Kuriger
> > >
> > >
> > >
> >
>
>
> --
>
> Andrija Panić
>
Re: how to rebuild system VMs
Posted by Andrija Panic <an...@gmail.com>.
well, yes, fixing the systemVM template should solve the problem :)
Not sure how did you run into the problem. is this an upgraded env or a
clean install?
Andrija
On Mon, 7 Oct 2019, 21:48 Kuriger, Michael, <Mi...@thryv.com>
wrote:
> We run cloudstack version 4.12.0.0, and yes we have about 35 or so kvm
> hypervisors. The system VM template is not ready, I see the error " Failed
> post download script: checksum "{MD5}0bdf558f305a58870083eb4586e72b1a"
> didn't match the given value, "{MD5}6019c2ed1a13669dcf334fe380c776b0""
>
> I'll address this issue and that is likely going to solve the other
> issue. Thanks!!
>
> Mike Kuriger
>
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: Monday, October 07, 2019 7:18 AM
> To: users
> Subject: Re: how to rebuild system VMs
>
> No commands are needed nor possible.
>
> Do you have at least 1 alive host (hypervisor) where these could be
> created?
> Can you confirm if you systemVM template is in Ready state ?
> If possible, it won't hurt to restart mgmt server and then proceed with
> troubleshooting.
>
> btw, what ACS version, what hypervisor/version, etc?
>
> Best
> Andrija
>
> On Mon, 7 Oct 2019 at 15:45, Kuriger, Michael <Mi...@thryv.com>
> wrote:
>
> > Sorry about that - so I was told these system VMs would build by
> > themselves but that's not happening which is why I was wondering what
> > commands I can run to force these to build and start up.
> >
> > Mike Kuriger
> >
> >
> >
> > -----Original Message-----
> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > Sent: Monday, October 07, 2019 6:37 AM
> > To: users
> > Subject: Re: installing CloudStack [help please!!!]
> >
> > Hey Mike,
> >
> > you're jumping in in the middle of another thread - but to answers your
> > question, CPVM and SSVM are "stateless" in sense that they can be
> destroyed
> > and system will create a new one almost immediately.
> >
> > Andrija
> >
> > On Mon, 7 Oct 2019, 15:11 Kuriger, Michael, <Mi...@thryv.com>
> > wrote:
> >
> > > Is there a way to "re-deploy" a console proxy server that has been
> > > deleted? The physical host that it was running on crashed, cloudstack
> > > attempted to do a storage migration and that failed (it always does)
> and
> > > the VM was left without a virtual disk. It's been over a week and I
> > can't
> > > find anything in the documentation that explains how to deploy system
> > VMs.
> > >
> > > Thanks!
> > >
> > > Mike Kuriger
> > >
> > >
> > >
> >
>
>
> --
>
> Andrija Panić
>
RE: how to rebuild system VMs
Posted by "Kuriger, Michael" <Mi...@thryv.com>.
We run cloudstack version 4.12.0.0, and yes we have about 35 or so kvm hypervisors. The system VM template is not ready, I see the error " Failed post download script: checksum "{MD5}0bdf558f305a58870083eb4586e72b1a" didn't match the given value, "{MD5}6019c2ed1a13669dcf334fe380c776b0""
I'll address this issue and that is likely going to solve the other issue. Thanks!!
Mike Kuriger
-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@gmail.com]
Sent: Monday, October 07, 2019 7:18 AM
To: users
Subject: Re: how to rebuild system VMs
No commands are needed nor possible.
Do you have at least 1 alive host (hypervisor) where these could be created?
Can you confirm if you systemVM template is in Ready state ?
If possible, it won't hurt to restart mgmt server and then proceed with
troubleshooting.
btw, what ACS version, what hypervisor/version, etc?
Best
Andrija
On Mon, 7 Oct 2019 at 15:45, Kuriger, Michael <Mi...@thryv.com>
wrote:
> Sorry about that - so I was told these system VMs would build by
> themselves but that's not happening which is why I was wondering what
> commands I can run to force these to build and start up.
>
> Mike Kuriger
>
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: Monday, October 07, 2019 6:37 AM
> To: users
> Subject: Re: installing CloudStack [help please!!!]
>
> Hey Mike,
>
> you're jumping in in the middle of another thread - but to answers your
> question, CPVM and SSVM are "stateless" in sense that they can be destroyed
> and system will create a new one almost immediately.
>
> Andrija
>
> On Mon, 7 Oct 2019, 15:11 Kuriger, Michael, <Mi...@thryv.com>
> wrote:
>
> > Is there a way to "re-deploy" a console proxy server that has been
> > deleted? The physical host that it was running on crashed, cloudstack
> > attempted to do a storage migration and that failed (it always does) and
> > the VM was left without a virtual disk. It's been over a week and I
> can't
> > find anything in the documentation that explains how to deploy system
> VMs.
> >
> > Thanks!
> >
> > Mike Kuriger
> >
> >
> >
>
--
Andrija Panić
Re: how to rebuild system VMs
Posted by Andrija Panic <an...@gmail.com>.
No commands are needed nor possible.
Do you have at least 1 alive host (hypervisor) where these could be created?
Can you confirm if you systemVM template is in Ready state ?
If possible, it won't hurt to restart mgmt server and then proceed with
troubleshooting.
btw, what ACS version, what hypervisor/version, etc?
Best
Andrija
On Mon, 7 Oct 2019 at 15:45, Kuriger, Michael <Mi...@thryv.com>
wrote:
> Sorry about that - so I was told these system VMs would build by
> themselves but that's not happening which is why I was wondering what
> commands I can run to force these to build and start up.
>
> Mike Kuriger
>
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: Monday, October 07, 2019 6:37 AM
> To: users
> Subject: Re: installing CloudStack [help please!!!]
>
> Hey Mike,
>
> you're jumping in in the middle of another thread - but to answers your
> question, CPVM and SSVM are "stateless" in sense that they can be destroyed
> and system will create a new one almost immediately.
>
> Andrija
>
> On Mon, 7 Oct 2019, 15:11 Kuriger, Michael, <Mi...@thryv.com>
> wrote:
>
> > Is there a way to "re-deploy" a console proxy server that has been
> > deleted? The physical host that it was running on crashed, cloudstack
> > attempted to do a storage migration and that failed (it always does) and
> > the VM was left without a virtual disk. It's been over a week and I
> can't
> > find anything in the documentation that explains how to deploy system
> VMs.
> >
> > Thanks!
> >
> > Mike Kuriger
> >
> >
> >
>
--
Andrija Panić