Problems to log into portal
by Juan Pablo Lorier
Hi,
I'm trying to log into a fresh install (4.1 on centos 7) but though I've
set the hostname-ip mapping in /etc/hosts of the server and my desktop,
it keep complaining with the error:
The client is not authorized to request an authorization. It's required
to access the system using FQDN.
Engine log shows the same error:
ERROR [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-9) [] The
client is not authorized to request an authorization. It's required to
access the system using FQDN
What else should I do to get access?
Regards
7 years, 1 month
Testing ansible playbook against a mock engine?
by Luca 'remix_tj' Lorenzetto
Hello,
i'm planning to create a big standardization playbook for my
environment to ensure that all the required configs (networks, hosts,
host's nics and networks....) are correctly set up.
Since i don't want to test against a running setup, i'd like to spawn
a transient one for testing.
I already know Lago, but i think is bit overkill for testing an
ansible playbook.
Is there any tool that creates only an engine instance with some fake
hosts configured so i can test the playbook against it?
Luca
--
"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>
7 years, 1 month
Re: [ovirt-users] move disk and lv not removed
by Idan Shaby
Hi Gianluca,
Can you try to reproduce it with FC? Maybe it's somehow related to that.
Did you try to lvremove the old lv's, or are they still in use?
Trying to do this from the SPM should be ok. What do you mean synchronize
the information at the other node side?
In any case, this is a disk that you don't need anymore, isn't it? You said
that the copy part of the move operation went well.
Regards,
Idan
On Thu, Oct 19, 2017 at 10:47 AM, Gianluca Cecchi <gianluca.cecchi(a)gmail.com
> wrote:
> On Thu, Oct 19, 2017 at 7:36 AM, Idan Shaby <ishaby(a)redhat.com> wrote:
>
>> Hi Gianluca,
>>
>> This sounds like a bug to me.
>> Can you please attach engine and vdsm logs?
>>
>>
>> Thanks,
>> Idan
>>
>
> Hi Idan,
> I have not at hand the full files right now, but these were the snippets I
> cut from vdsm log and engine.log yesterday around the time of the first
> error after sending the first e-mail
> It seems vdsm reports that the logical volume is still in use while trying
> to remove it....
> I have tried to replicate on another environment also based on block
> storage, but now iSCSI and not FC and I was not able to get the error: the
> move disk operation of the powered off vm always completed successfully.
> Both tests were done trying to move preallocated disks if that matters
>
> vdsm.log of host1
>
> 2017-10-18 14:59:28,907+0200 ERROR (libvirt/events)
> [storage.TaskManager.Task] (Task='6331ec00-b75b-465e-8d9c-04d465c09ea1')
> Unexpected error (task:872)
> Traceback (most recent call last):
> File "/usr/share/vdsm/storage/task.py", line 879, in _run
> return fn(*args, **kargs)
> File "<string>", line 2, in teardownImage
> File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in
> method
> ret = func(*args, **kwargs)
> File "/usr/share/vdsm/storage/hsm.py", line 3189, in teardownImage
> dom.deactivateImage(imgUUID)
> File "/usr/share/vdsm/storage/blockSD.py", line 1289, in deactivateImage
> lvm.deactivateLVs(self.sdUUID, volUUIDs)
> File "/usr/share/vdsm/storage/lvm.py", line 1304, in deactivateLVs
> _setLVAvailability(vgName, toDeactivate, "n")
> File "/usr/share/vdsm/storage/lvm.py", line 843, in _setLVAvailability
> raise error(str(e))
> CannotDeactivateLogicalVolume: Cannot deactivate Logical Volume: ('General
> Storage Exception: ("5 [] [\' Logical volume c5d360f5-cd90-4b3e-bdef-
> 924649bfbc5f/eff58f10-12bf-412f-a5db-944bfb10904d is used by another
> device.\']\\nc5d360f5-cd90-4b3e-bdef-924649bfbc5f/[\'
> eff58f10-12bf-412f-a5db-944bfb10904d\']",)',)
> 2017-10-18 14:59:28,907+0200 INFO (libvirt/events)
> [storage.TaskManager.Task] (Task='6331ec00-b75b-465e-8d9c-04d465c09ea1')
> aborting: Task is aborted: 'Cannot deactivate Logical Volume: (\'General
> Storage Exception: ("5 [] [\\\' Logical volume c5d360f5-cd90-4b3e-bdef-
> 924649bfbc5f/eff58f10-12bf-412f-a5db-944bfb10904d is used by another
> device.\\\']\\\\nc5d360f5-cd90-4b3e-bdef-924649bfbc5f/[\
> \\'eff58f10-12bf-412f-a5db-944bfb10904d\\\']",)\',)' - code 552
> (task:1177)
> 2017-10-18 14:59:28,908+0200 ERROR (libvirt/events) [storage.Dispatcher]
> FINISH teardownImage error=Cannot deactivate Logical Volume: ('General
> Storage Exception: ("5 [] [\' Logical volume c5d360f5-cd90-4b3e-bdef-
> 924649bfbc5f/eff58f10-12bf-412f-a5db-944bfb10904d is used by another
> device.\']\\nc5d360f5-cd90-4b3e-bdef-924649bfbc5f/[\'
> eff58f10-12bf-412f-a5db-944bfb10904d\']",)',) (dispatcher:81)
>
> engine.log
> 2017-10-18 15:01:53,097+02 INFO [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (D
> efaultQuartzScheduler6) [] EVENT_ID: USER_MOVED_DISK_FINISHED_SUCCESS(2,010),
> Correlation ID: a8948cbf-80a
> 2-462d-8805-91da94868c6e, Job ID: ffba7504-a324-43ca-ab4c-481610c1098b,
> Call Stack: null, Custom ID: null,
> Custom Event ID: -1, Message: User gcecchi@internal-authz finished
> moving disk padora1_u01 to domain SATA
> _ALLBCK.
> 2017-10-18 15:01:54,029+02 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler5)
> [394f8568] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), Correlation ID:
> null, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: VDSM
> host1 command HSMGetAllTasksStatusesVDS failed: Cannot remove Logical
> Volume: (['Cannot remove Logical Volume: (u\'c5d360f5-cd90-4b3e-bdef-924649bfbc5f\',
> "[\'2255c544-165b-4126-86ee-70e6d1edef9a\']")'],)
> 2017-10-18 15:01:54,029+02 INFO [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
> (DefaultQuartzScheduler5) [394f8568] SPMAsyncTask::PollTask: Polling task
> '8446a883-9bb0-40a5-b1eb-8a919defe4c0' (Parent Command 'RemoveImage',
> Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters')
> returned status 'finished', result 'cleanSuccess'.
> 2017-10-18 15:01:54,029+02 ERROR [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
> (DefaultQuartzScheduler5) [394f8568] BaseAsyncTask::logEndTaskFailure:
> Task '8446a883-9bb0-40a5-b1eb-8a919defe4c0' (Parent Command
> 'RemoveImage', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters')
> ended with failure:
> -- Result: 'cleanSuccess'
> -- Message: 'VDSGenericException: VDSErrorException: Failed in vdscommand
> to HSMGetAllTasksStatusesVDS, error = Cannot remove Logical Volume:
> (['Cannot remove Logical Volume: (u\'c5d360f5-cd90-4b3e-bdef-924649bfbc5f\',
> "[\'2255c544-165b-4126-86ee-70e6d1edef9a\']")'],)',
> -- Exception: 'VDSGenericException: VDSErrorException: Failed in
> vdscommand to HSMGetAllTasksStatusesVDS, error = Cannot remove Logical
> Volume: (['Cannot remove Logical Volume: (u\'c5d360f5-cd90-4b3e-bdef-924649bfbc5f\',
> "[\'2255c544-165b-4126-86ee-70e6d1edef9a\']")'],)'
>
> Is there any command I can run to consistently remove the stale LVs?
> As oVirt doesn't use clvmd I don't think it is sufficient to issue the
> remove lv from the SPM node.. How will "synchronize" the information at the
> other node side?
>
> Thanks,
> Gianluca
>
>
7 years, 1 month
Troubles uploading iso files via engine-iso-uploader
by Edward Clay
Hello, I've recently ran into a problem after removing an old nfs
mounted ISO domain and recreating it using glusterfs. When I attempt
to upload an iso using engine-iso-uploader it shows that it's
attempting to access the storage domain via nfs.
---snipet----
DEBUG: /bin/mount -t nfs -o rw,sync,soft 10.4.16.11:/ISOSB
/tmp/tmpr4lwKy
-------------
from the engine server I am able to mount the gluster volume from the
above path without issues. Iguess I'm confused as to why it's
attempting to connecting using nfs when I created the storage domain
for it using glusterfs.
I have 1 ovirt engine server with 7 host/hypervisors and a 3 node
replicated gluster volume. I've created seperate storage domains for
VM images(data) and for ISO images. Both storage domains are
accessible from the engine server and all host. Meaning I'm able to
mount the glusterfs volume from all 8 servers.
--
Edward Clay
Systems Adminstrator
UK2 Group -- US Operations
Phone: 1-800-222-2165
E-Mail: edward.clay(a)uk2group.com
7 years, 2 months
Lisa17 conference
by Niyazi Elvan
Hi folks,
Is anyone attending to Lisa17 conference starting at this weekend ? I will
be there and it would be nice to meet any of you.
Cheers.
Niyazi
--
Niyazi Elvan
7 years, 2 months
Node Upgrade failing
by FERNANDO FREDIANI
This is a multi-part message in MIME format.
--------------30E435787C9496EBAD7C7E8E
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
How upgrades as done and testes for oVirt Node NG ? Every time I have
tried to use it on the Engine interface it failed somehow.
The last image I have installed was
ovirt-node-ng-installer-ovirt-4.1-2017091913 and I after installing I
basically do two things before adding it to the Engine: 1) Change the
SSH port and 2) Install Zabbix Agent. Then add the host to Engine, run
Check for Upgrade and it returns me a message: " 'found updates for
packages ovirt-node-ng-image-update-4.1.6-1.el7.centos'.
Next I do a 'Upgrade' and it stays there fore quiet a while and
afterwards downloading several packages fails.
Watching the /var/log/ovirt-engine/engine.log I see:
2017-10-24 10:04:10,196-02 ERROR
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (pool-5-thread-4)
[0558504e-0595-4241-acbb-6b6a517132a1] Error during host
hostname.fqdm.hidden install
2017-10-24 10:04:10,197-02 ERROR
[org.ovirt.engine.core.bll.host.HostUpgradeManager] (pool-5-thread-4)
[0558504e-0595-4241-acbb-6b6a517132a1] Failed to update host
'hostname.fqdm.hidden' packages 'ovirt-node-ng-image-update': Command
returned failure code 1 during SSH session 'root@hostname.fqdn.hidden:55000'
2017-10-24 10:04:10,200-02 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(pool-5-thread-4) [0558504e-0595-4241-acbb-6b6a517132a1] START,
SetVdsStatusVDSCommand(HostName = hostname.fqdn.hidden,
SetVdsStatusVDSCommandParameters:{runAsync='true',
hostId='6e99e7bd-3bd5-4de4-9794-5549f83b31a6', status='InstallFailed',
nonOperationalReason='NONE', stopSpmFailureLogged='false',
maintenanceReason='null'}), log id: 65815347
2017-10-24 10:04:10,224-02 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(pool-5-thread-4) [0558504e-0595-4241-acbb-6b6a517132a1] FINISH,
SetVdsStatusVDSCommand, log id: 65815347
2017-10-24 10:04:10,258-02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(pool-5-thread-4) [0558504e-0595-4241-acbb-6b6a517132a1] EVENT_ID:
HOST_UPGRADE_FAILED(841), Correlation ID:
0558504e-0595-4241-acbb-6b6a517132a1, Call Stack: null, Custom ID: null,
Custom Event ID: -1, Message: Failed to upgrade Host
hostname.fqdn.hidden (User: admin@internal-authz).
Where else could I look for the root of the problem ?
Could it be related to the differnt SSH port used or anything else ?
Is there an alterntiva way to upgrade the Host via Console ?
Thanks
Fernando
--------------30E435787C9496EBAD7C7E8E
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="arial, helvetica, sans-serif">How upgrades as done and
testes for oVirt Node NG ? Every time I have tried to use it on
the Engine interface it failed somehow.<br>
<br>
The last image I have installed was
ovirt-node-ng-installer-ovirt-4.1-2017091913 and I after
installing I basically do two things before adding it to the
Engine: 1) Change the SSH port and 2) Install Zabbix Agent. Then
add the host to Engine, run Check for Upgrade and it returns me a
message: "</font> 'found updates for packages
ovirt-node-ng-image-update-4.1.6-1.el7.centos'.<br>
<br>
Next I do a 'Upgrade' and it stays there fore quiet a while and
afterwards downloading several packages fails.<br>
Watching the /var/log/ovirt-engine/engine.log I see:<br>
<br>
2017-10-24 10:04:10,196-02 ERROR
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
(pool-5-thread-4) [0558504e-0595-4241-acbb-6b6a517132a1] Error
during host hostname.fqdm.hidden install<br>
2017-10-24 10:04:10,197-02 ERROR
[org.ovirt.engine.core.bll.host.HostUpgradeManager]
(pool-5-thread-4) [0558504e-0595-4241-acbb-6b6a517132a1] Failed to
update host 'hostname.fqdm.hidden' packages
'ovirt-node-ng-image-update': Command returned failure code 1 during
SSH session '<a class="moz-txt-link-abbreviated" href="mailto:root@hostname.fqdn.hidden:55000">root@hostname.fqdn.hidden:55000</a>'<br>
2017-10-24 10:04:10,200-02 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(pool-5-thread-4) [0558504e-0595-4241-acbb-6b6a517132a1] START,
SetVdsStatusVDSCommand(HostName = hostname.fqdn.hidden,
SetVdsStatusVDSCommandParameters:{runAsync='true',
hostId='6e99e7bd-3bd5-4de4-9794-5549f83b31a6',
status='InstallFailed', nonOperationalReason='NONE',
stopSpmFailureLogged='false', maintenanceReason='null'}), log id:
65815347<br>
2017-10-24 10:04:10,224-02 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(pool-5-thread-4) [0558504e-0595-4241-acbb-6b6a517132a1] FINISH,
SetVdsStatusVDSCommand, log id: 65815347<br>
2017-10-24 10:04:10,258-02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(pool-5-thread-4) [0558504e-0595-4241-acbb-6b6a517132a1] EVENT_ID:
HOST_UPGRADE_FAILED(841), Correlation ID:
0558504e-0595-4241-acbb-6b6a517132a1, Call Stack: null, Custom ID:
null, Custom Event ID: -1, Message: Failed to upgrade Host
hostname.fqdn.hidden (User: admin@internal-authz).<br>
<br>
Where else could I look for the root of the problem ?<br>
Could it be related to the differnt SSH port used or anything else ?<br>
Is there an alterntiva way to upgrade the Host via Console ?<br>
<br>
Thanks<br>
Fernando<br>
</body>
</html>
--------------30E435787C9496EBAD7C7E8E--
7 years, 2 months
unlock_entity.sh
by Johan Vermeulen
Hello All,
first of all, I hope this question is not too trivial or hasn't been asked
lately
( but i scrolled down the mailing list and didn't find anything similar,
so...)
I have a lot of trouble with locked disks when trying to remove vm's.
I know there's the unlock_entity script but cannot get it to work.
Where can I find a copy-paste-able uuid nr of the disk?
It prompts me for a database password. Is this something I should have
created when setting up Ovirt?
Can anyone give me an example of a complete unlock entity command?
Many thanks for any help.
greetings, J.
7 years, 2 months
Resize disk of powered on VM
by Gianluca Cecchi
Hello,
I'm in 4.1.6.
I have a VM with 2 virtio-scsi disks (on FC).
If I try to do a resize of the boot disk (preallocated) from this menu:
1)
- select VM
- disks sub tab
- select disk
- edit
- edit virtual disk window
- extend size by X Gb
I get error about "not all VMs are powered down"
Instead if I do a resize of the same disk from this menu:
2)
- select VM
- edit VM
- find the line of the disk and select the "edit" button at the right
- edit virtual disk window
- extend size by X Gb
it works as expected, so without downtime
Is this expected?
Actually after 2) scenario, I had retried 1) and it works too this time.
During the first 1) that failed, I see this in engine.log:
Validation of action 'UpdateVmDisk' failed for user admin@internal-authz.
Reasons: VAR__AC
TION__UPDATE,VAR__TYPE__DISK,ACTION_TYPE_FAILED_VM_IS_NOT_DOWN
But the VM is indeed up on all 3 attempts.... so I don't understand this
message
On another VM, again with a disk configured as virtio-scsi, but configured
as thin provisioned, both from 1) and 2) scenario I get:
c7service:
- Cannot edit Virtual Disk. Cannot edit Virtual Disk. Disk extension
combined with disk compat version update isn't supported. Please perform
the updates separately.
What does it mean "perform the updates separately"? I cannot online resize
thin provisioned disks?
The VM has only one disk, BTW.
Thanks,
Gianluca
7 years, 2 months
Vnc client from windows 10
by Gianluca Cecchi
Hello,
I'm trying to have a user connect to the console VM through vnc protocol,
but without the virt-viewer application.
The client is Windows 10.
I have tried some options without success, with tightvnc, ultravnc and
realvnc but all of them give error about syntax.
Any native client suggested/recommended with windows 10 and oVirt?
Tried also noVnc that works from a Linux client and so I'm sure all is ok
at oVirt side, but from Windows 10 and chrome 61 I imported the certificate
in trusted root authority but nevertheless I get the error
Any hints?
Thanks,
Gianluca
7 years, 2 months