Re: Curent Centos 7 and bhyve

2018-08-11 Thread Victor Sudakov
Rodney W. Grimes wrote:
> > Rodney W. Grimes wrote:
> > > > > > > > > Are there issues with Current CEntos and bhyve?
> > > > > > > > 
> > > > > > > > Sure there are, please look at
> > > > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> > > > > > > 
> > > > > > > Booting in UEFI mode works.
> > > > > > 
> > > > > > This means we need an update to 
> > > > > > /usr/local/share/examples/vm-bhyve/centos7.conf ?
> > > > > > It says 'loader="grub"' for the present.
> > > > > > 
> > > > > > Do you have a vm config to boot centos7 in UEFI mode you could 
> > > > > > share?
> > > > > 
> > > > > I just use /usr/share/examples/bhyve/vmrun.sh. I don't use any
> > > > > third-party utility to manage bhyve VMs. vmrun.sh is pretty
> > > > > straight-forward.
> > > > 
> > > > Thanks for replying. However, I highly recommend vm-bhyve, maybe you
> > > > should give it a try. You will love the ease of VM creation and
> > > > provisioning, network management, ZFS integration (VM snapshots and
> > > > cloning), console and datastore management etc.
> > > 
> > > Though it has a lot of features, it also has some short comings,
> > > like you can not spec a vm to be wired in memory, which IMHO is
> > > the only way to insure consistent VM performance.
> > 
> > Well, we have "bhyve_options" configuration option in the vm config,
> > why not put "-S" there, is that what you mean by wiring the vm in
> > memory?
> 
> I believe that fails as that only adds the -S to bhyve, and
> you must specify it both on bhyveload and bhyve for it to
> work.

I think it is totally doable becase vm-bhyve is nothing but a suit of
scripts. A PR with a feature request would be appropriate.

What about VM that don't use bhyveload, but some other kind of loader
like grub2-bhyve?

> > > 
> > > Its artificial restriction of 16 character VM names is also
> > > a fair bit annoying.
> > 
> > Maybe.
> 
> Maybe?  No, factually.  I migrated a number of ESXi VM's and
> had to patch vm-bhyve to not have this restriction, so it is
> annoying.

Did you send your patches upstream? 

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
AS43859
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Rodney W. Grimes
> Rodney W. Grimes wrote:
> > > > > > > > Are there issues with Current CEntos and bhyve?
> > > > > > > 
> > > > > > > Sure there are, please look at
> > > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> > > > > > 
> > > > > > Booting in UEFI mode works.
> > > > > 
> > > > > This means we need an update to 
> > > > > /usr/local/share/examples/vm-bhyve/centos7.conf ?
> > > > > It says 'loader="grub"' for the present.
> > > > > 
> > > > > Do you have a vm config to boot centos7 in UEFI mode you could share?
> > > > 
> > > > I just use /usr/share/examples/bhyve/vmrun.sh. I don't use any
> > > > third-party utility to manage bhyve VMs. vmrun.sh is pretty
> > > > straight-forward.
> > > 
> > > Thanks for replying. However, I highly recommend vm-bhyve, maybe you
> > > should give it a try. You will love the ease of VM creation and
> > > provisioning, network management, ZFS integration (VM snapshots and
> > > cloning), console and datastore management etc.
> > 
> > Though it has a lot of features, it also has some short comings,
> > like you can not spec a vm to be wired in memory, which IMHO is
> > the only way to insure consistent VM performance.
> 
> Well, we have "bhyve_options" configuration option in the vm config,
> why not put "-S" there, is that what you mean by wiring the vm in
> memory?

I believe that fails as that only adds the -S to bhyve, and
you must specify it both on bhyveload and bhyve for it to
work.

> > 
> > Its artificial restriction of 16 character VM names is also
> > a fair bit annoying.
> 
> Maybe.

Maybe?  No, factually.  I migrated a number of ESXi VM's and
had to patch vm-bhyve to not have this restriction, so it is
annoying.

-- 
Rod Grimes rgri...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Victor Sudakov
Rodney W. Grimes wrote:
> > > > > > > Are there issues with Current CEntos and bhyve?
> > > > > > 
> > > > > > Sure there are, please look at
> > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> > > > > 
> > > > > Booting in UEFI mode works.
> > > > 
> > > > This means we need an update to 
> > > > /usr/local/share/examples/vm-bhyve/centos7.conf ?
> > > > It says 'loader="grub"' for the present.
> > > > 
> > > > Do you have a vm config to boot centos7 in UEFI mode you could share?
> > > 
> > > I just use /usr/share/examples/bhyve/vmrun.sh. I don't use any
> > > third-party utility to manage bhyve VMs. vmrun.sh is pretty
> > > straight-forward.
> > 
> > Thanks for replying. However, I highly recommend vm-bhyve, maybe you
> > should give it a try. You will love the ease of VM creation and
> > provisioning, network management, ZFS integration (VM snapshots and
> > cloning), console and datastore management etc.
> 
> Though it has a lot of features, it also has some short comings,
> like you can not spec a vm to be wired in memory, which IMHO is
> the only way to insure consistent VM performance.

Well, we have "bhyve_options" configuration option in the vm config,
why not put "-S" there, is that what you mean by wiring the vm in
memory?


> 
> Its artificial restriction of 16 character VM names is also
> a fair bit annoying.

Maybe.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
AS43859
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Rodney W. Grimes
> Shawn Webb wrote:
> > > > > > Are there issues with Current CEntos and bhyve?
> > > > > 
> > > > > Sure there are, please look at
> > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> > > > 
> > > > Booting in UEFI mode works.
> > > 
> > > This means we need an update to 
> > > /usr/local/share/examples/vm-bhyve/centos7.conf ?
> > > It says 'loader="grub"' for the present.
> > > 
> > > Do you have a vm config to boot centos7 in UEFI mode you could share?
> > 
> > I just use /usr/share/examples/bhyve/vmrun.sh. I don't use any
> > third-party utility to manage bhyve VMs. vmrun.sh is pretty
> > straight-forward.
> 
> Thanks for replying. However, I highly recommend vm-bhyve, maybe you
> should give it a try. You will love the ease of VM creation and
> provisioning, network management, ZFS integration (VM snapshots and
> cloning), console and datastore management etc.

Though it has a lot of features, it also has some short comings,
like you can not spec a vm to be wired in memory, which IMHO is
the only way to insure consistent VM performance.

Its artificial restriction of 16 character VM names is also
a fair bit annoying.

-- 
Rod Grimes rgri...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Shawn Webb
On Sat, Aug 11, 2018 at 10:02:27PM +0700, Victor Sudakov wrote:
> Shawn Webb wrote:
> > > > > > Are there issues with Current CEntos and bhyve?
> > > > > 
> > > > > Sure there are, please look at
> > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> > > > 
> > > > Booting in UEFI mode works.
> > > 
> > > This means we need an update to 
> > > /usr/local/share/examples/vm-bhyve/centos7.conf ?
> > > It says 'loader="grub"' for the present.
> > > 
> > > Do you have a vm config to boot centos7 in UEFI mode you could share?
> > 
> > I just use /usr/share/examples/bhyve/vmrun.sh. I don't use any
> > third-party utility to manage bhyve VMs. vmrun.sh is pretty
> > straight-forward.
> 
> Thanks for replying. However, I highly recommend vm-bhyve, maybe you
> should give it a try. You will love the ease of VM creation and
> provisioning, network management, ZFS integration (VM snapshots and
> cloning), console and datastore management etc.

I'm aware of it. I'll pass, but thanks for the tip!

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:+1 443-546-8752
Tor+XMPP+OTR:latt...@is.a.hacker.sx
GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Victor Sudakov
Shawn Webb wrote:
> > > > > Are there issues with Current CEntos and bhyve?
> > > > 
> > > > Sure there are, please look at
> > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> > > 
> > > Booting in UEFI mode works.
> > 
> > This means we need an update to 
> > /usr/local/share/examples/vm-bhyve/centos7.conf ?
> > It says 'loader="grub"' for the present.
> > 
> > Do you have a vm config to boot centos7 in UEFI mode you could share?
> 
> I just use /usr/share/examples/bhyve/vmrun.sh. I don't use any
> third-party utility to manage bhyve VMs. vmrun.sh is pretty
> straight-forward.

Thanks for replying. However, I highly recommend vm-bhyve, maybe you
should give it a try. You will love the ease of VM creation and
provisioning, network management, ZFS integration (VM snapshots and
cloning), console and datastore management etc.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
AS43859
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Shawn Webb
On Sat, Aug 11, 2018 at 09:34:48PM +0700, Victor Sudakov wrote:
> Shawn Webb wrote:
> > On Sat, Aug 11, 2018 at 12:53:05PM +0700, Victor Sudakov wrote:
> > > The Doctor via freebsd-virtualization wrote:
> > > > Are there issues with Current CEntos and bhyve?
> > > 
> > > Sure there are, please look at
> > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> > 
> > Booting in UEFI mode works.
> 
> This means we need an update to 
> /usr/local/share/examples/vm-bhyve/centos7.conf ?
> It says 'loader="grub"' for the present.
> 
> Do you have a vm config to boot centos7 in UEFI mode you could share?

I just use /usr/share/examples/bhyve/vmrun.sh. I don't use any
third-party utility to manage bhyve VMs. vmrun.sh is pretty
straight-forward.

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:+1 443-546-8752
Tor+XMPP+OTR:latt...@is.a.hacker.sx
GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Victor Sudakov
The Doctor wrote:
> > > The Doctor via freebsd-virtualization wrote:
> > > > Are there issues with Current CEntos and bhyve?
> > > 
> > > Sure there are, please look at
> > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> > 
> > Booting in UEFI mode works.
> >
> 
> Chokes in my case.
> 
> I have better luck with Debian.

Yes, Ubuntu server works too, but do we have anything RPM-based that
runs in bhyve?


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
AS43859
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Victor Sudakov
Shawn Webb wrote:
> On Sat, Aug 11, 2018 at 12:53:05PM +0700, Victor Sudakov wrote:
> > The Doctor via freebsd-virtualization wrote:
> > > Are there issues with Current CEntos and bhyve?
> > 
> > Sure there are, please look at
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> 
> Booting in UEFI mode works.

This means we need an update to /usr/local/share/examples/vm-bhyve/centos7.conf 
?
It says 'loader="grub"' for the present.

Do you have a vm config to boot centos7 in UEFI mode you could share?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
AS43859
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Curent Centos 7 and bhyve

2018-08-11 Thread The Doctor via freebsd-virtualization
On Sat, Aug 11, 2018 at 09:48:47AM -0400, Shawn Webb wrote:
> On Sat, Aug 11, 2018 at 12:53:05PM +0700, Victor Sudakov wrote:
> > The Doctor via freebsd-virtualization wrote:
> > > Are there issues with Current CEntos and bhyve?
> > 
> > Sure there are, please look at
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453
> 
> Booting in UEFI mode works.
>

Chokes in my case.

I have better luck with Debian.

> -- 
> Shawn Webb
> Cofounder and Security Engineer
> HardenedBSD
> 
> Tor-ified Signal:+1 443-546-8752
> Tor+XMPP+OTR:latt...@is.a.hacker.sx
> GPG Key ID:  0x6A84658F52456EEE
> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE



-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
https://www.empire.kred/ROOTNK?t=94a1f39b  Look at Psalms 14 and 53 on Atheism
We cannot direct the wind, but we can adjust the sails.  -Bertha Calloway
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Victor Sudakov
Ganbold Tsagaankhuu wrote:
> On Sat, Aug 11, 2018 at 7:46 AM, The Doctor via freebsd-virtualization <
> freebsd-virtualization@freebsd.org> wrote:
> 
> > Are there issues with Current CEntos and bhyve?
> >
> > I have tried 3 installation method.
> >
> > On 2nd phase,  it looks like the xfs indoe are skewered.
> >
> 
> 
> Maybe try to use CentOS-7-x86_64-Minimal-1511.iso. This is 7.2.1551. Later
> versions default to XFS which FreeBSD grub2 doesn't seem to support. There
> is no known way to switch this from anaconda so you have to use the old ISO
> and then update.

Does not work even if installed from CentOS-7-x86_64-Minimal-1511.iso.
See what happens under FreeBSD 11.2-RELEASE, vm-bhyve-1.1.8_2:

[ OK  ] Reached target Basic System.
[1.297080]  vda: vda1 vda2 vda3
[1.508128] input: PS/2 Generic Mouse as 
/devices/platform/i8042/serio1/input/input2
[1.693391] tsc: Refined TSC clocksource calibration: 3308.829 MHz
[1.695742] Switching to clocksource tsc

seems good so far

[1.693391] tsc: Refined TSC clocksource calibration: 3308.829 MHz
[1.695742] Switching to clocksource tsc
[  124.909494] dracut-initqueue[219]: Warning: dracut-initqueue timeout - 
starting timeout scripts
[  125.424725] dracut-initqueue[219]: Warning: dracut-initqueue timeout - 
starting timeout scripts
[  125.937988] dracut-initqueue[219]: Warning: dracut-initqueue timeout - 
starting timeout scripts
[  126.450692] dracut-initqueue[219]: Warning: dracut-initqueue timeout - 
starting timeout scripts

...

[  185.728954] dracut-initqueue[219]: Warning: dracut-initqueue timeout - 
starting timeout scripts
[  185.729227] dracut-initqueue[219]: Warning: Could not boot.
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
[  124.909494] dracut-initqueue[219]: Warning: dracut-initqueue timeout - 
starting timeout scripts
[  125.424725] dracut-initqueue[219]: Warning: dracut-initqueue timeout - 
starting timeout scripts
[  185.728954] dracut-initqueue[219]: Warning: dracut-initqueue timeout - 
starting timeout scripts
[  185.729227] dracut-initqueue[219]: Warning: Could not boot.
[  185.825970] dracut-initqueue[219]: Warning: /dev/mapper/centos-root does not 
exist
 Starting Dracut Emergency Shell...
Warning: /dev/mapper/centos-root does not exist

Generating "/run/initramfs/rdsosreport.txt"


Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.


dracut:/# 


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
AS43859
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Curent Centos 7 and bhyve

2018-08-11 Thread Shawn Webb
On Sat, Aug 11, 2018 at 12:53:05PM +0700, Victor Sudakov wrote:
> The Doctor via freebsd-virtualization wrote:
> > Are there issues with Current CEntos and bhyve?
> 
> Sure there are, please look at
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453

Booting in UEFI mode works.

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:+1 443-546-8752
Tor+XMPP+OTR:latt...@is.a.hacker.sx
GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature