4.1 appliance yum install fails
by Michael Hall
Note: screenshot attached.
I installed an oVirt node 4.1, then attempted to install oVirt engine on
that using ovirt-hosted-engine-setup The installer downloads the appliance
RPM, but installation fails due to missing GPG key. Installation fails
whether I answer yes or no to "Use this key?" question. There is what
appears to be an oVirt key in /etc/pki/rpm-gpg.
Have I missed something?
Thanks, Mike
7 years, 6 months
Error in attaching export storage domain
by shubham dubey
I have a export storage domain myexport in dc0 with one vm moved to it.Now
when I am trying to
detach it and attach it to another datacenter dc1, I am getting following
error:
017-05-20 16:52:31,694+05 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-7-thread-25) [72a6de4f] EVENT_ID:
VDS_STORAGES_CONNECTION_FAILED(188), Correlation ID: null, Call Stack:
null, Custom Event ID: -1, Message: Failed to connect Host node2dc1 to the
Storage Domains myexport.
2017-05-20 16:52:31,694+05 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
(org.ovirt.thread.pool-7-thread-25) [72a6de4f] FINISH,
ConnectStorageServerVDSCommand, return:
{b7acd809-af92-4c6d-84c5-327550208bf1=477}, log id: 4f995793
2017-05-20 16:52:31,699+05 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-7-thread-25) [72a6de4f] EVENT_ID:
STORAGE_DOMAIN_ERROR(996), Correlation ID: null, Call Stack: null, Custom
Event ID: -1, Message: The error message for connection
192.168.122.145:/mnt/exportsd
returned by VDSM was: Problem while trying to mount target
2017-05-20 16:52:31,701+05 ERROR
[org.ovirt.engine.core.bll.storage.connection.BaseFsStorageHelper]
(org.ovirt.thread.pool-7-thread-25) [72a6de4f] The connection with details
'192.168.122.145:/mnt/exportsd' failed because of error code '477' and
error message is: problem while trying to mount target
2017-05-20 16:52:31,706+05 ERROR
[org.ovirt.engine.core.bll.storage.connection.ConnectStorageToVdsCommand]
(org.ovirt.thread.pool-7-thread-25) [72a6de4f] Transaction rolled-back for
command
'org.ovirt.engine.core.bll.storage.connection.ConnectStorageToVdsCommand'.
2017-05-20 16:52:31,707+05 ERROR
[org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand]
(org.ovirt.thread.pool-7-thread-27) [96ebeffb-dffa-4bdb-bea7-ffa330f8374d]
Cannot connect storage connection server, aborting attach storage domain
operation.
2017-05-20 16:52:31,708+05 INFO
[org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand]
(org.ovirt.thread.pool-7-thread-27) [96ebeffb-dffa-4bdb-bea7-ffa330f8374d]
Command [id=d5ed8604-ae17-4d61-b5a2-929b36bf0e64]: Compensating
NEW_ENTITY_ID of
org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot:
StoragePoolIsoMapId:{storagePoolId='eee50640-deea-4668-8168-a9f31a8bc006',
storageId='04e2444d-990e-48b1-957b-833375ba7b3d'}.
2017-05-20 16:52:31,752+05 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-7-thread-27) [96ebeffb-dffa-4bdb-bea7-ffa330f8374d]
EVENT_ID: USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Correlation ID:
96ebeffb-dffa-4bdb-bea7-ffa330f8374d, Job ID:
7538f0a0-90b6-414f-a62d-3d6a3287349a, Call Stack: null, Custom Event ID:
-1, Message: Failed to attach Storage Domain myexport to Data Center dc1.
(User: admin@internal-authz)
Thanks,
Shubham
7 years, 6 months
unable to install ovirt-node-ng 3.6
by Sachar de Vries
Hello,
I am trying to upgrade a cluster from 3.5 -> 3.6 -> 4.0. The engine is
currently on the 3.6 release but I seem unable to upgrade the ovirt-nodes
(thin hypervisors) to 3.6.
When trying a fresh install (clean bare metal server) using the
ovirt-node-ng-installer-ovirt-3.6-201606052403.iso the install fails at the
end with the following error:
>
> error: sum of all thin volume sizes (495.16 GB) exceeds the side of thin
> pool onn/pool00 and the size of the whole volume group (465.24GB)
This is when having the installer choose the partition schema. However when
I try to install using a manual partition schema based on the schema
recommendation it still fails.
The 4.x installer works fine, but I don't think I can use this since I will
have to upgrade to the cluster to 3.6 with el7 hosts firsts?
Any workarounds that I can try to get 3.6 installed?
Thanks
7 years, 6 months
4.1 appliance install fails due to missing GPG key
by Michael Hall
Note: screenshot attached.
I installed an oVirt node 4.1, then attempted to install oVirt engine on
that using ovirt-hosted-engine-setup The installer downloads the appliance
RPM, but installation fails due to missing GPG key. Installation fails
whether I answer yes or no to "Use this key?" question. There is what
appears to be an oVirt key in /etc/pki/rpm-gpg.
Have I missed something?
Thanks, Mike
7 years, 6 months
Moved VM from DC_A to DC_B manually
by 张 余歌
--_000_CY4PR11MB1671C63B7BE923B61CA9A19190FB0CY4PR11MB1671namp_
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
SGksbXkgZnJpZW5kcy5JZiBEQ19BIGhhcyBzb21lIHZtcyBvbiBhIGNsdXN0ZXIsSSB3YW50IHRv
IGNvcHkgdGhlIHZtcyB0byBhbm90aGVyIERDKGxpa2UgYXMgRENfQixpdCBpcyBhIGxvY2FsX2Rh
dGFjZW50cmUpIG1hbnVhbGx5LGJ1dCBJIGhhdmUgbm8gaWRlYSB0byBkbyBpdC5Xb3VsZCB5b3Ug
bGlrZSB0byBoZWxwIG1lID90aGFua3MNCkJlc3QgcmVnYXJkcy4NCk1heA0KDQpHZXQgT3V0bG9v
ayBmb3IgQW5kcm9pZDxodHRwczovL2FrYS5tcy9naGVpMzY+DQoNCg==
--_000_CY4PR11MB1671C63B7BE923B61CA9A19190FB0CY4PR11MB1671namp_
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dgb2312">
</head>
<body>
<p dir=3D"auto" style=3D" text-align: left; margin-top: 25px; margin-bottom=
: 25px; font-family: sans-serif; font-size: 11pt; color: black; background-=
color: white ">
Hi,my friends.If DC_A has some vms on a cluster,I want to copy the vms to a=
nother DC(like as DC_B,it is a local_datacentre) manually,but I have no ide=
a to do it.Would you like to help me ?thanks<br>
Best regards.<br>
Max</p>
<p dir=3D"auto" style=3D" text-align: left; margin-top: 25px; margin-bottom=
: 25px; font-family: sans-serif; font-size: 11pt; color: black; background-=
color: white ">
</p>
<p dir=3D"auto" style=3D" text-align: left; margin-top: 25px; margin-bottom=
: 25px; font-family: sans-serif; font-size: 11pt; color: black; background-=
color: white ">
Get <a href=3D"https://aka.ms/ghei36">Outlook for Android</a></p>
<br>
<p></p>
</body>
</html>
--_000_CY4PR11MB1671C63B7BE923B61CA9A19190FB0CY4PR11MB1671namp_--
7 years, 6 months
Re: [ovirt-users] How to use virt-sysprep
by Joel Diaz
I ran yum update on my three host and the engine VM so I believe an up to
date on all the packages. How can I check if I am on version 4.1.2?
I restarted the httpd and ovirt-engine service after the updates, but still
don't the seal option.
Thanks,
On May 19, 2017 11:49 AM, "Arik Hadas" <ahadas(a)redhat.com> wrote:
On Fri, May 19, 2017 at 4:10 PM, Joel Diaz <mrjoeldiaz(a)gmail.com> wrote:
> Arik,
>
> Very cool. It's exactly what I was looking for.
>
> However, I don't see that checkbox. I've attached an image of what the
> template window looks like on my end. Maybe I'm looking in the wrong place?
>
No , you're looking at the right place. This feature got in pretty late in
the release cycle of 4.1, so it is available from 4.1.2. Maybe the version
you are using is lower than that?
>
> Thanks for the response,
>
> On May 18, 2017 12:29 PM, "Arik Hadas" <ahadas(a)redhat.com> wrote:
>
>>
>>
>> On Thu, May 18, 2017 at 10:40 AM, Luca 'remix_tj' Lorenzetto <
>> lorenzetto.luca(a)gmail.com> wrote:
>>
>>> Hello Joel,
>>>
>>> as far as i know, virt-sysprep has to be executed inside the VM before
>>> cloning it to template. This removes some infos from the VM like udev
>>> rules & ssh keys.
>>>
>>>
>> So this has changed in 4.1. You can now choose to seal a template during
>> its creation. This will take a VM, that may have not been sealed, create a
>> template out of it and then invoke virt-sysprep on the template's disks.
>>
>> Joel, in the 'make template' dialog you'll see a checkbox (at the bottom)
>> for 'Seal Template' that will do the trick. There is also a 'seal'
>> parameter in the REST-API, of course [1].
>>
>> [1] https://github.com/oVirt/ovirt-engine-api-model/blob/mas
>> ter/src/main/java/services/TemplatesService.java#L168
>>
>>
>>>
>>> Luca
>>>
>>> On Wed, May 17, 2017 at 8:53 PM, Joel Diaz <mrjoeldiaz(a)gmail.com> wrote:
>>> > Good afternoon ovirt users,
>>> >
>>> > I'm new to ovirt. I've created templates in the past using this guide,
>>> > https://github.com/rharmonson/richtech/wiki/CentOS-7-1511-Mi
>>> nimal-oVirt-Template
>>> > .
>>> >
>>> > I was going over the list of features and stumbled on to virt-sysprep.
>>> >
>>> > http://www.ovirt.org/develop/release-management/features/virt-sysprep/
>>> >
>>> > http://libguestfs.org/virt-sysprep.1.html
>>> >
>>> > How can I use virt-sysprep from within ovirt to create templates?
>>> >
>>> > Thank you for your help,
>>> >
>>> > Joel
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Joel
>>> >
>>> >
>>> > _______________________________________________
>>> > Users mailing list
>>> > Users(a)ovirt.org
>>> > http://lists.ovirt.org/mailman/listinfo/users
>>> >
>>>
>>>
>>>
>>> --
>>> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
>>> calcoli che potrebbero essere affidati a chiunque se si usassero delle
>>> macchine"
>>> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>>>
>>> "Internet è la più grande biblioteca del mondo.
>>> Ma il problema è che i libri sono tutti sparsi sul pavimento"
>>> John Allen Paulos, Matematico (1945-vivente)
>>>
>>> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
>>> lorenzetto.luca(a)gmail.com>
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>>
7 years, 6 months
add direct LUN disk to a VM with python SDK
by Guy Chen
------=_Part_9958888_908590827.1495020114002
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
I am trying to add direct LUN disk to a VM with python ovirtsdk4 ( storage domain is iscsi ) .
Adding a COW disk is working as in the SDK example, attached below, i have tried different things that i saw online but did not work, anybody have an example of how to add a direct LUN disk ?
def add_VM_disk( self ):
vms_service = self .connection.system_service().vms_service()
vm = vms_service.list( search = 'name=myvm' )[ 0 ]
# Locate the service that manages the disk attachments of the virtual
# machine:
disk_attachments_service = vms_service.vm_service(vm.id).disk_attachments_service()
# Use the "add" method of the disk attachments service to add the disk.
# Note that the size of the disk, the `provisioned_size` attribute, is
# specified in bytes, so to create a disk of 10 GiB the value should
# be 10 * 2^30.
disk_attachment = disk_attachments_service.add(
types.DiskAttachment(
disk =types.Disk(
name = 'mydisk' ,
description = 'My disk' ,
format =types.DiskFormat.COW,
provisioned_size = 10 * 2 ** 30 ,
),
interface =types.DiskInterface.VIRTIO,
bootable = False ,
active = True ,
),
)
------=_Part_9958888_908590827.1495020114002
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: times new roman, new york, times, se=
rif; font-size: 12pt; color: #000000"><div><span style=3D"font-size: 12pt;"=
><br></span></div><div><span style=3D"font-size: 12pt;">I am trying to add =
direct LUN disk to a VM with python ovirtsdk4 ( storage domain is iscsi ) .=
</span></div><div>Adding a COW disk is working as in the SDK example, attac=
hed below, i have tried different things that i saw online but did not work=
, anybody have an example of how to add a direct LUN disk ?</div><div>=
<br></div><div><span data-mce-style=3D"color: #000080; font-weight: bold;" =
style=3D"font-family: "DejaVu Sans Mono"; font-size: 9.2pt; color=
: rgb(0, 0, 128); font-weight: bold;">def </span><span style=3D"background-=
color: rgb(255, 255, 255); font-family: "DejaVu Sans Mono"; font-=
size: 9.2pt;">add_VM_disk(</span><span data-mce-style=3D"color: #94558d;" s=
tyle=3D"font-family: "DejaVu Sans Mono"; font-size: 9.2pt; color:=
rgb(148, 85, 141);">self</span><span style=3D"background-color: rgb(255, 2=
55, 255); font-family: "DejaVu Sans Mono"; font-size: 9.2pt;">):<=
/span></div><div><pre style=3D"background-color: #ffffff; font-family: 'Dej=
aVu Sans Mono'; font-size: 9.2pt;" data-mce-style=3D"background-color: #fff=
fff; font-family: 'DejaVu Sans Mono'; font-size: 9.2pt;"><br> vms_servic=
e =3D <span style=3D"color: #94558d;" data-mce-style=3D"color: #94558d;">se=
lf</span>.connection.system_service().vms_service()<br> vm =3D vms_servi=
ce.list(<span style=3D"color: #660099;" data-mce-style=3D"color: #660099;">=
search</span>=3D<span style=3D"color: #008000; font-weight: bold;" data-mce=
-style=3D"color: #008000; font-weight: bold;">'name=3Dmyvm'</span>)[<span s=
tyle=3D"color: #0000ff;" data-mce-style=3D"color: #0000ff;">0</span>]<br><d=
iv><br></div> <span style=3D"color: #808080; font-style: italic;" data-m=
ce-style=3D"color: #808080; font-style: italic;"># Locate the service that =
manages the disk attachments of the virtual<br></span><span style=3D"color:=
#808080; font-style: italic;" data-mce-style=3D"color: #808080; font-style=
: italic;"> # machine:<br></span><span style=3D"color: #808080; font-sty=
le: italic;" data-mce-style=3D"color: #808080; font-style: italic;"> </s=
pan>disk_attachments_service =3D vms_service.vm_service(vm.id).disk_attachm=
ents_service()<br><div><br></div> <span style=3D"color: #808080; font-st=
yle: italic;" data-mce-style=3D"color: #808080; font-style: italic;"># Use =
the "add" method of the disk attachments service to add the disk.<br></span=
><span style=3D"color: #808080; font-style: italic;" data-mce-style=3D"colo=
r: #808080; font-style: italic;"> # Note that the size of the disk, the =
`provisioned_size` attribute, is<br></span><span style=3D"color: #808080; f=
ont-style: italic;" data-mce-style=3D"color: #808080; font-style: italic;">=
# specified in bytes, so to create a disk of 10 GiB the value should<br=
></span><span style=3D"color: #808080; font-style: italic;" data-mce-style=
=3D"color: #808080; font-style: italic;"> # be 10 * 2^30.<br></span><spa=
n style=3D"color: #808080; font-style: italic;" data-mce-style=3D"color: #8=
08080; font-style: italic;"> </span><span style=3D"color: #808080;" data=
-mce-style=3D"color: #808080;">disk_attachment </span>=3D disk_attachments_=
service.add(<br> types.DiskAttachment(<br> <span style=3D=
"color: #660099;" data-mce-style=3D"color: #660099;">disk</span>=3Dtypes.Di=
sk(<br> <span style=3D"color: #660099;" data-mce-style=3D"co=
lor: #660099;">name</span>=3D<span style=3D"color: #008000; font-weight: bo=
ld;" data-mce-style=3D"color: #008000; font-weight: bold;">'mydisk'</span>,=
<br> <span style=3D"color: #660099;" data-mce-style=3D"color=
: #660099;">description</span>=3D<span style=3D"color: #008000; font-weight=
: bold;" data-mce-style=3D"color: #008000; font-weight: bold;">'My disk'</s=
pan>,<br> <span style=3D"color: #660099;" data-mce-style=3D"=
color: #660099;">format</span>=3Dtypes.DiskFormat.COW,<br> <=
span style=3D"color: #660099;" data-mce-style=3D"color: #660099;">provision=
ed_size</span>=3D<span style=3D"color: #0000ff;" data-mce-style=3D"color: #=
0000ff;">10 </span>* <span style=3D"color: #0000ff;" data-mce-style=3D"colo=
r: #0000ff;">2 </span>** <span style=3D"color: #0000ff;" data-mce-style=3D"=
color: #0000ff;">30</span>,<br> ),<br> <span style=3D=
"color: #660099;" data-mce-style=3D"color: #660099;">interface</span>=3Dtyp=
es.DiskInterface.VIRTIO,<br> <span style=3D"color: #660099;" dat=
a-mce-style=3D"color: #660099;">bootable</span>=3D<span style=3D"color: #00=
0080; font-weight: bold;" data-mce-style=3D"color: #000080; font-weight: bo=
ld;">False</span>,<br> <span style=3D"color: #660099;" data-mce-=
style=3D"color: #660099;">active</span>=3D<span style=3D"color: #000080; fo=
nt-weight: bold;" data-mce-style=3D"color: #000080; font-weight: bold;">Tru=
e</span>,<br> ),<br> )</pre></div><div><br></div><div><br></div><=
div><br></div></div></body></html>
------=_Part_9958888_908590827.1495020114002--
7 years, 6 months
Permissions to Import VMs
by Peter Wood
Hi,
I have a group of local users with permissions to create VMs, templates,
and VMs from templates. They are allowed to work only in one of the
clusters in the datacenter.
Now I want one of the local users to be able to import VMs and convert them
into templates and I just can't find the recipe for that.
The group has these permissions:
LocalUsersGroup -> [PowerUserRole] -> DEV1 (Cluster)
LocalUsersGroup -> [PowerUserRole] -> SAN (Storage)
LocalUsersGroup -> [TemplateCreator] -> OFFICE (Datacenter)
LocalUserA is part of LocalUsersGroup and should be able to:
- Import a VM
- Convert the VM to a template for everyone to use
- Delete the VM
I tried this: LocalUserA -> [VmImporterExporter] -> System
LocalUserA can now import VMs and convert them to templates but it can't
delete the imported VMs. For some reason [UserVmManager] role is not
assigned to LocalUserA on the VMs that were imported.
Before I start messing around I'd appreciate somebody's else opinion on how
this should be done.
Thank you for your time,
-- Peter
7 years, 6 months
Re: [ovirt-users] Internet access for oVirt Nodes?
by Ryan Barry
On Mon, May 15, 2017 at 5:00 AM, <users-request(a)ovirt.org> wrote:
>
> hi,
>
> do hypervisors, that are running oVirt Node (not standard CentOS/RHEL),
> need internet access for updates or can they be in a private, non routed
> network (and updates happen via engine)? it seems the latter is the
> case, but i want to be sure
>
> thx
> matthias
Engine isn't very particular about updating in this case. As long as any
repository is configured where 'yum check-update
ovirt-node-ng-image-update' is true, upgrades from engine will work.
In general, otopi's miniyum is a bit smarter than base yum, so
'check-update ...' is not always a reliable mechanism to verify this, but
yes, a local repo in a non-routed network which presents the update will
show an update from engine.
7 years, 6 months
oVirt Power Management with Cisco UCS C220 M4S
by Abi Askushi
Hi All,
For anyone that might stumble on a Cisco UCS C220 M4S and wondering how to
configure power management. below are the steps to configure it, as it took
me some hours to figure it out...
1. enable IPMI on server. (Cisco has this documented)
2. at ovirt GUI, edit host -> power management, then select "ipmilan" and
add *lanplus=1* as an option. (the bold one was the tricky part)
To test from command line:
ipmitool -I lanplus -H <your IP> -U admin -P somepass -v chassis power
status
It will give the response: "Chassis Power is on"
Alex
7 years, 6 months