Ovirt 4.1 beta - Install problems ( storage )

Hi, I'm trying to install Ovirt 4.1 beta using glusterfs as the storage domain. First time I've tried it so there could be some real simple mistakes in my config :) # gluster volume info Volume Name: ovirt Type: Replicate Volume ID: 8d9d480c-dfc8-4099-acbc-2eb1a01afc9d Status: Started Snapshot Count: 0 Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: 192.168.0.1:/u01/.bricks/ovirt Brick2: 192.168.0.2:/u01/.bricks/ovirt Brick3: 192.168.0.3:/u01/.bricks/ovirt Options Reconfigured: transport.address-family: inet performance.readdir-ahead: on nfs.disable: on I wasn't sure what path to put for the gluster storage so I've been trying with localhost Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs [ INFO ] Please note that Replica 3 support is required for the shared storage. Please specify the full shared storage connection path to use (example: host:/path): localhost:/ovirt hosted-engine --deploy gets as far as trying to create the storage domain and then fails. [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Creating Storage Domain [ ERROR ] Failed to execute stage 'Misc configuration': Error creating a storage domain: (u'storageType=7, sdUUID=40db955e-e9a1-4279-929b-b63d96ca8161, domainName=hosted_storage, domClass=1, typeSpecificArg=localhost:ovirt domVersion=3',) [ INFO ] Yum Performing yum transaction rollback [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20161210145440.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue,fix and redeploy Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20161210144910-rbql1i.log

Saw this in /var/log/messages possibly related Dec 10 16:48:41 lp05 systemd: mom-vdsm.service holdoff time over, scheduling restart. Dec 10 16:48:41 lp05 systemd: Started MOM instance configured for VDSM purposes. Dec 10 16:48:41 lp05 systemd: Starting MOM instance configured for VDSM purposes... Dec 10 16:48:41 lp05 systemd: Started /usr/bin/mount -t glusterfs -o backup-volfile-servers=10.10.30.5:10.10.30.6:10.10.30.8 localhost:/ovirt /rhev/data-center/mnt/glusterSD/localhost:_ovirt. Dec 10 16:48:41 lp05 systemd: Starting /usr/bin/mount -t glusterfs -o backup-volfile-servers=10.10.30.5:10.10.30.6:10.10.30.8 localhost:/ovirt /rhev/data-center/mnt/glusterSD/localhost:_ovirt. Dec 10 16:48:46 lp05 kernel: EXT4-fs (loop11): mounting ext3 file system using the ext4 subsystem Dec 10 16:48:46 lp05 kernel: EXT4-fs (loop11): mounted filesystem with ordered data mode. Opts: (null) Dec 10 16:48:46 lp05 systemd: Device dev-disk-by\x2duuid-50642dea\x2d9bfc\x2d4624\x2d9255\x2d80ef82c78214.device appeared twice with different sysfs paths /sys/devices/virtual/block/loop10 and /sys/devices/virtual/block/loop11 Dec 10 16:48:46 lp05 systemd: Device dev-disk-by\x2duuid-50642dea\x2d9bfc\x2d4624\x2d9255\x2d80ef82c78214.device appeared twice with different sysfs paths /sys/devices/virtual/block/loop10 and /sys/devices/virtual/block/loop11 Dec 10 16:48:47 lp05 journal: vdsm vds.dispatcher ERROR SSL error receiving from <yajsonrpc.betterAsyncore.Dispatcher connected ('::1', 42741, 0, 0) at 0x3a17b90>: unexpected eof On 10 December 2016 at 15:09, Maton, Brett <matonb@ltresources.co.uk> wrote:
Hi,
I'm trying to install Ovirt 4.1 beta using glusterfs as the storage domain. First time I've tried it so there could be some real simple mistakes in my config :)
# gluster volume info
Volume Name: ovirt Type: Replicate Volume ID: 8d9d480c-dfc8-4099-acbc-2eb1a01afc9d Status: Started Snapshot Count: 0 Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: 192.168.0.1:/u01/.bricks/ovirt Brick2: 192.168.0.2:/u01/.bricks/ovirt Brick3: 192.168.0.3:/u01/.bricks/ovirt Options Reconfigured: transport.address-family: inet performance.readdir-ahead: on nfs.disable: on
I wasn't sure what path to put for the gluster storage so I've been trying with localhost
Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs [ INFO ] Please note that Replica 3 support is required for the shared storage. Please specify the full shared storage connection path to use (example: host:/path): localhost:/ovirt
hosted-engine --deploy gets as far as trying to create the storage domain and then fails.
[ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Creating Storage Domain [ ERROR ] Failed to execute stage 'Misc configuration': Error creating a storage domain: (u'storageType=7, sdUUID=40db955e-e9a1-4279-929b-b63d96ca8161, domainName=hosted_storage, domClass=1, typeSpecificArg=localhost:ovirt domVersion=3',) [ INFO ] Yum Performing yum transaction rollback [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine- setup/answers/answers-20161210145440.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue,fix and redeploy Log file is located at /var/log/ovirt-hosted-engine- setup/ovirt-hosted-engine-setup-20161210144910-rbql1i.log

Ok so I now think the problem is that the gluster file systems are being mounted read only On 10 December 2016 at 15:09, Maton, Brett <matonb@ltresources.co.uk> wrote:
Hi,
I'm trying to install Ovirt 4.1 beta using glusterfs as the storage domain. First time I've tried it so there could be some real simple mistakes in my config :)
# gluster volume info
Volume Name: ovirt Type: Replicate Volume ID: 8d9d480c-dfc8-4099-acbc-2eb1a01afc9d Status: Started Snapshot Count: 0 Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: 192.168.0.1:/u01/.bricks/ovirt Brick2: 192.168.0.2:/u01/.bricks/ovirt Brick3: 192.168.0.3:/u01/.bricks/ovirt Options Reconfigured: transport.address-family: inet performance.readdir-ahead: on nfs.disable: on
I wasn't sure what path to put for the gluster storage so I've been trying with localhost
Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs [ INFO ] Please note that Replica 3 support is required for the shared storage. Please specify the full shared storage connection path to use (example: host:/path): localhost:/ovirt
hosted-engine --deploy gets as far as trying to create the storage domain and then fails.
[ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Creating Storage Domain [ ERROR ] Failed to execute stage 'Misc configuration': Error creating a storage domain: (u'storageType=7, sdUUID=40db955e-e9a1-4279-929b-b63d96ca8161, domainName=hosted_storage, domClass=1, typeSpecificArg=localhost:ovirt domVersion=3',) [ INFO ] Yum Performing yum transaction rollback [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine- setup/answers/answers-20161210145440.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue,fix and redeploy Log file is located at /var/log/ovirt-hosted-engine- setup/ovirt-hosted-engine-setup-20161210144910-rbql1i.log

Yup that was it, I hadn't opened port 49152 which was causing gluster to fail. On 10 December 2016 at 17:44, Maton, Brett <matonb@ltresources.co.uk> wrote:
Ok so I now think the problem is that the gluster file systems are being mounted read only
On 10 December 2016 at 15:09, Maton, Brett <matonb@ltresources.co.uk> wrote:
Hi,
I'm trying to install Ovirt 4.1 beta using glusterfs as the storage domain. First time I've tried it so there could be some real simple mistakes in my config :)
# gluster volume info
Volume Name: ovirt Type: Replicate Volume ID: 8d9d480c-dfc8-4099-acbc-2eb1a01afc9d Status: Started Snapshot Count: 0 Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: 192.168.0.1:/u01/.bricks/ovirt Brick2: 192.168.0.2:/u01/.bricks/ovirt Brick3: 192.168.0.3:/u01/.bricks/ovirt Options Reconfigured: transport.address-family: inet performance.readdir-ahead: on nfs.disable: on
I wasn't sure what path to put for the gluster storage so I've been trying with localhost
Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs [ INFO ] Please note that Replica 3 support is required for the shared storage. Please specify the full shared storage connection path to use (example: host:/path): localhost:/ovirt
hosted-engine --deploy gets as far as trying to create the storage domain and then fails.
[ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Creating Storage Domain [ ERROR ] Failed to execute stage 'Misc configuration': Error creating a storage domain: (u'storageType=7, sdUUID=40db955e-e9a1-4279-929b-b63d96ca8161, domainName=hosted_storage, domClass=1, typeSpecificArg=localhost:ovirt domVersion=3',) [ INFO ] Yum Performing yum transaction rollback [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine- setup/answers/answers-20161210145440.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue,fix and redeploy Log file is located at /var/log/ovirt-hosted-engine-s etup/ovirt-hosted-engine-setup-20161210144910-rbql1i.log
participants (1)
-
Maton, Brett