Skip to content
Snippets Groups Projects
  1. Mar 21, 2016
    • SamYaple's avatar
      Add generate_passwords.py to generate passwords · f03e06e0
      SamYaple authored
      
      As with all tools, this is a first pass at the generation. Perhaps we
      even want to move this into kolla/kolla/cmd and be generated with tox
      itself in the future.
      
      This tool, when run, will only populate empty fields that have no
      values meaning that it is safe to run repeatedly on the same file.
      
      Of note, there is no way to preserve comments in the file after it has
      been processed by the yaml parser in python. Comments and sections
      will remain in the passwords.yml template for additional documentation
      if the user wishes to populate the file themselves.
      
      Use SystemRandom and clean up the docs a bit to not use pronouns.
      
      Co-Authored-By: default avatarSteven Dake <stdake@cisco.com>
      
      Closes-Bug: #1559266
      Change-Id: I2932d592df8871f1b7811059206d0b4d0553a687
      f03e06e0
  2. Mar 09, 2016
    • SamYaple's avatar
      Add local directory or file for source build · 279594ab
      SamYaple authored
      
      This change allows using a local directory or tarball to build from
      sources by specifying the 'local' type in your kolla-build.conf:
      
          [keystone-base]
          type=local
          location=/home/martin/src/keystone
      
          [neutron-server-plugin-networking-cisco]
          type=local
          location=/tmp/networking-cisco.tar.gz
      
      Closes-Bug: #1509625
      Co-Authored-By: default avatarMartin André <m.andre@redhat.com>
      Change-Id: I3f6f68b0f44efdac653d186d2625591ad7cb3b2a
      279594ab
  3. Mar 08, 2016
    • Swapnil Kulkarni (coolsvap)'s avatar
      Handle kolla-build exception · 5669f7e0
      Swapnil Kulkarni (coolsvap) authored
      kolla-build currently does not provide information
      if docker service is not running. Added exception
      handling.
      
      Change-Id: I1f167804b8b4d2ad9220281954ff7ea7162a9817
      Closes-Bug:#1553912
      5669f7e0
  4. Feb 28, 2016
    • Vikram Hosakote's avatar
      Add timeout to requests.get() in kolla/cmd/build.py · 320c1f92
      Vikram Hosakote authored
      When kolla-build is running, if there are network issues or if the
      source's location (like http://tarballs.openstack.org) fails to
      respond due to high number of concurrent requests, kolla-build just
      hangs/blocks indefinitely.
      
      This patch set resolves this issue by adding a timeout of 120
      seconds for requests.get() in kolla/cmd/build.py, adds a unit test
      for it in kolla/tests/test_build.py and also the "timeout" argument
      in kolla/common/config.py.
      
      Change-Id: I7c8745a20b9bd1c3f5d6a55c72a794f16fd7e513
      Closes-Bug: #1548614
      320c1f92
  5. Feb 15, 2016
  6. Feb 12, 2016
  7. Feb 04, 2016
  8. Feb 03, 2016
    • SamYaple's avatar
      Ubuntu custom apt repos · 9dae768e
      SamYaple authored
      Change-Id: I3afb8a29c4ae2369f29e0cc94d75ff8a3c42594b
      Implements: blueprint custom-repos
      9dae768e
  9. Jan 20, 2016
  10. Jan 18, 2016
  11. Jan 16, 2016
  12. Jan 07, 2016
    • Jeffrey Zhang's avatar
      Fix the package source don't register issue · 9b19db09
      Jeffrey Zhang authored
      Closes-Bug: #1531848
      Change-Id: I3c6ceb9f1f367b8b19ab1b1d06c67817ab93cabb
      9b19db09
    • SamYaple's avatar
      Fix broken local and global building · ea5fa4e2
      SamYaple authored
      Two things broke in the related patches. This patch aims to fix that.
      
      1) tools/build.py was no longer usable as it imported kolla from the
      global pip install source. If that didnt exist (because kolla wasn't
      installed with pip) then it breaks on import.
      
      2) When kolla was installed globally it looked up the path that
      matched the installation of docker-py instead of looking up a path
      that had the stuff we wanted (kolla images directory)
      
      Change-Id: I94f1856547ce54d506de72926b08c966a36ac608
      Related-Id: I05f10d13e7ba1e2b985c2944aec71ce55630442b
      Related-Bug: #1530256
      Closes-Bug: #1531569
      ea5fa4e2
  13. Jan 06, 2016
  14. Jan 05, 2016
  15. Dec 30, 2015
  16. Dec 27, 2015
  17. Dec 25, 2015
    • SamYaple's avatar
      Fix logging params · 73ac472e
      SamYaple authored
      Something was missed during the logging update
      
      TrivialFix
      
      Change-Id: Ic611b7a0e2a53725b1a3a76aba56faeca5f68dfa
      73ac472e
  18. Dec 24, 2015
    • David Moreau Simard's avatar
      Make the yum repositories configurable in the base image · e8ad7488
      David Moreau Simard authored
      
      - Removed hardcoded yum repository configuration in favor of
        commands dynamically generated based on repo-url and repo-file
        arguments. We maintain a sane default set of repositories.
      - Added generic rpm_setup_config parameter to add support for
        installing .rpm or .repo files before building containers.
      
      Co-Authored-By: default avatarRyan Hallisey <rhallise@redhat.com>
      Implements: blueprint custom-repos
      Change-Id: I1b3a7647a9e7239de3cd162cb6f464f05632bde1
      e8ad7488
  19. Dec 23, 2015
  20. Dec 17, 2015
    • Michal Jastrzebski's avatar
      Add kolla version to base container · 9cd603df
      Michal Jastrzebski authored
      We want to record kolla version of running containers to be able to
      detect whether or not we need to perform certain downtime-causing
      actions during upgrade.
      
      Change-Id: Ie113029da98303e6809d56edbf6d8de37be128d7
      Implements: blueprint record-version
      9cd603df
  21. Dec 15, 2015
  22. Dec 11, 2015
    • Michal Jastrzebski's avatar
      Record version on container build · 3f2a4f2c
      Michal Jastrzebski authored
      This changes default behaviour of build.py to instad of putting latest
      tag on it, it puts current kolla version as found in setup.cfg
      
      Change-Id: I4d6e9a0159c6a5598abd58072594df4204427308
      Partially-Implements: blueprint upgrade-nova
      Partially-Implements: blueprint record-version
      3f2a4f2c
    • Martin André's avatar
      Catch exception when directory creation fails · 06794fdc
      Martin André authored
      The build script now creates now creates a plugins directory for source
      builds to store plugins required for the container, and creates a tar
      of all plugins that is extracted at runtime.
      
      However, the creation of the 'plugins' directory is not handled
      correctly and generate an exception in the running thread if the
      directory exists. This is the case for example if the build script
      retries a failing image.
      
      This commit fixes the timeout issues we've experienced with the gate.
      
      Change-Id: Ic5d4fd1ddf71f01c547130518e311fded911c445
      Closes-Bug: 1524897
      06794fdc
  23. Dec 03, 2015
  24. Nov 30, 2015
  25. Nov 23, 2015
  26. Nov 22, 2015
  27. Nov 16, 2015
  28. Nov 10, 2015
    • Martin André's avatar
      Fix --retries option to kolla-build · b2530cdd
      Martin André authored
      Off by one error made the --retries option control the number of tries
      rather than the number of retries.
      
      Closes-Bug: #1514730
      backport: Liberty
      
      Change-Id: I976a8bb9e489d226f44926a6562d4d2af5de099c
      b2530cdd
  29. Nov 06, 2015
    • Kirill Proskurin's avatar
      Few improvements in Kolla tools. Added Ubuntu support. · 396014f8
      Kirill Proskurin authored
      pip install default prefix in Ubuntu is /usr/local, and Kolla tools scripts
      didnt respect that. So I added few OS checks in this scripts.
      
      I improve config path check in build.py. Added more verbose error if we can't
      find config directory.
      
      Change-Id: Ide521ed205b0dc1fc27e237a9a8f4da0168e664f
      Closes-Bug: #1512302
      396014f8
    • Steven Dake's avatar
      Make RHEL build properly · 5eb15d2e
      Steven Dake authored
      build.py -b rhel -t [rdo|rhos|source|binary]
      
      The last patch for this didn't quite fix the problem properly as
      it only permitted RHOS builds.
      
      backport: liberty
      
      Change-Id: I27eed202560adce450c07d043cc224e7a6c6bbf6
      Closes-Bug: #1513088
      5eb15d2e
    • Jeffrey Zhang's avatar
      Use the absoluate path · 27c3f6ff
      Jeffrey Zhang authored
      Use the absoluate path rather than that with `..`. This will be
      helpfull for end-user to see where is the folder/file.
      
      Closes-Bug: #1513726
      Change-Id: I7169952d874ddf14469605444044de0163b033d3
      27c3f6ff
Loading