Re: docker info?

2015-07-28 Thread Benjamin Perrault


 On Jul 28, 2015, at 6:55 PM, Larry Rosenman l...@lerctr.org wrote:
 
 On 2015-07-28 20:44, Michael Dexter wrote:
 On 7/28/15 1:17 PM, Kegan Myers wrote:
 Make sure you have permissions. Docker isn't good at figuring out that you
 need sudo or other permissions to talk to the socket.
 Also, do make sure you are using a recent version of 11 CURRENT or a
 10.2 BETA/RC. I do not know what errors will be thrown by older
 versions of FreeBSD with Linux images, though they will support
 FreeBSD images with some risk of ABI mismatch.
 Michael
 ___
 freebsd-virtualization@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to
 freebsd-virtualization-unsubscr...@freebsd.org
 
 I'm running absolutely top of tree.
 
 borg.lerctr.org /home/ler $ sudo -s
 Password:
 borg.lerctr.org /home/ler # docker info
 Get http:///var/run/docker.sock/v1.19/info: EOF. Are you trying to connect to 
 a TLS-enabled daemon without TLS?
 borg.lerctr.org /home/ler # ps auxw|grep docker
 root867   0.0  0.0  14412  2220  -  Is   16:48  0:00.00 daemon: 
 /usr/local/bin/docker[868] (daemon)
 root868   0.0  0.0  38628 16116  -  S16:48  0:12.21 
 /usr/local/bin/docker -d -e jail -s zfs -g /usr/docker -D
 root   3544   0.0  0.0  18772  2548  0  S+   20:54  0:00.00 grep 
 docker
 borg.lerctr.org /home/ler # uname -aKU
 FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #29 r285983: Tue 
 Jul 28 16:15:05 CDT 2015 r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER 
  amd64 1100077 1100077
 borg.lerctr.org /home/ler #
 
 borg.lerctr.org /home/ler # pkg info docker-freebsd
 docker-freebsd-20150625
 Name   : docker-freebsd
 Version: 20150625
 Installed on   : Wed Jul 22 11:17:21 CDT 2015
 Origin : sysutils/docker-freebsd
 Architecture   : freebsd:11:x86:64
 Prefix : /usr/local
 Categories : sysutils
 Licenses   : APACHE20
 Maintainer : kmo...@freebsd.org
 WWW: https://github.com/kvasdopil/docker
 Comment: Docker containment system
 Annotations:
 Flat size  : 11.5MiB
 Description:
 Docker is an open source project to pack, ship and run any
 application as a lightweight container.
 
 Docker containers are both hardware-agnostic and platform-agnostic.
 This means they can run anywhere, from your laptop to the largest
 EC2 compute instance and everything in between - and they don't
 require you to use a particular language, framework or packaging
 system. That makes them great building blocks for deploying and
 scaling web apps, databases, and backend services without depending
 on a particular stack or provider.
 
 WWW: https://github.com/kvasdopil/docker
 
 borg.lerctr.org /home/ler #
 — 

~20% of a few customers containers have had issues - from stability to 
performance to bizarre behavior - but most of it is rather new stuff based off 
CoreOS,  Ubuntu 15.x, Debian 8.1, etc. - with CoreOS showing issue the most 
often. These all have VERY recent kernels, so it’s likely missing ABI 
functionality in the emulation layer. 

With that said - I’ve found that Ubuntu 12/14 LTS and Centos/RHEL 6.x 
containers work great. Most Centos 7 ones we’ve tested also seem to be okay - 
though later 7/7.1 have show high cpu usage and erratic network performance. 
Once I have time, I might delve deeper into it - though it’s not a huge 
priority at the moment.

Hopefully that was useful in some capacity.

best,
-bp
@creepingfur

You shouldn’t let poets lie to you.
- Bjork 
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

Re: bhyvecon2015 videos?

2015-05-20 Thread Benjamin Perrault

 On May 20, 2015, at 1:56 PM, Michael Dexter edi...@callfortesting.org wrote:
 
 On 5/20/15 12:24 PM, Joseph Mulloy wrote:
 Are there videos of the talks given at bhyvecon2015? I've been looking for
 them on YouTube and I haven't been able to find them. Specifically I'm 
 looking
 for the video of Peter Grehan's What's new in bhyve talk and Allan Jude's
 Introduction to bhyveucl.
 
 I know the AsiaBSDCon organizers streamed the event and trust it would be 
 with their other conference content. I will investigate.
 

The AsiaBSDcon 2014 presentations didn’t show up in video form until Dec 2014. 
Perhaps this year they’ll show up soon this time around, but none are currently 
posted.

-bp

 ___
 freebsd-virtualization@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@freebsd.org

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

Re: bhyve cannot allocate memory

2014-11-22 Thread Benjamin Perrault
Digging thru my system -  I have (2) stock FreeBSD system (HP DL385s) at 
r274859 - bhyve seems to be working fine for FreeBSD and Linux guests. r274900 
also appears to be good. 

I know it’s not a ton of help of resolving the issue

cheers,
-bp


 On Nov 22, 2014, at 7:20 PM, Shawn Webb latt...@gmail.com wrote:
 
 On Nov 22, 2014 10:15 PM, Peter Grehan gre...@freebsd.org wrote:
 
 Hi Shawn,
 
 
 Forgot to mention, I'm on r274859.
 
 
 I have a working system at r274783. A quick glance doesn't show anything
 obvious that may cause a regression, but I'm rebuilding now and will give
 it a try.
 
 Is your system stock FreeBSD or HardenedBSD ?
 
 It's hardenedBSD. I'll try a stock build tomorrow. The only change we have
 that could affect bhyve is the removal of map_at_zero. I've disabled all
 our other hardening features.
 ___
 freebsd-virtualization@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@freebsd.org

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

Re: No bhyve guests can reach the network after update.

2014-10-26 Thread Benjamin Perrault
Thank you! I feel like an idiot now.. it seems I did indeed somehow/accidently 
mergemastered out my usual sysctl.conf for the stock one. I should have checked 
that first. 

Setting sysctl net.link.tap.up_on_open=1 seems to have done it. 

sorry for the noise..

cheers,
-bp

 On Oct 26, 2014, at 3:42 PM, Allan Jude allanj...@freebsd.org wrote:
 
 On 2014-10-26 18:36, Benjamin Perrault wrote:
 Hi all,
 
 So I just update one of my systems to 10-STABLE r273710 ( GENERIC kernel 
 config ) and now all the bhyve guests are unable to connect to the network ( 
 be it linux, freebsd, or openbsd ). They guests see their network interfaces 
 fine - but they are unable to connect to anything. Additionally on the host, 
 the tap interfaces appear to be connecting just fine. 
 
 Everything appears fine on the host and it’s reporting no errors. The 
 networking is working/performing as normal.
 
 There has been no configuration changes. Here is the relevant networks stuff 
 ( that’s been working reliably since 10-RELEASE, and is running fine on 
 10.1-RC2 and -current just fine. ).
 
 =
 ifconfig_em0=up -txcsum”
 ifconfig_igb0=up -txcsum”
 defaultrouter=“10.0.x.x
 cloned_interfaces=lagg0 bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 
 tap8 tap9”
 
 ifconfig_lagg0=laggproto lacp laggport em0 laggport igb0 10.0.x.x/24”
 
 ifconfig_bridge0=addm lagg0 addm tap0 addm tap1 addm tap2 addm tap3 addm 
 tap4 addm tap5 addm tap6 addm tap7 addm tap8 addm tap9”
 ==
 
 Any one have any ideas or suggestions? I always get spooked/bothered when 
 something that was working fine just sort of breaks..
 
 cheers and thanks,
 -bp
 
 
 ___
 freebsd-virtualization@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@freebsd.org
 
 
 try: ifconfig bridge0 up
 
 and make sure your tap interfaces are up as well (sysctl
 net.link.tap.up_on_open=1 is useful)
 
 -- 
 Allan Jude
 

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

Re: HEADS UP: Merging projects/bhyve_svm to HEAD

2014-10-19 Thread Benjamin Perrault
After a few days of extensive testing and abuse, i’ve run into no new issues or 
unknowns what so ever. Everything that worked before still works now ( and a 
few bugs from fixed from HEAD ). 

Thus, I have gone ahead and pushed r273182 w/ Neel’s patch out to about 80 of 
the assorted AMD boxes in the production and dev pods that I care for. If end 
users see something, I’ll let you know, but I have a feeling they won’t. 

Again - Excellent work. 

cheers,
-bp

 On Oct 19, 2014, at 5:03 AM, Willem Jan Withagen w...@digiware.nl wrote:
 
 On 16-10-2014 5:00, Anish Gupta wrote:
 Hi all,
 
 The projects/bhyve_svm branch is ready to be merged to HEAD.
 
 This branch contains patches to bhyve to enable it to work on AMD
 processors with SVM/AMD-V hardware extensions[1]. Pretty much any AMD
 processor since 2010 will have the features required by bhyve.
 
 bhyve on AMD supports (almost) all the features available with Intel
 [2]. All guest OSes supported on Intel are supported on AMD. All the
 bhyve-related utilities function similarly on both Intel and AMD
 platforms [3].
 
 The patch against HEAD revision 273066 is available for review and testing:
 https://people.freebsd.org/~neel/bhyve/bhyve_svm.diff [Neel’s web directory]
 
 [1]: http://en.wikipedia.org/wiki/X86_virtualization
 [2]: bhyve doesn't support PCI passthru on AMD at this time
 [3]: bhyvectl has grown some processor-specific options
 
 Fetched the patch and compiled.
 Now running: HEAD r273066M and I was able to throw at it all the tests
 and images that in the past works. And perhaps even better.
 
 Great work.
 --WjW
 
 
 ___
 freebsd-virtualization@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@freebsd.org

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org