Hi Anderson, Can you share some details about your environment, for ex:
* Are you using any custom roles for your account that is used to logging in? * What database are you using with your ACS 4.15.2? (mysql-server 8.x or maria-db or something else?) * Is that a environment-wide issue or limited to specific account or VMs? * Is this limited to only the VM UI/API, any issues with other views or APIs? * Does it help if you re-run the user_vm_view view (i.e. drop and create it manually): * https://github.com/apache/cloudstack/blob/main/engine/schema/src/main/resources/META-INF/db/schema-41610to41700.sql#L378 Regards. ________________________________ From: Anderson Soares Ferreira <anderson.soa...@embrapa.br.INVALID> Sent: Thursday, November 10, 2022 18:21 To: users@cloudstack.apache.org <users@cloudstack.apache.org> Subject: Problems upgrading Cloudstack from 4.15.2 to 4.17.1 Hello, I'm facing an error in the management UI after upgrading our Cloudstack installation from 4.15.2 to 4.17.1. The upgrading process occured as expected and the management server log showed that the database upgrade also terminated without any error. But, when I log in the management interface, the Compute > Instances page shows a "404 Error'' . A notification also appears briefly with the message: 'Request failed (431) For input string: "null"'. The management server's log shows the following message: 2022-11-10 09:28:09,986 INFO [c.c.a.ApiServer] (qtp1443435931-29:ctx-38eefa4c ctx-903ab554) (logid:1c467882) For input string: "null" And the Api log shows: 2022-11-10 09:29:51,188 INFO [a.c.c.a.ApiServer] (qtp169663597-362:ctx-e4f585c8 ctx-f41d60b4) (logid:3a722cf9) (userId=2 accountId=2 sessionId=node01imyx6kxnjqrql48r91wm5zvk0) 2801:80:140c:11:0:0:0:b -- GET listall=true&page=1&pagesize=20&showIcon=true&command=listVirtualMachinesMetrics&response=json 431 For input string: "null" 2022-11-10 08:29:56,779 INFO [a.c.c.a.ApiServer] (qtp169663597-30:ctx-3b183013 ctx-772dcce7) (logid:7df22a93) (userId=2 accountId=2 sessionId=node01imyx6kxnjqrql48r91wm5zvk0) 2801:80:140c:11:0:0:0:b -- GET listall=true&page=1&pagesize=20&showIcon=true&command=listVirtualMachinesMetrics&response=json 431 For input string: "null" I've also noticed that cloudmonkey reports a similar error: 🙈 Error: (HTTP 431, error code 9999) For input string: "null" Since I haven't been able to identify what is causing that issue, I've restored the database backup, downgraded my installation back to 4.15.2 and everything started to work again. For one last test I decided to try to upgrade our installation again, but this time upgrading to the version 4.16.x, instead. The result was the same 404 page on the UI and same errors on the log files. One additional information, our installation is based on the Linux Ubuntu 20.04 distro. Has anyone experienced something like this? If so, how to fix it? Thank you in advance! ---- Anderson Soares Ferreira - anderson.soa...@embrapa.br Núcleo de Tecnologia da Informação - NTI Embrapa Territorial Tel.: (19) 3211-6200 -- __________________________ Aviso de confidencialidade Esta mensagem da Empresa Brasileira de Pesquisa Agropecuaria (Embrapa), empresa publica federal regida pelo disposto na Lei Federal no. 5.851, de 7 de dezembro de 1972, e enviada exclusivamente a seu destinatario e pode conter informacoes confidenciais, protegidas por sigilo profissional. Sua utilizacao desautorizada e ilegal e sujeita o infrator as penas da lei. Se voce a recebeu indevidamente, queira, por gentileza, reenvia-la ao emitente, esclarecendo o equivoco. Confidentiality note This message from Empresa Brasileira de Pesquisa Agropecuaria (Embrapa), a government company established under Brazilian law (5.851/72), is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you are not the addressee, please send it back, elucidating the failure.