Juju’s localhost LXD now works with offline images

Some environments require no direct Internet access.   Previously to Juju 2.1.x it wasn’t possible to use Juju locally with LXD without the Internet.

Prereq: Setup Juju 2.1.x and LXD however you usually do in the environment

  1. Get an LXD importable image and move to the offline machine
    wget https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-lxd.tar.xz https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-root.tar.xz
  2. Import the image and assign it an alias so Juju knows to use it
    lxc image import xenial-server-cloudimg-amd64-lxd.tar.xz xenial-server-cloudimg-amd64-root.tar.xz --alias juju/xenial/amd64
  3. It’s a good idea to confirm that LXD can launch the image fine
    lxc launch juju/xenial/amd64
  4. Bootstrap and start deploying charms
    juju bootstrap localhost

This is just one part of running offline.   This may only work if you have a local package mirror that the LXD image will be able to detect as it does need to install some packages.

Additionally,  some charms may download software directly from Internet sites so those would also need more workarounds for them.

Fixed bug: https://bugs.launchpad.net/juju/+bug/1650651

Presidential Candidate Website Survey Update

The race is now down to 5. (From 21!)

What’s changed in their website setups?

Donald Trump got rid of Flash, otherwise everything else appears to be the same.

Ted Cruz went from a A+ rating to just an A (lost HSTS?).

Nothing changed for John Kasich.

Hillary Clinton went from an inconsistent server setup with many IPv4 addresses to just 1 IPV4 address.   The www. redirect behavior (from without to it) does mess up HTTPS Everywhere and ssllabs tests.     A major plus is she added HSTS to her site, so her ssllabs rating is now A+.

Bernie Sanders added IPv6 support and HSTS to the main site.  Unfortunately a sha2 intermediate certificate prevents his site from going from A to A+.  And his donation provider has HSTS setup correctly and get’s an A+.

At this point in the campaign, only A ratings (ssllabs) are left!  The Democrats seem to have prioritized implementing HSTS, but neither appears to have gone for the preload list.

HSTS – Means you tell the browser to enforce SSL

You can find the raw data in this spreadsheet

I also included sub domains in this list, but it wasn’t as interesting as I hoped.

Do tech support? Come check out sosreport

Sosreport is used by both Red Hat and Canonical support as the primary tool used to collect information from customers’ machines when they are having an issue.   It can both collect files and run commands.  It’s open source and you can use it too.

I’m doing a Show & Tell session on it in this coming UOS: http://summit.ubuntu.com/uos-1505/meeting/22457/sosreport-for-troubleshooting.  

I’ve got about 10-15 minutes of stuff to show.  Questions are welcome.

32 bit usage – survey results

Running 32 bit Ubuntu when the hardware technically can do 64 bit
32 bit running on 64 bit capable hardware

  • hardware issues varied from EUFI 32 bit only, to printer and driver issues
  • application included wine (try building wine on 64 bit…)  and virtualization
    • some 64 bit users use 32 bit images for virtualization to use less RAM
    • Not in survey but I know of others who use 32 bit specifically to work with Android.

Arch vs Desktop Environment vs Release

Desktop environments vs arch vs release

Please do not use this to really compare desktop environments!  If multiple answers I took the least resource intensive one! (Next time I do this.. I should just require users to pick a primary one)

 Impacts over Releases

Impact

  • Switch from Ubuntu – also includes plans to stay on old unsupported version until hardware dies
  • Moderate is somewhat a catch all
  • If I do this again, I should just have a 1-5 sliding scale, in addition to a text field.
  • Users are concerned about having to throw out old machines, not having an upgrade path to go from 32-> 64 bits, and the cost to upgrade.
  • Select Comments (many more in the raw data of course!)
    • As an aspiring software developer, phasing out 32 bit support would be great for me as it means one less build to maintain.
    • I plan on reinstalling Ubuntu on this laptop as a 64bit install at some point anyway.
    • Unless the schedule changes, no impact. We’re planning to do the switch late 2015 / early 2016.
    • I will have to stay on 16.04 forever on that machine. The needed drivers are not going to be available in an open-source form.
    • My parents + my children have no PC
    • we have old PC’s in the hospital and i don’t think this hardware would be upgraded.
    • If the majority of freely given computers we receive are still 32-bit by then, we’d have to respin another distro. But, like PowerPC; all good things must come to an end.
    • Just need to figure out how to make the switch. If it means re-installing, bah.
    • It is terrible, because my eeePC only has 1GB in it.
    • One more reason to decommission the hardware.

I think the original plan can still work, but like any good survey we know have more questions to ask!

  • Lubuntu/Xubuntu support for 14.04 LTS is 3 years not 5.   It’s going to be a LOT higher impact if they don’t have support in 2019/2020 (which would be the case if 16.04 is 3 years too).   This could obviously be mitigated by moving 32 bit to ports and having it be opt in.  Lubuntu/Xubuntu 18.04 with 3 years would get us to 2021.
  • What can we do to make virt use less RAM?  (Lots of Virtualbox)
  • What can we do to make bare metal use less RAM?
  • Building Wine on 64 bit? (The two easiest methods are defunct if we remove 32 bit images I think… http://wiki.winehq.org/WineOn64bit)
  • Can we do an actual upgrade path?  Or at least start officially testing 32->64 “upgrade” re-installs?

Just to complete the application compatibility story (not from survey), Games are starting to be 64-bit only:

Raw Data can be found here: https://docs.google.com/spreadsheets/d/1iA062pCR1ayAMEKveUToEhq–9awyDXTEaL4fhsj8TU/edit?pli=1#gid=0

Linode Benchmarks

What you get with a Linode 512 virtual instance.  4 cores – Intel(R) Xeon(R) CPU  L5520  @ 2.27GHz

http://openbenchmarking.org/result/1208181-SU-LINODEDEM45

I ran these maybe last month, figure they might be useful to someone.  I used phoronix test suite so you can easily compare against your server/cloud/virtual instance.  Just run,
# phoronix-test-suite benchmark 1208181-SU-LINODEDEM45

Oh right, Linode is a Xen powered (virtual machines) private server hosting solution.  You have a variety of Linux distros to choose from, 6 different locations to deploy your machines to, IPv6, and a bunch of other features.