[ovirt-users] SSH error while adding host

RASTELLI Alessandro alessandro.rastelli at skytv.it
Mon Feb 2 10:32:39 UTC 2015


Additional info:
I recreated the cluster, using "import existing GlusterFS configuration"
The hosts have been imported correctly, but no volumes are shown.
engine.log keep showing the error quoted below.
On the hosts, I don't see any error in vdsm.log 

-----Original Message-----
From: RASTELLI Alessandro 
Sent: lunedì 2 febbraio 2015 10:01
To: 'Paul Heinlein'
Cc: 'users at ovirt.org'
Subject: RE: [ovirt-users] SSH error while adding host

Hi,
I've managed to fix this un-commenting the lines "baseurl" in the repo.
Now the node has been imported, but in the engine log I see:

2015-02-02 09:57:57,780 ERROR [org.ovirt.engine.core.bll.gluster.GlusterSyncJob] (DefaultQuartzScheduler_Worker-60) Error while refreshing Gluster lightweight data of cluster gluster-mi!: org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: java.lang.NullPointerException (Failed with error ENGINE and code 5001)
        at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:117) [bll.jar:]
        at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33) [bll.jar:]
        at org.ovirt.engine.core.bll.gluster.GlusterJob.runVdsCommand(GlusterJob.java:65) [bll.jar:]
        at org.ovirt.engine.core.bll.gluster.GlusterSyncJob.fetchVolumes(GlusterSyncJob.java:406) [bll.jar:]
        at org.ovirt.engine.core.bll.gluster.GlusterSyncJob.fetchVolumes(GlusterSyncJob.java:392) [bll.jar:]
        at org.ovirt.engine.core.bll.gluster.GlusterSyncJob.refreshVolumeData(GlusterSyncJob.java:363) [bll.jar:]
        at org.ovirt.engine.core.bll.gluster.GlusterSyncJob.refreshClusterData(GlusterSyncJob.java:108) [bll.jar:]
        at org.ovirt.engine.core.bll.gluster.GlusterSyncJob.refreshLightWeightData(GlusterSyncJob.java:87) [bll.jar:]
        at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) [:1.7.0_75]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_75]
        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_75]
        at org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) [scheduler.jar:]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:]
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz.jar:]

PS. I'm trying to import nodes where gluster in already installed & running.
Thank you


-----Original Message-----
From: RASTELLI Alessandro
Sent: lunedì 2 febbraio 2015 09:47
To: 'Paul Heinlein'
Cc: users at ovirt.org
Subject: RE: [ovirt-users] SSH error while adding host

Today I have this error:
Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: ovirt-3.5 Output on gluster node is:

[root at gluster01-mi yum.repos.d]# yum repolist Loaded plugins: fastestmirror, product-id, refresh-packagekit, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Determining fastest mirrors
ovirt-3.5-epel/metalink                                                                                                                                                                                               |  23 kB     00:00
ovirt-3.5-epel                                                                                                                                                                                                        | 4.4 kB     00:00
http://ftp.lysator.liu.se/pub/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for ovirt-3.5-epel Trying other mirror.
ovirt-3.5-epel                                                                                                                                                                                                        | 4.4 kB     00:00
ovirt-3.5-epel/primary_db                                                                                                                                                                                             | 6.3 MB     00:06
ovirt-3.5-glusterfs-epel                                                                                                                                                                                              | 2.9 kB     00:00
ovirt-3.5-glusterfs-epel/primary_db                                                                                                                                                                                   |  11 kB     00:00
ovirt-3.5-glusterfs-noarch-epel                                                                                                                                                                                       | 2.9 kB     00:00
ovirt-3.5-glusterfs-noarch-epel/primary_db                                                                                                                                                                            | 2.2 kB     00:00
ftp://jpackage.hmdc.harvard.edu/JPackage/6.0/generic/free/repodata/repomd.xml: [Errno 14] PYCURL ERROR 9 - "Server denied you to change to the given directory"
Trying other mirror.
ovirt-3.5-jpackage-6.0-generic                                                                                                                                                                                        | 1.9 kB     00:00
ovirt-3.5-jpackage-6.0-generic/primary_db                                                                                                                                                                             | 1.7 MB     00:00
ovirt-3.5-patternfly1-noarch-epel                                                                                                                                                                                     | 3.0 kB     00:00
ovirt-3.5-patternfly1-noarch-epel/primary_db                                                                                                                                                                          | 2.0 kB     00:00
repo id                                                                                      repo name                                                                                                                                 status
ovirt-3.5-epel                                                                               Extra Packages for Enterprise Linux 6 - x86_64                                                                                            11,140
ovirt-3.5-glusterfs-epel                                                                     GlusterFS is a clustered file-system capable of scaling to several petabytes.                                                                 12
ovirt-3.5-glusterfs-noarch-epel                                                              GlusterFS is a clustered file-system capable of scaling to several petabytes.                                                                  1
ovirt-3.5-jpackage-6.0-generic                                                               JPackage 6.0, for generic                                                                                                                  5,501
ovirt-3.5-patternfly1-noarch-epel                                                            Copr repo for patternfly1 owned by patternfly                                                                                                  2
repolist: 16,656

thank you
A.

-----Original Message-----
From: Paul Heinlein [mailto:heinlein at madboa.com]
Sent: venerdì 30 gennaio 2015 18:42
To: RASTELLI Alessandro
Cc: users at ovirt.org
Subject: Re: [ovirt-users] SSH error while adding host

On Fri, 30 Jan 2015, RASTELLI Alessandro wrote:

> Iʼm trying to use oVirt 3.5 for glusterFS management.
> 
> I installed the package on a Centos6.5 VM following the procedure, and 
> everything went fine.
> 
> When I add any host to the Cluster, I get the message:
> 
> Host gluster01-mi installation failed. Command returned failure code 1 
> during SSH session 'root at gluster01-mi'.
> 
> In the engine.log I see: [....]
>
> 2015-01-30 11:04:33,402 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event
> ID: -1,
> Message: Failed to install Host gluster01-mi. Failed to execute stage 
> 'Setup
> validation': Cannot locate gluster packages, possible cause is 
> incorrect channels.

I suggest launching an ssh session to gluster01-mi and trying a manual installation of a couple gluster packages, e.g.,

   yum install glusterfs glusterfs-cli

Chances are, you'll see the error that's causing the problem.

--
Paul Heinlein
heinlein at madboa.com
45°38' N, 122°6' W


More information about the Users mailing list