I can't create disk with ovirt 4.3.2
by siovelrm@gmail.com
Hello, I just installed ovirt 4.3.2, in Self-Hosted mode, all the same as in previous versions. It happens that when I want to create a disk with a user that is not the admin I get the following error. "Error while executing action Add Disk to VM: Internal Engine Error" This happens to me with all the other users except the admin even when those users are also Super User. Please I need Help. Engine logs say the following
2019-04-05 15: 34: 09,977-04 INFO [org.ovirt.engine.core.bll.storage.disk.AddDiskCommand] (default task-13) [37026e0a-92e6-4bfa-9f0f-f052d9eced2d] Running command: AddDiskCommand internal: false. Entities affected: ID: c76a5059-f891-496a-b45f-7ba7ea878ceb Type: StorageAction group CREATE_DISK with role type USER 2019-04-05 15: 34: 10,002-04 WARN [org.ovirt.engine.core.bll.storage.disk.image.AddImageFromScratchCommand] (default task-13) [37026e0a-92e6-4bfa-9f0f-f052d9eced2d] Validation of action 'AddImageFromScratch' failed for user jdoe @ internal-authz. Reasons: VAR__TYPE__STORAGE__DOMAIN, NON_ADMIN_USER_NOT_AUTHORIZED_TO_PERFORM_ACTION_ON_HE 2019-04-05 15: 34: 10,070-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-13) [37026e0a-92e6-4bfa-9f0f-f052d9eced2d] EVENT_ID: USER_FAILED_ADD_DISK (2,023), Add-Disk operation failed (User: jdoe @ internal-authz). 2019-04-05 15: 34: 10,432-04 INFO [org.ovirt.engine.core.bll.ConcurrentChildCommandsEx
ecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-8) [37026e0a-92e6-4bfa-9f0f-f052d9eced2d] Command ' AddDisk 'id:' 8b10a2b8-3a38-45a4-9c08-7e742eca001b 'child commands' [bcfaa199-dee6-4ae4-9404-9b75cd8e9339]' executions were completed, status' FAILED ' 2019-04-05 15: 34: 11,461-04 ERROR [org.ovirt.engine.core.bll.storage.disk.AddDiskCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-59) [37026e0a-92e6-4bfa-9f0f- f052d9eced2d] Ending command 'org.ovirt.engine.core.bll.storage.disk.AddDiskCommand' with failure. 2019-04-05 15: 34: 11,471-04 ERROR [org.ovirt.engine.core.bll.storage.disk.image.AddImageFromScratchCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-59) [37026e0a-92e6-4bfa- 9f0f-f052d9eced2d] Ending command 'org.ovirt.engine.core.bll.storage.disk.image.AddImageFromScratchCommand' with failure. 2019-04-05 15: 34: 11,493-04 WARN [org.ovirt.engine.core.bll.storage.disk.AddDiskCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-59) [] VM is null
- not unlocking 2019-04-05 15: 34: 11,523-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-59) [] EVENT_ID: USER_ADD_DISK_FINISHED_FAILURE (2,022), Add-Disk operation failed to complete.
5 years, 8 months
assign quota to a user with the api rest services of ovirt
by racolina@softel.cu
Hi
I am running version 4.3.2 of ovirt and I am trying to assign a user to a quota with the services of api rest of ovirt. I can not find any service or reference between the services that help me to make the user assignment to quota.
Please help
Thanks
5 years, 8 months
cinderlib: VM migration fails
by Matthias Leopold
Hi,
after I successfully started my first VM with a cinderlib attached disk
in oVirt 4.3.2 I now want to test basic operations. I immediately
learned that migrating this VM (OS disk: iSCSI, 2nd disk: Managed Block)
fails with a java.lang.NullPointerException (see below) in engine.log.
This even happens when the cinderlib disk is deactivated.
Shall I report things like this here, shall I open a bug report or shall
I just wait because the feature is under development?
thx
Matthias
2019-04-08 12:57:40,250+02 INFO
[org.ovirt.engine.core.common.utils.cinderlib.CinderlibExecutor]
(default task-66) [4ef05101] cinderlib output: {"driver_volume_type":
"rbd", "data": {"secret_type": "ceph", "name":
"ovirt-test/volume-2f053070-f5b7-4f04-856c-87a56d70cd75",
"auth_enabled": true, "keyring": "[client.ovirt-test_user_rbd]\n\tkey =
xxx\n", "cluster_name": "ceph", "secret_uuid": null, "hosts":
["xxx.xxx.216.45", "xxx.xxx.216.54", "xxx.xxx.216.55"], "volume_id":
"2f053070-f5b7-4f04-856c-87a56d70cd75", "discard": true,
"auth_username": "ovirt-test_user_rbd", "ports": ["6789", "6789", "6789"]}}
2019-04-08 12:57:40,256+02 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.AttachManagedBlockStorageVolumeVDSCommand]
(default task-66) [4ef05101] START,
AttachManagedBlockStorageVolumeVDSCommand(HostName = ov-test-04-01,
AttachManagedBlockStorageVolumeVDSCommandParameters:{hostId='59efbbfe-904a-4c43-9555-b544f77bb456',
vds='Host[ov-test-04-01,59efbbfe-904a-4c43-9555-b544f77bb456]'}), log
id: 67d3a79e
2019-04-08 12:57:40,262+02 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.AttachManagedBlockStorageVolumeVDSCommand]
(default task-66) [4ef05101] Failed in
'AttachManagedBlockStorageVolumeVDS' method, for vds: 'ov-test-04-01';
host: 'ov-test-04-01.foo.bar': null
2019-04-08 12:57:40,262+02 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.AttachManagedBlockStorageVolumeVDSCommand]
(default task-66) [4ef05101] Command
'AttachManagedBlockStorageVolumeVDSCommand(HostName = ov-test-04-01,
AttachManagedBlockStorageVolumeVDSCommandParameters:{hostId='59efbbfe-904a-4c43-9555-b544f77bb456',
vds='Host[ov-test-04-01,59efbbfe-904a-4c43-9555-b544f77bb456]'})'
execution failed: null
2019-04-08 12:57:40,262+02 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.AttachManagedBlockStorageVolumeVDSCommand]
(default task-66) [4ef05101] FINISH,
AttachManagedBlockStorageVolumeVDSCommand, return: , log id: 67d3a79e
2019-04-08 12:57:40,310+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-66) [4ef05101] EVENT_ID: VM_MIGRATION_FAILED(65),
Migration failed (VM: ovirt-test01.srv, Source: ov-test-04-03).
2019-04-08 12:57:40,314+02 INFO
[org.ovirt.engine.core.bll.MigrateVmCommand] (default task-66)
[4ef05101] Lock freed to object
'EngineLock:{exclusiveLocks='[4a8c9902-f9ab-490f-b1dd-82d9aee63b5f=VM]',
sharedLocks=''}'
2019-04-08 12:57:40,314+02 ERROR
[org.ovirt.engine.core.bll.MigrateVmCommand] (default task-66)
[4ef05101] Command 'org.ovirt.engine.core.bll.MigrateVmCommand' failed:
org.ovirt.engine.core.common.errors.EngineException: EngineException:
java.lang.NullPointerException (Failed with error ENGINE and code 5001)
2019-04-08 12:57:40,314+02 ERROR
[org.ovirt.engine.core.bll.MigrateVmCommand] (default task-66)
[4ef05101] Exception: javax.ejb.EJBException:
org.ovirt.engine.core.common.errors.EngineException: EngineException:
java.lang.NullPointerException (Failed with error ENGINE and code 5001)
5 years, 8 months
remote-viewer can not display console properly
by pxb@zj.sgcc.com.cn
I installed ovirt 4.2.8 on centos7,hosts and vms runs norml. However, the virtual machine console often does not display properly. When I open the console, only "connected to graphic server" is displayed.
5 years, 8 months
4.3.2 Problem with prestarted vm in pool
by kiv@intercom.pro
Hi all!
Create pool 10 vm from template win10.
Type - automatic
Prestarted vm - 2
Add user UserVM from AD, and add rights - User role.
Login to VM portal under account UserVM - VM shutdown state. If click "run" - then VM starts and works.
In the administration portal 2 vm from this pool in work state.
5 years, 8 months
Re: [oVirt Jenkins] ovirt-system-tests_hc-basic-suite-master - Build # 1068 - Still Failing!
by Gobinda Das
Hi Simone/Ido,
Could you please help me here? Do we need to pass any value specifically
for content_type ?
On Mon, Apr 8, 2019 at 11:45 AM Gobinda Das <godas(a)redhat.com> wrote:
> There is a new field called "content_type" introduced in
> ovirt-ansible-hosted-engine-setup role which is causing problem.
>
> *07:32:47* TASK [ovirt.hosted_engine_setup : Add HE disks] *********************************07:32:48* failed: [localhost] (item={u'content': u'hosted_engine', u'description': u'Hosted-Engine disk', u'sparse': True, u'format': u'raw', u'size': u'61GiB', u'name': u'he_virtio_disk'}) => {"changed": false, "item": {"content": "hosted_engine", "description": "Hosted-Engine disk", "format": "raw", "name": "he_virtio_disk", "size": "61GiB", "sparse": true}, "msg": "Unsupported parameters for (ovirt_disk) module: content_type Supported parameters include: auth, bootable, description, download_image_path, fetch_nested, force, format, id, image_provider, interface, logical_unit, name, nested_attributes, openstack_volume_type, poll_interval, profile, quota_id, shareable, size, sparse, sparsify, state, storage_domain, storage_domains, timeout, upload_image_path, vm_id, vm_name, wait"}
>
>
> Right now I have no clue why it saying Unsupported parameters, In code i can see the content type is constant value i.e. 'hosted_engine','hosted_engine_sanlock','hosted_engine_configuration' and 'hosted_engine_metadata'
>
>
> Ref: https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/commit/94499ec...
>
>
> On Mon, Apr 8, 2019 at 10:19 AM Sahina Bose <sabose(a)redhat.com> wrote:
>
>> Can you review rhis?
>> Both 4.3 and master seem to be failing
>>
>> On Mon, Apr 8, 2019 at 7:33 AM <jenkins(a)jenkins.phx.ovirt.org> wrote:
>> >
>> > Project:
>> http://jenkins.ovirt.org/job/ovirt-system-tests_hc-basic-suite-master/
>> > Build:
>> http://jenkins.ovirt.org/job/ovirt-system-tests_hc-basic-suite-master/1068/
>> > Build Number: 1068
>> > Build Status: Still Failing
>> > Triggered By: Started by timer
>> >
>> > -------------------------------------
>> > Changes Since Last Success:
>> > -------------------------------------
>> > Changes for Build #1066
>> > [Eitan Raviv] hostlib: report host mgmt net and its attachment data
>> >
>> >
>> > Changes for Build #1067
>> > [Eitan Raviv] hostlib: report host mgmt net and its attachment data
>> >
>> >
>> > Changes for Build #1068
>> > [Dominik Holler] basic-suite-master: Use 384MB memory for VM0
>> >
>> > [Evgheni Dereveanchin] Make standard-manual-runner run concurrently
>> >
>> >
>> >
>> >
>> > -----------------
>> > Failed Tests:
>> > -----------------
>> > No tests ran.
>>
>
>
> --
>
>
> Thanks,
> Gobinda
>
--
Thanks,
Gobinda
5 years, 8 months
Trying to reset password for ovirt wiki
by noc
This is a multi-part message in MIME format.
--------------000005070002050708050606
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hoping someone can help me out.
For some reason I keep getting the following error when I try to reset
my password:
Reset password
* Error sending mail: Failed to add recipient: jvandewege(a)nieuwland.nl
[SMTP: Invalid response code received from server (code: 554,
response: 5.7.1 <jvandewege(a)nieuwland.nl>: Relay access denied)]
Complete this form to receive an e-mail reminder of your account details.
Since I receive the ML on this address it is definitely a working address.
Tried my home account too and same error but then for my home provider,
Relay denied ??
A puzzled user,
Joop
--------------000005070002050708050606
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hoping someone can help me out.<br>
For some reason I keep getting the following error when I try to
reset my password:<br>
<br>
<fieldset><legend>Reset password</legend>
<div class="error">
<ul>
<li>Error sending mail: Failed to add recipient:
<a class="moz-txt-link-abbreviated" href="mailto:jvandewege@nieuwland.nl">jvandewege(a)nieuwland.nl</a> [SMTP: Invalid response code
received from server (code: 554, response: 5.7.1
<a class="moz-txt-link-rfc2396E" href="mailto:jvandewege@nieuwland.nl"><jvandewege(a)nieuwland.nl></a>: Relay access denied)]</li>
</ul>
</div>
<p>Complete this form to receive an e-mail reminder of your
account details.<br>
</p>
</fieldset>
<br>
Since I receive the ML on this address it is definitely a working
address.<br>
Tried my home account too and same error but then for my home
provider, Relay denied ??<br>
<br>
A puzzled user,<br>
<br>
Joop<br>
<br>
</body>
</html>
--------------000005070002050708050606--
5 years, 8 months
ovirt-guest-agent issue on rhel5.5
by John Michael Mercado
Hi All,
I need your help. Anyone who encounter the below error and have the
solution? Can you help me how to fix this?
MainThread::INFO::2015-01-27
10:22:53,247::ovirt-guest-agent::57::root::Starting oVirt guest agent
MainThread::ERROR::2015-01-27
10:22:53,248::ovirt-guest-agent::138::root::Unhandled exception in oVirt
guest agent!
Traceback (most recent call last):
File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 132, in ?
agent.run(daemon, pidfile)
File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 63, in run
self.agent = LinuxVdsAgent(config)
File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 371, in
__init__
AgentLogicBase.__init__(self, config)
File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 171, in
__init__
self.vio = VirtIoChannel(config.get("virtio", "device"))
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 150, in
__init__
self._stream = VirtIoStream(vport_name)
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 131, in
__init__
self._vport = os.open(vport_name, os.O_RDWR)
OSError: [Errno 2] No such file or directory:
'/dev/virtio-ports/com.redhat.rhevm.vdsm'
Thanks
5 years, 8 months
[Users] oVirt Workshop at LinuxCon Japan 2012
by Leslie Hawthorn
Hello everyone,
As part of our efforts to raise awareness of and educate more developers
about the oVirt project, we will be holding an oVirt workshop at
LinuxCon Japan, taking place on June 8, 2012. You can find full details
of the workshop agenda on the LinuxCon Japan site. [0]
Registration for the workshop is now open and is free of charge for the
first 50 participants. We will also look at adding additional
participant slots to the workshop based on demand.
Attendees who register for LinuxCon Japan via the workshop registration
link [1] will also be eligible for a discount on their LinuxCon Japan
registration.
Please spread the word to folks you think would find the workshop
useful. If they have already registered for LinuxCon Japan, they can
simply edit their existing registration to include the workshop.
[0] -
https://events.linuxfoundation.org/events/linuxcon-japan/ovirt-gluster-wo...
[1] - http://www.regonline.com/Register/Checkin.aspx?EventID=1099949
Cheers,
LH
--
Leslie Hawthorn
Community Action and Impact
Open Source and Standards @ Red Hat
identi.ca/lh
twitter.com/lhawthorn
5 years, 8 months