spazicus opened a new issue #5300:
URL: https://github.com/apache/cloudstack/issues/5300


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Web UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.15.1
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   Advanced Networking
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Ubuntu Server 20.04.2, MySQL Ver 8.0.26-0ubuntu0.20.04.2, KVM
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   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
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   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
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   A list of all infrastructure hosts to be displayed in the webui
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   An error is briefly shown: (X) For input string: " "
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   xhr.js:177 GET 
http://10.xx.0.xx:8080/client/api/?listall=true&type=routing&page=1&pagesize=10&command=listHostsMetrics&response=json
 431 (Request Header Fields Too Large)
   (anonymous) @ xhr.js:177
   e.exports @ xhr.js:13
   e.exports @ dispatchRequest.js:52
   Promise.then (async)
   c.request @ Axios.js:61
   (anonymous) @ bind.js:9
   n @ index.js:32
   fetchData @ AutogenView.vue:618
   created @ AutogenView.vue:432
   tt @ vue.runtime.esm.js:1854
   $n @ vue.runtime.esm.js:4219
   e._init @ vue.runtime.esm.js:5008
   o @ vue.runtime.esm.js:5154
   rn @ vue.runtime.esm.js:3283
   init @ vue.runtime.esm.js:3114
   e @ vue.runtime.esm.js:3301
   u @ vue.runtime.esm.js:5978
   y @ vue.runtime.esm.js:5925
   (anonymous) @ vue.runtime.esm.js:6477
   Hn.e._update @ vue.runtime.esm.js:3945
   r @ vue.runtime.esm.js:4066
   tr.get @ vue.runtime.esm.js:4479
   tr @ vue.runtime.esm.js:4468
   Pn @ vue.runtime.esm.js:4073
   Cr.$mount @ vue.runtime.esm.js:8415
   init @ vue.runtime.esm.js:3118
   e @ vue.runtime.esm.js:3301
   u @ vue.runtime.esm.js:5978
   y @ vue.runtime.esm.js:5925
   (anonymous) @ vue.runtime.esm.js:6516
   Hn.e._update @ vue.runtime.esm.js:3948
   r @ vue.runtime.esm.js:4066
   tr.get @ vue.runtime.esm.js:4479
   tr.run @ vue.runtime.esm.js:4554
   Gn @ vue.runtime.esm.js:4310
   (anonymous) @ vue.runtime.esm.js:1980
   ct @ vue.runtime.esm.js:1906
   Promise.then (async)
   it @ vue.runtime.esm.js:1933
   dt @ vue.runtime.esm.js:1990
   Qn @ vue.runtime.esm.js:4402
   tr.update @ vue.runtime.esm.js:4544
   pe.notify @ vue.runtime.esm.js:730
   set @ vue.runtime.esm.js:1055
   (anonymous) @ vue-router.esm.js:2989
   (anonymous) @ vue-router.esm.js:2988
   tt.updateRoute @ vue-router.esm.js:2409
   (anonymous) @ vue-router.esm.js:2263
   (anonymous) @ vue-router.esm.js:2397
   i @ vue-router.esm.js:2001
   i @ vue-router.esm.js:2008
   i @ vue-router.esm.js:2008
   $e @ vue-router.esm.js:2012
   (anonymous) @ vue-router.esm.js:2392
   i @ vue-router.esm.js:2001
   (anonymous) @ vue-router.esm.js:2005
   (anonymous) @ vue-router.esm.js:2379
   (anonymous) @ vue-router.esm.js:2162
   d @ vue-router.esm.js:2357
   i @ vue-router.esm.js:2004
   i @ vue-router.esm.js:2008
   i @ vue-router.esm.js:2008
   i @ vue-router.esm.js:2008
   (anonymous) @ vue-router.esm.js:2005
   (anonymous) @ vue-router.esm.js:2379
   (anonymous) @ permission.js:77
   d @ vue-router.esm.js:2357
   i @ vue-router.esm.js:2004
   i @ vue-router.esm.js:2008
   $e @ vue-router.esm.js:2012
   tt.confirmTransition @ vue-router.esm.js:2387
   tt.transitionTo @ vue-router.esm.js:2260
   e.push @ vue-router.esm.js:2704
   xt.push @ vue-router.esm.js:3023
   g @ vue-router.esm.js:1139
   tt @ vue.runtime.esm.js:1854
   o @ vue.runtime.esm.js:2179
   Zi.o._wrapper @ vue.runtime.esm.js:6917
   Show 46 more frames
   request.js:34 {data: {…}, status: 431, statusText: "Request Header Fields 
Too Large", headers: {…}, config: {…}, …}
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to