Bug 1064823

Summary: Update vnic_profile fails for VM vnic.
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engine-restapiAssignee: Moti Asayag <masayag>
Status: CLOSED ERRATA QA Contact: Martin Pavlik <mpavlik>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.3.0CC: acathrow, bazulay, cpelland, danken, gklein, iheim, iliam, juan.hernandez, lpeer, masayag, myakove, nyechiel, oramraz, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Reopened, Triaged, ZStream
Target Release: 3.3.2   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: is35.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1047887 Environment:
Last Closed: 2014-04-09 17:54:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1047887    
Bug Blocks:    

Comment 1 Juan Hernández 2014-02-24 16:08:33 UTC
Moti, as this is already merged in the upstream 3.3 branch, shouldn't it be targeted for downstream 3.3.2?

Comment 3 Martin Pavlik 2014-04-02 10:46:32 UTC
works in is35.1

from ovirtsdk.api import API
from ovirtsdk.xml import params
USER = ''
PASS = ''
URL = 'https://'
api = API(url=URL, username=USER, password=PASS, insecure=True, persistent_auth=False)
new_profile = api.vnicprofiles.get('new_profile')
nic1 = api.vms.get('vm1').nics.get('nic1')
nic1.set_vnic_profile(new_profile)
nic1.update()

Comment 4 Zac Dover 2014-04-03 02:26:57 UTC
This bug is currently attached to errata RHBA-2014:17286. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.

* Consequence: What happens when the bug presents.

* Fix: What was done to fix the bug.

* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes

Thanks in advance.

Comment 6 errata-xmlrpc 2014-04-09 17:54:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0384.html