Users can not update VM config
See original GitHub issueDescription When a regular user tries to update the VM’s config (for example, a context var), it gets the following error:
one.vm.updateconf result FAILURE [one.vm.updateconf] User [2] : Template includes a restricted attribute DISK.
The specific setting from oned.conf creating the issue is:
VM_RESTRICTED_ATTR = "DISK/ORIGINAL_SIZE"
The weird part is that this setting exists also in older versions (for example, 5.10.5), but this issue is non existent on that version.
To Reproduce Create a user (not belonging to oneadmin group), allow this user to use a specific vm (use permission, change owner, whatever). Try to update the VM’s context.
Details
- Affected components: core
- Version: 5.12.3
Additional context Add any other context about the problem here.
Progress Status
- Branch created
- Code committed to development branch
- Testing - QA
- Documentation
- Release notes - resolved issues, compatibility, known issues
- Code committed to upstream release/hotfix branches
- Documentation committed to upstream release/hotfix branches
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (18 by maintainers)
Top Results From Across the Web
Unable to edit the settings of a virtual machine that is a ...
You cannot edit the settings of a virtual machine that is a member of a datastore cluster. Your user account does not have...
Read more >Troubleshoot Azure Automation Update Management issues
This article tells how to troubleshoot and resolve issues with Azure Automation Update Management.
Read more >Automatically apply VM configuration updates in a MIG
This document describes how to automatically apply configuration updates to the virtual machine (VM) instances in a managed instance group (MIG).
Read more >5 Known Issues - Oracle Help Center
Setup Scripts for Active Domain Restrict Users to Verify for Root AD Forest and ... In this scenario, virtual machines did not migrate...
Read more >User Management - Proxmox VE
This user cannot be deleted, but attributes can still be changed. ... Options: modify any other VM configuration. VM.Config.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also just stumbled upon this. Is there any workaround? Removing
DISK/ORIGINAL_SIZE
from theVM_RESTRICTED_ATTR
list does not seem to be a good idea as this value directly ends in shell scripts and would possibly allow RCE, correct?fixed in ba9983bd7dab47267ed77731fcd0d7ecdb1e9c04 and 7814dc597a3d16cb8274c5d4a5992cf2f7a9eac8