You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/11/07 02:34:36 UTC

[GitHub] [cloudstack] 1450793561 opened a new issue, #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

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

   An error occurs when changing the ip address in version 4.17.1
   
   ![微信图片_20221107103156](https://user-images.githubusercontent.com/31468018/200214607-5dc53a73-c3bd-4e74-8836-0b2256035bdf.png)
   
   ![微信图片_20221107102718](https://user-images.githubusercontent.com/31468018/200214649-276def1e-7166-4bc0-b790-acc3905cf935.jpg)
   
   **The detailed log is as follows**
   ```
   2022-11-07 10:29:25,405 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-d75d7f1c) (logid:07ae9252) Zone [1] is ready to launch secondary storage VM.
   2022-11-07 10:29:25,796 DEBUG [c.c.a.ApiServlet] (qtp1462044018-284:ctx-867e74c3) (logid:c6e6597a) ===START===  10.10.130.13 -- GET  nicId=7dd07546-f16f-43c6-aa3f-155dfc54651b&ipaddress=10.10.10.113&command=updateVmNicIp&response=json
   2022-11-07 10:29:25,815 DEBUG [c.c.a.ApiServer] (qtp1462044018-284:ctx-867e74c3 ctx-7b188579) (logid:c6e6597a) CIDRs from which account 'Acct[2135826d-4dcd-11ed-89f1-02e685806f48-admin] -- Account {"id": 2, "name": "admin", "uuid": "2135826d-4dcd-11ed-89f1-02e685806f48"}' is allowed to perform API calls: 0.0.0.0/0,::/0
   2022-11-07 10:29:25,991 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-6:ctx-55160ec5 job-529) (logid:0a8adde1) Add job-529 into job monitoring
   2022-11-07 10:29:25,992 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp1462044018-284:ctx-867e74c3 ctx-7b188579) (logid:c6e6597a) submit async job-529, details: AsyncJobVO: {id:529, userId: 2, accountId: 2, instanceType: IpAddress, instanceId: null, cmd: org.apache.cloudstack.api.command.user.vm.UpdateVmNicIpCmd, cmdInfo: {"ipaddress":"10.10.10.113","response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"1006","nicId":"7dd07546-f16f-43c6-aa3f-155dfc54651b","ctxDetails":"{\"interface com.cloud.vm.Nic\":\"7dd07546-f16f-43c6-aa3f-155dfc54651b\"}","ctxAccountId":"2","cmdEventType":"NET.IPASSIGN"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 218179427183938, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}
   2022-11-07 10:29:25,995 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-6:ctx-55160ec5 job-529) (logid:ca0a122b) Executing AsyncJobVO: {id:529, userId: 2, accountId: 2, instanceType: IpAddress, instanceId: null, cmd: org.apache.cloudstack.api.command.user.vm.UpdateVmNicIpCmd, cmdInfo: {"ipaddress":"10.10.10.113","response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"1006","nicId":"7dd07546-f16f-43c6-aa3f-155dfc54651b","ctxDetails":"{\"interface com.cloud.vm.Nic\":\"7dd07546-f16f-43c6-aa3f-155dfc54651b\"}","ctxAccountId":"2","cmdEventType":"NET.IPASSIGN"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 218179427183938, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}
   2022-11-07 10:29:25,995 DEBUG [c.c.a.ApiServlet] (qtp1462044018-284:ctx-867e74c3 ctx-7b188579) (logid:c6e6597a) ===END===  10.10.130.13 -- GET  nicId=7dd07546-f16f-43c6-aa3f-155dfc54651b&ipaddress=10.10.10.113&command=updateVmNicIp&response=json
   2022-11-07 10:29:26,018 DEBUG [c.c.a.ApiServlet] (qtp1462044018-334:ctx-7a01fe10) (logid:e6938eae) ===START===  10.10.130.13 -- GET  jobId=ca0a122b-fe29-4744-97cc-39038b3facc9&command=queryAsyncJobResult&response=json
   2022-11-07 10:29:26,030 DEBUG [c.c.v.UserVmManagerImpl] (API-Job-Executor-6:ctx-55160ec5 job-529 ctx-2c08af9a) (logid:ca0a122b) Calling the ip allocation ...
   2022-11-07 10:29:26,039 DEBUG [c.c.a.ApiServer] (qtp1462044018-334:ctx-7a01fe10 ctx-3cc52cd0) (logid:e6938eae) CIDRs from which account 'Acct[2135826d-4dcd-11ed-89f1-02e685806f48-admin] -- Account {"id": 2, "name": "admin", "uuid": "2135826d-4dcd-11ed-89f1-02e685806f48"}' is allowed to perform API calls: 0.0.0.0/0,::/0
   2022-11-07 10:29:26,064 DEBUG [c.c.u.d.T.Transaction] (API-Job-Executor-6:ctx-55160ec5 job-529 ctx-2c08af9a) (logid:ca0a122b) Rolling back the transaction: Time = 21 Name =  API-Job-Executor-6; called by -TransactionLegacy.rollback:888-TransactionLegacy.removeUpTo:831-TransactionLegacy.close:655-Transaction.execute:38-IpAddressManagerImpl.listAvailablePublicIps:824-IpAddressManagerImpl.fetchNewPublicIp:811-IpAddressManagerImpl.fetchNewPublicIp:803-IpAddressManagerImpl.assignPublicIpAddress:784-IpAddressManagerImpl.allocatePublicIpForGuestNic:2283-UserVmManagerImpl.updateNicIpForVirtualMachine:1708-NativeMethodAccessorImpl.invoke0:-2-NativeMethodAccessorImpl.invoke:62
   2022-11-07 10:29:26,066 ERROR [c.c.v.UserVmManagerImpl] (API-Job-Executor-6:ctx-55160ec5 job-529 ctx-2c08af9a) (logid:ca0a122b) Allocating ip to guest nic 7dd07546-f16f-43c6-aa3f-155dfc54651b failed, for insufficient address capacity
   2022-11-07 10:29:26,069 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-6:ctx-55160ec5 job-529) (logid:ca0a122b) Complete async job-529, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to update ip address on vm NIC. Refer to server logs for details."}
   2022-11-07 10:29:26,072 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-6:ctx-55160ec5 job-529) (logid:ca0a122b) Publish async job-529 complete on message bus
   2022-11-07 10:29:26,072 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-6:ctx-55160ec5 job-529) (logid:ca0a122b) Wake up jobs related to job-529
   2022-11-07 10:29:26,072 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-6:ctx-55160ec5 job-529) (logid:ca0a122b) Update db status for job-529
   2022-11-07 10:29:26,167 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-6:ctx-55160ec5 job-529) (logid:ca0a122b) Wake up jobs joined with job-529 and disjoin all subjobs created from job- 529
   2022-11-07 10:29:26,177 DEBUG [c.c.a.ApiServlet] (qtp1462044018-334:ctx-7a01fe10 ctx-3cc52cd0) (logid:e6938eae) ===END===  10.10.130.13 -- GET  jobId=ca0a122b-fe29-4744-97cc-39038b3facc9&command=queryAsyncJobResult&response=json
   2022-11-07 10:29:26,231 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-6:ctx-55160ec5 job-529) (logid:ca0a122b) Done executing org.apache.cloudstack.api.command.user.vm.UpdateVmNicIpCmd for job-529
   2022-11-07 10:29:26,232 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-6:ctx-55160ec5 job-529) (logid:ca0a122b) Remove job-529 from job monitoring
   ```
   


-- 
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


[GitHub] [cloudstack] 1450793561 commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
1450793561 commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305008058

   Where do I start to look?
   


-- 
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


[GitHub] [cloudstack] weizhouapache commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305348270

   @1450793561 
   if you update the nic ip address without specifying the new Ip address, does 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


[GitHub] [cloudstack] 1450793561 commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
1450793561 commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305359595

   @weizhouapache 
   If no ip address is specified, click OK
   
   ![3333](https://user-images.githubusercontent.com/31468018/200280967-ae38cce2-af69-4a4f-9d1f-c6675b5e7ace.png)
   


-- 
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


[GitHub] [cloudstack] 1450793561 commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
1450793561 commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305320957

   @DaanHoogland 
   There are still many unallocated ip addresses. How can I report that the ip capacity is insufficient?
   
   look see fellow pic
   
   ![微信图片_20221107172014](https://user-images.githubusercontent.com/31468018/200273474-240ff034-9e6a-4c5f-8e9b-cba134d7d437.jpg)
   


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305302967

   @1450793561 , at `2022-11-07 10:29:26,066` the error message says that you don´t have any ip space to allocate from: `Allocating ip to guest nic 7dd07546-f16f-43c6-aa3f-155dfc54651b failed, for insufficient address capacity`.


-- 
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


[GitHub] [cloudstack] 1450793561 commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
1450793561 commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305357992

   > I see you have debug level logging so I don´t understand why there is no message for this (bug/omission?)
   @DaanHoogland 
   The log level is not clear. If it is not set after the installation, it is the default.
   > As for those pics, In the first one you are adding an IP range to the underlying physical network for the zon.
   
   In this case, I just tested and changed the ip several times, all of which were successful
   
   
   


-- 
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


[GitHub] [cloudstack] DaanHoogland closed issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details  version 4.17.1
URL: https://github.com/apache/cloudstack/issues/6872


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305339724

   ok, that is at least unclear. You are right that probably an error message with the real reason is missing.
   
   As for those pics, In the first one you are adding an IP range to the underlying physical network for the zon.
   I the second, you are adding a range to a guest network, which must already be available in the zone, for routing to happen.
   
   I see you have debug level logging so I don´t understand why there is no message for this (bug/omission?)


-- 
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


[GitHub] [cloudstack] 1450793561 commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
1450793561 commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305006134

   There are too few error messages
   
   


-- 
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


[GitHub] [cloudstack] 1450793561 commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
1450793561 commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305333777

   Don't know what the difference is?
   
   -----------------------
   Select the ip range added from this area to modify successfully.
   ![1111](https://user-images.githubusercontent.com/31468018/200275531-f31d6e5a-6a8f-482a-ae65-27d0b6b64a8a.png)
   
   If you select the ip range to be added from this area, an error occurs
   ![2222](https://user-images.githubusercontent.com/31468018/200276143-439ffcb0-882b-4f76-ba91-f2ad4cc0b166.png)
   
   
   


-- 
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


[GitHub] [cloudstack] 1450793561 commented on issue #6872: Failed to update ip address on vm NIC. Refer to server logs for details version 4.17.1

Posted by GitBox <gi...@apache.org>.
1450793561 commented on issue #6872:
URL: https://github.com/apache/cloudstack/issues/6872#issuecomment-1305007568

   org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed to update ip address on vm NIC. Refer to server logs for details."}


-- 
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