CodeBleu commented on issue #148:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/148#issuecomment-2634288870

   @vishesh92  in regards to #158  , I have tested those changes, but still 
having issues.
   
   
![Image](https://github.com/user-attachments/assets/89c08847-1f0c-4303-b077-421ef524bd81)
   
   Even thought it gives the error it actually applies the settings to state 
and another Plan will show no changes.
   
   Also when purposely setting values not in the proper range it does not 
output from the plan/apply command that it's not in range, but gives the same 
error as above.  It also, still applies those settings to state and another 
plan will come back clean.
   
   Here is the logs from the management server:
   
   > 2025-02-04 15:04:35,717 DEBUG [c.c.u.AccountManagerImpl] 
(qtp1789718525-741:ctx-85eea5a8 ctx-d3628ba6 ctx-afc6ef30) (logid:781668f2) 
Access to VM instance 
{"id":8428,"instanceName":"i-676-8428-VM","type":"User","uuid":"16eb8cbd-62b2-4b02-82fa-94cdefbc3da2"}
 granted to Account 
[{"accountName":"n8widgets","id":676,"uuid":"5216af48-d506-45f6-8cd3-873b5beb6e1f"}]
 by DomainChecker
   > 2025-02-04 15:04:35,719 DEBUG [o.a.c.u.UserDataManagerImpl] 
(qtp1789718525-741:ctx-85eea5a8 ctx-d3628ba6 ctx-afc6ef30) (logid:781668f2) 
Null/empty base64 encoded user data set
   > 2025-02-04 15:04:35,741 ERROR [c.c.a.ApiServer] 
(qtp1789718525-741:ctx-85eea5a8 ctx-d3628ba6 ctx-afc6ef30) (logid:781668f2) 
unhandled exception executing api command: [Ljava.lang.String;@255549e0
   > com.cloud.utils.exception.CloudRuntimeException: Failed to update VM, due 
to: Invalid memory value, specify a value between 1024 and 65536
   >     at 
org.apache.cloudstack.api.command.user.vm.UpdateVMCmd.execute(UpdateVMCmd.java:287)
   >     at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:172)
   
   The error is saying it needs to be in the specified range or `1024 -> 65536` 
for `memory`, and as you can see it is using `4096`
   


-- 
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: dev-unsubscr...@cloudstack.apache.org

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

Reply via email to