could not using direct lun
by adam_xu@adagene.com.cn
Hello, everyone. I'm new here. I have created an ovirt last week. Version 4.2.6. there are 3 ovirt node hosts in that cluster. the engine is self-hosted. Everything works OK, but I can not create virtual disk using direct lun.
When I click storage > disk > new, and select direct lun tab, select storage type :"Fibre Channel", it can find the lun id, but the id is grey, and when I click the lun id, I can not click OK to save the Virtual Disk.
I'm using a HPE 3PAR storage device and have granted access to all the 3 hosts in that cluster.
Is there any mistake in my step?
yours Adam
6 years, 3 months
Re: Hosted Engine Upgrades
by Gary Pedretty
Ok that is what I have done in the past, sometimes it works, sometimes the engine ends up corrupted and I have had to re-deploy it.
thanks
Gary
__________________
> On Sep 20, 2018, at 1:48 AM, Jayme <jaymef(a)gmail.com> wrote:
>
> Upgrading the engine is fairly straight forward. What I do is place the cluster in global maintenance mode. Then on the engine vm yum update Ovirt packages then run engine-upgrade. After upgrade I do a general yum update on engine vm to update other non Ovirt packages
>
> On Thu, Sep 20, 2018, 4:07 AM Gary Pedretty, <gary(a)flyravn.com> wrote:
> What is the official recommended method in a Hosted Engine Data Center/Cluster to upgrade the hosted_engine VM. Applying the updates on the individual hosts is pretty straight forward using either the GUI or just running yum update on each host once they are in maintenance mode. But what about the engine? This is an engine vm that was created from the appliance rpm initially. The documentation seems to skip over applying the periodic updates except to the individual hosts.
>
> Thanks
>
> Gary
>
> __________________
>
>
>
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FTHSBZ6L6K6...
6 years, 3 months
Cannot upgrade engine using hosted-engine --upgrade
by Callum Smith
I get a weird error, something to do with the version 4.2, which should be fine!?
--== VM CONFIGURATION ==--
The following appliance have been found on your system:
[1] - The oVirt Engine Appliance image (OVA) - 4.2-20180903.1.el7
[2] - Directly select an OVA file
Please select an appliance (1, 2) [1]:
[ INFO ] Verifying its sha1sum
[ INFO ] Checking OVF archive content (could take a few minutes depending on archive size)
[ INFO ] Checking OVF XML content (could take a few minutes depending on archive size)
Please specify the size of the VM disk in GiB: [50]:
[ INFO ] Connecting to Engine
[ INFO ] The hosted-engine storage domain has enough free space to contain a new backup disk.
[ INFO ] Checking version requirements
[ INFO ] Checking metadata area
[ INFO ] Hosted-engine configuration is at a compatible level
[ INFO ] Connecting to Engine
[ ERROR ] Cluster Default is at version 4.2 which is not supported by this upgrade flow. Please fix it before upgrading.
[ ERROR ] Failed to execute stage 'Environment customization': Unsupported cluster level
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20180920145828.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Hosted Engine upgrade failed
Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180920145733-doc2cu.log
Any ideas on this, attached full logs for detail.
Regards,
Callum
--
Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. callum(a)well.ox.ac.uk<mailto:callum@well.ox.ac.uk>
6 years, 3 months
VM create fails.
by Hari Gowtham
Hi,
After the upgrade of hosted engine to 4.1, the users are not able to
create new VMs, its throwing an error saying user is not a consumer of
the quota.
But the user is associated with the quota and has been consuming it
until the upgrade was done.
The error log from the log message:
2018-09-20 12:23:51,702+05 INFO
[org.ovirt.engine.core.bll.AddVmCommand] (default task-51)
[c1127c2a-29df-456e-825c-878dffac639a] No permission found for user
'6933cd13-ecf8-40f7-a54c-4a81d6b71941' or one of th e groups he is
member of, when running action 'AddVm', Required permissions are:
Action type: 'USER' Action group: 'CONSUME_QUOTA' Object type: 'Quota'
Object ID: '5970bb97-02ee-02f0-00eb-0000000002ce'.
We have created a quota for each user and in the older version, the
users had the ability to set their quota to consume. But with the
upgrade the users don't have the ability to select the quota they want
to consume. We expect this might be were the bug is related to. Need
help to proceed with this.
--
Regards,
Hari Gowtham.
6 years, 3 months
Hosted Engine Upgrades
by Gary Pedretty
What is the official recommended method in a Hosted Engine Data Center/Cluster to upgrade the hosted_engine VM. Applying the updates on the individual hosts is pretty straight forward using either the GUI or just running yum update on each host once they are in maintenance mode. But what about the engine? This is an engine vm that was created from the appliance rpm initially. The documentation seems to skip over applying the periodic updates except to the individual hosts.
Thanks
Gary
__________________
6 years, 3 months
lack feture of ovirt
by adam_xu@adagene.com.cn
Hi, everyone. Is it possible to create a vHBA for a vm in ovirt cluster ?
I once created a vHBA for a vm when I was using a standalone KVM server. the vm works very well and has connected to a FCP storage.
I didn't find any feture in ovirt that support creating vHBA. could any one tell me why ovirt didn't support vHBA, is there any limit of that feture?
thanks.
yours Adam
6 years, 3 months
Export virtual machine failed
by tadeja.saje@arnes.si
Hello!
I would like to export virtual machine, but export failed.
oVirt Engine Version: 4.1.6.2-1.el7.centos
My logs engine.log:
2018-09-21 12:47:19,141+02 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-9) [42178f99-849c-4c65-8695-98c3b2c179ae] EVENT_ID: IMPORTEXPORT_STARTING_EXPORT_VM(1,162), Correlation ID: 42178f99-849c-4c65-8695-98c3b2c179ae, Job ID: 5063deec-4beb-4c24-9fca-8e470baf4152, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Starting export Vm CentOS7 to export
2018-09-21 12:47:19,142+02 INFO [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (org.ovirt.thread.pool-6-thread-9) [42178f99-849c-4c65-8695-98c3b2c179ae] BaseAsyncTask::startPollingTask: Starting to poll task '1ef1b15d-1fb6-4cf6-858c-397a3a4d3ddf'.
2018-09-21 12:47:26,403+02 INFO [org.ovirt.engine.core.bll.tasks.AsyncTaskManager] (DefaultQuartzScheduler5) [77da4762] Polling and updating Async Tasks: 1 tasks, 1 tasks to poll now
2018-09-21 12:47:27,666+02 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (DefaultQuartzScheduler5) [77da4762] Failed in 'HSMGetAllTasksStatusesVDS' method
2018-09-21 12:47:27,670+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler5) [77da4762] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), Correlation ID: null, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: VDSM localhost command HSMGetAllTasksStatusesVDS failed: Error during destination image manipulation: u"image=789e765b-25ee-4114-b1c0-3db581587308, dest domain=a6847eb3-53e2-42b4-9a01-1d7e48aaea85: msg=[Errno 2] No such file or directory: '/rhev/data-center/c0525951-b4e6-4fd8-938d-729396468f68/a6847eb3-53e2-42b4-9a01-1d7e48aaea85/images/789e765b-25ee-4114-b1c0-3db581587308'"
2018-09-21 12:47:27,670+02 INFO [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (DefaultQuartzScheduler5) [77da4762] SPMAsyncTask::PollTask: Polling task '1ef1b15d-1fb6-4cf6-858c-397a3a4d3ddf' (Parent Command 'ExportVm', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') returned status 'finished', result 'cleanSuccess'.
2018-09-21 12:47:27,671+02 ERROR [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (DefaultQuartzScheduler5) [77da4762] BaseAsyncTask::logEndTaskFailure: Task '1ef1b15d-1fb6-4cf6-858c-397a3a4d3ddf' (Parent Command 'ExportVm', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended with failure:
-- Result: 'cleanSuccess'
-- Message: 'VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = Error during destination image manipulation: u"image=789e765b-25ee-4114-b1c0-3db581587308, dest domain=a6847eb3-53e2-42b4-9a01-1d7e48aaea85: msg=[Errno 2] No such file or directory: '/rhev/data-center/c0525951-b4e6-4fd8-938d-729396468f68/a6847eb3-53e2-42b4-9a01-1d7e48aaea85/images/789e765b-25ee-4114-b1c0-3db581587308'", code = 260',
-- Exception: 'VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = Error during destination image manipulation: u"image=789e765b-25ee-4114-b1c0-3db581587308, dest domain=a6847eb3-53e2-42b4-9a01-1d7e48aaea85: msg=[Errno 2] No such file or directory: '/rhev/data-center/c0525951-b4e6-4fd8-938d-729396468f68/a6847eb3-53e2-42b4-9a01-1d7e48aaea85/images/789e765b-25ee-4114-b1c0-3db581587308'", code = 260'
2018-09-21 12:47:27,674+02 INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (DefaultQuartzScheduler5) [77da4762] CommandAsyncTask::endActionIfNecessary: All tasks of command '5b6e23ed-792f-439f-b14a-3d08636a7690' has ended -> executing 'endAction'
2018-09-21 12:47:27,674+02 INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (DefaultQuartzScheduler5) [77da4762] CommandAsyncTask::endAction: Ending action for '1' tasks (command ID: '5b6e23ed-792f-439f-b14a-3d08636a7690'): calling endAction '.
2018-09-21 12:47:27,674+02 INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (org.ovirt.thread.pool-6-thread-45) [77da4762] CommandAsyncTask::endCommandAction [within thread] context: Attempting to endAction 'ExportVm',
2018-09-21 12:47:27,679+02 ERROR [org.ovirt.engine.core.bll.exportimport.ExportVmCommand] (org.ovirt.thread.pool-6-thread-45) [77da4762] Ending command 'org.ovirt.engine.core.bll.exportimport.ExportVmCommand' with failure.
2018-09-21 12:47:27,685+02 ERROR [org.ovirt.engine.core.bll.storage.disk.image.CopyImageGroupCommand] (org.ovirt.thread.pool-6-thread-45) [42178f99-849c-4c65-8695-98c3b2c179ae] Ending command 'org.ovirt.engine.core.bll.storage.disk.image.CopyImageGroupCommand' with failure.
2018-09-21 12:47:27,688+02 INFO [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] (org.ovirt.thread.pool-6-thread-45) [] START, SetVmStatusVDSCommand( SetVmStatusVDSCommandParameters:{runAsync='true', vmId='2b87e9cf-34e1-4062-aa92-41eb4c9da6ce', status='Down', exitStatus='Normal'}), log id: 18d46118
2018-09-21 12:47:27,690+02 INFO [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] (org.ovirt.thread.pool-6-thread-45) [] FINISH, SetVmStatusVDSCommand, log id: 18d46118
2018-09-21 12:47:27,699+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-45) [] EVENT_ID: IMPORTEXPORT_EXPORT_VM_FAILED(1,151), Correlation ID: 42178f99-849c-4c65-8695-98c3b2c179ae, Job ID: 5063deec-4beb-4c24-9fca-8e470baf4152, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed to export Vm CentOS7 to export
Best regards,
Tadeja
6 years, 3 months
VM create with network interface via the API
by Alan Bunch
Hello all and thank you in advance for your help.
I have been able to work out how to add vm via a call to the vms API. I am passing in a template via the api call and that is working. I do not have a network installed in the template. My use case for that was to hit “New vm”, fill in the hostname and network and let cloud-init set the hostname. That way I can create a new vm with just a few clicks.
What I can’t seem to figure out is how to define the network interface in the add vm api call. It looks like I should have to add the network interface in a second call after creation. If I add the interface in the <initialization> section for cloud-init I seems to have a chicken and egg problem. When I add the <initialization> section and the data for the ip address, netmask, default gateway, I get;
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fault>
<detail>[Cannot add VM. Static IPv4 address is missing in cloud-init configuration.]</detail>
<reason>Operation Failed</reason>
</fault>
That would seem to indicate to me that I need and interface before I can configure it. That makes sense. But how do I get an interface before I create the vm ?
What might I be missing?
The desired result is create a vm and set the hostname and ip info via the api so that I get a fully formed vm connected to the network. That gets me to the point of being able to download build scripts to install and start puppet.
Alan
6 years, 3 months
About Local Storage dir
by adam_xu@adagene.com.cn
Hello, everyone. I want to export my vm as a ova to local path of the ovirt node. but I saw something about the local storage in the ovirt document:
https://www.ovirt.org/documentation/admin-guide/chap-Storage/
It said:
Preparing Local Storage
...
Important: On oVirt Node, the path used for local storage must be within the /var directory; create the storage directory in the following procedure within /var
I check the partation of my ovirt nodes. the /var has only 15GB space and the root dir / has 2.1 TB space. that is the default during the ovirt node installation.
question: why the loca storage must be put in the /var directory?
thanks.
yours Adam
6 years, 3 months