Skip to content
Snippets Groups Projects
  1. Mar 23, 2015
  2. 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
  3. Mar 21, 2015
  4. Mar 20, 2015
    • 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
    • Steven Dake's avatar
      Don't kill keystone, but instead wait for it to finish at the end · f642fd7b
      Steven Dake authored
      use the bash wait builtin to wait for the keystone process to exit.
      
      Change-Id: I03057e7925e7e41120c163c0be22ade75050d9f1
      f642fd7b
    • Steven Dake's avatar
      Make the Horizon dashboard work properly · 71576f4e
      Steven Dake authored
      The Horizon dashboard was not working properly prior to this work.
      
      Also a docker-compose file was added to start the dashboard.
      
      Change-Id: I8a438c15b967b0cec00bfe44b997f833bf745191
      71576f4e
    • Steven Dake's avatar
      Improve Heat integration · dbddef4f
      Steven Dake authored
      Generate Heat environment variables.
      Rename yml file to api and engine to follow other service conventions.
      Add heat to compose/start
      Modify integration guide to include new variables.
      
      Change-Id: I058d829901881e28d6f4785f59fcf778058241e4
      dbddef4f
    • Steven Dake's avatar
      Add pid: host to libvirt · 5bfc3e11
      Steven Dake authored
      Without pid: host, nova-compute and libvirt fail to operate correctly
      together.  I don't understand why, and I wish it weren't so, but it means
      folks will have to install docker-compose from my personal github account
      until the pull request is merged upstream.
      
      Change-Id: I24e55405139c831f2df246f54c5b6fd39d00656a
      5bfc3e11
    • Daneyon Hansen's avatar
      Implements: blueprint Implement a database container set · 5547b5fe
      Daneyon Hansen authored
      Previously, the database container was configured for use with
      Kubernetes. This patch removed any k8s dependencies, adds a script
      to manage mysql server.cnf settings and splits data and app
      containers. Splitting the containers provides additional
      portability and operational efficiencies compared to host mounts.
      
      Change-Id: I80656450c02dda5f2959d187eec20d5877dc54a2
      5547b5fe
    • Jenkins's avatar
      fb425db5
    • Daneyon Hansen's avatar
      Fixes Keystone openrc and sets / for scripts · 8eb36e7c
      Daneyon Hansen authored
      Previously, the keydtone openrc file was not using the proper
      auth url, whcih was broken with too many double ticks. Also
      changed the auth port from public to admin since keystone user
      is an admin tenant. Changed DIR for scripts to align with the
      rest of the project.
      
      Change-Id: Iadde3239227e65ecca479b16a7b7db51d3a579c8
      8eb36e7c
    • Martin André's avatar
      Fix `wait_for` function in kolla-common.sh · 1cb55143
      Martin André authored
      Add `wait_for_output` and `wait_for_output_unless` helper functions that
      only succeed when the command output contains the expected string, with
      a possibility to exit early with a failure for `wait_for_output_unless`.
      
      Change-Id: Ie20e7c72fb84f626f1a3fe9c4d2f22c9d6863dbe
      1cb55143
    • Jenkins's avatar
      Merge "Always restart glance services" · 9b7a8440
      Jenkins authored
      9b7a8440
    • Martin André's avatar
      Move genenv.sh and start.sh to tools directory · 888bb9cc
      Martin André authored
      Rename them `genenv` and `start`.
      Have `genenv` create the openrc file in the top-level directory.
      
      Add openrc and compose/openstack.env to gitignore, as well as *.img.
      
      Change-Id: I5d8006e97efd77cf364215f55d5e585139ae273e
      888bb9cc
    • Martin André's avatar
      Remove reference to k8s directory from README · 3e439b5e
      Martin André authored
      Kolla has moved away from Kubernetes and is now using docker-compose to
      define container sets.
      
      Remove last reference to Kubernetes in the README file, and document
      the `compose` directory instead.
      
      Change-Id: Ic586da2ae7859817c0da888f6ce5c788188e43d2
      3e439b5e
    • Jenkins's avatar
      Merge "Remove traces of kubernetes" · 65683e5e
      Jenkins authored
      65683e5e
    • Jenkins's avatar
      Merge "Check for root privilege in start.sh" · e201fd52
      Jenkins authored
      e201fd52
  5. Mar 19, 2015
Loading