You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "jgotteswinter (via GitHub)" <gi...@apache.org> on 2025/12/09 12:15:33 UTC

[I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

jgotteswinter opened a new issue, #12211:
URL: https://github.com/apache/cloudstack/issues/12211

   ### problem
   
   The existing vRouter have been live patched from 4.20.1.0 to 4.20.2.0, everything shows up fine in the UI. The systemvm template used by the vRouter still shows 4.20.1.0, but the software version is correctly displayed with 4.20.2.0
   Now, when i tried to start a vm, it failed with an error "Network is unavailable. Please contact administrator".
   
   The cloudstack management servers log shows this
   ```
   2025-12-09 11:40:35,705 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-92:[ctx-04bdbebb, job-717188]) (logid:8225e4c6) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.StartVMCmdByAdmin com.cloud.utils.exception.CloudRuntimeException: Network is unavailable. Please contact administrator
   ...
   ...
   ...
   Caused by: com.cloud.exception.ResourceUnavailableException: Resource [VirtualRouter:5014] is unreachable: Unable to send command. Router requires upgrade
   ```
   
   after rebooting the vRouter everything started working again. Live patching seems to be broken. After a reboot, the vRouter also uses the newer systemvm template 4.20.2.0
   
   we are on Ubuntu 24.04
   
   ### versions
   
   The versions of ACS, hypervisors, storage, network etc..
   
   ### The steps to reproduce the bug
   
   1.
   2.
   3.
   ...
   
   
   ### What to do about it?
   
   _No response_


-- 
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: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3701645357

   @weizhouapache , I think we can close this as it won’t be an issue in 20.3 anymore, can we?


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3632054558

   @jgotteswinter 
   can you check the global setting `minreq.sysvmtemplate.version` ?
   if it is `4.20.2.0`, change it to `4.20.1.0` 


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "jgotteswinter (via GitHub)" <gi...@apache.org>.
jgotteswinter commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3701622232

   yes it worked after switching the template version.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3636893318

   @jgotteswinter , has the workaround @weizhouapache gave worked for you?


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3738392415

   > [@weizhouapache](https://github.com/weizhouapache) [@DaanHoogland](https://github.com/DaanHoogland) is there any fix we need to add to address this issue?
   
   @sudo87 
   I think no code changes are needed.
   just check if the change of `minreq.sysvmtemplate.version` setting is mentioned in the section of VR live-patch in cloudstack doc, update doc if not found.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "sudo87 (via GitHub)" <gi...@apache.org>.
sudo87 commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3738127301

   @weizhouapache @DaanHoogland is there any fix we need to add to address this issue?


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "sudo87 (via GitHub)" <gi...@apache.org>.
sudo87 commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3777054205

   > [@weizhouapache](https://github.com/weizhouapache) has another suggestion to add an optional version check in live patch path, described as below:
   > 
   > * add a VR versoin check during VR live-patch
   > * throw an exception if VR template version is older than minreq.sysvmtemplate.version
   > * the error message asks user to change the value of minreq.sysvmtemplate.version
   
   There is an existing version check, we need not to implement above. It logs following message:
   
   ```2026-01-21 08:58:16,978 DEBUG [c.c.n.r.NetworkHelperImpl] (API-Job-Executor-1:[ctx-e3f94ae4, job-49, ctx-abe4488b]) (logid:185d8fcd) Router requires upgrade. Unable to send command to router: VM instance {"id":4,"instanceName":"r-4-VM","state":"Running","type":"DomainRouter","uuid":"602a9bcc-9767-4622-a504-2ece9e3650bb"}, router template version: Cloudstack Release 4.20.1 Wed May 28 06:10:04 AM UTC 2025, minimal required version: 4.20.2
   2026-01-21 08:58:16,979 WARN  [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-1:[ctx-e3f94ae4, job-49, ctx-abe4488b]) (logid:185d8fcd) Failed to implement network Network {"id": 204, "name": "test-network", "uuid": "9258bd00-4247-4e41-bcc2-54598681557a", "networkofferingid": 10} elements and resources as a part of network restart due to com.cloud.exception.ResourceUnavailableException: Resource [VirtualRouter:4]
   ```
   
   We can close this issue as document is updated and required version check is in place. @weizhouapache @DaanHoogland 


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
abh1sar closed issue #12211: Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0
URL: https://github.com/apache/cloudstack/issues/12211


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
abh1sar commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3788946511

   Closing the issue as discussed above.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "sudo87 (via GitHub)" <gi...@apache.org>.
sudo87 commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3784374627

   I have tried replicating the issue with 4.20.1 env and even after upgrade, live patch of VR worked successfully.
   
   After live patch, I can create instance without any issues. 
   
   ```
   Env with 4.20.1.0 -> upgraded to  4.20.2.0
   Minreq sysvmtemplate version (minreq.sysvmtemplate.version): 4.10.0 
   
   Before upgrade:
   
   VR
   
   Software version: 4.20.1.0
   Template version: 4.20.1
   
   
   After upgrade
   Minreq sysvmtemplate version (minreq.sysvmtemplate.version): 4.20.2
   
   Before live Patch
   Software version: 4.20.1.0
   Template version: 4.20.1
   After live Patch
   Software version: 4.20.2.0
   Template version: 4.20.1
   ```
   
   Created few instances in the network associated to same VR.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "sudo87 (via GitHub)" <gi...@apache.org>.
sudo87 commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3744345233

   Thank you @weizhouapache for your suggestion to update the document. We add note specifying what value should be set for config wrt VR template version:
   ```minreq.sysvmtemplate.version ```
   
   Doc pr: https://github.com/apache/cloudstack-documentation/pull/618
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "sudo87 (via GitHub)" <gi...@apache.org>.
sudo87 commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3744362060

   @weizhouapache has another suggestion to add an optional version check in live patch path. 


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
abh1sar commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3701037230

   > [@jgotteswinter](https://github.com/jgotteswinter) , has the workaround [@weizhouapache](https://github.com/weizhouapache) gave worked for you?
   
   @jgotteswinter did it work?
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Problem with vRouter after Livepatching from 4.20.1.0 -> 4.20.2.0 [cloudstack]

Posted by "jgotteswinter (via GitHub)" <gi...@apache.org>.
jgotteswinter commented on issue #12211:
URL: https://github.com/apache/cloudstack/issues/12211#issuecomment-3632106397

   yes its indeed 4.20.2.0, i guess this has been set by the update routines? I did not change it


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org