Re: [ovirt-users] 3.6 issues when using an existing gluster volume for the hosted-engine

2015-08-11 Thread Michael DePaulo
Any Advice?

#1 and #2 seem to be the serious issues that no one else has reported yet.

On Wed, Aug 5, 2015 at 10:34 AM, Michael DePaulo  wrote:
> Hi,
>
> I am attempting to setup a Ovirt 3.6 (currently beta 1) on a test
> environment with an existing (but empty) gluster volume for the hosted
> engine.
>
> I am currently experiencing 4 issues after I having deployed the
> hosted-engine appliance VM on only 1 oVirt host:
> 1. The gluster volume is not added as a storage domain by the end of
> the hosted-engine-setup.
> 2. When I try to import the gluster volume as a storage domain, I get
> this error:
> Error while executing action Attach Storage Domain: AcquireHostIdFailure
> In the logs below, I had not attempted to import it yet though.
> 3. The hosted engine VM is not listed, although the host is listed and
> its number of VMs is listed as "1". (I have seen recent emails/bug
> reports about what seems to be the same issue.)
> 4. The hosted VM shut down automatically after several minutes.
>
> I last ran ovirt-hosted-engine-setup on galactica on 2015-08-03 at
> around 22:47 -0400
>
> #4 was probably caused by the fact that during a previous attempt (on
> 2015-08-02) to setup the hosted-engine, I had
> /var/lib/ovirt-hosted-engine-ha/ha.conf containing to
> local_maintenance=True. That value was not changed when I ran
> ovirt-hosted-engine-setup on 2015-08-03. Today, I ran the
> hosted-engine command to disable maintenance, and the hosted-engine VM
> started back up. I can access it over https, but the remaining issues
> are still present.
>
> 
> More Details:
>
> The 3 Gluster servers:
> Server 1: galactica: RHEL 7.1 with Gluster 3.7.3
> Server 2: death-star: RHEL 7.1 with Gluster 3.7.3
> Server 3: mothership: Fedora 22 with Gluster 3.7.3
>
> I only intend for servers 1 and 2 to be oVirt hosts at this time.
>
> All servers have iptables disabled, are on the same LAN, have SELinux
> set to enforcing, and have gluster configured with the hyper-converged
> settings listed here:
> http://www.ovirt.org/Features/Self_Hosted_Engine_Hyper_Converged_Gluster_Support
>
> I have DNS forward and reverse lookups configured correctly for all 3
> machines plus the hosted engine.
>
> The existing gluster volume is "gv-virt", and it has the necessary
> "options" for gluster to work with oVirt. Other than the .trashcan
> folder, there were no files/folders on it when I ran
> ovirt-hosted-engine-setup.
>
> I am able to mount and write to gv-virt via mount.glusterfs.
>
> Note that I have run hosted-engine-setup repeatedly on servers 1 and 2
> as I try to resolve these issues. My cleanup between running it may
> not have been correct, as exemplified by the local_maintenance
> setting. I have been deleting the files on the gluster volume between
> running it.
>
> I have the relevant contents of the relevant directories under
> /var/log/, /var/lib/, and /etc/ here:
> https://drive.google.com/folderview?id=0B2L_OrCln9ShMWprWVlpZVVocGs&usp=sharing
>
> I also put the `gluster volume status gv-virt` output there.
>
> Also, these 2 volumes are currently mounted on galactica:
> galactica.depaulo.org:/gv-virt  200G  2.7G
> 198G   2% /rhev/data-center/mnt/glusterSD/galactica.depaulo.org:_gv-virt
> /dev/loop1  2.0G  3.1M
> 1.9G   1% /rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmp2HOqSq
>
> Thanks in advance,
>
> -Mike
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 3.6 issues when using an existing gluster volume for the hosted-engine

2015-08-05 Thread Michael DePaulo
Hi,

I am attempting to setup a Ovirt 3.6 (currently beta 1) on a test
environment with an existing (but empty) gluster volume for the hosted
engine.

I am currently experiencing 4 issues after I having deployed the
hosted-engine appliance VM on only 1 oVirt host:
1. The gluster volume is not added as a storage domain by the end of
the hosted-engine-setup.
2. When I try to import the gluster volume as a storage domain, I get
this error:
Error while executing action Attach Storage Domain: AcquireHostIdFailure
In the logs below, I had not attempted to import it yet though.
3. The hosted engine VM is not listed, although the host is listed and
its number of VMs is listed as "1". (I have seen recent emails/bug
reports about what seems to be the same issue.)
4. The hosted VM shut down automatically after several minutes.

I last ran ovirt-hosted-engine-setup on galactica on 2015-08-03 at
around 22:47 -0400

#4 was probably caused by the fact that during a previous attempt (on
2015-08-02) to setup the hosted-engine, I had
/var/lib/ovirt-hosted-engine-ha/ha.conf containing to
local_maintenance=True. That value was not changed when I ran
ovirt-hosted-engine-setup on 2015-08-03. Today, I ran the
hosted-engine command to disable maintenance, and the hosted-engine VM
started back up. I can access it over https, but the remaining issues
are still present.


More Details:

The 3 Gluster servers:
Server 1: galactica: RHEL 7.1 with Gluster 3.7.3
Server 2: death-star: RHEL 7.1 with Gluster 3.7.3
Server 3: mothership: Fedora 22 with Gluster 3.7.3

I only intend for servers 1 and 2 to be oVirt hosts at this time.

All servers have iptables disabled, are on the same LAN, have SELinux
set to enforcing, and have gluster configured with the hyper-converged
settings listed here:
http://www.ovirt.org/Features/Self_Hosted_Engine_Hyper_Converged_Gluster_Support

I have DNS forward and reverse lookups configured correctly for all 3
machines plus the hosted engine.

The existing gluster volume is "gv-virt", and it has the necessary
"options" for gluster to work with oVirt. Other than the .trashcan
folder, there were no files/folders on it when I ran
ovirt-hosted-engine-setup.

I am able to mount and write to gv-virt via mount.glusterfs.

Note that I have run hosted-engine-setup repeatedly on servers 1 and 2
as I try to resolve these issues. My cleanup between running it may
not have been correct, as exemplified by the local_maintenance
setting. I have been deleting the files on the gluster volume between
running it.

I have the relevant contents of the relevant directories under
/var/log/, /var/lib/, and /etc/ here:
https://drive.google.com/folderview?id=0B2L_OrCln9ShMWprWVlpZVVocGs&usp=sharing

I also put the `gluster volume status gv-virt` output there.

Also, these 2 volumes are currently mounted on galactica:
galactica.depaulo.org:/gv-virt  200G  2.7G
198G   2% /rhev/data-center/mnt/glusterSD/galactica.depaulo.org:_gv-virt
/dev/loop1  2.0G  3.1M
1.9G   1% /rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmp2HOqSq

Thanks in advance,

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


Re: [ovirt-users] Prereqs for Self Hosted Engine Hyper Converged Gluster Support

2015-08-05 Thread Michael DePaulo
On Wed, Aug 5, 2015 at 4:26 AM, Sandro Bonazzola  wrote:
>
>
> On Mon, Aug 3, 2015 at 7:52 AM, Yedidyah Bar David  wrote:
>>
>> On Mon, Aug 3, 2015 at 6:44 AM, Michael DePaulo 
>> wrote:
>> > Hi,
>> >
>> > I am trying to follow these instructions on 3.6 alpha 3:
>> >
>> > http://www.ovirt.org/Features/Self_Hosted_Engine_Hyper_Converged_Gluster_Support
>> >
>> > The 1st time I ran ovirt-hosted-engine-setup (which was unsuccessful),
>>
>> What's exactly "unsuccessful"? Did it continue beyond the "closeup" stage?
>>
>> > I saw the prompt:
>> >
>> > Do you want to configure this host for providing GlusterFS
>> > storage? (Yes, No)[No]:
>> >
>> > Now I no longer see it.
>>
>> Please check/post setup logs (of all relevant runs), from
>> /var/log/ovirt-hosted-engine-setup
>>
>> >
>> > Must gluster not have any peers or volumes already? Is there some
>> > other prereq that I am missing?
>>
>> Not sure, adding Sandro.
>
>
> If you're provisioning the gluster volume from within hosted-engine-setup it
> assumed that no gluster configuration was in place.
> If gluster is already configured and serving volumes it's assumed that the
> HE volumes has been allocated as well.

Thank you for explaining this.

I will send a separate email about my other issues when I try to use
an existing HE Gluster volume.

>>
>>
>> Note that the official support for HC was postponed to 4.0 [1], but some
>> parts were already implemented and should work.
>>
>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1175354
>>
>> Best,
>> --
>> Didi
>
>
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com

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


Re: [ovirt-users] Prereqs for Self Hosted Engine Hyper Converged Gluster Support

2015-08-03 Thread Michael DePaulo
Hi Didi,

1st of all, note that I am trying this on my home network. This is not
a production environment by any means.

On Mon, Aug 3, 2015 at 1:52 AM, Yedidyah Bar David  wrote:
> On Mon, Aug 3, 2015 at 6:44 AM, Michael DePaulo  wrote:
>> Hi,
>>
>> I am trying to follow these instructions on 3.6 alpha 3:
>> http://www.ovirt.org/Features/Self_Hosted_Engine_Hyper_Converged_Gluster_Support
>>
>> The 1st time I ran ovirt-hosted-engine-setup (which was unsuccessful),
>
> What's exactly "unsuccessful"? Did it continue beyond the "closeup" stage?

I ran a total of 25 runs yesterday due to multiple issues that I ran
into. The reason why the setup failed seemed to be that the hosted
engine VM did not reboot and start up the engine quickly enough, so it
failed during health.py.
2015-08-02 14:03:26 ERROR otopi.context context._executeMethod:164
Failed to execute stage 'Closing up': timed out

I eventually worked around this by increasing the time.sleep() call to
a larger value in the installed health.py, and then recompiling the
.pyc and .pyo files.
https://github.com/oVirt/ovirt-hosted-engine-setup/blob/c6bc631b81c241c2bf5b5313997e7e575874ac8f/src/plugins/ovirt-hosted-engine-setup/engine/health.py#L161

I think I experienced a bug whereby the while loop is only running 2
or 3 times, but I do not see a bug in the code.

Anyway, I planned to send a separate email about this issue, hopefully
after I have investigated the possible bug with the loop and prepared
a patch.

>> I saw the prompt:
>>
>> Do you want to configure this host for providing GlusterFS
>> storage? (Yes, No)[No]:
>>
>> Now I no longer see it.
>
> Please check/post setup logs (of all relevant runs), from
> /var/log/ovirt-hosted-engine-setup

This log shows the fact that I was not prompted to configure storage,
and it shows the "timed out" failure during health.py.
http://pastebin.com/5x3Xhss7

>
>>
>> Must gluster not have any peers or volumes already? Is there some
>> other prereq that I am missing?
>
> Not sure, adding Sandro.
>
> Note that the official support for HC was postponed to 4.0 [1], but some
> parts were already implemented and should work.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1175354
>
> Best,
> --
> Didi

Thank you,
-Mike
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Prereqs for Self Hosted Engine Hyper Converged Gluster Support

2015-08-02 Thread Michael DePaulo
Hi,

I am trying to follow these instructions on 3.6 alpha 3:
http://www.ovirt.org/Features/Self_Hosted_Engine_Hyper_Converged_Gluster_Support

The 1st time I ran ovirt-hosted-engine-setup (which was unsuccessful),
I saw the prompt:

Do you want to configure this host for providing GlusterFS
storage? (Yes, No)[No]:

Now I no longer see it.

Must gluster not have any peers or volumes already? Is there some
other prereq that I am missing?

Thanks in advance,
-Mike
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users