Skip to content
Snippets Groups Projects
  1. Aug 23, 2016
  2. Aug 21, 2016
  3. Aug 20, 2016
    • Jeffrey Zhang's avatar
      Pin to Ubuntu 16.04 · 04d6736e
      Jeffrey Zhang authored
      Upgrade Ubuntu base image to Xenial
      
      Closes-Bug: #1593599
      Change-Id: I5832a729a9a4fa73c02442047c92ba088ce20db3
      04d6736e
  4. Aug 19, 2016
  5. Aug 16, 2016
    • Sajauddin Mohammad's avatar
      Skips a debug log during image build · dbc50ab2
      Sajauddin Mohammad authored
      Added a condition to skip debug message during image build, when the 
      base image is dependent on image of other service
      
      Closes-Bug: #1513904. 
        
      Change-Id: I68d568981cebf442b34c958e125b0f921b883247
      dbc50ab2
  6. Aug 15, 2016
    • Abe Music's avatar
      enhancements to install_packages macro · 29fcb04c
      Abe Music authored
      - Adds debian_package_install method to the jinja environment
        that will return the necessary set of commands needed to
        install packages via apt-get and/or URLs to .deb packages
      - Updates install_packages macro to make use of the method
        above
      
      Change-Id: Ie9318a7def54b5034ba91375fd8fd3b589d18349
      Partially-implements: blueprint third-party-plugin-support
      29fcb04c
  7. Aug 10, 2016
  8. Aug 06, 2016
    • Robin Naundorf's avatar
      Fix inconsistencies in git url · a7c41a88
      Robin Naundorf authored
      Github is just a mirror of the OpenStack git-repo.
      Changed from Github to OpenStack git url wherever possible.
      
      Change-Id: I7941ef86967de4efe7f23ff9fb11ec86c793901e
      a7c41a88
    • prithiv's avatar
      Dockerfiles for Networking-SFC Container · eb41179a
      prithiv authored
      Networking-SFC is a neutron big-tent project
      Kolla does not have Networking-SFC agent support for now. This
      is essential for Service Function Chaining use case. Build Networking-SFC
      Container.
      
      Change-Id: I67b4d6e061dbe31e2211cd3210726ab4c30cd087
      Partially-Implements: blueprint enable-networking-sfc-support
      eb41179a
  9. Aug 02, 2016
    • Lu lei's avatar
      Using sys.exit(main()) instead of main() · 684b483f
      Lu lei authored
      As we known, Exceptions are raised by the sys.exit() function. When they
      are not handled, no stack traceback is printed in the Python interpreter.
      
      In this patch we have known main() got return values(eg:0, 1), but
      it can't specifies exit status when terminate the main thread by
      unusing sys.exit(). So when using sys.exit(main()) instead of main()
      may be more readable and reasonable.
      TrivialFix.
      
      Change-Id: I184289d28b92a7e345907247c045535a0c42c974
      684b483f
  10. Jul 27, 2016
  11. Jul 08, 2016
    • Dave Walker (Daviey)'s avatar
      Build docker images for OpenStack Watcher · 77296ebd
      Dave Walker (Daviey) authored
      
      Watcher is part of the OpenStack big-tent and is formally
      known as "OpenStack Infrastructure Optimization service".
      
      Whilst it provides a range of default goals and strategies,
      the most relevant case is to enable re-balancing of the
      compute hosts by taking CPU usage (data from Ceilometer)
      into account and live migrating instances as required.
      
      Currently this only builds the Docker images for type source
      but binary builds are gracefully ignored.
      
      The ansible configurations will be part of a later commit.
      
      Change-Id: I9bb81ee625d9fcf6513e44e2ed20384e34da2adc
      Partial-bug: #1598929
      Partially-implements: bp watcher
      Signed-off-by: default avatarDave Walker (Daviey) <email@daviey.com>
      77296ebd
  12. Jun 30, 2016
  13. Jun 27, 2016
    • Joshua Harlow's avatar
      Be smarter about what to do when making a docker client · 3bd1f14c
      Joshua Harlow authored
      Instead of having the program sys.exit when a docker
      client object can not be created (which kills all the threads
      and messes up the program and its associated state) have a
      exception be raised when this (for whatever reason) fails.
      
      Also refactor so that there is a docker task that the docker
      client using tasks can all inherit from.
      
      TrivalFix
      
      Change-Id: Ie81aff10cfe6f2fc5c65d53402200e3928fb460c
      3bd1f14c
  14. Jun 24, 2016
  15. Jun 22, 2016
  16. Jun 21, 2016
    • Joshua Harlow's avatar
      Stop using a global logger for all the things · 929d84b1
      Joshua Harlow authored
      Instead of using the same logger for all the things
      which makes it incredibly hard to figure out what the images
      and there builds are doing; instead have it so that each
      image gets its own logger which is then used by tasks that
      process that image.
      
      Each images logs now will (optionally) go to a logs directory
      that can be more easily read and looked over and leaves
      the main logger for informational/task kind of
      output only.
      
      Closes-Bug: #1586478
      
      Change-Id: I939e073a2bc5ed8b5a1e969888fc743d80f468c9
      929d84b1
  17. Jun 15, 2016
    • Michal (inc0) Jastrzebski's avatar
      Macro install packages · f1c34225
      Michal (inc0) Jastrzebski authored
      Simplification of package installations
      
      Change-Id: I78c0a84c55e891dec7c9bd21bc61700dba244526
      Partially-implements: blueprint third-party-plugin-support
      f1c34225
  18. Jun 14, 2016
  19. Jun 13, 2016
  20. Jun 09, 2016
    • Joshua Harlow's avatar
      Add non-intrusive ctrl-c handling · 869e117b
      Joshua Harlow authored
      Instead of trying to use a signal handler to stop
      when ctrl-c is triggered use technique that cooperates
      better with the threads that are running and lets
      them die a happy death vs being forced to die in
      unpleasant ways.
      
      Closes-Bug: #1586476
      
      Change-Id: I7fdb6a77a144bdd02276cca07b616bbb0c2f1957
      869e117b
    • Joshua Harlow's avatar
      Use 'image' not 'item' · a45dc94e
      Joshua Harlow authored
      The things in self.images are images, not items so
      reflect these to use the shared 'image' name vs
      having a one-off that uses 'item'.
      
      TrivalFix
      
      Change-Id: I781514d3e116de32b4fe61a7f55455282680fec1
      a45dc94e
  21. Jun 07, 2016
    • Michal (inc0) Jastrzebski's avatar
      Mechanism for Dockerfile customization · 51074b0a
      Michal (inc0) Jastrzebski authored
      This patchset enables potentially full customization of Dockerfiles
      provided by Kolla without having to change main Kolla code. Mechanism is
      based on jinja2 block mechanism. In our dockerfiles we'll add blocks
      (mostly empty) with highly standarized naming, then in override file
      users will be able to fill/override contents of these blocks. Example is
      shown in this patch.
      To enable cutomized override file call build.py
      
      --template-override=path-to-file Only caveat is that header {% extends
      .. %} has to stay
      
      Change-Id: I5957024e5652f9677c439fb2fcd524e467b951af
      Partially-implements: blueprint third-party-plugin-support
      51074b0a
    • Jeffrey Zhang's avatar
      Make build.py importable lib · c31688be
      Jeffrey Zhang authored
      First step to break it down is to make it
      importable lib rather than self-contained script.
      
      Change-Id: Ibbc924c2849cc79006046f62f31a1909ce959066
      Partially-implements: bp build-refactor
      c31688be
    • Jeffrey Zhang's avatar
      Remove the deprecated kolla-build section · 9585c1be
      Jeffrey Zhang authored
      TrivialFix
      
      Change-Id: I3ee10efc093ed394c3af483a229dcd9dc732ec9a
      9585c1be
  22. Jun 06, 2016
    • Christian Berendt's avatar
      Cleanup help string of install_type parameter · 442b4b6a
      Christian Berendt authored
      The part "The valid types are: binary, source, rdo, rhos" is already a
      part of the generated kolla-build configuration file ("# Allowed values:
      binary, source, rdo, rhos").
      
      TrivialFix
      
      Change-Id: I87b913c1b650fe54402ea643fc9c774448850f6b
      442b4b6a
  23. Jun 02, 2016
    • Joshua Harlow's avatar
      Use an image object, recorder object and status constants · 7c6990cc
      Joshua Harlow authored
      Instead of using raw dicts and passing data around via
      dictionaries (which makes it really hard to figure out
      what is in those dictionaries at any point) prefer to
      use objects. That way people can actually understand what
      the object is supposed to be, vs guessing and/or having to
      decipher its usage.
      
      The same goes for raw string constants, prefer using
      named constants instead.
      
      Closes-Bug: #1586475
      
      Change-Id: Ide179dc6593c50696d47a2d3d4cd000f343855d4
      7c6990cc
    • Joshua Harlow's avatar
      Use a task model and dumb workers · e78ae9bc
      Joshua Harlow authored
      Instead of having smart workers that need to know
      about the full logic of how they operate and what
      they will do which makes it hard to reuse parts of
      those workers switch the model so that workers are
      dumb and they just run tasks which themselves can
      request additional tasks to run when succesful.
      
      This makes it more consistent when tasks are to
      be retried and also makes it easier to know which
      task is running and when.
      
      Less specialized workers == good.
      
      Closes-Bug: #1586474
      
      Change-Id: Ie7b7303b8bf2a80b3e26b6d4ffc27787f8c794d6
      e78ae9bc
  24. May 31, 2016
  25. May 27, 2016
  26. May 26, 2016
    • Swapnil Kulkarni (coolsvap)'s avatar
      Add sahara containers · 353d077e
      Swapnil Kulkarni (coolsvap) authored
      Added sahara container for
      centos,ubuntu
      binary,source
      
      partially-implements blueprint sahara-container
      
      Change-Id: Id6dad447cd6ec07286e7a6cab0b13a6d4d89c1a7
      353d077e
  27. May 21, 2016
Loading