Re: [ovirt-users] Self hosted single server network requirements

2016-12-07 Thread Derek Atkins
Hi,
+cc back to the list

Mark Steckel  writes:

> Hi Derek,
>
> I solved the first networking issue by changing how Hetzner config'ed
> the /32 on the host. (They were scoping the IP to the gateway which
> was confusing OVirt.)
>
> So now I'm trying to get the /29 working for the VMs... continue below.

Okay..

[snip]
> In the case of Hetzner, they provide the /29 and expect that the gw, the 
> first usable IP of the /29, will be on the host and not the router. At least 
> this is what I get from their docs. Effectively.
>
>  /32   /32
> router --- host   VMs
>/29/29
>
> To test things I manually created an alias on the ovirtmgmt dev for the /29 
> gw IP and can ping it from the outside world. So basic routing seems to route 
> for the /29. 
>
> Since OVirt seems to be constrained on the network configs it can deal with, 
> my question is how should I permanently config the /29 gw IP (ie on eth0 or 
> ovirtmgmt) and what do I need to do to set up the /29 IPs for the VMs?

I've never tried setting multiple IPs on my ovirtmgmt bridge on the
host.  But you shouldn't have to do that.  It's a bridge, after all, so
all systems that sit on that bridge (which include your VMs) will be
equivalent.

In my case I have an external router that gets used for both of my
networks (I have a 192.168 network as well as a full class-C but they
share physical infrastructure).  So my host only has a 192.168 address,
my engine is on the class-C, and they talk to each other over the
standard network.

In your case it *SOUNDS* like you need to set up an internal router for
the /29.  The way I would do it would be:

  /32   /32 /29bridge +--- host (/29)
ISP-Router  --- internal-router --+--- VM   (/29)
  +--- VM   (/29)

I don't know if you can actually do this.  If not, your other option
would be:

   /32 bridge +--- host (/32)
router ---+--- VM Router (/29)  (pfsense?)
  +--- VM (/29)

This may not work for you, either, depending.

WORST case you may need to manually configure a second IP on the
ovirtmgmt bridge on your host:


   /32 bridge +--- host (/32 + /29)
router ---+--- VM (/29)
  +--- VM (/29)

I would do this by manually creating the config file on your host:
/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt:0

> Thanks
> Mark

-derek
-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-12-05 Thread Mark Steckel
Follow-up - I finally discovered the source of my networking troubles.

The provider (Hetzner) configures the primary IP in a somewhat odd manner for 
Cent OS 7.2.

For instance, here is /etc/sysconfig/network-scripts/ifcfg-eth0 (lightly edited)

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPADDR=A.B.4.9
NETMASK=255.255.255.255
SCOPE="peer A.B.4.1"

And /etc/sysconfig/network-scripts/route-eth0

ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=A.B.4.1

The key thing is the SCOPE line.

This creates a private link between the server's IP and the gw IP. The server's 
IP address no longer has a netmask, which is now specified on the gw IP.

The odd network config appears to confuse the hosted-engine deploy process 
because it was unable to configure the ovirtmgmt bridge in a working manner.

Once I delete route-eth0 and changed ifcfg-eth0 to a more typical configuration 
all started working.

Now I just need to figure out how to configure the /29 for the VMs.

Thanks
Mark


- Derek Atkins  wrote:
> Hi,
> 
> On Mon, November 21, 2016 4:30 pm, Mark Steckel wrote:
> >
> [snip]
> >> >> > Advice so far seems to be:
> >> >> > * Use 'screen' when deploying. Easy
> >> >> > * Don't use/disable Network-Manager. Easy
> >> >> > * Preconfigure the ovirtmgmt bridge. I've got questions...
> >> >> >
> >> >> > The server has a public /32 as the primary IP, and a public /29
> >> which
> >> >> > will be used for the VMs.
> >> >> >
> >> >> > Besides creating the ovirtmgmt bridge is there anything specific
> >> for
> >> >> > how I should configure it?
> [snip]
> >
> > Yeah, I was hoping that would be the case for me too. :-)
> 
> For what it's worth, it took me about 4 tries to get it all working.
> I wound up using a script I found to clean the host and re-install it all.
>  Of course the cleanup process let the firewall in a state where it
> blocked all traffic (including SSH), but I figured that part out on the
> 2nd try so added it back into my script for the 3rd.  ;)
> 
> The other difference is that I had already created a bond0 interface which
> was my default (with a non-NM-controlled static network).  However, that
> shouldn't have made a difference.
> 
> >> What did your /etc/sysconfig/network-scripts/ifcfg- file look like?
> >> (And what does the ifcfg-ovirtmgmt file look like)?
> >
> > Sadly, thinking I messed things up I scrubbed the machine and started
> > over. I have a fresh CentOS 7.2 install waiting to run 'hosted-engine
> > --deploy' on it once I have a better sense what if anything I need to
> > prepare from a networking stand point.
> 
> Okay, so go and try it!  :)
> 
> Worst case, you need to run hosted-engine-cleanup.sh and then reset the
> firewall and reboot, and then re-install everything:
> 
> https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/self-hosted-engine-guide/chapter-2-deploying-self-hosted-engine
> http://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install
> 
> [snip]
> >> >> As for the /29 -- don't worry about it now, that would be a routing
> >> >> issue you can apply later.  Is it the same network as the /32?  Or is
> >> it
> >> >> a different network?
> >> >
> >> > Different.
> >>
> >> I assume both networks are available on your host interface?
> >
> > At this point only the /32 is on the host interface. The /29 is not
> > assigned at the moment.
> 
> You shouldn't need to "assign" anything in the /29 to the host.  All
> that's important is that the physical network can reach the /29.  I.e.,
> you could do something like:
> 
>  /32   /32/29
> router --- host   VMs
>  /29
> 
> The host will bridge the network to the VMs, but it can be on a different
> network.
> 
> > Mark
> 
> -derek
> 
> -- 
>Derek Atkins 617-623-3745
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant
> 

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


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Derek Atkins
Hi,

On Mon, November 21, 2016 4:30 pm, Mark Steckel wrote:
>
[snip]
>> >> > Advice so far seems to be:
>> >> > * Use 'screen' when deploying. Easy
>> >> > * Don't use/disable Network-Manager. Easy
>> >> > * Preconfigure the ovirtmgmt bridge. I've got questions...
>> >> >
>> >> > The server has a public /32 as the primary IP, and a public /29
>> which
>> >> > will be used for the VMs.
>> >> >
>> >> > Besides creating the ovirtmgmt bridge is there anything specific
>> for
>> >> > how I should configure it?
[snip]
>
> Yeah, I was hoping that would be the case for me too. :-)

For what it's worth, it took me about 4 tries to get it all working.
I wound up using a script I found to clean the host and re-install it all.
 Of course the cleanup process let the firewall in a state where it
blocked all traffic (including SSH), but I figured that part out on the
2nd try so added it back into my script for the 3rd.  ;)

The other difference is that I had already created a bond0 interface which
was my default (with a non-NM-controlled static network).  However, that
shouldn't have made a difference.

>> What did your /etc/sysconfig/network-scripts/ifcfg- file look like?
>> (And what does the ifcfg-ovirtmgmt file look like)?
>
> Sadly, thinking I messed things up I scrubbed the machine and started
> over. I have a fresh CentOS 7.2 install waiting to run 'hosted-engine
> --deploy' on it once I have a better sense what if anything I need to
> prepare from a networking stand point.

Okay, so go and try it!  :)

Worst case, you need to run hosted-engine-cleanup.sh and then reset the
firewall and reboot, and then re-install everything:

https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/self-hosted-engine-guide/chapter-2-deploying-self-hosted-engine
http://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install

[snip]
>> >> As for the /29 -- don't worry about it now, that would be a routing
>> >> issue you can apply later.  Is it the same network as the /32?  Or is
>> it
>> >> a different network?
>> >
>> > Different.
>>
>> I assume both networks are available on your host interface?
>
> At this point only the /32 is on the host interface. The /29 is not
> assigned at the moment.

You shouldn't need to "assign" anything in the /29 to the host.  All
that's important is that the physical network can reach the /29.  I.e.,
you could do something like:

 /32   /32/29
router --- host   VMs
 /29

The host will bridge the network to the VMs, but it can be on a different
network.

> Mark

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

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


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Mark Steckel

- Derek Atkins  wrote:
> Hi,
> 
> On Mon, November 21, 2016 4:21 pm, Mark Steckel wrote:
> >
> > - Derek Atkins  wrote:
> >> Hi,
> >>
> >> Mark Steckel  writes:
> >>
> >> > Thanks all who have responded so far.
> >> >
> >> > Advice so far seems to be:
> >> > * Use 'screen' when deploying. Easy
> >> > * Don't use/disable Network-Manager. Easy
> >> > * Preconfigure the ovirtmgmt bridge. I've got questions...
> >> >
> >> > The server has a public /32 as the primary IP, and a public /29 which
> >> > will be used for the VMs.
> >> >
> >> > Besides creating the ovirtmgmt bridge is there anything specific for
> >> > how I should configure it?
> >>
> >> My recommendation is that you just set up non-NM-controlled static
> >> network using your public /32.  Then the hosted-engine --deploy process
> >> should take that config and apply it to ovirtmgmt bridge.  At least,
> >> that's what happened for me when I did it.  I don't think you need to
> >> set up the ovirtmgmt bridge manually.
> >
> > This is what I initially did and then lost Internet access when the /32
> > was migrated to the ovirtmgmt bridge.
> >
> > I then used KVM console access to access the box, but it could no longer
> > access it's public gateway. It was at this point then I surmised that
> > something was amiss.
> 
> Hmm.  That's odd.  "If worked for me"..

Yeah, I was hoping that would be the case for me too. :-)

> 
> What did your /etc/sysconfig/network-scripts/ifcfg- file look like? 
> (And what does the ifcfg-ovirtmgmt file look like)?

Sadly, thinking I messed things up I scrubbed the machine and started over. I 
have a fresh CentOS 7.2 install waiting to run 'hosted-engine --deploy' on it 
once I have a better sense what if anything I need to prepare from a networking 
stand point.





> 
> >
> >>
> >> As for the /29 -- don't worry about it now, that would be a routing
> >> issue you can apply later.  Is it the same network as the /32?  Or is it
> >> a different network?
> >
> > Different.
> 
> I assume both networks are available on your host interface?

At this point only the /32 is on the host interface. The /29 is not assigned at 
the moment.

Mark



> 
> -derek
> 
> -- 
>Derek Atkins 617-623-3745
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant
> 

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


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Derek Atkins
Hi,

On Mon, November 21, 2016 4:21 pm, Mark Steckel wrote:
>
> - Derek Atkins  wrote:
>> Hi,
>>
>> Mark Steckel  writes:
>>
>> > Thanks all who have responded so far.
>> >
>> > Advice so far seems to be:
>> > * Use 'screen' when deploying. Easy
>> > * Don't use/disable Network-Manager. Easy
>> > * Preconfigure the ovirtmgmt bridge. I've got questions...
>> >
>> > The server has a public /32 as the primary IP, and a public /29 which
>> > will be used for the VMs.
>> >
>> > Besides creating the ovirtmgmt bridge is there anything specific for
>> > how I should configure it?
>>
>> My recommendation is that you just set up non-NM-controlled static
>> network using your public /32.  Then the hosted-engine --deploy process
>> should take that config and apply it to ovirtmgmt bridge.  At least,
>> that's what happened for me when I did it.  I don't think you need to
>> set up the ovirtmgmt bridge manually.
>
> This is what I initially did and then lost Internet access when the /32
> was migrated to the ovirtmgmt bridge.
>
> I then used KVM console access to access the box, but it could no longer
> access it's public gateway. It was at this point then I surmised that
> something was amiss.

Hmm.  That's odd.  "If worked for me"..

What did your /etc/sysconfig/network-scripts/ifcfg- file look like? 
(And what does the ifcfg-ovirtmgmt file look like)?

>
>>
>> As for the /29 -- don't worry about it now, that would be a routing
>> issue you can apply later.  Is it the same network as the /32?  Or is it
>> a different network?
>
> Different.

I assume both networks are available on your host interface?

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

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


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Mark Steckel

- Derek Atkins  wrote:
> Hi,
> 
> Mark Steckel  writes:
> 
> > Thanks all who have responded so far.
> >
> > Advice so far seems to be:
> > * Use 'screen' when deploying. Easy
> > * Don't use/disable Network-Manager. Easy
> > * Preconfigure the ovirtmgmt bridge. I've got questions...
> >
> > The server has a public /32 as the primary IP, and a public /29 which
> > will be used for the VMs.
> >
> > Besides creating the ovirtmgmt bridge is there anything specific for
> > how I should configure it?
> 
> My recommendation is that you just set up non-NM-controlled static
> network using your public /32.  Then the hosted-engine --deploy process
> should take that config and apply it to ovirtmgmt bridge.  At least,
> that's what happened for me when I did it.  I don't think you need to
> set up the ovirtmgmt bridge manually.

This is what I initially did and then lost Internet access when the /32 was 
migrated to the ovirtmgmt bridge.

I then used KVM console access to access the box, but it could no longer access 
it's public gateway. It was at this point then I surmised that something was 
amiss.

> 
> As for the /29 -- don't worry about it now, that would be a routing
> issue you can apply later.  Is it the same network as the /32?  Or is it
> a different network?

Different.


> 
> > Thanks
> > Mark
> 
> -derek
> 
> > - Paul-Erik Törrönen  wrote:
> >> On 2016-11-19 11:28, Joop wrote:
> >> > I have never setup such a server but if you create the ovirtmgmt bridge
> >> > first then the deploy will leave it alone and you won't lose network
> >> > connectivity.
> >> 
> >> I've set up almost the described combination (I do run the vm-engine on 
> >> a separate laptop), and found that running the commandline stuff in a 
> >> screen helps a lot, the setup commands can then complete instead of 
> >> being interrupted as your (ssh-)session is killed.
> >> 
> >> I also enountered the same issue of network connection loss as the 
> >> ovirtmgmt-interface took over my primary connection, but I was able to 
> >> continue as I  had several network devices on my hardware which I had 
> >> already configured, and was able to access the server through them.
> >> 
> >> If you only have one network interface, then I would recommend running 
> >> the commands in a screen, and in the case of losing the connection, 
> >> reconnect to the screen through the KVM.
> >> 
> >> My 0.02€
> >> 
> >> Poltsi
> >> ___
> >> 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
> 
> -- 
>Derek Atkins 617-623-3745
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant

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


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Derek Atkins
Hi,

Mark Steckel  writes:

> Thanks all who have responded so far.
>
> Advice so far seems to be:
> * Use 'screen' when deploying. Easy
> * Don't use/disable Network-Manager. Easy
> * Preconfigure the ovirtmgmt bridge. I've got questions...
>
> The server has a public /32 as the primary IP, and a public /29 which
> will be used for the VMs.
>
> Besides creating the ovirtmgmt bridge is there anything specific for
> how I should configure it?

My recommendation is that you just set up non-NM-controlled static
network using your public /32.  Then the hosted-engine --deploy process
should take that config and apply it to ovirtmgmt bridge.  At least,
that's what happened for me when I did it.  I don't think you need to
set up the ovirtmgmt bridge manually.

As for the /29 -- don't worry about it now, that would be a routing
issue you can apply later.  Is it the same network as the /32?  Or is it
a different network?

> Thanks
> Mark

-derek

> - Paul-Erik Törrönen  wrote:
>> On 2016-11-19 11:28, Joop wrote:
>> > I have never setup such a server but if you create the ovirtmgmt bridge
>> > first then the deploy will leave it alone and you won't lose network
>> > connectivity.
>> 
>> I've set up almost the described combination (I do run the vm-engine on 
>> a separate laptop), and found that running the commandline stuff in a 
>> screen helps a lot, the setup commands can then complete instead of 
>> being interrupted as your (ssh-)session is killed.
>> 
>> I also enountered the same issue of network connection loss as the 
>> ovirtmgmt-interface took over my primary connection, but I was able to 
>> continue as I  had several network devices on my hardware which I had 
>> already configured, and was able to access the server through them.
>> 
>> If you only have one network interface, then I would recommend running 
>> the commands in a screen, and in the case of losing the connection, 
>> reconnect to the screen through the KVM.
>> 
>> My 0.02€
>> 
>> Poltsi
>> ___
>> 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

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Mark Steckel
Thanks all who have responded so far.

Advice so far seems to be:
* Use 'screen' when deploying. Easy
* Don't use/disable Network-Manager. Easy
* Preconfigure the ovirtmgmt bridge. I've got questions...

The server has a public /32 as the primary IP, and a public /29 which will be 
used for the VMs.

Besides creating the ovirtmgmt bridge is there anything specific for how I 
should configure it?

Thanks
Mark


- Paul-Erik Törrönen  wrote:
> On 2016-11-19 11:28, Joop wrote:
> > I have never setup such a server but if you create the ovirtmgmt bridge
> > first then the deploy will leave it alone and you won't lose network
> > connectivity.
> 
> I've set up almost the described combination (I do run the vm-engine on 
> a separate laptop), and found that running the commandline stuff in a 
> screen helps a lot, the setup commands can then complete instead of 
> being interrupted as your (ssh-)session is killed.
> 
> I also enountered the same issue of network connection loss as the 
> ovirtmgmt-interface took over my primary connection, but I was able to 
> continue as I  had several network devices on my hardware which I had 
> already configured, and was able to access the server through them.
> 
> If you only have one network interface, then I would recommend running 
> the commands in a screen, and in the case of losing the connection, 
> reconnect to the screen through the KVM.
> 
> My 0.02€
> 
> Poltsi
> ___
> 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] Self hosted single server network requirements

2016-11-21 Thread Mark Steckel

- Yedidyah Bar David  wrote:
> On Sat, Nov 19, 2016 at 11:28 AM, Joop  wrote:
> > On 18-11-2016 23:47, Mark Steckel wrote:
> >> Hi folks,
> >>
> >> I'm a complete OVirt newbie trying to set up a self hosted, single server 
> >> and looking for some pointers to get going... (While new to OVirt, I'm 
> >> long time sysadmin so not totally clueless.)
> 
> Welcome :-)

Thanks!


> 
> >>
> >> The server I'm using has a 4-core CPU, 64 GB of ram, and a pair of 500 GB 
> >> SSDs set up with RAID 1 and running CentOS 7.2. (I do not have physical 
> >> access to the server but can get KVM access when required.)
> >>
> >> The goal is to set up this server as a self hosted, single server OVirt 
> >> platform. Nothing mission critical, just want to be able to spin up VMs 
> >> when needed and destroy them afterwards.
> >>
> >> Trying to use OVirt 4.0.4 (now 4.0.5).
> >>
> >> I've read some docs for setting this up including those just below as well 
> >> as a bunch of googling and reading through the list archive.
> >>
> >>http://www.ovirt.org/documentation/how-to/hosted-engine/
> >>
> >> http://www.ovirt.org/develop/release-management/features/heapplianceflow/
> >>
> >> http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/
> >>
> >> Every time I execute "hosted-engine --deploy" the process "hangs" when it 
> >> migrates the public IP address to a virtual nic interface. And in this 
> >> case, by "hang" I mean that I lose the connection to the server. I have no 
> >> idea if the process finishes or errors out.
> 
> Can you share logs at this point? Including /var/log/vdsm/* and
> /var/log/ovirt-hosted-engine-setup/* . If you have KVM access, you
> might manage to get them. Or copy after a reboot.
> Also please share your network configuration. Are you using
> NetworkManager (IIRC unsupported currently)? DHCP? Static IP conf?

I reinstalled the OS (wiping the logs) since my initial email. When/if it fails 
again I will provide the logs.


> 
> >>
> >> So obviously I'm doing something wrong.
> 
> Or it might be a bug.
> 
> >>
> >> I suspect that I need to take care of some network requirement before 
> >> starting. However, I can't find anything in the docs of how to prep the 
> >> server network environment before running "hosted-engine --deploy".
> >>
> >> Should probably also mention that some, if not all of the VMs will need a 
> >> public IP address. The physical server has a /29 to get started.
> >>
> > I have never setup such a server but if you create the ovirtmgmt bridge
> > first then the deploy will leave it alone and you won't lose network
> > connectivity.
> 
> See also [1]. Adding Dan (who wrote this). Best,
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1301879#c1

Comments 4 in the link above mentions an "Installation Guide." Besides the 
"Quick Start Guide" and the links I initially reference I have not seen a 
"Installation Guide". Am I just missing it?

Thanks
Mark



> -- 
> Didi
> ___
> 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] Self hosted single server network requirements

2016-11-20 Thread Paul-Erik Törrönen

On 2016-11-19 11:28, Joop wrote:

I have never setup such a server but if you create the ovirtmgmt bridge
first then the deploy will leave it alone and you won't lose network
connectivity.


I've set up almost the described combination (I do run the vm-engine on 
a separate laptop), and found that running the commandline stuff in a 
screen helps a lot, the setup commands can then complete instead of 
being interrupted as your (ssh-)session is killed.


I also enountered the same issue of network connection loss as the 
ovirtmgmt-interface took over my primary connection, but I was able to 
continue as I  had several network devices on my hardware which I had 
already configured, and was able to access the server through them.


If you only have one network interface, then I would recommend running 
the commands in a screen, and in the case of losing the connection, 
reconnect to the screen through the KVM.


My 0.02€

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


Re: [ovirt-users] Self hosted single server network requirements

2016-11-20 Thread Yedidyah Bar David
On Sat, Nov 19, 2016 at 11:28 AM, Joop  wrote:
> On 18-11-2016 23:47, Mark Steckel wrote:
>> Hi folks,
>>
>> I'm a complete OVirt newbie trying to set up a self hosted, single server 
>> and looking for some pointers to get going... (While new to OVirt, I'm long 
>> time sysadmin so not totally clueless.)

Welcome :-)

>>
>> The server I'm using has a 4-core CPU, 64 GB of ram, and a pair of 500 GB 
>> SSDs set up with RAID 1 and running CentOS 7.2. (I do not have physical 
>> access to the server but can get KVM access when required.)
>>
>> The goal is to set up this server as a self hosted, single server OVirt 
>> platform. Nothing mission critical, just want to be able to spin up VMs when 
>> needed and destroy them afterwards.
>>
>> Trying to use OVirt 4.0.4 (now 4.0.5).
>>
>> I've read some docs for setting this up including those just below as well 
>> as a bunch of googling and reading through the list archive.
>>
>>http://www.ovirt.org/documentation/how-to/hosted-engine/
>>http://www.ovirt.org/develop/release-management/features/heapplianceflow/
>>
>> http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/
>>
>> Every time I execute "hosted-engine --deploy" the process "hangs" when it 
>> migrates the public IP address to a virtual nic interface. And in this case, 
>> by "hang" I mean that I lose the connection to the server. I have no idea if 
>> the process finishes or errors out.

Can you share logs at this point? Including /var/log/vdsm/* and
/var/log/ovirt-hosted-engine-setup/* . If you have KVM access, you
might manage to get them. Or copy after a reboot.
Also please share your network configuration. Are you using
NetworkManager (IIRC unsupported currently)? DHCP? Static IP conf?

>>
>> So obviously I'm doing something wrong.

Or it might be a bug.

>>
>> I suspect that I need to take care of some network requirement before 
>> starting. However, I can't find anything in the docs of how to prep the 
>> server network environment before running "hosted-engine --deploy".
>>
>> Should probably also mention that some, if not all of the VMs will need a 
>> public IP address. The physical server has a /29 to get started.
>>
> I have never setup such a server but if you create the ovirtmgmt bridge
> first then the deploy will leave it alone and you won't lose network
> connectivity.

See also [1]. Adding Dan (who wrote this). Best,

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1301879#c1
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-19 Thread Joop
On 18-11-2016 23:47, Mark Steckel wrote:
> Hi folks,
>
> I'm a complete OVirt newbie trying to set up a self hosted, single server and 
> looking for some pointers to get going... (While new to OVirt, I'm long time 
> sysadmin so not totally clueless.)
>
> The server I'm using has a 4-core CPU, 64 GB of ram, and a pair of 500 GB 
> SSDs set up with RAID 1 and running CentOS 7.2. (I do not have physical 
> access to the server but can get KVM access when required.)
>
> The goal is to set up this server as a self hosted, single server OVirt 
> platform. Nothing mission critical, just want to be able to spin up VMs when 
> needed and destroy them afterwards.
>
> Trying to use OVirt 4.0.4 (now 4.0.5).
>
> I've read some docs for setting this up including those just below as well as 
> a bunch of googling and reading through the list archive.
>
>http://www.ovirt.org/documentation/how-to/hosted-engine/
>http://www.ovirt.org/develop/release-management/features/heapplianceflow/
>
> http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/
>
> Every time I execute "hosted-engine --deploy" the process "hangs" when it 
> migrates the public IP address to a virtual nic interface. And in this case, 
> by "hang" I mean that I lose the connection to the server. I have no idea if 
> the process finishes or errors out.
>
> So obviously I'm doing something wrong.
>
> I suspect that I need to take care of some network requirement before 
> starting. However, I can't find anything in the docs of how to prep the 
> server network environment before running "hosted-engine --deploy". 
>
> Should probably also mention that some, if not all of the VMs will need a 
> public IP address. The physical server has a /29 to get started.
>
I have never setup such a server but if you create the ovirtmgmt bridge
first then the deploy will leave it alone and you won't lose network
connectivity.

Joop

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


[ovirt-users] Self hosted single server network requirements

2016-11-18 Thread Mark Steckel
Hi folks,

I'm a complete OVirt newbie trying to set up a self hosted, single server and 
looking for some pointers to get going... (While new to OVirt, I'm long time 
sysadmin so not totally clueless.)

The server I'm using has a 4-core CPU, 64 GB of ram, and a pair of 500 GB SSDs 
set up with RAID 1 and running CentOS 7.2. (I do not have physical access to 
the server but can get KVM access when required.)

The goal is to set up this server as a self hosted, single server OVirt 
platform. Nothing mission critical, just want to be able to spin up VMs when 
needed and destroy them afterwards.

Trying to use OVirt 4.0.4 (now 4.0.5).

I've read some docs for setting this up including those just below as well as a 
bunch of googling and reading through the list archive.

   http://www.ovirt.org/documentation/how-to/hosted-engine/
   http://www.ovirt.org/develop/release-management/features/heapplianceflow/
   
http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/

Every time I execute "hosted-engine --deploy" the process "hangs" when it 
migrates the public IP address to a virtual nic interface. And in this case, by 
"hang" I mean that I lose the connection to the server. I have no idea if the 
process finishes or errors out.

So obviously I'm doing something wrong.

I suspect that I need to take care of some network requirement before starting. 
However, I can't find anything in the docs of how to prep the server network 
environment before running "hosted-engine --deploy". 

Should probably also mention that some, if not all of the VMs will need a 
public IP address. The physical server has a /29 to get started.

Any pointers would be greatly appreciated.

Thanks
Mark


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