Skip to content
Snippets Groups Projects
  1. Mar 26, 2023
  2. Feb 23, 2023
  3. Feb 14, 2023
  4. Sep 29, 2022
    • Marcin Juszkiewicz's avatar
      init-runonce: use CirrOS 0.6.0 · e17a0ca2
      Marcin Juszkiewicz authored
      CirrOS 0.6.0 was released yesterday. Has newer kernel and userspace,
      better network configuration (more IPv6 stuff) and some other
      improvements.
      
      Change-Id: Ife7767904efe64602531fa3eb163c78260650909
      e17a0ca2
  5. Sep 28, 2022
  6. Sep 27, 2022
  7. Aug 08, 2022
    • Monty Taylor's avatar
      Add clouds.yaml file and use it · 73a1812c
      Monty Taylor authored
      clouds.yaml[0] is a richer way to express configuration for OpenStack
      clouds. It's also fully supported by Ansible's OpenStack modules as
      well as python-openstackclient and openstacksdk. It's the future - who
      doesn't like the future?
      
      Write a file using both the public (default) and the internal endpoints
      for the admin user. Also, change all of the examples to reference it
      and to get python-openstackclient to use it too.
      
      [0] https://docs.openstack.org/openstacksdk/latest/user/guides/connect_from_config.html
      
      Implements: blueprint use-clouds-yaml
      Change-Id: I557d2e4975c7b3d3c713a556b9ba47af9567ce6e
      73a1812c
  8. Jul 20, 2022
    • Michal Nasiadka's avatar
      init-runonce: Migrate to ECDSA keys · d2bc0b42
      Michal Nasiadka authored
      OpenSSH 8.8 has dropped support for RSA SHA-1 keys.
      ECDSA is FIPS approved, so probably it's a better
      direction than just changing to SHA-256.
      
      Change-Id: Id06d9d8912d9677dbe0f5a666f43a209664c94b4
      d2bc0b42
  9. Sep 28, 2021
    • Niklas Hagman's avatar
      Transition Keystone admin user to system scope · 2e933dce
      Niklas Hagman authored
      A system-scoped token implies the user has authorization to act on the
      deployment system. These tokens are useful for interacting with
      resources that affect the deployment as a whole, or exposes resources
      that may otherwise violate project or domain isolation.
      
      Since Queens, the keystone-manage bootstrap command assigns the admin
      role to the admin user with system scope, as well as in the admin
      project. This patch transitions the Keystone admin user from
      authenticating using project scoped tokens to system scoped tokens.
      This is a necessary step towards being able to enable the updated oslo
      policies in services that allow finer grained access to system-level
      resources and APIs.
      
      An etherpad with discussion about the transition to the new oslo
      service policies is:
      
      https://etherpad.opendev.org/p/enabling-system-scope-in-kolla-ansible
      
      
      
      Change-Id: Ib631e2211682862296cce9ea179f2661c90fa585
      Signed-off-by: default avatarNiklas Hagman <ubuntu@post.blinkiz.com>
      2e933dce
  10. Aug 17, 2021
  11. Nov 13, 2020
  12. Sep 12, 2020
    • Radosław Piliszek's avatar
      [CI] Ensure network is set for Zun · 7a3072e9
      Radosław Piliszek authored
      If we don't set it, then Zun chooses one randomly (the first one
      from Neutron).
      This may break if it is a network that is not available on
      target hosts, e.g. external via L3 agent router.
      
      Since capsules do not support nets yet [1], this patch ensures
      desired network creation order in init-runonce instead.
      
      [1] https://bugs.launchpad.net/zun/+bug/1895263
      
      Change-Id: Iaa113dcfb826164a2772d2c91d34ec0236be0817
      7a3072e9
  13. May 29, 2020
  14. Mar 21, 2020
  15. Mar 20, 2020
    • Radosław Piliszek's avatar
      Do not enforce vxlan in init-runonce · e03f06c0
      Radosław Piliszek authored
      The affected command was meant to create a tenant network, so let
      us really test it this way.
      
      Not marking CI, because someone may be using this script.
      
      Change-Id: I5abe46948992121a11a36f941d4f8fac1caa92b1
      e03f06c0
  16. Mar 01, 2020
    • Radosław Piliszek's avatar
      CI: Debug init-runonce · 29e4ef13
      Radosław Piliszek authored
      Also adds gawk for timestamping.
      
      This helps to correlate init events with failures elsewhere.
      
      Change-Id: I22fdb683ecf9870b2d66fedd6b40b7004317130a
      29e4ef13
  17. Feb 23, 2020
  18. Jul 10, 2019
    • Mark Goddard's avatar
      init-runonce: make public1 network optional · 3026fd91
      Mark Goddard authored
      Skip creation by setting ENABLE_EXT_NET to 0.
      
      Since adding errexit we are failing in kayobe CI, since we have a
      conflicting flat network on physnet1.
      
      Change-Id: I88429f30eb81a286f4b8104d5e7a176eefaad667
      3026fd91
  19. Jun 28, 2019
    • Mark Goddard's avatar
      Exit on failure in init-runonce · bc08b44f
      Mark Goddard authored
      Previously we sourced this script in tests/deploy.sh, but this was
      recently changed. Following that change we lost the errexit setting,
      meaning we ignore errors in init-runonce.
      
      Adding errexit in the script itself means that all callers get error
      handling.
      
      Also log init-runonce output.
      
      TrivialFix
      
      Change-Id: I9b35bd5f0f76eec26ddd968d093a3a5fd55a7ce2
      bc08b44f
  20. Jun 04, 2019
  21. Jul 27, 2018
  22. Apr 13, 2018
    • Paul Bourke's avatar
      Simplify init-runonce boot command · e5a84818
      Paul Bourke authored
      openstack cli now supports --network foo rather than having to find the
      network uuid. Thanks to mgoddard for the tip.
      
      Change-Id: I9ce94a86c6950b81ef3ec70fe10ee565cc1f1171
      e5a84818
  23. Jan 18, 2018
    • Martin André's avatar
      Use local cirros image if available · 84473bec
      Martin André authored
      Nodepool nodes saves the cirros image in /opt/cache/files/, we can make
      use of it to save some time and remove an external dependency on the
      cirros website.
      
      Change-Id: I81b431d8659b1da8b36d660f2a8f1cfa42461a14
      84473bec
  24. Jan 03, 2018
  25. Dec 18, 2017
  26. Nov 23, 2017
    • Ravi Shekhar Jethani's avatar
      Don't change directory while running init-runonce · 9c66123c
      Ravi Shekhar Jethani authored
      Currently init-runonce script changes directory to the
      script's base directory (/usr/...) before doing anything else.
      This unnecessarily _forces_ a non-root user to use sudo for
      running this script thereby raising privileges for code which
      doesn't want it. Also downloading temporary stuff in places like
      /usr... seems not a good choice.
      
      Hence deleting the said code part and letting the deployer work
      comfortably from any directory.
      
      Made documentation changes accordingly.
      
      Change-Id: Ib3c7ed97aa5f53c115b6337aaf572b5fdc7a71f3
      Closes-Bug: #1732963
      9c66123c
  27. Oct 26, 2017
  28. Apr 03, 2017
  29. Mar 14, 2017
  30. Jan 25, 2017
  31. Jan 24, 2017
    • Eduardo Gonzalez's avatar
      Fix security group creation · 8c189377
      Eduardo Gonzalez authored
      When using init-runonce script multiple default
      security groups are present and raise error:
      More than one security_group exists with the name 'default'.
      
      Add a check to create rules to admin's default sec group.
      
      Change-Id: Iaf93467d70ae41fdbcd2b37d6c5639a32d939394
      8c189377
  32. Jan 12, 2017
  33. Jan 06, 2017
  34. Dec 01, 2016
  35. Sep 26, 2016
  36. Sep 16, 2016
    • caoyuan's avatar
      Use "type" to take place of "which" and update the output · d48cc50e
      caoyuan authored
      When run tools/init-runonce without some client installed,it's
      retrun not friendly and confuse people,such as user does not
      install python-openstackclient, it will return "openstack not
      installed".This patch update it.
      
      Use "type" command to avoid "which"
      
      TrivialFix
      
      Change-Id: I53789a767b3a2727bf2cb848c2881272e313e14c
      d48cc50e
  37. Sep 15, 2016
  38. Aug 18, 2016
  39. Apr 08, 2016
    • Dave McCowan's avatar
      Add default flavors during init-runonce · fda9444e
      Dave McCowan authored
      The nova team is removing the default flavors from a standard
      deployment.  This is great for operators, who have to delete
      the defaults anyways.  This patch adds the original default
      flavors back during init-runonce so kolla users can be ready
      to launch instances.
      
      Closes-Bug: #1567964
      Change-Id: I17daec98997a6e412a99f34d3f8a4324460d8c60
      fda9444e
Loading