Bug 1004066
Summary: | Host: Exit message: internal error No more available PCI addresses | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | baiesi | |
Component: | ovirt-engine | Assignee: | Omer Frenkel <ofrenkel> | |
Status: | CLOSED ERRATA | QA Contact: | Ilanit Stein <istein> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 3.2.0 | CC: | aberezin, acathrow, adahms, adevolder, baiesi, bazulay, iheim, lpeer, mavital, michal.skrivanek, ofrenkel, Rhev-m-bugs, rhodain, rmcswain, simon.neininger, ssekidde, yeylon | |
Target Milestone: | --- | Keywords: | Triaged, ZStream | |
Target Release: | 3.3.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | virt | |||
Fixed In Version: | is18 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, sound devices would not be found when restoring the configuration of a stateless virtual machine, resulting in a new sound device being added. This would result in new sound devices being added to stateless virtual machines each time those machines were started, eventually preventing them from starting. With this update, the code that searches for sound devices has been updated so that sound devices are now correctly discovered when restoring stateless virtual machines, and no new sound devices are created. Stateless virtual machines now only have a single sound device and will not experience any issues due to sound devices after being started multiple times.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1015134 (view as bug list) | Environment: | ||
Last Closed: | 2014-01-21 17:36:48 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1015134 |
Description
baiesi
2013-09-03 20:29:57 UTC
Let me know if anyone needs access to the test env in its current state. I've sent the information out already to a few who has requested access. The systems will be available until Wednesday EST 11:00. Below is the command sent for the destination host, {'custom': {}, 'keyboardLayout':'en-us', 'kvmEnable': 'true',{'custom': {}, 'keyboardLayout':'en-us', 'kvmEnable': 'true', 'pitReinjection': 'false', 'acpiEnable': 'true', 'emulatedMachine': 'rhel6.4.0', 'cpuType': 'Westmere', 'vmId': '27f78875-8e50-4dc1-9c24-e519bd8683ce', 'devices': [{'device': 'qxl', 'specParams': {'vram': '65536'}, 'type': 'video', 'deviceId': 'c4b8cb2c-a27b-46c6-a08d-ee96175a60fe'}, {'index': '2', 'iface': 'ide', 'bootOrder': '2', 'specParams': {'path': ''}, 'readonly': 'true', 'deviceId': '0113864d-9dfe-4b14-8cc8-d83a85db7f98', 'path': '', 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': 0, 'iface': 'virtio', 'format': 'cow', 'bootOrder': '1', 'poolID': '5849b030-626e-47cb-ad90-3ce782d831b3', 'volumeID': 'e8fe1b6e-b62c-487c-bf04-b9a6168131fb', 'imageID': '28e91ef5-a15b-421d-adda-da5a2294d1ae', 'specParams': {}, 'readonly': 'false', 'domainID': '156a4b8c-f139-46c5-9e0b-fceaaaeaff4f', 'optional': 'false', 'deviceId': '28e91ef5-a15b-421d-adda-da5a2294d1ae', 'address': {'bus': '0x00', ' slot': '0x05', ' domain': '0x0000', ' type': 'pci', ' function': '0x0'}, 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'type': 'disk'}, {'nicModel': 'e1000', 'macAddr': '00:1a:4a:10:86:31', 'linkActive': 'true', 'network': 'rhevm', 'filter': 'vdsm-no-mac-spoofing', 'specParams': {}, 'deviceId': '051fbde9-71ab-49c1-bdf6-a22a8e24355e', 'address': {'bus': '0x00', ' slot': '0x03', ' domain': '0x0000', ' type': 'pci', ' function': '0x0'}, 'device': 'bridge', 'type': 'interface'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '3524a274-3439-475b-93c5-d420cafb1be3'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': 'c0dbb199-3648-478f-b995-45180b3c1cba'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': 'a8a760f2-6b05-4390-b4f3-0b4c7eb1d0dc'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '4db9217e-6c80-4638-974b-863b3b6dae1a'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '625b6716-8855-419f-9952-f01a542aec7f'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '4adbc5d0-f5b5-4ac1-9df9-327561b7f4ca'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '579f84f5-ae32-49d7-9977-18d57ab90a41'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '17d51030-b43d-43fa-a413-e06c8b2d62bb'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '2d28d304-32eb-423d-baee-91f218eb43f2'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': 'ff4c9f6a-3e7e-4a25-b0d7-776f86e5a3e4'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': 'f05b4df4-52b9-48d4-8a7d-f32304df9da8'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': 'c2bf70af-48f7-4058-a611-d95dead221c7'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '85600e66-d6e9-4bea-ac97-e9fd358ff33b'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '1fa4a40b-d847-4b81-a572-9150135aa511'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '326bf1da-0a50-4da6-ad45-f4794ab6feea'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '824d1bf0-7fff-439b-8f7a-4c0989342a49'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '4d789bd1-6d3f-4599-8299-68467c4d591d'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': 'eb829e9a-ef2f-4401-a1f0-49d10483c097'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '48fe2b91-46e4-461c-ae0c-bb96cb4b2676'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': 'b5e910dd-f7b9-497b-a518-35f750c8e1c0'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '5cc0325a-03cd-408d-8e88-c5af29f108d8'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': 'ea36e407-91f6-43ea-8f41-1eebff6e4661'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '0212b3b5-5170-4877-87cb-40c1b290b619'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '11c16b25-7851-4b3d-8866-cc4414721ee3'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '5494e581-8823-4607-bfa0-e1419173567d'}, {'device': 'ich6', 'specParams': {}, 'type': 'sound', 'deviceId': '7c74505d-6181-4e5b-bdfe-c03319bf468f'}, {'device': 'memballoon', 'specParams': {'model': 'virtio'}, 'type': 'balloon', 'deviceId': 'b2c0ae77-dace-4539-bade-f2c776061cef'}], 'smp': '1', 'vmType': 'kvm', 'timeOffset': '0', 'memSize': 1024, 'spiceSslCipherSuite': 'DEFAULT', 'smpCoresPerSocket': '1', 'spiceSecureChannels': 'smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard', 'smartcardEnable': 'false', 'vmName': 'p_rhel6x64-29', 'display': 'qxl', 'transparentHugePages': 'true', 'nice': '0'} If I counted correctly it has total of 31 devices, the odd thing is that 26 of them are sound cards ich6 IIRC qemu has 32 slots ? Can we please get the log of the creation of this VM on the source host ? 'vmName': 'p_rhel6x64-29' Can we also get the DB backup (from log collector) also - I suppose the VM was edited or something, wasn't it? Or is it a freshly created new VM in webadmin? I am providing a RHEV Database from my customer who is experiencing this same issue. please attach engine and vdsm logs I was able to reproduce this, steps: on 3.2: 1. create stateless desktop vm. 2. start it and once its up stop it. 3. observe vm_device table in the db and see additional sound device, or on next run observe creation xml in vdsm.log and see the multiple sound device. 4. execute step 2 until vm cannot be started anymore with the 'No more PCI addresses' error. (this depend on number of other device in the vm, monitors, usb, disks, etc..) on 3.3 this is reproducible only if cluster compatibility level is 3.0. problem is that when restoring the vm configuration (as it is statelss), code that looks for existing sound devices is wrong merged to ovirt-engine-3.3 Verified on is18. Followed the reproduce flow in comment 14, on 3.0 cluster. On vdsm log, the device list in the xml did not increase for repeatedly VM stop & start. *** Bug 1024833 has been marked as a duplicate of this bug. *** This bug is currently attached to errata RHEA-2013:15231. 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. 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/RHSA-2014-0038.html |