Hi,
sebool unconfigured module prevents vdsm from starting:
[root@gaua2 network-scripts]# vdsm-tool configure --force
Checking configuration status...
Current revision of multipath.conf detected, preserving
libvirt is already configured for vdsm
SUCCESS: ssl configured to true. No conflicts
Running configure...
libsepol.context_from_record: type ovirt_vmconsole_host_port_t is not defined (No such file or directory).
libsepol.context_from_record: could not create context structure (Invalid argument).
libsepol.port_from_record: could not create port structure for range 2223:2223 (tcp) (Invalid argument).
libsepol.sepol_port_modify: could not load port range 2223 - 2223 (tcp) (Invalid argument).
libsemanage.dbase_policydb_modify: could not modify record value (Invalid argument).
libsemanage.semanage_base_merge_components: could not merge local modifications into policy (Invalid argument).
Traceback (most recent call last):
File "/usr/bin/vdsm-tool", line 219, in main
return tool_command[cmd]["command"](*args)
File "/usr/lib/python2.7/site-packages/vdsm/tool/__init__. py", line 38, in wrapper
func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/tool/ configurator.py", line 141, in configure
_configure(c)
File "/usr/lib/python2.7/site-packages/vdsm/tool/ configurator.py", line 88, in _configure
getattr(module, 'configure', lambda: None)()
File "/usr/lib/python2.7/site-packages/vdsm/tool/ configurators/sebool.py", line 84, in configure
_setup_booleans(True)
File "/usr/lib/python2.7/site-packages/vdsm/tool/ configurators/sebool.py", line 57, in _setup_booleans
sebool_obj.finish()
File "/usr/lib/python2.7/site-packages/seobject/__init__.py" , line 320, in finish
self.commit()
File "/usr/lib/python2.7/site-packages/seobject/__init__.py" , line 310, in commit
rc = semanage_commit(self.sh)
OSError: [Errno 22] Invalid argument
Le 19/12/2016 à 11:55, Maton, Brett a écrit :
I'll give that ago this evening, although that might be related to trying to deploy to the host multiple times
On 19 December 2016 at 09:54, Simone Tiraboschi <stirabos@redhat.com> wrote:
On Mon, Dec 19, 2016 at 10:11 AM, Maton, Brett <matonb@ltresources.co.uk> wrote:
Log from the last deploy attempt attached.
2016-12-18 12:52:05 DEBUG otopi.plugins.ovirt_host_mgmt.packages.update update.verbose:94 Yum: There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
It seams that you have unfinished yum transactions on your host; can you please check for that and then try redeploying the host?
On 19 December 2016 at 08:30, Simone Tiraboschi <stirabos@redhat.com> wrote:
On Sat, Dec 17, 2016 at 7:17 PM, Maton, Brett <matonb@ltresources.co.uk> wrote:
I had a mac address conflict so reinstalled ( from scratch ) 4.1 this morning, CPU load issue in UI was still there.
Thanks for the report.
I can't deploy additional hosts now though due to SSH errors.
Could you please attach host-deploy logs?Any thoughts on this issue ?I'm trying to deploy using a password ( which I know is correct ), I think it might be switching to keys when it fails, but I'm only guessing.enging.log snippet:However, SSH errors deploying additional hosts persists ( I had no problem with the previous install on Friday ).
Experimenting, I updated the hosted engine this afternoon and the CPU load issue seems be have either been fixed or resolved itself.
2016-12-17 17:09:54,764Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-6-threa d-26) [b04a9eaf-65b5-4a80-a254-0b29a 8fea573] SSH error running command root@host2.example.com:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDI R}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True ': Command returned failure code 1 during SSH session 'root@host2.example.com'
2016-12-17 17:09:54,765Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-6-threa d-26) [b04a9eaf-65b5-4a80-a254-0b29a 8fea573] Exception: java.io.IOException: Command returned failure code 1 during SSH session 'root@host2.example.com'
at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SS HClient.java:503) [uutils.jar:]
at org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SS HDialog.java:317) [uutils.jar:]
at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(V dsDeployBasae.java:563) [bll.jar:]
at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma nd.installHost(InstallVdsInter nalCommand.java:166) [bll.jar:]
at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma nd.executeCommand(InstallVdsIn ternalCommand.java:87) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransact ion(CommandBase.java:1249) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeActionInTransac tionScope(CommandBase.java:138 9) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.runInTransaction(Comma ndBase.java:2053) [bll.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.e xecuteInSuppressed(Transaction Support.java:164) [utils.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.e xecuteInScope(TransactionSuppo rt.java:103) [utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.ja va:1449) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandB ase.java:395) [bll.jar:]
at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner .executeValidatedCommand(Preva lidatingMultipleActionsRunner. java:204) [bll.jar:]
at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner .runCommands(PrevalidatingMult ipleActionsRunner.java:176) [bll.jar:]
at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner .lambda$invokeCommands$3(Preva lidatingMultipleActionsRunner. java:182) [bll.jar:]
at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$Intern alWrapperRunnable.run(ThreadPo olUtil.java:92) [utils.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executor s.java:511) [rt.jar:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool Executor.java:1142) [rt.jar:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:617) [rt.jar:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]
2016-12-17 17:09:54,765Z ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (org.ovirt.thread.pool-6-threa d-26) [b04a9eaf-65b5-4a80-a254-0b29a 8fea573] Error during host host2.example.com install: java.io.IOException: Command returned failure code 1 during SSH session 'root@host2.example.com'
at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SS HClient.java:503) [uutils.jar:]
at org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SS HDialog.java:317) [uutils.jar:]
at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(V dsDeployBase.java:563) [bll.jar:]
at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma nd.installHost(InstallVdsInter nalCommand.java:166) [bll.jar:]
at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma nd.executeCommand(InstallVdsIn ternalCommand.java:87) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransact ion(CommandBase.java:1249) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeActionInTransac tionScope(CommandBase.java:138 9) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.runInTransaction(Comma ndBase.java:2053) [bll.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.e xecuteInSuppressed(Transaction Support.java:164) [utils.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.e xecuteInScope(TransactionSuppo rt.java:103) [utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.ja va:1449) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandB ase.java:395) [bll.jar:]
at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner .executeValidatedCommand(Preva lidatingMultipleActionsRunner. java:204) [bll.jar:]
at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner .runCommands(PrevalidatingMult ipleActionsRunner.java:176) [bll.jar:]
at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner .lambda$invokeCommands$3(Preva lidatingMultipleActionsRunner. java:182) [bll.jar:]
at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$Intern alWrapperRunnable.run(ThreadPo olUtil.java:92) [utils.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executor s.java:511) [rt.jar:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool Executor.java:1142) [rt.jar:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:617) [rt.jar:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]
2016-12-17 17:09:54,827Z ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComm and] (org.ovirt.thread.pool-6-threa d-26) [b04a9eaf-65b5-4a80-a254-0b29a 8fea573] Host installation failed for host '0ce2ee41-cc81-44a5-8b1c-ee3a1 ddbb89c', 'host2.example.com': Command returned failure code 1 during SSH session 'root@host2.example.com'
On 16 December 2016 at 21:19, Maor Lipchuk <mlipchuk@redhat.com> wrote:
On Fri, Dec 16, 2016 at 7:15 PM, Maton, Brett <matonb@ltresources.co.uk> wrote:
BrettRegards,Keep on with the great work!I'll feed back more as and when I get chance to use it, feels good so far though.Hosted engine reports 100% CPU usage even if the host is basically idleFirst glance at 4.1Installation seemed easier than with earlier versions ( but I have installed it a few times now ).
On 12 December 2016 at 17:44, Maor Lipchuk <mlipchuk@redhat.com> wrote:
On Thu, Dec 8, 2016 at 5:33 PM, Yaniv Kaul <ykaul@redhat.com> wrote:
On Wed, Dec 7, 2016 at 3:10 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Tue, Dec 6, 2016 at 9:38 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Hi,any feedback on 4.1 beta we released last week?Thanks,
I see that in storage tab the NFS domain is marked as V4, while in 4.0.5 is marked as V3.
The nfs mount from host is still v3, but I think it is not related and instead V4 refers to functionalities of storage domain itself...
Right.In this case, where to find V3 vs V4 storage domain features?
http://www.ovirt.org/develop/release-management/features/sto rage/DataCenterV4_1/ - but it may need some updates. Y.
There is a more detailed feature page for qcow2v3 which is currently under review, here it is:
https://github.com/maorlipchuk/ovirt-site/blob/cdbbfa5250af0 e207ff151af67f188b3451d4c33/so urce/develop/release-managemen t/features/storage/qcow2v3.htm l.md
Hi Brett,
Here is the official updated wiki which also consists REST examples:
If you have any questions, please don't hesitate to contact me or the users list
Regards,Maor
http://lists.phx.ovirt.org/mai
Gianluca
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@ovirt.org
lman/listinfo/users
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/ mailman/listinfo/users
-- Nathanaël Blanchet Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users