Skip to content
Snippets Groups Projects
  1. Aug 24, 2015
  2. Aug 23, 2015
    • Sam Yaple's avatar
      Add retries to build.py · 4bce5cca
      Sam Yaple authored
      Additionally, fix an if statement to catch multiple layers of parent
      images failing so the grandchildren do not attempt to build either.
      
      Change-Id: Ie9cdf7600e067678e52938910f0d3c072adcdf8a
      Partially-Implements: blueprint build-script
      4bce5cca
  3. Aug 21, 2015
    • Michal Jastrzebski (inc0)'s avatar
      Add custom code to base docker templates · 598fe7ba
      Michal Jastrzebski (inc0) authored
      Sometimes you need custom code in Docerfiles to solve for example
      proxy problems or preconfigure base image in some specific way.
      With this commit you can insert content of custom file to the beggining
      of base Dockerfile to provide these changes
      
      Partially-implements: bp rhel-based-image-support
      Partially-implements: bp add-proxy-to-dockerfiles
      Partially-implements: bp build-script
      Change-Id: Idbfec764aad627f5c00dc09c4854d5fa1c5ac9cf
      598fe7ba
  4. Aug 20, 2015
    • Sam Yaple's avatar
      Allow Docker to make better use of cache · 49a9fba2
      Sam Yaple authored
      Docker cache takes into account things like filesize, hash of file,
      and even timestamp and access times when determining whether to use
      the cache or not. This modifies the build script to adjust all the
      timestamps to 0 epoch. Since we dont care about timestamps this allows
      us to make far better use of the cache, including when downloading and
      creating tarballs for source builds.
      
      Change-Id: Id4287cf1fcaa2de63feaab9e6f4ebbd4defdb768
      Partially-Implements: blueprint build-script
      49a9fba2
  5. Aug 19, 2015
    • Steven Dake's avatar
      Use one data container for all data volumes · bd5e5bbb
      Steven Dake authored
      The previous method of using the API image for a data container
      worked, but resulted in more data being bindmounted and copied
      into the system.  This patch resolves that by essentially using
      a distro-type as a FROM in a Dockerfile to generate
      distro-type-data.  Further all of the data containers used
      throughout ansible are modified to use this new data container.
      
      Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5
      Partially-Implements: blueprint one-data-container
      bd5e5bbb
    • Sam Yaple's avatar
      Move defaults.yml to group_vars/all.yml · 8d65921b
      Sam Yaple authored
      The purpose for having defaults.yml on the command line was originally
      for variable inheritance. Over the past month we have slowly changed
      how things are inherited (like ports) allowing us to place these
      'defaults' into the group_vars/all.yml location as they should be
      values that go unchanged (but can be overridden).
      
      Change-Id: I2becec66bf431bfc9d88fc825b5380c1e173ca70
      Partially-Implements: blueprint update-configs
      8d65921b
  6. Aug 17, 2015
    • Steven Dake's avatar
      Remove compose from documenation · 6efe57e9
      Steven Dake authored
      Receive several quickstart related questions every day.  Make a
      first pass at cleaning up our documentation to point people
      in the right direction.  While we are about it remove compose
      related bits.  Anything in the compose directory will remain as
      a reference implementation for how to implement the compose
      files to work well with our container content.
      
      Change-Id: I9e832e97ac2bacca8eab7e1bfbd82664d2b191b8
      Closes-Bug: #1485163
      Paritally-Implements: blueprint remove-config-internal
      6efe57e9
    • Steven Dake's avatar
      Fix gate source building · 971d8364
      Steven Dake authored
      Fix a backtrace.  Also add the default master locations for
      the various tarballs.
      
      Change-Id: I9675c2619b95c0ae6a467ffbf964c4b17ae4b791
      Paritally-Implements: blueprint gate-source-builds
      971d8364
  7. Aug 14, 2015
    • Jeff Peeler's avatar
      Safely check for dictionary key presence · 67ce01fc
      Jeff Peeler authored
      Accessing the key directly when it doesn't exist was yielding a
      KeyError.
      
      Change-Id: Ice877b74d46d59f2e9ecff051b09245e9d3744e1
      Paritally-Implements: blueprint gate-source-builds
      67ce01fc
    • Sam Yaple's avatar
      Implement source fetching for build.py · 0b605f30
      Sam Yaple authored
      This implements the source fetching that exists in the current way.
      The patch only implements fetching a tarball from a url. Additional
      methods needed would be git and local copy.
      
      Partially-Implements: blueprint build-script
      Change-Id: I51889a131f050abce9a16d114972b5e329a93862
      0b605f30
  8. Aug 12, 2015
    • Jeff Peeler's avatar
      Add new test script for parallel builds · 9f824cfe
      Jeff Peeler authored
      This adds a new test script for the new python based build script. A new
      tox target has been created to execute it for usage in the gate.
      Eventually, the other build script stuff can be deleted, but that won't
      be done until full functionality exists in the new build.py.
      
      Change-Id: Id9dd19926b1b9d875dcb069fd13d6450318374c8
      Paritally-Implements: blueprint build-script
      9f824cfe
    • Sam Yaple's avatar
      Add Dockerfile template for rabbitmq · 16223ff6
      Sam Yaple authored
      Change-Id: Ic42879451cba2fb7fa35764924ca191949c477c4
      Partially-Implements: blueprint dockerfile-template
      16223ff6
  9. Aug 11, 2015
    • Jeff Peeler's avatar
      Improve logging and prepare for gate · 485e1b25
      Jeff Peeler authored
      Switched all print statements to use logger
      
      Added ability to halt operations via Ctrl-C, needs cleanup handler
      
      Added realtime logging when using only one thread (matches bash building
      scripts behavior)
      
      main is now returning all the build image statuses, so a quick test
      script would look like:
      
      import build
      res = build.main()
      if len(res[0]):
          LOG.error('failure')
      
      Change-Id: Ic8000a96573b011490dc330a4512c77c602ac3d2
      Partially-Implements: blueprint build-script
      485e1b25
    • akwasniewska's avatar
      Added initial template for base image · 31062789
      akwasniewska authored
      
      Added new method generating Dockerfiles from templates as well as the
      appropriate code to support this in build.py
      
      Co-Authored-By: default avatarSam Yaple <sam@yaple.net>
      Partially-implements: bp dockerfile-template
      
      Change-Id: Id14d10d31cb4aac957e04fbc129de4043d98e033
      31062789
  10. Aug 10, 2015
    • Paul Bourke's avatar
      Implement Murano source images · a6454f15
      Paul Bourke authored
      
      * Both api and engine start up without error, but can't test properly
      until Horizon is fixed (bug #1482196)
      
      * These are source installs are there no RPMs available for Murano
      that I can find.
      
      * Also requires a plugin for horizon that will be made as a
      separate commit
      
      Co-Authored-By: default avatarMick Thompson <michael.a.thompson@oracle.com>
      Implements: blueprint enable-murano-container
      
      Change-Id: Ia46985b21bb5f6d7690501e7199800c8c7fcb51f
      a6454f15
  11. Aug 08, 2015
    • Steven Dake's avatar
      Remove validate-min-env-vars gating · 33d8d323
      Steven Dake authored
      We don't use config-internal anymore, so remove validate-min-env-vars
      from being gated upon.  This is becuse there is no minimum
      environment variables required.  While we are at it we remove
      min-env.
      
      Partially-Implements: blueprint remove-config-internal
      
      Change-Id: Ibe2947b35e4dc1549e82acc66c01153495a91882
      33d8d323
  12. Aug 05, 2015
  13. Aug 04, 2015
  14. Aug 03, 2015
    • Swapnil Kulkarni's avatar
      Temporary remove gnocchi from kolla-compose & functional tests · b396395d
      Swapnil Kulkarni authored
      Current with due to LP#1478145 the kolla-compose script
      fails to create gnocchi containers. Temperory fix to skip
      gnocchi till we have gnocchi packges in delorean.
      
      Change-Id: I7dc6aef82908a846a8b632f86a16de47c1a2eef9
      Partial-Bug: #1478145
      b396395d
    • Swapnil Kulkarni's avatar
      Remove service_hosts.sh · fd92ad8a
      Swapnil Kulkarni authored
      * Remove service_hosts.sh file
      * Add all the required variables to tools/genenv
      
      Change-Id: I23954bf148923fbe785f51012fc9c9da909fa380
      Closes-Bug: #1447867
      fd92ad8a
  15. Aug 01, 2015
  16. Jul 31, 2015
  17. Jul 30, 2015
    • Swapnil Kulkarni's avatar
      Remove not required echo · d4c7129d
      Swapnil Kulkarni authored
      - tools/validate-links.sh has a echo which
        is not necessary. Removed it.
      
      Change-Id: I122c995bc5d99592212505ce23256e27685b4af4
      Closes-Bug: #1479647
      d4c7129d
  18. Jul 29, 2015
    • Swapnil Kulkarni's avatar
      Update service helper scripts for variable changes · 1c147e4d
      Swapnil Kulkarni authored
      - Updated the required variables to be sorted so
        that they are better visible one on each line
      
      - Removed variable defaults from each service scripts
        and added them to tools/genenv file which holds
        all default values
      
      Change-Id: Ia7b1b08ba3f963b46b81434ce84f476d56890a93
      Closes-Bug: #1476494
      Closes-Bug: #1467652
      1c147e4d
  19. Jul 27, 2015
  20. Jul 23, 2015
    • Sam Yaple's avatar
      Update init-runonce · 005ec9ee
      Sam Yaple authored
      This makes some changes to init-runonce to allow using Ansible as well as
      updating it to use the openstack-client where applicable since the
      keystone-client is not usable with keystone v3 api at all.
      
      Change-Id: I6b9d6beb04df7724b1967638e98042ab03221cd1
      Closes-Bug: #1477725
      005ec9ee
    • Daneyon Hansen's avatar
      Removes Host Cleanup from Container Cleanup Script · 171a64bc
      Daneyon Hansen authored
      
      Split the content of cleanup-containers into containers cleanup and host
      cleanup. This allows to run the cleanup-containers from OSX clients,
      while keeping needed code to delete host artifacts left behind by the
      neutron agents container.
      
      In addition, cleanup-containers may disappear in the future, replaced by
      a docker-compose wrapper.
      
      Co-Authored-By: default avatarMartin André <martin.andre@kvhasia.com>
      Co-Authored-By: default avatarSwapnil Kulkarni <me@coolsvap.net>
      Change-Id: I3aa731e7e0f9eb3dad9c363bb5d4a575d84a2fae
      Closes-Bug: #1477383
      171a64bc
    • Swapnil Kulkarni's avatar
      Add Gnocchi service to kolla · 870ec615
      Swapnil Kulkarni authored
      
      Co-Authored-By: default avatarSwapnil Kulkarni <me@coolsvap.net">
      Change-Id: I81e5e6bfde3323e6917e3d61e3db760e2fec2019
      Implements: blueprint gnocchi-containers
      870ec615
  21. Jul 17, 2015
  22. Jul 16, 2015
  23. Jul 15, 2015
    • Steven Dake's avatar
      Start tgtd in cinder-volume container · 4008ca86
      Steven Dake authored
      
      The tgtd process was not being started in the cinder-volume container.
      This results in iSCSI not being avialable for Cinder to operate
      against.  Unfortunately cinder doesn't report the problem because LVM
      is responsible for the iSCSI mapping.
      
      Co-Authored-By: default avatarRyan Hallisey <rhallise@redhat.com>
      
      Closes-Bug: 1473090
      Closes-Bug: 1469323
      Change-Id: Ie3403c5c3f81beb48960e838b4274e0c5796e387
      4008ca86
  24. Jul 14, 2015
    • Sam Yaple's avatar
      Improve build.py · 2a6437ef
      Sam Yaple authored
      Fixed docker client to use ENV if exists to support boot2docker.
      
      Fixed booleans not working as thought with argParser.
      
      Change-Id: I232ed78443199ce20f4b38e12c861c0f97d55c99
      Partially-Implements: blueprint build-script
      2a6437ef
    • Swapnil Kulkarni's avatar
      Update scripts to check if docker is usable for $USER · 1f0acbd0
      Swapnil Kulkarni authored
      Added new script for checking user permissions on
      docker command execution
      
      Change-Id: I3b727590d9a29f416f5b847912b7250c555c2333
      Closes-Bug: #1473554
      1f0acbd0
  25. Jul 10, 2015
    • Swapnil Kulkarni's avatar
      Remove requirement for root user in scripts · aff8e49a
      Swapnil Kulkarni authored
      The following files had requirement for root user
      which can be removed as long as as the the user
      executing script is part of docker group
      
      Scripts updated
      tools/kolla
      tools/cleanup-containers
      
      Closes-Bug: #1473551
      Change-Id: Ia4aea205f5da20fb1ded4f7a5d11eeebe5f40aa9
      aff8e49a
Loading