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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 months
Migrating Legacy Hyperconverged Legacy switch type to OVS
by Mike
Spent the better part of a day trying to figure out how to bridge OVN networks with physical networks, only to later find out that "Attach to physical network" has zero effect in a Legacy cluster... which started me down the rabbit hole of "how do I switch the Default cluster to be OVS"
Then, I come up with the bright idea that I'm going to create a new OVS cluster and migrate all the hosts there, well in order to do that you might:
1. Put the Host into maintenance
2. Install to UNDEPLOY the hosted engine
3. Remove the host from the cluster
4. Add the host to the new OVS cluster
However this has a nasty bug where the required networks won't ever sync I believe because of some QoS settings (even though I haven't set that), so host is not able to reach gluster storage, and this was not one of the 3 replicas, it was just a client
So moving on just to test the waters with another angle, I UNDEPLOY on one of the gluster servers, and then and only then after waiting however long it took to install/undeploy, does it tell me that It can't remove this host from the cluster because it holds gluster volumes.........
How in the heck can I migrate what I have on Default to use native OVS?
Let's say I started fresh (I'm using oVirt Node 4.2.5) since I have that option....I don't ever recall there being an option to select OVS as the hosted-engine switch type, and it of course sets up the Default cluster for you - which is the one I'm having issues with because it's legacy by default.
Thanks
6 years, 4 months
AAA question...takes long time to log in
by sipandbite@hotmail.com
I work at a company with a massive AD infrastructure. Is there any way to specify a specific OU to search through instead of just providing a top level DN? We use sssd for all our authing needs on our linux machines and would like to do something like below:
ldap_user_search_base = OU=Employees,OU=blah users,DC=blah,DC=com
enumerate = false
When I connect on cli it looks like Ovirt is reaching out and grabbing a ton of info it doesn't really need. It takes on average 40 second to allow me to log in on CLI or UI. This is not an AD issue as we use AD on everything in our labs and have no issues with speed.
I applied these changes and it didn't speed anything up.
https://ovirt.org/develop/release-management/features/infra/aaa_faq/
I can see from a tcpdump that I am in fact hitting my local AD servers and not going across the world to get an answer.
Thanks!
6 years, 4 months
Direct LUNs and VM Pauses
by Ryan Bullock
Hello All,
We recently stood up a new Ovirt install backed by an ISCSI SAN and it has
been working great, but there are a few quirks I am trying to iron out.
We have run into an issue where when we fail-over our SAN (for maintenance,
or otherwise) any VM with a Direct LUN gets paused and doesn’t resume. VMs
without a direct LUN never paused. Digging through posts on this list and
reading some bug reports, it seems like this a known quirk with how Ovirt
handles Direct LUNs (it doesn't monitor the LUNs and so it wont resume the
VM). To get the VMs to automatically restart I have attached VM leases to
them and that seems to work fine, not as nice as a pause and resume, but it
minimizes downtime.
What I’m trying to understand is why the VMs with Direct LUNs paused, and
ones without didn’t. My only speculation is that since the Non-Direct is
using LVM on top of ISCSI, that LVM is adding its own layer of timeouts
that cause it to mask the outage?
My other question is, how can I keep my VMs with Direct LUNs from pausing
during short outages? Can I put configurations in my multipath.conf for
just the wwids of my Direct LUNs to increase the ‘no_path_retry’ to prevent
the VMs from pausing in the first place? I know in general you don’t want
to increase the ‘no_path_retry’ because it can cause timeout issues with
VDSM and SPM operations (LVM changes, etc). But in the case of a Direct LUN
would it cause any problems?
Thank you,
Ryan
6 years, 4 months