Bug #5204
Restricted Attributes in Vectors are not handled correctly when instantiated a
Status: | Closed | Start date: | 06/27/2017 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Juan Jose Montiel Cano | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 5.4.1 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 5.2 |
Description
If a vcenter imported VM Template is instantiated by a regular user, it fails due to the following RESTRICTED ATTRIBUTES:
VM_RESTRICTED_ATTR = "NIC/OPENNEBULA_MANAGED"
VM_RESTRICTED_ATTR = "NIC/VCENTER_INSTANCE_ID"
VM_RESTRICTED_ATTR = "NIC/VCENTER_NET_REF"
VM_RESTRICTED_ATTR = "NIC/VCENTER_PORTGROUP_TYPE"
VM_RESTRICTED_ATTR = "DISK/OPENNEBULA_MANAGED"
VM_RESTRICTED_ATTR = "DISK/VCENTER_DS_REF"
VM_RESTRICTED_ATTR = "DISK/VCENTER_INSTANCE_ID"
The above has been disabled for 5.4 Beta 2
Associated revisions
B #5204: Disable restricted attributes for NIC and DISK vCenter VMs
B #5204: Wrong restricted attribute for VMs after a resize+chown
operation
B #5204: Wrong restricted attribute for VMs after a resize+chown
operation
F #5204: Work on restrictred attributes
(cherry picked from commit 6c1c618093a379b2b52608a146d1c79160cac43d)
F #5204: Work to deal with restricted attributes (vector)
F #5204: fix bug
F #5204: Enable default restricted attributes
F #5204: Get rid of unnneeded remove_restricted.
VirtualMachine::append_template needs to be update
F #5204 Changed append template (#459)
F #5204: Support for restricted attributes of type Vector
(cherry picked from commit 59b5ee8dd1ccb91161ce1ee83e99f11cbe9f1b95)
F #5204: Support for restricted attributes of type Vector. It does not
include update to default values to oned.conf
(cherry picked from commit 59b5ee8dd1ccb91161ce1ee83e99f11cbe9f1b95)
History
#1 Updated by Ruben S. Montero about 4 years ago
- Subject changed from Restricted Attributes for vCenter causes normal users not to be able to instantiate VM Templates to Restricted Attributes in Vectors are not handled correctly when instantiated a
- Priority changed from Normal to High
- Target version changed from Release 5.4 to Release 5.6
- Affected Versions OpenNebula 5.2 added
Currently VM_RESTICTED attributes prevents the instantiation of VMs handed over to a regular user by oneadmin. The vector/restricted attributes have been disbaled by default in 5.4. This feature is to make template-aware merge methods that are able to cherry-pick the right attributes from a vector (i.e. DISK, NIC, AR...)
#2 Updated by Ruben S. Montero almost 4 years ago
- Target version changed from Release 5.6 to Release 5.4.1
#3 Updated by Ruben S. Montero almost 4 years ago
- Status changed from Pending to New
- Assignee set to Juan Jose Montiel Cano
#4 Updated by Ruben S. Montero almost 4 years ago
- Status changed from New to Closed
- Resolution set to fixed