Re: [ovirt-users] SSH error while adding host

2015-02-02 Thread RASTELLI Alessandro
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@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@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@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 


Re: [ovirt-users] SSH error while adding host

2015-02-02 Thread RASTELLI Alessandro
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@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@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&quo

Re: [ovirt-users] SSH error while adding host

2015-02-02 Thread RASTELLI Alessandro
 owned by patternfly  
2
repolist: 16,656

thank you
A.

-Original Message-
From: Paul Heinlein [mailto:heinl...@madboa.com] 
Sent: venerdì 30 gennaio 2015 18:42
To: RASTELLI Alessandro
Cc: users@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@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
heinl...@madboa.com
45°38' N, 122°6' W
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] SSH error while adding host

2015-01-30 Thread Paul Heinlein

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@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
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] SSH error while adding host

2015-01-30 Thread Martin Perina
Hi,

those are repositories on the server where ovirt-engine is installed, right?
But what repositories do you have installed on the host gluster01-mi (the server
that you are trying to add into oVirt via webadmin)?

Martin Perina


- Original Message -
> From: "RASTELLI Alessandro" 
> To: "Gianluca Cecchi" 
> Cc: users@ovirt.org
> Sent: Friday, January 30, 2015 2:35:56 PM
> Subject: Re: [ovirt-users] SSH error while adding host
> 
> 
> 
> Hi,
> 
> I have only these repos configured:
> 
> [root@oVirt yum.repos.d]# ll /etc/yum.repos.d/
> 
> total 32
> 
> -rw-r--r-- 1 root root 1991 Oct 23 13:41 CentOS-Base.repo
> 
> -rw-r--r-- 1 root root 647 Oct 23 13:41 CentOS-Debuginfo.repo
> 
> -rw-r--r-- 1 root root 289 Oct 23 13:41 CentOS-fasttrack.repo
> 
> -rw-r--r-- 1 root root 630 Oct 23 13:41 CentOS-Media.repo
> 
> -rw-r--r-- 1 root root 5394 Oct 23 13:41 CentOS-Vault.repo
> 
> -rw-r--r-- 1 root root 1816 Jan 30 14:13 ovirt-3.5-dependencies.repo
> 
> -rw-r--r-- 1 root root 289 Jan 30 14:13 ovirt-3.5.repo
> 
> 
> 
> what can be wrong?
> 
> I’ve just followed these steps:
> 
> # yum -y update
> 
> # yum install
> http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release35.rpm
> 
> # yum -y install ovirt-engine
> 
> # engine-setup
> 
> 
> 
> and configured for Gluster only.
> 
> Thank you
> 
> 
> 
> A.
> 
> 
> 
> From: Gianluca Cecchi [mailto:gianluca.cec...@gmail.com]
> Sent: venerdì 30 gennaio 2015 11:58
> To: RASTELLI Alessandro
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] SSH error while adding host
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Fri, Jan 30, 2015 at 11:34 AM, RASTELLI Alessandro <
> alessandro.raste...@skytv.it > wrote:
> 
> 
> 
> 
> Hi,
> 
> 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@gluster01-mi'.
> 
> In the engine.log I see:
> 
> 
> 
> 2015-01-30 11:04:33,255 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event ID: -1,
> Message: Installing Host gluster01-mi. Stage: Setup validation.
> 
> 2015-01-30 11:04:33,398 ERROR [org.ovirt.engine.core.bll.InstallerMessages]
> (VdsDeploy) Installation gluster01-mi: Failed to execute stage 'Setup
> validation': Cannot locate gluster packages, possible cause is incorrect
> channels
> 
> 
> 
> 
> 
> 
> 
> it seems an error about repo config on host.
> 
> 
> 
> 
> 
> 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


Re: [ovirt-users] SSH error while adding host

2015-01-30 Thread RASTELLI Alessandro
Hi,
I have only these repos configured:
[root@oVirt yum.repos.d]# ll /etc/yum.repos.d/
total 32
-rw-r--r-- 1 root root 1991 Oct 23 13:41 CentOS-Base.repo
-rw-r--r-- 1 root root  647 Oct 23 13:41 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  289 Oct 23 13:41 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  630 Oct 23 13:41 CentOS-Media.repo
-rw-r--r-- 1 root root 5394 Oct 23 13:41 CentOS-Vault.repo
-rw-r--r-- 1 root root 1816 Jan 30 14:13 ovirt-3.5-dependencies.repo
-rw-r--r-- 1 root root  289 Jan 30 14:13 ovirt-3.5.repo

what can be wrong?
I’ve just followed these steps:
   # yum -y update
   # yum install 
http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release35.rpm
   # yum -y install ovirt-engine
   # engine-setup

and configured for Gluster only.
Thank you

A.

From: Gianluca Cecchi [mailto:gianluca.cec...@gmail.com]
Sent: venerdì 30 gennaio 2015 11:58
To: RASTELLI Alessandro
Cc: users@ovirt.org
Subject: Re: [ovirt-users] SSH error while adding host



On Fri, Jan 30, 2015 at 11:34 AM, RASTELLI Alessandro 
mailto:alessandro.raste...@skytv.it>> wrote:
Hi,
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@gluster01-mi'.
In the engine.log I see:

2015-01-30 11:04:33,255 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event ID: -1, 
Message: Installing Host gluster01-mi. Stage: Setup validation.
2015-01-30 11:04:33,398 ERROR [org.ovirt.engine.core.bll.InstallerMessages] 
(VdsDeploy) Installation gluster01-mi: Failed to execute stage 'Setup 
validation': Cannot locate gluster packages, possible cause is incorrect 
channels


it seems an error about repo config on host.

Gianluca

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] SSH error while adding host

2015-01-30 Thread Gianluca Cecchi
On Fri, Jan 30, 2015 at 11:34 AM, RASTELLI Alessandro <
alessandro.raste...@skytv.it> wrote:

>  Hi,
>
> 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@gluster01-mi'.
>
> In the engine.log I see:
>
>
>
> 2015-01-30 11:04:33,255 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event ID:
> -1, Message: Installing Host gluster01-mi. Stage: Setup validation.
>
> 2015-01-30 11:04:33,398 ERROR
> [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation
> gluster01-mi: Failed to execute stage 'Setup validation': Cannot locate
> gluster packages, possible cause is incorrect channels
>
>
>
it seems an error about repo config on host.

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users