Title: [4.18/main] CPVM does not work after live-patch · Issue #7123 · apache/cloudstack · GitHub
Open Graph Title: [4.18/main] CPVM does not work after live-patch · Issue #7123 · apache/cloudstack
X Title: [4.18/main] CPVM does not work after live-patch · Issue #7123 · apache/cloudstack
Description: Steps to reproduce the issue deploy 4.17.2.0 environment upgrade to 4.18.0.0 nightly live-patch CPVM open vm console some errors logs in /var/log/cloud.log 2023-01-23 11:55:07,946 INFO [cloud.agent.Agent] (agentRequest-Handler-4:null) Se...
Open Graph Description: Steps to reproduce the issue deploy 4.17.2.0 environment upgrade to 4.18.0.0 nightly live-patch CPVM open vm console some errors logs in /var/log/cloud.log 2023-01-23 11:55:07,946 INFO [cloud.agent...
X Description: Steps to reproduce the issue deploy 4.17.2.0 environment upgrade to 4.18.0.0 nightly live-patch CPVM open vm console some errors logs in /var/log/cloud.log 2023-01-23 11:55:07,946 INFO [cloud.agent...
Opengraph URL: https://github.com/apache/cloudstack/issues/7123
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[4.18/main] CPVM does not work after live-patch","articleBody":"Steps to reproduce the issue\r\n- deploy 4.17.2.0 environment\r\n- upgrade to 4.18.0.0 nightly\r\n- live-patch CPVM\r\n- open vm console\r\n\r\nsome errors logs in /var/log/cloud.log\r\n\r\n```\r\n2023-01-23 11:55:07,946 INFO [cloud.agent.Agent] (agentRequest-Handler-4:null) Set agent id 3\r\n2023-01-23 11:55:07,952 INFO [cloud.consoleproxy.ConsoleProxy] (Console-Proxy-Main:null) Setting reconnectMaxRetry=5\r\n2023-01-23 11:55:07,953 INFO [cloud.consoleproxy.ConsoleProxyBaseServerFactoryImpl] (Console-Proxy-Main:null) create HTTP server instance at port: 80\r\n2023-01-23 11:55:07,956 INFO [cloud.agent.Agent] (agentRequest-Handler-4:null) Processed new management server list: 10.0.32.246@static\r\n2023-01-23 11:55:07,957 INFO [cloud.agent.Agent] (agentRequest-Handler-4:null) Ready command is processed for agent id = 3\r\n2023-01-23 11:55:07,957 INFO [resource.consoleproxy.ConsoleProxyResource] (agentRequest-Handler-4:null) Receive ReadyCommand, response with ReadyAnswer\r\n2023-01-23 11:55:08,001 ERROR [cloud.consoleproxy.ConsoleProxyNoVNCServer] (Console-Proxy-Main:null) Cannot read the VNC port from the file /root/vncport setting it to 8080\r\njava.nio.file.NoSuchFileException: /root/vncport\r\n at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)\r\n at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)\r\n at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)\r\n at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)\r\n at java.base/java.nio.file.Files.newByteChannel(Files.java:371)\r\n at java.base/java.nio.file.Files.newByteChannel(Files.java:422)\r\n at java.base/java.nio.file.Files.readAllBytes(Files.java:3206)\r\n at java.base/java.nio.file.Files.readString(Files.java:3284)\r\n at java.base/java.nio.file.Files.readString(Files.java:3243)\r\n at com.cloud.consoleproxy.ConsoleProxyNoVNCServer.getVNCPort(ConsoleProxyNoVNCServer.java:47)\r\n at com.cloud.consoleproxy.ConsoleProxy.getNoVNCServer(ConsoleProxy.java:406)\r\n at com.cloud.consoleproxy.ConsoleProxy.startupHttpMain(ConsoleProxy.java:396)\r\n at com.cloud.consoleproxy.ConsoleProxy.start(ConsoleProxy.java:363)\r\n at com.cloud.consoleproxy.ConsoleProxy.startWithContext(ConsoleProxy.java:348)\r\n at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.base/java.lang.reflect.Method.invoke(Method.java:566)\r\n at com.cloud.agent.resource.consoleproxy.ConsoleProxyResource$1.runInContext(ConsoleProxyResource.java:346)\r\n at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)\r\n at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)\r\n at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)\r\n at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)\r\n at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)\r\n at java.base/java.lang.Thread.run(Thread.java:829)\r\n2023-01-23 11:55:08,344 INFO [cloud.consoleproxy.ConsoleProxy] (Console-Proxy-Main:null) Listening for HTTP CMDs on port 8001\r\n2023-01-23 11:58:10,585 INFO [cloud.consoleproxy.ConsoleProxyResourceHandler] (Thread-12:null) Get resource request for /resource/noVNC/vnc.html\r\n2023-01-23 11:58:10,613 INFO [cloud.consoleproxy.ConsoleProxyResourceHandler] (Thread-12:null) Sent file /resource/noVNC/vnc.html with content type text/html\r\n2023-01-23 11:58:11,151 ERROR [cloud.consoleproxy.ConsoleProxyHttpHandlerHelper] (qtp265708179-40:null) decode token. host info is not found!\r\n2023-01-23 11:58:11,226 INFO [cloud.consoleproxy.ConsoleProxyResourceHandler] (Thread-13:null) Get resource request for /resource/noVNC/app/images/error.svg\r\n2023-01-23 11:58:11,231 INFO [cloud.consoleproxy.ConsoleProxyResourceHandler] (Thread-13:null) file does not exist/resource/noVNC/app/images/error.svg\r\n\r\n```\r\n\r\nthis seems to be caused by #6577 \r\n\r\n\r\n##### ISSUE TYPE\r\n\u003c!-- Pick one below and delete the rest --\u003e\r\n * Bug Report\r\n\r\n##### COMPONENT NAME\r\n\u003c!--\r\nCategorize the issue, e.g. API, VR, VPN, UI, etc.\r\n--\u003e\r\n~~~\r\nCPVM\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n\u003c!--\r\nNew line separated list of affected versions, commit ID for issues on main branch.\r\n--\u003e\r\n\r\n~~~\r\n4.18.0.0\r\n~~~\r\n\r\n##### CONFIGURATION\r\n\u003c!--\r\nInformation about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise\r\n--\u003e\r\n\r\n\r\n##### OS / ENVIRONMENT\r\n\u003c!--\r\nInformation about the environment if relevant, N/A otherwise\r\n--\u003e\r\n\r\n\r\n##### SUMMARY\r\n\u003c!-- Explain the problem/feature briefly --\u003e\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n\u003c!--\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.\r\n\r\nFor new features, show how the feature would be used.\r\n--\u003e\r\n\r\n\u003c!-- Paste example playbooks or commands between quotes below --\u003e\r\n~~~\r\n\r\n~~~\r\n\r\n\u003c!-- You can also paste gist.github.com links for larger files --\u003e\r\n\r\n##### EXPECTED RESULTS\r\n\u003c!-- What did you expect to happen when running the steps above? --\u003e\r\n\r\n~~~\r\n\r\n~~~\r\n\r\n##### ACTUAL RESULTS\r\n\u003c!-- What actually happened? --\u003e\r\n\r\n\u003c!-- Paste verbatim command output between quotes below --\u003e\r\n~~~\r\n\r\n~~~\r\n","author":{"url":"https://github.com/weizhouapache","@type":"Person","name":"weizhouapache"},"datePublished":"2023-01-23T12:02:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/7123/cloudstack/issues/7123"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:15da4e65-32c1-ff0b-779a-c85ef65f5730 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBCC:91DE5:144B644:1D9DCD3:6A4E434E |
| html-safe-nonce | 22928816a2caa8a16ef4a1cca37d6e878f525ccaea86c0fa50160c1fa49cd693 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkNDOjkxREU1OjE0NEI2NDQ6MUQ5RENEMzo2QTRFNDM0RSIsInZpc2l0b3JfaWQiOiIxNTUwNjc0MzY0NjMzODU4ODk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c6286e910f671ddbcb9e72f186353d00e3f8976b9587fdcf2c21907cc7a1f3d9 |
| hovercard-subject-tag | issue:1552975844 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/7123/issue_layout |
| twitter:image | https://opengraph.githubassets.com/57b369547dd666ba4c10350541c0b6921641ec94121e9aec36cb9bc88a2cdac1/apache/cloudstack/issues/7123 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/57b369547dd666ba4c10350541c0b6921641ec94121e9aec36cb9bc88a2cdac1/apache/cloudstack/issues/7123 |
| og:image:alt | Steps to reproduce the issue deploy 4.17.2.0 environment upgrade to 4.18.0.0 nightly live-patch CPVM open vm console some errors logs in /var/log/cloud.log 2023-01-23 11:55:07,946 INFO [cloud.agent... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | weizhouapache |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9fabff9b8b127e686a3ec86f91422e818056ca2c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width