Bug #4769

Sunstone query bad VM ID after resuming a VM

Added by EOLE Team almost 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:09/08/2016
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:duplicate Pull request:
Affected Versions:OpenNebula 5.0



Step to reproduce:

  1. select a running VM
  2. poweroff the VM
  3. resume the VM

The interface display the following error:

[VirtualMachineInfo] User [19] : Not authorized to perform USE VM [5]."

But the VM ID is 54589.

Here are the requests around the problem from the network console:

  1. select the VM, the ID is correct
    1. http://one.eole.lan/vm/54589?id=54589&csrftoken=1766df810a535ffd019f1c0e8ce8eca2
  2. stop the VM
    1. http://one.eole.lan/vm/54589/action
  3. resume the VM
    1. http://one.eole.lan/vm/54589/action
    2. http://one.eole.lan/vm/5?id=5&csrftoken=1766df810a535ffd019f1c0e8ce8eca2

The last request is done against VM ID 5 and not 54589.


  • Firefox 47.0 with a fresh profile (no plugin)
  • ONE 5.0.2 from Ubuntu 16.04



#1 Updated by EOLE Team almost 5 years ago


  • all users are impacted but me (\o/ but they suspect a sysadmin trick :-D)
  • it does not depend on the browser, tested with
    • firefox version 45-esr (Debian testing), 48.01 (fedora), 49b1 (Debian unstable + firefox from experimental)
    • chromium 51.0.2704.79 Ubuntu 15.10 (64-bit)

#2 Updated by Carlos Martín almost 5 years ago

  • Status changed from Pending to Closed
  • Resolution set to duplicate

Duplicates #4711

Also available in: Atom PDF