You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by James Steele <js...@gmail.com> on 2021/08/06 13:40:31 UTC

'Infrastructure' then 'Hosts' in the webui not working

My setup: Ubuntu Server 20.04.2, MySQL Ver 8.0.26-0ubuntu0.20.04.2 

I have been getting an error that when I click 'Infrastructure' then 'Hosts' in the webui (http://ipaddress:8080/client/) the error message: '(X) For input string: " "' is shown briefly, but the hosts are NOT listed. However the old web client works fine (http://ipaddress:8080/client/legacy/).

The boxes that have the error were upgraded from 4.15 to 4.15.1

I have just done a clean install on identical hardware straight to 4.15.1 and there are no longer any errors.

People have suggested that system Locale may be a problem. However using the default locale on the new install works fine (en_GB.UTF-8) and doesn’t need changing.

I don’t think locale is the issue now (for me anyway). I think the mysql database has either been changed somehow during the original systems upgrade procedure. Or the 4.15 created database is being accessed differently from the system that has been through the upgrade procedure to 4.15.1

Summary:

Hardware, setup with 4.15, then upgraded to 4.15.1
http://ipaddress:8080/client/#/host        = 'Hosts' tab in the webui BROKEN with error 	
http://ipaddress:8080/client/legacy/     = 'Hosts' tab in the webui is OK, lists all hosts correctly

Hardware, setup clean with 4.15.1
http://ipaddress:8080/client/#/host        = 'Hosts' tab in the webui is OK, lists all hosts correctly
http://ipaddress:8080/client/legacy/     = 'Hosts' tab in the webui is OK, lists all hosts correctly

Any ideas?

Re: 'Infrastructure' then 'Hosts' in the webui not working

Posted by James Steele <js...@gmail.com>.
All fixed now, thanks Andrija

https://github.com/apache/cloudstack/issues/5300

Re: 'Infrastructure' then 'Hosts' in the webui not working

Posted by David Jumani <Da...@shapeblue.com>.
Adding to what Andria, could you also add the browser console logs
________________________________
From: Andrija Panic <an...@gmail.com>
Sent: Monday, August 9, 2021 1:01 PM
To: users <us...@cloudstack.apache.org>
Subject: Re: 'Infrastructure' then 'Hosts' in the webui not working

Hi James,

this might sound like a bug (unless someone advices otherwise) - so I would
advise that you open a GitHub issue, it would be good if you have saved
some screenshots - take time to properly report the problem, so that people
can look into it.

Thanks,
Andrija





 

On Sat, 7 Aug 2021 at 11:12, James Steele <js...@gmail.com> wrote:

> My setup: Ubuntu Server 20.04.2, MySQL Ver 8.0.26-0ubuntu0.20.04.2
>
> I have been getting an error that when I click 'Infrastructure' then
> 'Hosts' in the webui (http://ipaddress:8080/client/) the error message:
> '(X) For input string: " "' is shown briefly, but the hosts are NOT listed.
> However the old web client works fine (
> http://ipaddress:8080/client/legacy/).
>
> The boxes that have the error were upgraded from 4.15 to 4.15.1
>
> I have just done a clean install on identical hardware straight to 4.15.1
> and there are no longer any errors.
>
> People have suggested that system Locale may be a problem. However using
> the default locale on the new install works fine (en_GB.UTF-8) and doesn’t
> need changing.
>
> I don’t think locale is the issue now (for me anyway). I think the mysql
> database has either been changed somehow during the original systems
> upgrade procedure. Or the 4.15 created database is being accessed
> differently from the system that has been through the upgrade procedure to
> 4.15.1
>
> Summary:
>
> Hardware, setup with 4.15, then upgraded to 4.15.1
> http://ipaddress:8080/client/#/host        = 'Hosts' tab in the webui
> BROKEN with error
> http://ipaddress:8080/client/legacy/     = 'Hosts' tab in the webui is
> OK, lists all hosts correctly
>
> Hardware, setup clean with 4.15.1
> http://ipaddress:8080/client/#/host        = 'Hosts' tab in the webui is
> OK, lists all hosts correctly
> http://ipaddress:8080/client/legacy/     = 'Hosts' tab in the webui is
> OK, lists all hosts correctly
>
> Any ideas?
>


--

Andrija Panić

Re: 'Infrastructure' then 'Hosts' in the webui not working

Posted by Andrija Panic <an...@gmail.com>.
Hi James,

this might sound like a bug (unless someone advices otherwise) - so I would
advise that you open a GitHub issue, it would be good if you have saved
some screenshots - take time to properly report the problem, so that people
can look into it.

Thanks,
Andrija




On Sat, 7 Aug 2021 at 11:12, James Steele <js...@gmail.com> wrote:

> My setup: Ubuntu Server 20.04.2, MySQL Ver 8.0.26-0ubuntu0.20.04.2
>
> I have been getting an error that when I click 'Infrastructure' then
> 'Hosts' in the webui (http://ipaddress:8080/client/) the error message:
> '(X) For input string: " "' is shown briefly, but the hosts are NOT listed.
> However the old web client works fine (
> http://ipaddress:8080/client/legacy/).
>
> The boxes that have the error were upgraded from 4.15 to 4.15.1
>
> I have just done a clean install on identical hardware straight to 4.15.1
> and there are no longer any errors.
>
> People have suggested that system Locale may be a problem. However using
> the default locale on the new install works fine (en_GB.UTF-8) and doesn’t
> need changing.
>
> I don’t think locale is the issue now (for me anyway). I think the mysql
> database has either been changed somehow during the original systems
> upgrade procedure. Or the 4.15 created database is being accessed
> differently from the system that has been through the upgrade procedure to
> 4.15.1
>
> Summary:
>
> Hardware, setup with 4.15, then upgraded to 4.15.1
> http://ipaddress:8080/client/#/host        = 'Hosts' tab in the webui
> BROKEN with error
> http://ipaddress:8080/client/legacy/     = 'Hosts' tab in the webui is
> OK, lists all hosts correctly
>
> Hardware, setup clean with 4.15.1
> http://ipaddress:8080/client/#/host        = 'Hosts' tab in the webui is
> OK, lists all hosts correctly
> http://ipaddress:8080/client/legacy/     = 'Hosts' tab in the webui is
> OK, lists all hosts correctly
>
> Any ideas?
>


-- 

Andrija Panić