Bug 1064823 - Update vnic_profile fails for VM vnic.
Summary: Update vnic_profile fails for VM vnic.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.3.0
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ---
: 3.3.2
Assignee: Moti Asayag
QA Contact: Martin Pavlik
URL:
Whiteboard: network
Depends On: 1047887
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-13 11:29 UTC by rhev-integ
Modified: 2016-02-10 19:49 UTC (History)
15 users (show)

Fixed In Version: is35.1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1047887
Environment:
Last Closed: 2014-04-09 17:54:37 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0384 0 normal SHIPPED_LIVE rhevm 3.3.2 bug fix update 2014-04-09 21:52:20 UTC
oVirt gerrit 24330 0 None None None Never
oVirt gerrit 24348 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.