Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-29 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 3:44 PM, Will Dennis <wden...@nec-labs.com> wrote:
> Would like to get this issue settled before I move on… Should I expect to see 
> the hosted engine VM showing up in the “VMs” node, or is it a “hidden” VM 
> because of it’s special status?

This is tracked in the following bz:

https://bugzilla.redhat.com/show_bug.cgi?id=1269768

>
> Also, I see that I can change the name of the 1st host if I select it in the 
> “Hosts” node, and choose “Edit”… Would it cause any problem if I rename it 
> there (how would that effect the engine VM, if at all?)

IIUC it should not do anything to the engine vm or the ha daemons.

>
>
> On Dec 28, 2015, at 8:59 AM, Will Dennis 
> <wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
>
> The uncompressed engine log for the period in question is 12M... Too large 
> for a pastebin...
>
> However, I grepped for ‘domain’ and that culls it down to 18 lines; the 
> results are at:http://ur1.ca/od26u
>
>
> From: Roy Golan [mailto:rgo...@redhat.com]
> Sent: Monday, December 28, 2015 3:04 AM
> To: Will Dennis
> Cc: users
> Subject: Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on 
> hyperconverged setup
>
>
>
> On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis 
> <wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
> There is still nothing showing up in the “VMs” node…
>
>
> Please share the /var/log/ovirt-engine/engine.log from the engine machine
> If you are running 3.6.1 you should see the domain imported automatically.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-29 Thread Will Dennis
Would like to get this issue settled before I move on… Should I expect to see 
the hosted engine VM showing up in the “VMs” node, or is it a “hidden” VM 
because of it’s special status?

Also, I see that I can change the name of the 1st host if I select it in the 
“Hosts” node, and choose “Edit”… Would it cause any problem if I rename it 
there (how would that effect the engine VM, if at all?)


On Dec 28, 2015, at 8:59 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

The uncompressed engine log for the period in question is 12M... Too large for 
a pastebin...

However, I grepped for ‘domain’ and that culls it down to 18 lines; the results 
are at:http://ur1.ca/od26u


From: Roy Golan [mailto:rgo...@redhat.com]
Sent: Monday, December 28, 2015 3:04 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on 
hyperconverged setup



On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
There is still nothing showing up in the “VMs” node…


Please share the /var/log/ovirt-engine/engine.log from the engine machine
If you are running 3.6.1 you should see the domain imported automatically.

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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-29 Thread Will Dennis
Also, just noticed that I’m getting the message “The Hosted Engine Storage 
Domain isn’t Active” in the Events pane, but I do not see that domain anywhere 
now in the Storage node in the Datacenter… What must I do to activate this?

On Dec 29, 2015, at 8:44 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

Would like to get this issue settled before I move on… Should I expect to see 
the hosted engine VM showing up in the “VMs” node, or is it a “hidden” VM 
because of it’s special status?

Also, I see that I can change the name of the 1st host if I select it in the 
“Hosts” node, and choose “Edit”… Would it cause any problem if I rename it 
there (how would that effect the engine VM, if at all?)


On Dec 28, 2015, at 8:59 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

The uncompressed engine log for the period in question is 12M... Too large for 
a pastebin...

However, I grepped for ‘domain’ and that culls it down to 18 lines; the results 
are at:http://ur1.ca/od26u


From: Roy Golan [mailto:rgo...@redhat.com]
Sent: Monday, December 28, 2015 3:04 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on 
hyperconverged setup



On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
There is still nothing showing up in the “VMs” node…


Please share the /var/log/ovirt-engine/engine.log from the engine machine
If you are running 3.6.1 you should see the domain imported automatically.

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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-28 Thread Roy Golan
On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis  wrote:

> Think I found the issue… Something caused the glusterd service on
> ovirt-host-03 to segfault… Restarted it, and then went ahead and configured
> a GlusterFS storage domain for Data, which worked, and now the DC status is
> “Up"… Funny thing is, I do not see the “hosted_storage” domain anywhere
> now, just the Data SD that I created (name = vm_storage_1)
>
> There is still nothing showing up in the “VMs” node…
>
>
Please share the /var/log/ovirt-engine/engine.log from the engine machine

If you are running 3.6.1 you should see the domain imported automatically.



>
> On Dec 27, 2015, at 9:28 PM, Will Dennis > wrote:
>
> Did a bit of RTFM this evening, and read in the Admin Guide that:
> "The new data center is added to the virtualization environment. It will
> remain Uninitialized until a cluster, host, and storage domain are
> configured for it; use Guide Me to configure these entities."
>
> So, in webadmin I clicked on the Data Centers node, and then clicked on
> the “Guide Me” link; sure enough, in the “There are still unconfigured
> entities:” section, there was a link for “Attach Storage”. When I clicked
> on it, I saw that there was an option to attach the “hosted_storage”
> storage domain; when I tried to do so, it failed, and I got the following
> events at the bottom of the webadmin UI:
>
> Dec 27, 2015 8:58:18 PM  VDSM ovirt-node-03 command failed: Cannot acquire
> host id: (u'e89b6e64-bd7d-4846-b970-9af32a3295ee', SanlockException(22,
> 'Sanlock lockspace add failure', 'Invalid argument'))
>
> Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domains to Data Center
> Default. (User: admin@internal)
>
> Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domain hosted_storage to
> Data Center Default. (User: admin@internal)
>
> So, how to fix this latest issue?
>
>
> On Dec 27, 2015, at 3:11 PM, Will Dennis > wrote:
>
> I clicked on the “Data Centers” node on the left nav of webadmin, and I
> see that the “Default” DC (the only one I have) has a status of
> “Uninitialized”… Not sure how to initialize it (there’s no menu option for
> that on the node…)
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-28 Thread Will Dennis
The uncompressed engine log for the period in question is 12M... Too large for 
a pastebin...

However, I grepped for ‘domain’ and that culls it down to 18 lines; the results 
are at: http://ur1.ca/od26u


From: Roy Golan [mailto:rgo...@redhat.com]
Sent: Monday, December 28, 2015 3:04 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on 
hyperconverged setup



On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:
Think I found the issue… Something caused the glusterd service on ovirt-host-03 
to segfault… Restarted it, and then went ahead and configured a GlusterFS 
storage domain for Data, which worked, and now the DC status is “Up"… Funny 
thing is, I do not see the “hosted_storage” domain anywhere now, just the Data 
SD that I created (name = vm_storage_1)

There is still nothing showing up in the “VMs” node…


Please share the /var/log/ovirt-engine/engine.log from the engine machine
If you are running 3.6.1 you should see the domain imported automatically.



On Dec 27, 2015, at 9:28 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com><mailto:wden...@nec-labs.com<mailto:wden...@nec-labs.com>>>
 wrote:

Did a bit of RTFM this evening, and read in the Admin Guide that:
"The new data center is added to the virtualization environment. It will remain 
Uninitialized until a cluster, host, and storage domain are configured for it; 
use Guide Me to configure these entities."

So, in webadmin I clicked on the Data Centers node, and then clicked on the 
“Guide Me” link; sure enough, in the “There are still unconfigured entities:” 
section, there was a link for “Attach Storage”. When I clicked on it, I saw 
that there was an option to attach the “hosted_storage” storage domain; when I 
tried to do so, it failed, and I got the following events at the bottom of the 
webadmin UI:

Dec 27, 2015 8:58:18 PM  VDSM ovirt-node-03 command failed: Cannot acquire host 
id: (u'e89b6e64-bd7d-4846-b970-9af32a3295ee', SanlockException(22, 'Sanlock 
lockspace add failure', 'Invalid argument'))

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domains to Data Center 
Default. (User: admin@internal)

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domain hosted_storage to Data 
Center Default. (User: admin@internal)

So, how to fix this latest issue?


On Dec 27, 2015, at 3:11 PM, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com><mailto:wden...@nec-labs.com<mailto:wden...@nec-labs.com>>>
 wrote:

I clicked on the “Data Centers” node on the left nav of webadmin, and I see 
that the “Default” DC (the only one I have) has a status of “Uninitialized”… 
Not sure how to initialize it (there’s no menu option for that on the node…)



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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-27 Thread Roy Golan
On Sat, Dec 26, 2015 at 6:27 PM, Will Dennis  wrote:

> Hi all,
>
> I have a hyperconverged setup where I have a hosted engine that runs on
> one of three hosts, which are named “ovirt-node-[01,02,03]” —
>
> [root@ovirt-node-01 ~]# hosted-engine --vm-status | grep -e "Hostname" -e
> "Engine"
> Hostname   : ovirt-node-01
> Engine status  : {"health": "good", "vm": "up",
> "detail": "up"}
> Hostname   : ovirt-node-02
> Engine status  : {"reason": "vm not running on this
> host", "health": "bad", "vm": "down", "detail": "unknown"}
> Hostname   : ovirt-node-03
> Engine status  : {"reason": "vm not running on this
> host", "health": "bad", "vm": "down", "detail": "unknown”}
>
> When I deployed the hosted engine, I gave it a separate hostname/IP, as I
> expected it would need it (hostname = “ovirt-engine-01”)
>
>
So when exactly did you changed the hostname?
And what did you pass to the hosted engine install as answers? perhaps
share the setup log under /var/log/ovirt-hosted-engine-ha

However, when I look at the hosts in the oVirt web admin screen, I see that
> the first host has the name “ovirt-engine-01” whereas it has the hostname
> of “ovirt-node-01”
>
> I also notice that even though the 1st host is showing the number of VM’s
> running as “1”, when I click on the “VMs” node, there are no VMs showing.
>
>
You have to have a data center active, and only after that you would be
able to see your engine VM.  This is a must. First your hosted_storage will
be imported into the setup automatically followed by the engine vm import.


Not sure of what “should be”, but, would expect that the first host would
> have a name equal to its DNS hostname (like the other two do), and that in
> VMs I would see the engine VM. But is that not how a hosted engine setup
> works?
>
> And if not, if the engine VM migrates over to another host, will that host
> gain the name "“ovirt-engine-01”?
>
>
no. We don't mess with that. The hostname is static in the engine.


> I ask this now because I want to set up a storage domain on these hosts
> using GlusterFS, and I have to select a host to base the connection on. In
> the “Use Host” dropbox, I currently see the values:
>
> ovirt-node-03
> ovirt-node-02
> ovirt-engine-01
>
> I would expect that the last entry would be for “ovirt-host-01”, not
> “ovirt-engine-01”…
>
> I don’t want to set up the storage domain until I figure this out, so as
> to prevent potential breakage...
>
> Thanks,
> Will
> ___
> 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] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-27 Thread Will Dennis
I meant “ovirt-node-01” below, not “ovirt-host-01”… so the sentence should have 
read:

‘I would expect that the last entry would be for “ovirt-node-01”, not 
“ovirt-engine-01”…’

Sorry for any confusion...

> On Dec 26, 2015, at 11:28 AM, Will Dennis  wrote:
> 
> 
> I would expect that the last entry would be for “ovirt-host-01”, not 
> “ovirt-engine-01”… 
> 

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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-27 Thread Will Dennis
Hi Roy,

I did not ever change the engine name… When I deployed it with ‘hosted-engine 
—setup’ I gave it its’ own hostname/IP, assuming it would need one that’s 
different from any of the virtualization hosts. So the virt hosts have names / 
IPs as follows:

ovirt-node-01   xxx.yyy.zzz.91
ovirt-node-02   xxx.yyy.zzz.92
ovirt-node-03   xxx.yyy.zzz.93

…and the engine VM has the hostname / IP as follows:

ovirt-engine-01   xxx.yyy.zzz.95

The engine setup log can be viewed at: http://ur1.ca/od171

I clicked on the “Data Centers” node on the left nav of webadmin, and I see 
that the “Default” DC (the only one I have) has a status of “Uninitialized”… 
Not sure how to initialize it (there’s no menu option for that on the node…)

Thanks,
Will

On Dec 27, 2015, at 1:38 PM, Roy Golan 
> wrote:



On Sat, Dec 26, 2015 at 6:27 PM, Will Dennis 
> wrote:
Hi all,

I have a hyperconverged setup where I have a hosted engine that runs on one of 
three hosts, which are named “ovirt-node-[01,02,03]” —

[root@ovirt-node-01 ~]# hosted-engine --vm-status | grep -e "Hostname" -e 
"Engine"
Hostname   : ovirt-node-01
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-02
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown”}

When I deployed the hosted engine, I gave it a separate hostname/IP, as I 
expected it would need it (hostname = “ovirt-engine-01”)


So when exactly did you changed the hostname?
And what did you pass to the hosted engine install as answers? perhaps share 
the setup log under /var/log/ovirt-hosted-engine-ha

However, when I look at the hosts in the oVirt web admin screen, I see that the 
first host has the name “ovirt-engine-01” whereas it has the hostname of 
“ovirt-node-01”

I also notice that even though the 1st host is showing the number of VM’s 
running as “1”, when I click on the “VMs” node, there are no VMs showing.


You have to have a data center active, and only after that you would be able to 
see your engine VM.  This is a must. First your hosted_storage will be imported 
into the setup automatically followed by the engine vm import.


Not sure of what “should be”, but, would expect that the first host would have 
a name equal to its DNS hostname (like the other two do), and that in VMs I 
would see the engine VM. But is that not how a hosted engine setup works?

And if not, if the engine VM migrates over to another host, will that host gain 
the name "“ovirt-engine-01”?


no. We don't mess with that. The hostname is static in the engine.

I ask this now because I want to set up a storage domain on these hosts using 
GlusterFS, and I have to select a host to base the connection on. In the “Use 
Host” dropbox, I currently see the values:

ovirt-node-03
ovirt-node-02
ovirt-engine-01

I would expect that the last entry would be for “ovirt-host-01”, not 
“ovirt-engine-01”…

I don’t want to set up the storage domain until I figure this out, so as to 
prevent potential breakage...

Thanks,
Will
___
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] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-27 Thread Will Dennis
Think I found the issue… Something caused the glusterd service on ovirt-host-03 
to segfault… Restarted it, and then went ahead and configured a GlusterFS 
storage domain for Data, which worked, and now the DC status is “Up"… Funny 
thing is, I do not see the “hosted_storage” domain anywhere now, just the Data 
SD that I created (name = vm_storage_1)

There is still nothing showing up in the “VMs” node…


On Dec 27, 2015, at 9:28 PM, Will Dennis 
> wrote:

Did a bit of RTFM this evening, and read in the Admin Guide that:
"The new data center is added to the virtualization environment. It will remain 
Uninitialized until a cluster, host, and storage domain are configured for it; 
use Guide Me to configure these entities."

So, in webadmin I clicked on the Data Centers node, and then clicked on the 
“Guide Me” link; sure enough, in the “There are still unconfigured entities:” 
section, there was a link for “Attach Storage”. When I clicked on it, I saw 
that there was an option to attach the “hosted_storage” storage domain; when I 
tried to do so, it failed, and I got the following events at the bottom of the 
webadmin UI:

Dec 27, 2015 8:58:18 PM  VDSM ovirt-node-03 command failed: Cannot acquire host 
id: (u'e89b6e64-bd7d-4846-b970-9af32a3295ee', SanlockException(22, 'Sanlock 
lockspace add failure', 'Invalid argument'))

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domains to Data Center 
Default. (User: admin@internal)

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domain hosted_storage to Data 
Center Default. (User: admin@internal)

So, how to fix this latest issue?


On Dec 27, 2015, at 3:11 PM, Will Dennis 
> wrote:

I clicked on the “Data Centers” node on the left nav of webadmin, and I see 
that the “Default” DC (the only one I have) has a status of “Uninitialized”… 
Not sure how to initialize it (there’s no menu option for that on the node…)



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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-27 Thread Will Dennis
Did a bit of RTFM this evening, and read in the Admin Guide that:
"The new data center is added to the virtualization environment. It will remain 
Uninitialized until a cluster, host, and storage domain are configured for it; 
use Guide Me to configure these entities."

So, in webadmin I clicked on the Data Centers node, and then clicked on the 
“Guide Me” link; sure enough, in the “There are still unconfigured entities:” 
section, there was a link for “Attach Storage”. When I clicked on it, I saw 
that there was an option to attach the “hosted_storage” storage domain; when I 
tried to do so, it failed, and I got the following events at the bottom of the 
webadmin UI:

Dec 27, 2015 8:58:18 PM  VDSM ovirt-node-03 command failed: Cannot acquire host 
id: (u'e89b6e64-bd7d-4846-b970-9af32a3295ee', SanlockException(22, 'Sanlock 
lockspace add failure', 'Invalid argument'))

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domains to Data Center 
Default. (User: admin@internal)

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domain hosted_storage to Data 
Center Default. (User: admin@internal)

So, how to fix this latest issue?


On Dec 27, 2015, at 3:11 PM, Will Dennis 
> wrote:

I clicked on the “Data Centers” node on the left nav of webadmin, and I see 
that the “Default” DC (the only one I have) has a status of “Uninitialized”… 
Not sure how to initialize it (there’s no menu option for that on the node…)


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


[ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-26 Thread Will Dennis
Hi all,

I have a hyperconverged setup where I have a hosted engine that runs on one of 
three hosts, which are named “ovirt-node-[01,02,03]” —

[root@ovirt-node-01 ~]# hosted-engine --vm-status | grep -e "Hostname" -e 
"Engine"
Hostname   : ovirt-node-01
Engine status  : {"health": "good", "vm": "up", "detail": 
"up"}
Hostname   : ovirt-node-02
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Hostname   : ovirt-node-03
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown”}

When I deployed the hosted engine, I gave it a separate hostname/IP, as I 
expected it would need it (hostname = “ovirt-engine-01”) 

However, when I look at the hosts in the oVirt web admin screen, I see that the 
first host has the name “ovirt-engine-01” whereas it has the hostname of 
“ovirt-node-01”

I also notice that even though the 1st host is showing the number of VM’s 
running as “1”, when I click on the “VMs” node, there are no VMs showing.

Not sure of what “should be”, but, would expect that the first host would have 
a name equal to its DNS hostname (like the other two do), and that in VMs I 
would see the engine VM. But is that not how a hosted engine setup works?

And if not, if the engine VM migrates over to another host, will that host gain 
the name "“ovirt-engine-01”?

I ask this now because I want to set up a storage domain on these hosts using 
GlusterFS, and I have to select a host to base the connection on. In the “Use 
Host” dropbox, I currently see the values:

ovirt-node-03
ovirt-node-02
ovirt-engine-01

I would expect that the last entry would be for “ovirt-host-01”, not 
“ovirt-engine-01”… 

I don’t want to set up the storage domain until I figure this out, so as to 
prevent potential breakage...

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