Hi Wei,

Thanks for this. I still have it.

I initially upgraded from 4.15 to 4.15.1 but it failed as I didn't have the 
template. I downgraded back to 4.15 and first noticed then. I had the 404 
screen (as shown in your bug thread).

I re upgraded back to 4.15.1 but still have it. Not the 404 screen but the 
error x for input string: " ", an no hosts listed

I tried to change the Locale (as suggested) to en_US.UTF-8

(it was en-GB)

but I still get the error.

Thanks

Brian


-----Original Message-----
From: Wei ZHOU 
<ustcweiz...@gmail.com<mailto:wei%20zhou%20%3custcweiz...@gmail.com%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: Sat, 24 Jul 2021 18:32:24 +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 is a known issue in cloudstack 4.15.0, it should has been fixed in

4.15.1.0.

<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fpull%2F4900&amp;data=04%7C01%7Cb.fitzpatrick%40chester.ac.uk%7C0c39026de7404d017d9f08d94ec0a4ec%7C18843e6e1846456ca05c500f0aee12f6%7C0%7C0%7C637627412094010279%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=1PJ2HSyaBSXxLIoxIGqgWEeAU1K153poPvQs%2BAuF8cM%3D&amp;reserved=0>

https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fpull%2F4900&amp;data=04%7C01%7Cb.fitzpatrick%40chester.ac.uk%7C0c39026de7404d017d9f08d94ec0a4ec%7C18843e6e1846456ca05c500f0aee12f6%7C0%7C0%7C637627412094010279%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=1PJ2HSyaBSXxLIoxIGqgWEeAU1K153poPvQs%2BAuF8cM%3D&amp;reserved=0



-Wei


On Saturday, 24 July 2021, Brian Fitzpatrick <

<mailto:b.fitzpatr...@chester.ac.uk>

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 <

<mailto:b.fitzpatr...@chester.ac.uk>

b.fitzpatr...@chester.ac.uk

<mailto:

<mailto:brian%20fitzpatrick%20%3cb.fitzpatr...@chester.ac.uk>

brian%20fitzpatrick%20%3cb.fitzpatr...@chester.ac.uk

%3e>>

Reply-To:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

<mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>

To:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

 <

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

<mailto:%

<mailto:22us...@cloudstack.apache.org>

22us...@cloudstack.apache.org

<mailto:%22%20%3cus...@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:

<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 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:

<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:




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:

<mailto:ustcweiz...@gmail.com>

ustcweiz...@gmail.com

>


<mailto:ustcweiz...@gmail.com>

ustcweiz...@gmail.com






<mailto:

<mailto:ustcweiz...@gmail.com>

ustcweiz...@gmail.com

>


<mailto:ustcweiz...@gmail.com>

ustcweiz...@gmail.com





<mailto:



<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






<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:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>


<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org






<mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>


<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org





<mailto:



<mailto:


<mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>


<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org






<mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>


<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org







To: users <



<mailto:


<mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>


<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org






<mailto:

<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>


<mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org





<mailto:



<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






<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:

<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








<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





Reply via email to