You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior: the VM body element should be updated
The cedits for the investigation of the issue should go to Jean-Mark Therond from Iguane Solutions.
Here is a patch that resolves the above example:
--- /usr/lib/one/ruby/onedb/onedb_live.rb.orig 2017-10-06 22:23:30.616440701 +0300
+++ /usr/lib/one/ruby/onedb/onedb_live.rb 2017-10-06 22:23:44.059959332 +0300
@@ -327,7 +327,7 @@
raise "A value or --delete should specified"
end
- object.info
+ object.info_all
object.each do |o|
if options[:id]
Best Regards,
Anton Todorov
The text was updated successfully, but these errors were encountered:
Author Name: Anton Todorov (Anton Todorov)
Original Redmine Issue: 5443, https://dev.opennebula.org/issues/5443
Original Date: 2017-10-06
Hi,
How to reproduce:
Create a VM with user different than 'oneadmin' (uid<>0)
Update the VM body. for example change the size of disk 0:
@$ onedb change-body vm --id 54 "/VM/TEMPLATE/DISK[DISK_ID=0]/SIZE"$((25*1024)); echo $ ?
0@
onedb exits with exit code 0
Result: the VM body element is not updated
Expected behavior: the VM body element should be updated
The cedits for the investigation of the issue should go to Jean-Mark Therond from Iguane Solutions.
Here is a patch that resolves the above example:
Best Regards,
Anton Todorov
The text was updated successfully, but these errors were encountered: