Re: [Users] How to pxeboot ovrit node into memory automatically?

2013-10-24 Thread Fabian Deutsch
Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb David Li:
> Hi,
> 
> I was following the instructions at http://www.ovirt.org/Node_PXE. My goal is 
> to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I 
> got now is an installation screen which requires a local storage. My system 
> has no disk and this doesn't quite work for me. 
> 
> What's are the kernel parameters I need to use to boot the node into RAM 
> automatically?  I am OK as the first step with a stateless node. 

Hey David,

the stateless mode is currently not completely working with oVirt
Engine. That means a Node needs to be approved each time it boots into
the stateless mode.
The stateless mode can be entered by appending stateless to the default
kernel arguments.

Greetings
fabian

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


Re: [Users] [node-devel] GlusterFS on oVirt node

2013-10-24 Thread Fabian Deutsch
Am Donnerstag, den 24.10.2013, 19:59 +0200 schrieb Saša Friedrich:
> I reinstalled node and remounter / rw then I checked fs before 
> activating host (in oVirt Engine) and after (which files have been 
> changed)... The "ro" problem seems to be in /var/lib/glusterd/. Is there 
> any way I can change node so this directory would be mounted rw? And to 
> persist this setting after reboot.

Hey,

do you know if the data in /var/lib/glusterd needs to survive reboots?
If not, then this patch http://gerrit.ovirt.org/20540 will probably fix
the problem. The patch just adds that path to /etc/rwtab.d/ovirt - this
will tell the read-only root to make that path writable at boot.
Due to the nature of Node you will need to build your own image or wait
until the patch lands in an image. Editing the rwtab file by hand at
runtime won't have an effect.

Greetings
fabian

> 
> tnx
> 
> 
> 
> Dne 24. 10. 2013 15:28, piše Fabian Deutsch:
> > Am Donnerstag, den 24.10.2013, 15:12 +0200 schrieb Saša Friedrich:
> >> Progress report:
> >>
> >> I remounted fs on oVirt nodes rw, started glusterd with no errors.
> >> Then I activated hosts in oVirt Engine. Also no errors! Yei!
> > Yey! :)
> > Yes, mount -oremount,rw make's the FS temporarily writeable. But you
> > will have issues as soon as you reboot.
> > We'll need to investigate which paths need to be persisted (so the data
> > written to them survives a reboot) and which only need to be write-able
> > e.g. for temporary data.
> >
> > Would you mind opening a bug for this?
> >
> > Greetings
> > fabian
> >
> >> Then I created volume (replication), added two bricks (oVirt nodes),
> >> and started volume. Seems fine. I checkd on node1:
> >>
> >> # gluster volume info
> >>   
> >> Volume Name: data_vol
> >> Type: Replicate
> >> Volume ID: a1cdc762-2198-47e2-9b4a-58fd0571b269
> >> Status: Started
> >> Number of Bricks: 1 x 2 = 2
> >> Transport-type: tcp
> >> Bricks:
> >> Brick1: 192.168.254.124:/data/gluster
> >> Brick2: 192.168.254.141:/data/gluster
> >> Options Reconfigured:
> >> storage.owner-gid: 36
> >> storage.owner-uid: 36
> >> auth.allow: *
> >> user.cifs: on
> >> nfs.disable: off
> >>
> >>
> >>
> >> WORKING!
> >>
> >>
> >> BUT...  Now i can not create storage domain. When I hit OK button on
> >> "New storage domain dialog", process is running very long. Eventually
> >> this process stops and returns " Error while executing action Add
> >> Storage Connection: Network error during communication with the
> >> Host".
> >>
> >> I'm stuck again :-( in need for HELP!
> > Could you please provide the logfiles mentioned here:
> > http://www.ovirt.org/Node_Troubleshooting#Log_Files
> >
> > Greetings
> > fabian
> >
> >> tnx
> >>
> >>
> >>
> >>
> >> Dne 24. 10. 2013 13:02, piše Mike Burns:
> >>
> >>> Adding to node-devel list and users list.
> >>>
> >>> -- Mike
> >>>
> >>> Apologies for top posting and typos.  This was sent from a mobile device.
> >>>
> >>> Saša Friedrich  wrote:
> >>>
> >>> Hello!
> >>>
> >>> Acording to http://www.ovirt.org/Node_Glusterfs_Support glusterfs on
> >>> ovirt node should be supported. But I have some difficulties to
> >>> implement it.
> >>>
> >>>
> >>> I installed ovirt (nested kvm - home testing) following "Up and Running
> >>> with oVirt 3.3) using Fedora19
> >>> Install went well. Everything is working fine.
> >>>
> >>> Now I created two hosts (nested kvm - ovirt node fc19 - just for
> >>> testing) and added them in oVirt.
> >>> Super fine - working!
> >>>
> >>> Now I'd like to use this hosts as glustefs nodes too. Acording to google
> >>> (I'm googling for two days now) I'ts possible, but I can not find any
> >>> usable how-to
> >>>
> >>> 1. I removed these two hosts from default data center
> >>> 2. I created new data center (type: GlusterFS)
> >>> 3. I created new cluster (Enable Gluster Service checked)
> >>> 4. I added host
> >>> 5. Now I get error message in events: "Could not find gluster uuid of
> >>> server host1 on Cluster Cluster1."
> >>>
> >>>
> >>> If I ssh to my host (fc19 node) glusterd.service is not running. If I
> >>> try to run it It returns error
> >>>
> >>> here is the log:
> >>> [2013-10-24 09:52:25.969899] I [glusterfsd.c:1910:main]
> >>> 0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3.4.0
> >>> (/usr/sbin/glusterd -p /run/glusterd.pid)
> >>> [2013-10-24 09:52:25.974480] I [glusterd.c:962:init] 0-management: Using
> >>> /var/lib/glusterd as working directory
> >>> [2013-10-24 09:52:25.977648] I [socket.c:3480:socket_init]
> >>> 0-socket.management: SSL support is NOT enabled
> >>> [2013-10-24 09:52:25.977694] I [socket.c:3495:socket_init]
> >>> 0-socket.management: using system polling thread
> >>> [2013-10-24 09:52:25.978611] W [rdma.c:4197:__gf_rdma_ctx_create]
> >>> 0-rpc-transport/rdma: rdma_cm event channel creation failed (No such 
> >>> device)
> >>> [2013-10-24 09:52:25.978651] E [rdma.c:4485:init] 0-rdma.management:
> >>> Failed to initialize IB Device
> >>> [2013-10-24 09:52:25.978667] E [rpc-tran

[Users] How to pxeboot ovrit node into memory automatically?

2013-10-24 Thread David Li
Hi,

I was following the instructions at http://www.ovirt.org/Node_PXE. My goal is 
to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I 
got now is an installation screen which requires a local storage. My system has 
no disk and this doesn't quite work for me. 

What's are the kernel parameters I need to use to boot the node into RAM 
automatically?  I am OK as the first step with a stateless node. 

David

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


[Users] Docker -- self-sufficient application containers

2013-10-24 Thread Greg Sheremeta
I haven't looked into this very much, but it sounds promising. Anyone on list 
familiar with it?

http://www.docker.io/ "Docker is an open-source project to easily create 
lightweight, portable, self-sufficient containers from any application. The 
same container that a developer builds and tests on a laptop can run at scale, 
in production, on VMs, bare metal, OpenStack clusters, public clouds and more."

I wonder if there's interest in shipping oVirt docker containers.

Greg Sheremeta
Red Hat, Inc.
Sr. Software Engineer, RHEV
Cell: 919-807-1086
gsher...@redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vmware disks

2013-10-24 Thread Ekin Meroğlu
Hi Matt,

On Wed, Oct 23, 2013 at 5:51 PM, Matthew Booth  wrote:

> The latest virt-v2v can convert a VMware OVA export.
>
> Matt
>

That's great news, thanks for letting us know...

-- 
Ekin Meroğlu 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [BUG] vdsm-hooks-qos

2013-10-24 Thread Doron Fediuck


- Original Message -
> From: "Dan Kenigsberg" 
> To: "Alissa Bonas" 
> Cc: users@ovirt.org
> Sent: Thursday, October 24, 2013 12:07:45 PM
> Subject: Re: [Users] [BUG] vdsm-hooks-qos
> 
> On Thu, Oct 24, 2013 at 04:38:28AM -0400, Alissa Bonas wrote:
> > Hi Sven,
> > 
> > You can file a bug here for better tracking:
> > https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt
> > 
> > - Original Message -
> > > From: "Sven Kieske" 
> > > To: users@ovirt.org
> > > Sent: Wednesday, October 23, 2013 5:05:56 PM
> > > Subject: [Users] [BUG] vdsm-hooks-qos
> > > 
> > > Hi,
> > > 
> > > I think I found a spelling bug in:
> > > http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob_plain;f=vdsm_hooks/qos/before_vm_start.py;hb=refs/tags/v4.13.0
> > > 
> > > there are two occasions where "peak" is written as "peek".
> > > 
> > > Lines: 30, 35
> 
> Thanks for this report. Since the fix is so easy, I am not sure that a
> new BZ entry is needed.
> 
> Please note that as of ovirt-3.3, QoS is controllable my the main stream
> (with NIC profiles) so the hook may not be necessary any longer.
> 
> Nonetheless, would you review/verify
> 
> http://gerrit.ovirt.org/20495
> 
> Regrads
> Dan.

Dan,
Is there a way to deprecate this starting 3.3.2 as we have an integrated 
solution?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [BUG] vdsm-hooks-qos

2013-10-24 Thread Sven Kieske
Hi,

thanks for the quick fix!

The code looks good, I still have no gerrit account, maybe I should
create one (where and how?)

I'm aware of the 3.3 features, but we still stick with 3.2.3 here.

I hope we can give 3.3. another try when 3.3.1. is out, hopefully stable
enough!

PS: How do you get write access to the wiki?

Because the hook documentation is somewhat incomplete, and I could maybe
improve it already.

I also found no docs on how vdsm creates network devices for the vm in
libvirt (routed, switched, nat or forward mode etc.). Is there something
available I am not aware of? Maybe I just looked in the wrong
directions.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] File or directory /usr/share/ovirt-host-deploy/interface-3 not found though it's there

2013-10-24 Thread Stefan Wendler
On Thursday 24 October 2013 10:11:59 Yedidyah Bar David wrote:
> Hi,
> 
> - Original Message -
> 
> > From: "Stefan Wendler" 
> > To: users@ovirt.org
> > Sent: Thursday, October 24, 2013 5:04:45 PM
> > Subject: [Users] File or directory
> > /usr/share/ovirt-host-deploy/interface-3not found though it's there
> > 
> > Hi,
> > 
> > I have a problem installing ovirt nodes the ovirt version is 3.3
> > Whenever I try to install a node I get the following error (more log
> > output
> > at
> > the end of the mail):
> > 
> > Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho
> > st-deploy.tar': java.io.FileNotFoundException: File or directory
> > /usr/share/ovirt-host-deploy/interface-3 not found
> > 
> > The "missing" directory ist available on the node
> > 
> > ls -la /usr/share/ovirt-host-deploy/interface-3
> > total 16
> > drwxr-xr-x 4 root root 4096 Oct 24 15:14 .
> > drwxr-xr-x 4 root root 4096 Oct 24 15:14 ..
> > -rw-r--r-- 1 root root0 Sep  7 22:47 .bundled
> > lrwxrwxrwx 1 root root   19 Oct 24 15:14 otopi -> ../../../sbin/otopi
> > drwxr-xr-x 2 root root 4096 Oct 24 15:14 otopi-plugins
> > lrwxrwxrwx 1 root root   31 Oct 24 15:14 ovirt-host-deploy ->
> > ../../../sbin/ovirt-host-deploy
> > drwxr-xr-x 2 root root 4096 Oct 24 15:14 pythonlib
> > lrwxrwxrwx 1 root root   17 Oct 24 15:14 setup -> ovirt-host-deploy
> > 
> > Do you guys have any idea? I only found one earlier posting regarding this
> > problem but that didn't help. I have tar and javatar and the engine-host-
> > deploy packages on both engine and node (I don't think I need the deploy
> > package on the engine)
> 
> Actually I think you do. Can you please try installing it? Thanks.

Well, it is working now. I had the ovirt-host-deploy packages installed but I 
found some ovirt packages on the engine in a wrong version. After upgrading 
and reinstalling the ovirt-host-deploy-* packages this works now.
Thx for the quick hint ;)

Cheers,
Stefan


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


[Users] Cant remove image -> Illegal Disk

2013-10-24 Thread Andrew Lau
Hi,

There were a few posts earlier about this but none seemed to end in a
resolution. When a VM is destroyed the disks don't get deleted by oVirt and
are left in an "illegal" state. Manual intervention is required to delete
the image and remove it from the database.

This has only happened recently, but I'm not sure what broke it. I assume
it's the engine which handles the deletion of the disks. Here's a snippet
of the log, where 78605656-f77c-4b72-843b-1 is the image id

cat engine.log | grep '78605656-f77c-4b72-843b-1'
2013-10-24 21:12:33,141 ERROR
[org.ovirt.engine.core.bll.RemoveAllVmImagesCommand] (pool-6-thread-43)
Cant remove image id: 78605656-f77c-4b72-843b-1efef9644cf2 for VM id:
aa21dd3c-6341-4d48-9819-112dbdf6f2db from domain id:
6682d31f-39ce-4896-99ef-14e1c9682585 due to: StorageDomainLayoutError.
2013-10-24 21:12:33,142 INFO
 [org.ovirt.engine.core.bll.RemoveAllVmImagesCommand] (pool-6-thread-43)
Image id: 78605656-f77c-4b72-843b-1efef9644cf2 is not on a data domain and
will not be marked as illegal.
2013-10-24 21:12:33,145 INFO  [org.ovirt.engine.core.bll.RemoveVmCommand]
(pool-6-thread-43) Command [id=e15c6804-d2e5-44b0-8fb9-6ad03421cd43]:
Compensating CHANGED_STATUS_ONLY of
org.ovirt.engine.core.common.businessentities.Image; snapshot:
EntityStatusSnapshot [id=78605656-f77c-4b72-843b-1efef9644cf2,
status=ILLEGAL].

The disk images are mounted on gluster storage through NFS.

Cheers,

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


Re: [Users] File or directory /usr/share/ovirt-host-deploy/interface-3 not found though it's there

2013-10-24 Thread Yedidyah Bar David
Hi,

- Original Message -
> From: "Stefan Wendler" 
> To: users@ovirt.org
> Sent: Thursday, October 24, 2013 5:04:45 PM
> Subject: [Users] File or directory /usr/share/ovirt-host-deploy/interface-3   
> not found though it's there
> 
> Hi,
> 
> I have a problem installing ovirt nodes the ovirt version is 3.3
> Whenever I try to install a node I get the following error (more log output
> at
> the end of the mail):
> 
> Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho
> st-deploy.tar': java.io.FileNotFoundException: File or directory
> /usr/share/ovirt-host-deploy/interface-3 not found
> 
> The "missing" directory ist available on the node
> 
> ls -la /usr/share/ovirt-host-deploy/interface-3
> total 16
> drwxr-xr-x 4 root root 4096 Oct 24 15:14 .
> drwxr-xr-x 4 root root 4096 Oct 24 15:14 ..
> -rw-r--r-- 1 root root0 Sep  7 22:47 .bundled
> lrwxrwxrwx 1 root root   19 Oct 24 15:14 otopi -> ../../../sbin/otopi
> drwxr-xr-x 2 root root 4096 Oct 24 15:14 otopi-plugins
> lrwxrwxrwx 1 root root   31 Oct 24 15:14 ovirt-host-deploy ->
> ../../../sbin/ovirt-host-deploy
> drwxr-xr-x 2 root root 4096 Oct 24 15:14 pythonlib
> lrwxrwxrwx 1 root root   17 Oct 24 15:14 setup -> ovirt-host-deploy
> 
> Do you guys have any idea? I only found one earlier posting regarding this
> problem but that didn't help. I have tar and javatar and the engine-host-
> deploy packages on both engine and node (I don't think I need the deploy
> package on the engine)

Actually I think you do. Can you please try installing it? Thanks.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] File or directory /usr/share/ovirt-host-deploy/interface-3 not found though it's there

2013-10-24 Thread Stefan Wendler
Hi,

I have a problem installing ovirt nodes the ovirt version is 3.3
Whenever I try to install a node I get the following error (more log output at 
the end of the mail):

Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho
st-deploy.tar': java.io.FileNotFoundException: File or directory 
/usr/share/ovirt-host-deploy/interface-3 not found

The "missing" directory ist available on the node 

ls -la /usr/share/ovirt-host-deploy/interface-3
total 16
drwxr-xr-x 4 root root 4096 Oct 24 15:14 .
drwxr-xr-x 4 root root 4096 Oct 24 15:14 ..
-rw-r--r-- 1 root root0 Sep  7 22:47 .bundled
lrwxrwxrwx 1 root root   19 Oct 24 15:14 otopi -> ../../../sbin/otopi
drwxr-xr-x 2 root root 4096 Oct 24 15:14 otopi-plugins
lrwxrwxrwx 1 root root   31 Oct 24 15:14 ovirt-host-deploy -> 
../../../sbin/ovirt-host-deploy
drwxr-xr-x 2 root root 4096 Oct 24 15:14 pythonlib
lrwxrwxrwx 1 root root   17 Oct 24 15:14 setup -> ovirt-host-deploy

Do you guys have any idea? I only found one earlier posting regarding this 
problem but that didn't help. I have tar and javatar and the engine-host-
deploy packages on both engine and node (I don't think I need the deploy 
package on the engine)

Thank you so much.

Cheers,
Stefan

-- engine.log ---
2013-10-24 15:52:20,689 INFO  [org.ovirt.engine.core.bll.VdsDeploy] (pool-6-
thread-16) [56a478e5] Installation of 10.2.2.100. Executing command via SSH 
umask 
0077; MYTMP="$(mktemp -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" 
> /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; rm -fr "${MYTMP}" 
&&
 mkdir "${MYTMP}" && tar --warning=no-timestamp -C "${MYTMP}" -x &&  
"${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True < 
/var/cache/o
virt-engine/ovirt-host-deploy.tar
2013-10-24 15:52:20,690 INFO  
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-6-thread-16) 
Tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar'
 is missing, creating
2013-10-24 15:52:20,691 ERROR 
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-6-thread-16) 
Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho
st-deploy.tar': java.io.FileNotFoundException: File or directory 
/usr/share/ovirt-host-deploy/interface-3 not found
at org.ovirt.engine.core.utils.archivers.tar.Tar.doTar(Tar.java:97) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:41) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.ensure(CachedTar.java:105) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.getFile(CachedTar.java:151) 
[utils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:1037) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.installHost(InstallVdsCommand.java:192)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:105)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1128)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1213)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1871) 
[bll.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174)
 
[utils.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116)
 
[utils.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1231) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:365) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:175)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:156)
 
[bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:94)
 
[bll.jar:]
at 
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:71)
 
[utils.jar:]
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
[rt.jar:1.7.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
[rt.jar:1.7.0_45]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[rt.jar:1.7.0_45]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

2013-10-24 15:52:20,695 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (pool-6-
thread-16) [56a478e5] Error during host 10.2.2.100 install: 
java.io.IOException: Cannot create tarball '/var/cache/ovirt-engine/ovirt-
host-deploy.tar'
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(Cached

Re: [Users] [node-devel] GlusterFS on oVirt node

2013-10-24 Thread Fabian Deutsch
Am Donnerstag, den 24.10.2013, 15:12 +0200 schrieb Saša Friedrich:
> Progress report:
> 
> I remounted fs on oVirt nodes rw, started glusterd with no errors.
> Then I activated hosts in oVirt Engine. Also no errors! Yei!

Yey! :)
Yes, mount -oremount,rw make's the FS temporarily writeable. But you
will have issues as soon as you reboot.
We'll need to investigate which paths need to be persisted (so the data
written to them survives a reboot) and which only need to be write-able
e.g. for temporary data.

Would you mind opening a bug for this?

Greetings
fabian

> Then I created volume (replication), added two bricks (oVirt nodes),
> and started volume. Seems fine. I checkd on node1:
> 
> # gluster volume info
>  
> Volume Name: data_vol
> Type: Replicate
> Volume ID: a1cdc762-2198-47e2-9b4a-58fd0571b269
> Status: Started
> Number of Bricks: 1 x 2 = 2
> Transport-type: tcp
> Bricks:
> Brick1: 192.168.254.124:/data/gluster
> Brick2: 192.168.254.141:/data/gluster
> Options Reconfigured:
> storage.owner-gid: 36
> storage.owner-uid: 36
> auth.allow: *
> user.cifs: on
> nfs.disable: off
> 
> 
> 
> WORKING!
> 
> 
> BUT...  Now i can not create storage domain. When I hit OK button on
> "New storage domain dialog", process is running very long. Eventually
> this process stops and returns " Error while executing action Add
> Storage Connection: Network error during communication with the
> Host". 
> 
> I'm stuck again :-( in need for HELP!

Could you please provide the logfiles mentioned here:
http://www.ovirt.org/Node_Troubleshooting#Log_Files

Greetings
fabian

> 
> tnx
> 
> 
> 
> 
> Dne 24. 10. 2013 13:02, piše Mike Burns:
> 
> > Adding to node-devel list and users list.
> > 
> > -- Mike
> > 
> > Apologies for top posting and typos.  This was sent from a mobile device.
> > 
> > Saša Friedrich  wrote:
> > 
> > Hello!
> > 
> > Acording to http://www.ovirt.org/Node_Glusterfs_Support glusterfs on 
> > ovirt node should be supported. But I have some difficulties to 
> > implement it.
> > 
> > 
> > I installed ovirt (nested kvm - home testing) following "Up and Running 
> > with oVirt 3.3) using Fedora19
> > Install went well. Everything is working fine.
> > 
> > Now I created two hosts (nested kvm - ovirt node fc19 - just for 
> > testing) and added them in oVirt.
> > Super fine - working!
> > 
> > Now I'd like to use this hosts as glustefs nodes too. Acording to google 
> > (I'm googling for two days now) I'ts possible, but I can not find any 
> > usable how-to
> > 
> > 1. I removed these two hosts from default data center
> > 2. I created new data center (type: GlusterFS)
> > 3. I created new cluster (Enable Gluster Service checked)
> > 4. I added host
> > 5. Now I get error message in events: "Could not find gluster uuid of 
> > server host1 on Cluster Cluster1."
> > 
> > 
> > If I ssh to my host (fc19 node) glusterd.service is not running. If I 
> > try to run it It returns error
> > 
> > here is the log:
> > [2013-10-24 09:52:25.969899] I [glusterfsd.c:1910:main] 
> > 0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3.4.0 
> > (/usr/sbin/glusterd -p /run/glusterd.pid)
> > [2013-10-24 09:52:25.974480] I [glusterd.c:962:init] 0-management: Using 
> > /var/lib/glusterd as working directory
> > [2013-10-24 09:52:25.977648] I [socket.c:3480:socket_init] 
> > 0-socket.management: SSL support is NOT enabled
> > [2013-10-24 09:52:25.977694] I [socket.c:3495:socket_init] 
> > 0-socket.management: using system polling thread
> > [2013-10-24 09:52:25.978611] W [rdma.c:4197:__gf_rdma_ctx_create] 
> > 0-rpc-transport/rdma: rdma_cm event channel creation failed (No such device)
> > [2013-10-24 09:52:25.978651] E [rdma.c:4485:init] 0-rdma.management: 
> > Failed to initialize IB Device
> > [2013-10-24 09:52:25.978667] E [rpc-transport.c:320:rpc_transport_load] 
> > 0-rpc-transport: 'rdma' initialization failed
> > [2013-10-24 09:52:25.978747] W [rpcsvc.c:1387:rpcsvc_transport_create] 
> > 0-rpc-service: cannot create listener, initing the transport failed
> > [2013-10-24 09:52:25.979890] I 
> > [glusterd.c:354:glusterd_check_gsync_present] 0-glusterd: 
> > geo-replication module not installed in the system
> > [2013-10-24 09:52:25.98] E [store.c:394:gf_store_handle_retrieve] 
> > 0-: Unable to retrieve store handle /var/lib/glusterd/glusterd.info, 
> > error: No such file or directory
> > [2013-10-24 09:52:25.980026] E 
> > [glusterd-store.c:1277:glusterd_retrieve_op_version] 0-: Unable to get 
> > store handle!
> > [2013-10-24 09:52:25.980048] E [store.c:394:gf_store_handle_retrieve] 
> > 0-: Unable to retrieve store handle /var/lib/glusterd/glusterd.info, 
> > error: No such file or directory
> > [2013-10-24 09:52:25.980060] E 
> > [glusterd-store.c:1378:glusterd_retrieve_uuid] 0-: Unable to get store 
> > handle!
> > [2013-10-24 09:52:25.980074] I 
> > [glusterd-store.c:1348:glusterd_restore_op_version] 0-management: 
> > Detected new install. Setting op-version to maximum : 2
> > [2013-10-24 09:52:25.

Re: [Users] [node-devel] GlusterFS on oVirt node

2013-10-24 Thread Fabian Deutsch
Am Donnerstag, den 24.10.2013, 07:02 -0400 schrieb Mike Burns:
> Adding to node-devel list and users list.
> 
> -- Mike
> 
> Apologies for top posting and typos.  This was sent from a mobile device.
> 
> Saša Friedrich  wrote:
> 
> Hello!
> 
> Acording to http://www.ovirt.org/Node_Glusterfs_Support glusterfs on 
> ovirt node should be supported. But I have some difficulties to 
> implement it.
> 
> 
> I installed ovirt (nested kvm - home testing) following "Up and Running 
> with oVirt 3.3) using Fedora19
> Install went well. Everything is working fine.
> 
> Now I created two hosts (nested kvm - ovirt node fc19 - just for 
> testing) and added them in oVirt.
> Super fine - working!
> 
> Now I'd like to use this hosts as glustefs nodes too. Acording to google 
> (I'm googling for two days now) I'ts possible, but I can not find any 
> usable how-to
> 
> 1. I removed these two hosts from default data center
> 2. I created new data center (type: GlusterFS)
> 3. I created new cluster (Enable Gluster Service checked)
> 4. I added host
> 5. Now I get error message in events: "Could not find gluster uuid of 
> server host1 on Cluster Cluster1."
> 
> 
> If I ssh to my host (fc19 node) glusterd.service is not running. If I 
> try to run it It returns error
> 
> here is the log:
> [2013-10-24 09:52:25.969899] I [glusterfsd.c:1910:main] 
> 0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3.4.0 
> (/usr/sbin/glusterd -p /run/glusterd.pid)
> [2013-10-24 09:52:25.974480] I [glusterd.c:962:init] 0-management: Using 
> /var/lib/glusterd as working directory
> [2013-10-24 09:52:25.977648] I [socket.c:3480:socket_init] 
> 0-socket.management: SSL support is NOT enabled
> [2013-10-24 09:52:25.977694] I [socket.c:3495:socket_init] 
> 0-socket.management: using system polling thread
> [2013-10-24 09:52:25.978611] W [rdma.c:4197:__gf_rdma_ctx_create] 
> 0-rpc-transport/rdma: rdma_cm event channel creation failed (No such device)
> [2013-10-24 09:52:25.978651] E [rdma.c:4485:init] 0-rdma.management: 
> Failed to initialize IB Device
> [2013-10-24 09:52:25.978667] E [rpc-transport.c:320:rpc_transport_load] 
> 0-rpc-transport: 'rdma' initialization failed
> [2013-10-24 09:52:25.978747] W [rpcsvc.c:1387:rpcsvc_transport_create] 
> 0-rpc-service: cannot create listener, initing the transport failed
> [2013-10-24 09:52:25.979890] I 
> [glusterd.c:354:glusterd_check_gsync_present] 0-glusterd: 
> geo-replication module not installed in the system
> [2013-10-24 09:52:25.98] E [store.c:394:gf_store_handle_retrieve] 
> 0-: Unable to retrieve store handle /var/lib/glusterd/glusterd.info, 
> error: No such file or directory
> [2013-10-24 09:52:25.980026] E 
> [glusterd-store.c:1277:glusterd_retrieve_op_version] 0-: Unable to get 
> store handle!
> [2013-10-24 09:52:25.980048] E [store.c:394:gf_store_handle_retrieve] 
> 0-: Unable to retrieve store handle /var/lib/glusterd/glusterd.info, 
> error: No such file or directory
> [2013-10-24 09:52:25.980060] E 
> [glusterd-store.c:1378:glusterd_retrieve_uuid] 0-: Unable to get store 
> handle!
> [2013-10-24 09:52:25.980074] I 
> [glusterd-store.c:1348:glusterd_restore_op_version] 0-management: 
> Detected new install. Setting op-version to maximum : 2
> [2013-10-24 09:52:25.980309] E [store.c:360:gf_store_handle_new] 0-: 
> Failed to open file: /var/lib/glusterd/options, error: Read-only file system

Hey Sasa,

that looks like we are missing a couple of paths which need either be
write-able or even further more persisted.

Greetings
fabian

> 
> Acording to log /var/lib/glusterd/glusterd.info is missing and can not 
> be created because fs is mounted "ro".
> 
> 
> Now I'm stuck!
> What am I missing?
> 
> 
> tnx for help!
> ___
> node-devel mailing list
> node-de...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/node-devel


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


Re: [Users] Management DB-Backup

2013-10-24 Thread Yedidyah Bar David
Hi Sven, all,

In 3.3 there is a new utility called engine-backup.

Documentation is currently somewhat lacking.

'engine-backup --help' will tell you its options.

As Eli implied below, there is no need to take down the engine/jboss
services while backing up.

Restore should be done to an empty database.

Some improvements for it were merged in recently, some of them will
be included in 3.3.1.
-- 
Didi

- Original Message -
> From: "Eli Mesika" 
> To: "users@oVirt.org" 
> Sent: Thursday, October 24, 2013 12:54:47 PM
> Subject: [Users]  Management DB-Backup
> 
> 
> - Original Message -
> > From: "Yedidyah Bar David" 
> > To: "Ofer Schreiber" , "Eli Mesika"
> > 
> > Sent: Thursday, October 24, 2013 12:13:16 PM
> > Subject: Fwd: [Users] Management DB-Backup
> > 
> > engine-backup.sh --mode=backup does not check/stop the engine/jboss and
> > does not alert the user.
> > 
> > Should it?
> 
> No
> 
> > 
> > I have zero knowledge regarding the way the engine works with the database.
> > Are we completely certain that any "logical transaction" is translated
> > one-to-one to a single database transaction? If so, in principle we can
> > back it up without taking the engine down. IMHO...
> 
> I see no reason to force engine down in backup , only in restore when we are
> stopping the existing database and creating a new clean one , so we have to
> verify that engine does not lock some objects
> 
> > 
> > Anyway, we should definitely pick up one of the existing relevant wiki
> > pages, update it, and add a link to it from all the others.
> > 
> > http://www.google.com/search?q=backup+site%3Awww.ovirt.org
> > --
> > Didi
> > 
> > - Forwarded Message -
> > From: "Sven Kieske" 
> > To: users@ovirt.org
> > Sent: Thursday, October 24, 2013 10:35:00 AM
> > Subject: [Users] Management DB-Backup
> > 
> > Hi,
> > 
> > just a short question:
> > 
> > is this procedure still valid for a full DB-Backup and Restore?
> > 
> > http://www.ovirt.org/Backup_engine_db
> > 
> > I already figured out that it's tailored just for fedora setups, not
> > el6 (systemctl).
> > 
> > 
> > --
> > Mit freundlichen Grüßen / Regards
> > 
> > Sven Kieske
> > 
> > Systemadministrator
> > Mittwald CM Service GmbH & Co. KG
> > Königsberger Straße 6
> > 32339 Espelkamp
> > T: +49-5772-293-100
> > F: +49-5772-293-333
> > https://www.mittwald.de
> > Geschäftsführer: Robert Meyer
> > St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> > Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> > ___
> > 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
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] GlusterFS on oVirt node

2013-10-24 Thread Mike Burns
Adding to node-devel list and users list.

-- Mike

Apologies for top posting and typos.  This was sent from a mobile device.

Saša Friedrich  wrote:

Hello!

Acording to http://www.ovirt.org/Node_Glusterfs_Support glusterfs on 
ovirt node should be supported. But I have some difficulties to 
implement it.


I installed ovirt (nested kvm - home testing) following "Up and Running 
with oVirt 3.3) using Fedora19
Install went well. Everything is working fine.

Now I created two hosts (nested kvm - ovirt node fc19 - just for 
testing) and added them in oVirt.
Super fine - working!

Now I'd like to use this hosts as glustefs nodes too. Acording to google 
(I'm googling for two days now) I'ts possible, but I can not find any 
usable how-to

1. I removed these two hosts from default data center
2. I created new data center (type: GlusterFS)
3. I created new cluster (Enable Gluster Service checked)
4. I added host
5. Now I get error message in events: "Could not find gluster uuid of 
server host1 on Cluster Cluster1."


If I ssh to my host (fc19 node) glusterd.service is not running. If I 
try to run it It returns error

here is the log:
[2013-10-24 09:52:25.969899] I [glusterfsd.c:1910:main] 
0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3.4.0 
(/usr/sbin/glusterd -p /run/glusterd.pid)
[2013-10-24 09:52:25.974480] I [glusterd.c:962:init] 0-management: Using 
/var/lib/glusterd as working directory
[2013-10-24 09:52:25.977648] I [socket.c:3480:socket_init] 
0-socket.management: SSL support is NOT enabled
[2013-10-24 09:52:25.977694] I [socket.c:3495:socket_init] 
0-socket.management: using system polling thread
[2013-10-24 09:52:25.978611] W [rdma.c:4197:__gf_rdma_ctx_create] 
0-rpc-transport/rdma: rdma_cm event channel creation failed (No such device)
[2013-10-24 09:52:25.978651] E [rdma.c:4485:init] 0-rdma.management: 
Failed to initialize IB Device
[2013-10-24 09:52:25.978667] E [rpc-transport.c:320:rpc_transport_load] 
0-rpc-transport: 'rdma' initialization failed
[2013-10-24 09:52:25.978747] W [rpcsvc.c:1387:rpcsvc_transport_create] 
0-rpc-service: cannot create listener, initing the transport failed
[2013-10-24 09:52:25.979890] I 
[glusterd.c:354:glusterd_check_gsync_present] 0-glusterd: 
geo-replication module not installed in the system
[2013-10-24 09:52:25.98] E [store.c:394:gf_store_handle_retrieve] 
0-: Unable to retrieve store handle /var/lib/glusterd/glusterd.info, 
error: No such file or directory
[2013-10-24 09:52:25.980026] E 
[glusterd-store.c:1277:glusterd_retrieve_op_version] 0-: Unable to get 
store handle!
[2013-10-24 09:52:25.980048] E [store.c:394:gf_store_handle_retrieve] 
0-: Unable to retrieve store handle /var/lib/glusterd/glusterd.info, 
error: No such file or directory
[2013-10-24 09:52:25.980060] E 
[glusterd-store.c:1378:glusterd_retrieve_uuid] 0-: Unable to get store 
handle!
[2013-10-24 09:52:25.980074] I 
[glusterd-store.c:1348:glusterd_restore_op_version] 0-management: 
Detected new install. Setting op-version to maximum : 2
[2013-10-24 09:52:25.980309] E [store.c:360:gf_store_handle_new] 0-: 
Failed to open file: /var/lib/glusterd/options, error: Read-only file system


Acording to log /var/lib/glusterd/glusterd.info is missing and can not 
be created because fs is mounted "ro".


Now I'm stuck!
What am I missing?


tnx for help!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Management DB-Backup

2013-10-24 Thread Eli Mesika

- Original Message -
> From: "Yedidyah Bar David" 
> To: "Ofer Schreiber" , "Eli Mesika" 
> Sent: Thursday, October 24, 2013 12:13:16 PM
> Subject: Fwd: [Users] Management DB-Backup
> 
> engine-backup.sh --mode=backup does not check/stop the engine/jboss and
> does not alert the user.
> 
> Should it?

No

> 
> I have zero knowledge regarding the way the engine works with the database.
> Are we completely certain that any "logical transaction" is translated
> one-to-one to a single database transaction? If so, in principle we can
> back it up without taking the engine down. IMHO...

I see no reason to force engine down in backup , only in restore when we are 
stopping the existing database and creating a new clean one , so we have to 
verify that engine does not lock some objects

> 
> Anyway, we should definitely pick up one of the existing relevant wiki
> pages, update it, and add a link to it from all the others.
> 
> http://www.google.com/search?q=backup+site%3Awww.ovirt.org
> --
> Didi
> 
> - Forwarded Message -
> From: "Sven Kieske" 
> To: users@ovirt.org
> Sent: Thursday, October 24, 2013 10:35:00 AM
> Subject: [Users] Management DB-Backup
> 
> Hi,
> 
> just a short question:
> 
> is this procedure still valid for a full DB-Backup and Restore?
> 
> http://www.ovirt.org/Backup_engine_db
> 
> I already figured out that it's tailored just for fedora setups, not
> el6 (systemctl).
> 
> 
> --
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> ___
> 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: [Users] [BUG] vdsm-hooks-qos

2013-10-24 Thread Dan Kenigsberg
On Thu, Oct 24, 2013 at 04:38:28AM -0400, Alissa Bonas wrote:
> Hi Sven,
> 
> You can file a bug here for better tracking:
> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt
> 
> - Original Message -
> > From: "Sven Kieske" 
> > To: users@ovirt.org
> > Sent: Wednesday, October 23, 2013 5:05:56 PM
> > Subject: [Users] [BUG] vdsm-hooks-qos
> > 
> > Hi,
> > 
> > I think I found a spelling bug in:
> > http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob_plain;f=vdsm_hooks/qos/before_vm_start.py;hb=refs/tags/v4.13.0
> > 
> > there are two occasions where "peak" is written as "peek".
> > 
> > Lines: 30, 35

Thanks for this report. Since the fix is so easy, I am not sure that a
new BZ entry is needed.

Please note that as of ovirt-3.3, QoS is controllable my the main stream
(with NIC profiles) so the hook may not be necessary any longer.

Nonetheless, would you review/verify

http://gerrit.ovirt.org/20495

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


Re: [Users] [BUG] vdsm-hooks-qos

2013-10-24 Thread Alissa Bonas
Hi Sven,

You can file a bug here for better tracking:
https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt

- Original Message -
> From: "Sven Kieske" 
> To: users@ovirt.org
> Sent: Wednesday, October 23, 2013 5:05:56 PM
> Subject: [Users] [BUG] vdsm-hooks-qos
> 
> Hi,
> 
> I think I found a spelling bug in:
> http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob_plain;f=vdsm_hooks/qos/before_vm_start.py;hb=refs/tags/v4.13.0
> 
> there are two occasions where "peak" is written as "peek".
> 
> Lines: 30, 35
> --
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> ___
> 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] Management DB-Backup

2013-10-24 Thread Sven Kieske
Hi,

just a short question:

is this procedure still valid for a full DB-Backup and Restore?

http://www.ovirt.org/Backup_engine_db

I already figured out that it's tailored just for fedora setups, not
el6 (systemctl).


-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users