Bug #4769
Sunstone query bad VM ID after resuming a VM
Status: | Closed | Start date: | 09/08/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Sunstone | |||
Target version: | - | |||
Resolution: | duplicate | Pull request: | ||
Affected Versions: | OpenNebula 5.0 |
Description
Hello,
Step to reproduce:
- select a running VM
- poweroff the VM
- 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:
- select the VM, the ID is correct
http://one.eole.lan/vm/54589?id=54589&csrftoken=1766df810a535ffd019f1c0e8ce8eca2
- stop the VM
http://one.eole.lan/vm/54589/action
- resume the VM
http://one.eole.lan/vm/54589/action
http://one.eole.lan/vm/5?id=5&csrftoken=1766df810a535ffd019f1c0e8ce8eca2
The last request is done against VM ID 5
and not 54589
.
Environment:
- Firefox 47.0 with a fresh profile (no plugin)
- ONE 5.0.2 from Ubuntu 16.04
Regards.
History
#1 Updated by EOLE Team almost 5 years ago
NB:
- 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