Hi Brian, It is a known issue in cloudstack 4.15.0, it should has been fixed in 4.15.1.0. https://github.com/apache/cloudstack/pull/4900
-Wei On Saturday, 24 July 2021, Brian Fitzpatrick <b.fitzpatr...@chester.ac.uk> wrote: > Thanks Wei, > > I have now managed to register the 4.15.1 template, re upgraded and ran > the cloudstack-sysvmadm scripts > remembering to set the API port back to 0 > > All seems ok except I still can't see any hosts listed under > infrastructure. > > I don't get a 404 screen any more but no hosts listed and a x for input > string " " error > > Brian > > -----Original Message----- > From: Brian Fitzpatrick <b.fitzpatr...@chester.ac.uk<mailto: > brian%20fitzpatrick%20%3cb.fitzpatr...@chester.ac.uk%3e>> > Reply-To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org> > To: users@cloudstack.apache.org <users@cloudstack.apache.org<mailto:% > 22us...@cloudstack.apache.org%22%20%3cus...@cloudstack.apache.org%3e>> > Subject: Re: cloudstack-sysvmadm access to 8096 > Date: Fri, 23 Jul 2021 18:37:05 +0000 > > > CAUTION ! > > > This email was NOT sent using a University of Chester account, so we are > unable to verify the identity of the sender. Do not click links or open > attachments unless you recognise the sender and know the content is safe. > > > ===== > > > > Hi Wei, > > > apt installed back to 4.15.0 versions > > > I seem now to have a problem registering the new systemvm template > > > I am using KVM, fill in the template for new url download as per > instruction, but appears to be a problem downloading 'Ready false' > > > Is there a way of force trying again?, I can't seem to delete it > > > Also, I appear to have lost my hosts list, they are running but the > infrastructure hosts page shows a '404 error' and 'Request Failed (431) For > input string " "' > > > Thanks very much for your help > > > Brian > > > -----Original Message----- > > From: Wei ZHOU < > > <mailto:ustcweiz...@gmail.com> > > ustcweiz...@gmail.com > > <mailto: > > <mailto:wei%20zhou%20%3custcweiz...@gmail.com> > > wei%20zhou%20%3custcweiz...@gmail.com > > %3e>> > > Reply-To: > > <mailto:users@cloudstack.apache.org> > > users@cloudstack.apache.org > > <mailto: > > <mailto:users@cloudstack.apache.org> > > users@cloudstack.apache.org > > > > > To: users < > > <mailto:users@cloudstack.apache.org> > > users@cloudstack.apache.org > > <mailto: > > <mailto:users%20%3cus...@cloudstack.apache.org> > > users%20%3cus...@cloudstack.apache.org > > %3e>> > > Subject: Re: cloudstack-sysvmadm access to 8096 > > Date: Fri, 23 Jul 2021 18:54:28 +0200 > > > > CAUTION ! > > > > This email was NOT sent using a University of Chester account, so we are > unable to verify the identity of the sender. Do not click links or open > attachments unless you recognise the sender and know the content is safe. > > > > ===== > > > > > Hi Brian, > > > > It seems your management server is not started. You can check the error in > > > log file /var/log/cloudstack/management/management-server.log > > > > since cloudstack 4.15.1.0, cloudstack will check systemvm template before > > > database changes in upgrade, so if you forget to register systemvm > > > template, it is not a big issue any more. > > > what you need to do: (1) downgrade cloudstack (2) register new systemvm > > > template; (3) upgrade cloudstack. > > > > cloudstack 4.16 will provide an option to install a new systemvm template > > > from rpm/deb packages. > > > > -Wei > > > > > On Fri, 23 Jul 2021 at 16:56, Brian Fitzpatrick < > > > <mailto: > > <mailto:b.fitzpatr...@chester.ac.uk> > > b.fitzpatr...@chester.ac.uk > > > > > > <mailto:b.fitzpatr...@chester.ac.uk> > > b.fitzpatr...@chester.ac.uk > > > > > > wrote: > > > > Hi Wei, > > > > Thanks very much for the reply > > > > I have updated the mysql and restarted the management server but > > > unfortunately I am still getting the error > > > > curl: (7) Failed to connect to localhost port 8096: Connection refused > > > > when I run > > > > cloudstack-sysvmadm > > > > I am not sure the management server is fully starting up as a result of my > > > upgrade. I think I made a mistake in not updating the templates before the > > > ubuntu 20.04 apt update and upgrade > > > > I am not sure on the best option, either resolve this connection refused > > > or try to rollback the upgrade (but I am not sure what state that will > > > leave me in?) > > > > Thanks > > > > Brian > > > > -----Original Message----- > > > From: Wei ZHOU < > > > <mailto: > > <mailto:ustcweiz...@gmail.com> > > ustcweiz...@gmail.com > > > > > > <mailto:ustcweiz...@gmail.com> > > ustcweiz...@gmail.com > > > > <mailto: > > > <mailto: > > <mailto:wei%20zhou%20%3custcweiz...@gmail.com> > > wei%20zhou%20%3custcweiz...@gmail.com > > > > > > <mailto:wei%20zhou%20%3custcweiz...@gmail.com> > > wei%20zhou%20%3custcweiz...@gmail.com > > > > %3e>> > > > Reply-To: > > > <mailto: > > <mailto:users@cloudstack.apache.org> > > users@cloudstack.apache.org > > > > > > <mailto:users@cloudstack.apache.org> > > users@cloudstack.apache.org > > > > <mailto: > > > <mailto: > > <mailto:users@cloudstack.apache.org> > > users@cloudstack.apache.org > > > > > > <mailto:users@cloudstack.apache.org> > > users@cloudstack.apache.org > > > > > > To: users < > > > <mailto: > > <mailto:users@cloudstack.apache.org> > > users@cloudstack.apache.org > > > > > > <mailto:users@cloudstack.apache.org> > > users@cloudstack.apache.org > > > > <mailto: > > > <mailto: > > <mailto:users%20%3cus...@cloudstack.apache.org> > > users%20%3cus...@cloudstack.apache.org > > > > > > <mailto:users%20%3cus...@cloudstack.apache.org> > > users%20%3cus...@cloudstack.apache.org > > > > %3e>> > > > Subject: Re: cloudstack-sysvmadm access to 8096 > > > Date: Fri, 23 Jul 2021 16:27:18 +0200 > > > > > CAUTION ! > > > > > This email was NOT sent using a University of Chester account, so we are > > > unable to verify the identity of the sender. Do not click links or open > > > attachments unless you recognise the sender and know the content is safe. > > > > > ===== > > > > > > If you have access to database > > > > > mysql > update cloud.configuration set value='8096' where > > > > name='integration.api.port'; > > > > > then restart mgt server > > > > > -Wei > > > > > > > On Fri, 23 Jul 2021 at 16:19, Brian Fitzpatrick < > > > > <mailto: > > > <mailto: > > <mailto:b.fitzpatr...@chester.ac.uk> > > b.fitzpatr...@chester.ac.uk > > > > > > <mailto:b.fitzpatr...@chester.ac.uk> > > b.fitzpatr...@chester.ac.uk > > > > > > > <mailto: > > <mailto:b.fitzpatr...@chester.ac.uk> > > b.fitzpatr...@chester.ac.uk > > > > > > <mailto:b.fitzpatr...@chester.ac.uk> > > b.fitzpatr...@chester.ac.uk > > > > > > > > wrote: > > > > > Hello all, > > > > > I wonder if you could help, I have managed to get myself stuck in an > > > > upgrade from 4.15.0 to 4.15.1 > > > > > (I think I overlooked a stage, apologies) > > > > > I have lost my management interface (only one - small-test install) > > > > > I need to run the cloudstack-sysvmadm script > > > > > but I am getting the error > > > > > port 8096: Connection refused > > > > > I can't see a way of enabling api access without the web interface (which > > > > isn't working) > > > > > Is there a way up doing this through command line? > > > > > Thanks > > > > > Brian > > > > >