Skip to content
Snippets Groups Projects
  1. Mar 27, 2015
  2. Mar 26, 2015
  3. Mar 25, 2015
  4. Mar 24, 2015
  5. Mar 23, 2015
  6. Mar 22, 2015
    • Steven Dake's avatar
      Make mariadb use a data container without a bindmount · c2b92c5e
      Steven Dake authored
      
      A data container is meant to operate without bindmounts.
      
      Change-Id: I2624a63fd75db7ed8050054c17e19885f8a7ac8a
      Co-Authored-By: default avatarDaneyon Hansen <(danehans@cisco.com)>
      c2b92c5e
    • Steven Dake's avatar
      Make nova-compute-network use a data volume container · f4fd47dc
      Steven Dake authored
      A data volume container is far superior to bind mounting the
      host's shared directories.  It preserves the idempotency,
      immutability and declarative properties of the containers.
      
      The way this works in practice is that a data volume container is
      created.  Then when the containers start they use LVM to access
      the filesystem where /var/lib/docker is contained.  Then the
      container startup logic bindmounts the data volume stored on the
      host filesystem in /var/lib/docker/vfs/dir/ID.  This prevents
      people with access to the host operating system from damaging
      the contents of the data container.
      
      It does mean that now we must use tools/stop to stop our containers
      rather than tools/cleanup-containers -f.
      
      This is a containers best practice.  For more details see:
      
      https://docs.docker.com/userguide/dockervolumes/
      
      Big credit goes to Danyeon Hansen for seeding this idea in the
      mariadb containers.
      
      Note occasionally docker-compose start/stop seems to not want to stop
      a container.  This bug needs to be addressed upstream separately
      from our utilization of this best practice.
      
      Change-Id: Iaa1419f606e1b1b7a7560a095c49e79d643164f1
      f4fd47dc
  7. Mar 21, 2015
  8. Mar 20, 2015
    • Steven Dake's avatar
      Have genenv offer some hepful hints about FLAT_INTERFACE · 89df9eb3
      Steven Dake authored
      The FLAT_INTERFACE is for vm communication, and should be
      manually configured if necessary.
      
      Change-Id: I79846705c18c2f0f2d4340e53d04183ec689e191
      89df9eb3
    • Daneyon Hansen's avatar
      Refactors nwfilter · c49613ad
      Daneyon Hansen authored
      Previously, the nwfilter daemon/conf pkgs would need to be
      installed on the host. Compose would then mount the host DIR
      to the compute containers. A more efficient approach is to simply
      install the nwfilter config/daemon in the libvirt container. Both
      appoaches address the following error when booting an instance:
      
      'no-mac-spoofing' is missing
      
      Change-Id: I81b446d198920473bf99b97ef5eac6ef5ee85024
      c49613ad
    • Steven Dake's avatar
      Add ADMIN_USER_PASSWORD to genenv tool · 3f4c45fa
      Steven Dake authored
      The genenv tool was generating the wrong password for the openrc
      file as a result of recent keystone rework.  This patch fixes that
      problem.
      
      Change-Id: I169e3255e3f3ef57938861c31ef4e342d9a32cbc
      3f4c45fa
    • Jenkins's avatar
      ed617a59
Loading