Installation Help
by bilal.ahmed@kfueit.edu.pk
Dear Sir
I have successfully installed the ovirt engine and ovirt node separately on
two machines and I have accessed their web portals as well . But I am facing
a problem in its initial configuration that I am unable to add a host and
its installation fails . I am using default data center and default cluster
. Could you please guide what can be the issue , credentials are correct .
I have tried to add both the ovirt engine and ovirt node as a host but
failed.
Bilal Ahmad
Network Administrator
Cell: +92 333 7451870 | Tel: +92 68 5882400 | Ext. 2499
www.kfueit.edu.pk <http://www.kfueit.edu.pk>
<http://www.kfueit.edu.pk/>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
6 years, 9 months
Schema upgrade error while updating 4.2.4 to 4.2.5
by Jan Siml
Hello,
I stumbled across the following bug when upgrading the ovirt engine from
4.2.4 to 4.2.5 (snippet from upgrade log):
Running upgrade sql script
'/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql'...
2018-08-02 09:14:33,116+0200 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
plugin.execute:926 execute-output:
['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p',
'5432', '-u'
, 'engine', '-d', 'engine', '-l',
'/var/log/ovirt-engine/setup/ovirt-engine-setup-20180802091038-xclfnu.log',
'-c', 'apply'] stderr:
psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql:1:
ERROR: insert or update on table "image_transfers" violates foreign key
constraint "fk_image_transfers_command
_enitites"
DETAIL: Key (command_id)=(312f711f-a5c3-477d-8533-82ef88a54b77) is not
present in table "command_entities".
FATAL: Cannot execute sql command:
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql
2018-08-02 09:14:33,117+0200 ERROR
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:434
schema.sh: FATAL: Cannot execute sql command:
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_12
10_add_foreign_key_to_image_transfers.sql
2018-08-02 09:14:33,119+0200 DEBUG otopi.context
context._executeMethod:143 method exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133,
in _executeMethod
method['method']()
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py",
line 436, in _misc
raise RuntimeError(_('Engine schema refresh failed'))
RuntimeError: Engine schema refresh failed
2018-08-02 09:14:33,122+0200 ERROR otopi.context
context._executeMethod:152 Failed to execute stage 'Misc configuration':
Engine schema refresh failed
Are there already instructions on how to deal with this error and does
anyone know why this error occurs?
Kind regards
Jan
6 years, 9 months
UI plugin of billing
by 董青龙
Hi all,
I want to develop an UI plugin for ovirt which aimes at translating metrics to prices like CloudKitty of openstack. Has anyone done it? Can anyone give me some advice? Thanks!
6 years, 9 months
Pool
by suporte@logicworks.pt
I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that pool. Is that possible?
Thanks
Josá
--
Jose Ferradeira
http://www.logicworks.pt
6 years, 9 months
Unable to revive host after a reboot
by Julius Schwartzenberg
Hi,
I recently had to shutdown my oVirt system which contains both the
engine and the host. After it came back up, the host was not able to
initialize anymore from the oVirt UI.
First it kept getting stuck in a loop with setting "ExecutingStarted:
Jul 30, 2018, 9:06:21 AMSetting Host pc331 to Non-Operational mode."
This was being repeated over and over again. It also gave this error:
Host pc331 does not comply with the cluster Default networks, the
following networks are missing on host: 'ovirtmgmt'
Even though I am using that interface (ovirtmgmt) to access the system
and 'ip addr show' shows that it's set up properly.
I tried some more things, including upgrading the host, When I do
that, the status changes to 'Installing' and later to 'Install
Failed'.
Here are the engine.log, vdsm.log and ovirt-host-deploy*.log:
https://drive.google.com/open?id=13vIUDVjPynmAK0pnFRLabDfUlG1lmkpI
https://drive.google.com/open?id=10Zm2dDpxM2k5A2bEs_l6gOv_yWv4cjlN
https://drive.google.com/open?id=1AieWMzRuA0gZj3x5yDH1AGnsT2E3VtOM
Any idea what is going wrong (what I'm doing wrong) and how to solve it?
Thanks in advance!
Best regards,
Julius
6 years, 9 months
Switch from nightly to stable
by Demeter Tibor
Dear users,
Around ovirt 4.2.2 after a bug I had switch to nightly from stable. Its was do applied only on the engine, not compute nodes.
But now I would like to switch back to stable branch.
How is safe that? I just need do remove the nightly repo and update? Need to apply a yum update * before or not?
Please describe me what is the safe procedure.
Thanks in advance,
Regards,
Tibor
6 years, 9 months
Possible to use Console via Mac web browser?
by Jayme
I recall in the past (on a bit older of an oVirt build) I was able to
launch VM consoles from my web browser. I believe it may have been using
spice html5 at the time, is this still possible? Currently launching
console downloads the typical .vv file.
What is currently the best/easiest method to access VM consoles using
MacOS?
6 years, 9 months
Failed with error AcquireHostIdFailure and code 661
by Альбов Леонид
Hi!
Help with importing a storage domain.
I have disconnected the domain from cluster 4.1 and am importing to the new cluster 4.2.
I got an error:
2018-07-25 18:13:54,253+03 WARN [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (default task-30) [fa0fb8c1-7056-4cbd-801a-49b640b78e10] Detaching Storage Domain 'a0e51739-17b4-46c3-a99c-7e14046b6133' from it's previous storage pool '00000000-0000-0000-0000-000000000000' has failed. The meta data of the Storage Domain might still indicate that it is attached to a different Storage Pool.
2018-07-25 18:13:54,253+03 ERROR [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (default task-30) [fa0fb8c1-7056-4cbd-801a-49b640b78e10] Command 'org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand' failed: EngineException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Failed to DetachStorageDomainVDS, error = Cannot acquire host id: (u'a0e51739-17b4-46c3-a99c-7e14046b6133', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')), code = 661 (Failed with error AcquireHostIdFailure and code 661)
--
Альбов Леонид
6 years, 9 months
uploading ISOs
by William Dossett
Hi,
Before I go to the work of making my iso's available to the ovirt-engine so
I can use the iso uploader cli.
I haven't worked with ovirt for a while and the documents still refer to an
ISO domain and engine-iso-uploader the former which I understand is not
required now, just wondered if there was any easier way to upload through
the web UI maybe? I noticed an upload button under images. could that be
used for ISOs?
I remember that was something that put me off slightly working with Ovirt
last time was the number of steps I had to take to get an ISO available to
build a VM from, but if that's still the way I will soldier on.
Thanks
Bill
6 years, 9 months
Trouble connecting to IDRAC7
by Jayme
I just enabled power management/fencing successfully on two of my hosts
(Dell poweredge R720s with Idrac 7) but am failing to add the third. I
enter the IP and user/pass like the others, it takes 15 seconds or so they
spits out "Test Failed: Internal JSON-RPC error"
I tried resetting the IDRAC on that server. I can also ping it and access
it fine in a web browser. I can ping it from the host as well.
Is there any configuration in IDRAC that could be blocking the fence
attempt or any logs in oVirt I can look at to figure out what might be
happening with the connection?
I see there is a "fence_idrac" command on the hosts but unsure what
switches to use with it to test.
Thanks!
6 years, 9 months
Primary passthrough: QXL gets dosent disabled on boot Windows 10
by Alexis Enrrique Gavidia Albornoz
when the VM boots with the real GPU attached, the emulated QXL graphics gets disabled by windows itself., Moreover, you can install windows 7 running on QXL, then install the real GPU drivers and the QXL will be turned off by windows, why with WIndows 10 dose not ocure the same behaivor, i want to use my Quadro k2200 as the primary board.
br Alexis E Gavidia A
[cid:3eb0e384-752e-449d-b5d2-dabc1d22cb4f]
[cid:f3eecd6f-2333-4d03-9cfc-656de75f4050]
6 years, 9 months
Error trying out the new VDO dedupe/compression settings in cockpit
by Jayme
PLAY [gluster_servers]
*********************************************************
TASK [Create VDO with specified size]
******************************************
failed: [HOST] (item={u'disk': u'/dev/sda', u'logicalsize': u'17000G',
u'name': u'vdo_sda'}) => {"changed": false, "err": "usage: vdo create [-h]
-n <volume> --device <devicepath>\n [--activate
{disabled,enabled}]\n [--blockMapCacheSize <megabytes>]\n
[--blockMapPeriod <period>]\n
[--compression {disabled,enabled}]\n [--deduplication
{disabled,enabled}]\n [--emulate512 {disabled,enabled}]
[--force]\n [--indexMem <gigabytes>] [--readCache
{disabled,enabled}]\n [--readCacheSize <megabytes>]\n
[--sparseIndex {disabled,enabled}]\n
[--vdoAckThreads <threadCount>]\n
[--vdoBioRotationInterval <ioCount>]\n [--vdoBioThreads
<threadCount>]\n [--vdoCpuThreads <threadCount>]\n
[--vdoHashZoneThreads <threadCount>]\n
[--vdoLogicalSize <megabytes>]\n [--vdoLogicalThreads
<threadCount>]\n [--vdoLogLevel
{critical,error,warning,notice,info,debug}]\n
[--vdoPhysicalThreads <threadCount>]\n [--vdoSlabSize
<megabytes>]\n [--writePolicy {async,sync,auto}] [-f
<file>]\n [--logfile <pathname>] [--verbose]\nvdo create:
error: argument --vdoSlabSize: must be an LVM-style size string\n", "item":
{"disk": "/dev/sda", "logicalsize": "17000G", "name": "vdo_sda"}, "msg":
"Creating VDO vdo_sda failed.", "rc": 2}
failed: [HOST] (item={u'disk': u'/dev/sdb', u'logicalsize': u'17000G',
u'name': u'vdo_sdb'}) => {"changed": false, "err": "usage: vdo create [-h]
-n <volume> --device <devicepath>\n [--activate
{disabled,enabled}]\n [--blockMapCacheSize <megabytes>]\n
[--blockMapPeriod <period>]\n
[--compression {disabled,enabled}]\n [--deduplication
{disabled,enabled}]\n [--emulate512 {disabled,enabled}]
[--force]\n [--indexMem <gigabytes>] [--readCache
{disabled,enabled}]\n [--readCacheSize <megabytes>]\n
[--sparseIndex {disabled,enabled}]\n
[--vdoAckThreads <threadCount>]\n
[--vdoBioRotationInterval <ioCount>]\n [--vdoBioThreads
<threadCount>]\n [--vdoCpuThreads <threadCount>]\n
[--vdoHashZoneThreads <threadCount>]\n
[--vdoLogicalSize <megabytes>]\n [--vdoLogicalThreads
<threadCount>]\n [--vdoLogLevel
{critical,error,warning,notice,info,debug}]\n
[--vdoPhysicalThreads <threadCount>]\n [--vdoSlabSize
<megabytes>]\n [--writePolicy {async,sync,auto}] [-f
<file>]\n [--logfile <pathname>] [--verbose]\nvdo create:
error: argument --vdoSlabSize: must be an LVM-style size string\n", "item":
{"disk": "/dev/sdb", "logicalsize": "17000G", "name": "vdo_sdb"}, "msg":
"Creating VDO vdo_sdb failed.", "rc": 2}
to retry, use: --limit @/tmp/tmpQQ9t92/vdo-create.retry
PLAY RECAP
*********************************************************************
HOST : ok=0 changed=0 unreachable=0 failed=1
6 years, 9 months
template disk attribute in version 4 restapi
by like.ma@cs2c.com.cn
Hi All,
In the restapi of version 3, there is bootable attribute in disk. But in version 4, the bootable attribute is removed from disk. For vm i can get bootable attribute from diskattachment. But there is no diskattachment in template. So, is there any way in the restapi of version 4 that i can know if the disk of the template is bootable or not?
Thanks
Regards.
like.ma(a)cs2c.com.cn
6 years, 9 months
Data Recovery from snapshot
by Jim Kusznir
Hi:
With yet another gluster disk failure / gluster collapse, it appears I lost
the "main" backing image for one of my vm servers. I have snapshots still
in tact (or at least, appear to be), but the main image is gone.
The main server process stores a backup at regular intervals in its disk,
and that would have been changed data, so it would be in the snapshot
rather than the base image. Is there any way to recover this one .tar.gz
file from the snapshot with the missing main image? This is a backup of
dynamic data, and without it, I will have lost several customers data, some
of which cannot be recreated/regenerated.
it also appears that my backup (gluster geo-replication) did not work (had
crashed a while ago, and has a very old backup of this image).
--Jim
6 years, 9 months
[No question] NFS disabled, hosts wandering tearful
by Nicolas Ecarnot
Hello,
This is a simple testimony about what happened yesterday in one of our DC.
This DC runs on a dedicated bare-metal engine, oversized compared to the
need, thus I've added a NFS service on it to host a small storage domain
and the ISO storage domain.
Yesterday, after having received the colorful announce about the 4.2.5
version, I decided to upgrade.
As our engine was still on a CentOS 7.4, I first upgraded its OS version
to 7.5, then reboot. Smooth.
Then I followed the very usual oVirt engine upgrade path. Smooth.
Eventually, I upgraded the hosts with ovirt-ansible-cluster-upgrade as
usual.
The result was frightening because the hosts were put in maintenance,
upgraded, back to life, seen unavailable, unreachable, connecting,
alive, rebooted, then back to another turn and looping...
During this, the SPM role was obviously jumping around, and that did not
help the debug.
In the end, it appeared that something during an upgrade stopped and
disabled the NFS service. My hosts partially relied on it, so after
having restarted the NFS service, all came back to life.
The NFS disabling may come from the CentOS upgrade, except if someone
tells me it could come from something on the oVirt side?
I'm sure the RH people will advice me not to run NFS on the engine, but
apart this event, I had no trouble doing this in years.
Regards,
--
Nicolas ECARNOT
6 years, 9 months
Adding custom network filter to oVirt
by Peter
I can see from the libvirt docs how to create a new network filter (to block STP broadcasts in my case), but how do I add that filter to the vNIC list in oVirt?
6 years, 9 months
Re: adding hosts problems with GlusterFS
by Jayme
I think we are in a race to see who can get a new HCI setup built faster.
There have been a few hurtles along the way :)
On Tue, Jul 31, 2018, 6:53 AM Bill Dossett, <bill.dossett(a)pb.com> wrote:
> Hmm, resounding silence…. Have attached a screen shot of the host storage
> devices on the host I added after the initial deployment. So at the bottom
> you can see that sdb – sdg are all locked and FS type is multipath_member
> those all equate to the UID type NAME at the top. The very top row, I
> created a brick, so it is also now locked, however when I go to brick view
> there is no brick. I also can’t seem to delete any brick one it is created
> either. On the first 3 hosts, sdb – sdg are all unlocked and I can create
> bricks… going to remove a host and re-add it to see if there is anything I
> am missing, but I don’t have any other ideas at this point.
>
>
>
>
>
>
>
> Regards, Bill
>
>
>
> *Bill Dossett*
>
> DevOps Ninja
>
> AWS-DevOps-Pro
> <https://aws.amazon.com/certification/certified-devops-engineer-professional/>
> , AWS-SA-A
> <https://aws.amazon.com/certification/certified-solutions-architect-associ...>
> VCAP-DCA
> <http://mylearn.vmware.com/mgrReg/plan.cfm?plan=30483&ui=www_cert>,
> VCAP-DCD
> <http://mylearn.vmware.com/mgrReg/plan.cfm?plan=30484&ui=www_cert>, MCSA
> Win Server
>
>
>
> *IT – Software Innovation Solutions*
>
>
>
> *M* +1 303-725 8163
>
> bill.dossett(a)pb.com
>
> pitneybowes.com
>
>
> *Pitney Bowes*
>
> 4750 Walnut Street
>
> Boulder CO, 80301
>
> [image: sis]
>
> Learn more about Software Innovation Solutions
> <http://teamsite.inside.pb.com/sites/TCPPM/GES/SitePages/Home.aspx>
>
>
>
> In Engineering, Software Support or Professional Services?
>
> *Raise a ticket via Remedy Anywhere [HERE
> <http://teamsite.inside.pb.com/sites/TCPPM/GES/Lists/Create%20Incident/new...>]
> takes less than a minute*
>
>
>
> *CloudForms User Guide available [HERE
> <https://teamsite.inside.pb.com/sites/TCPPM/GES/SiteAssets/TC%20Knowledge%...>]*
>
>
>
>
>
>
> _______________________________________________
> 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/AR3D4HLVTAQ...
>
6 years, 9 months
Adding custom network filter to oVirt
by laniman1@laniman.net
I can see from the libvirt docs how to create a new network filter (to block STP broadcasts in my case), but how do I add that filter to the vNIC list in
oVirt?
6 years, 9 months