Skip to content
Snippets Groups Projects
  1. Sep 16, 2016
  2. Aug 29, 2016
  3. Aug 09, 2016
    • Christian Berendt's avatar
      Remove heat dev environment · 608f6c75
      Christian Berendt authored
      The heat dev environment is not functional, remove it to avoid confusions.
      
      Change-Id: I05ac25294516270328ca1fe88f15defeea570306
      Partial-bug: #1562334
      608f6c75
  4. 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
  5. Jul 26, 2016
    • Matthew Montgomery's avatar
      Vagrant plugin check · cd8f68b4
      Matthew Montgomery authored
      - Adds support for validating that all required Vagrant plugins have
        been installed.
      
      Closes-Bug: 1606575
      Change-Id: I06002ef9d43d081b5ae9f326377e5009b4e62e36
      cd8f68b4
  6. Jun 23, 2016
  7. Jun 21, 2016
  8. Jun 17, 2016
    • Martin André's avatar
      Connect to remote hosts as root · aba8add5
      Martin André authored
      Since this is the user for which we setup the SSH key.
      
      This commit allows to run kolla-ansible as vagrant user without using
      sudo.
      
      This only applies to multinode.
      
      TrivialFix
      
      Change-Id: Ie5231085a66511a520d4dbe5e9f35414acf1900b
      aba8add5
    • Martin André's avatar
      Only keep localhost for 127.0.0.1 · 5f797329
      Martin André authored
      The regex used previously would keep the short hostname (hostname -s)
      on the 127.0.0.1 line.
      
      Reset the 127.0.0.1 line to keep only localhost.
      
      TrivialFix
      
      Change-Id: I90bdec6793ac5b2d304e178e5114369b7b3b9626
      5f797329
    • Martin André's avatar
      Remove unused SUPPORT_NODE variable · cbd67d3c
      Martin André authored
      The SUPPORT_NODE variable was missed during a refactoring of
      bootstrap.sh and is now unused. Remove it.
      
      TrivialFix
      
      Change-Id: I10ab4368b383dbb620916f70c368153403944001
      cbd67d3c
    • Martin André's avatar
      Set internal vip to vagrant private network · 5718356e
      Martin André authored
      In vagrant environments, the kolla_internal_vip_address didn't belong
      to the private network provisioned on the machine and was failing the
      prechecks.
      
      TrivialFix
      
      Change-Id: I0e7e4d134e350c49ef7510c7262677754a83bcbf
      5718356e
    • Martin André's avatar
      Refer to operator VM as primary VM · acfe3b73
      Martin André authored
      This allows us to execute vagrant commands by default on the 'operator'
      VM and eliminate one of the difference between AIO and multinode.
      
      TrivialFix
      
      Change-Id: Ia14aa026d1146ec4b1e006c72a2460edfc0cf6eb
      acfe3b73
  9. May 26, 2016
  10. May 24, 2016
    • Jeffrey Zhang's avatar
      Bump the ansible to 2 · 491822c5
      Jeffrey Zhang authored
      DocImpact
      
      Change-Id: I3cdfbf84919de80f535c030bd146787ecda40dec
      partial-Implements: blueprint ansible2
      491822c5
  11. May 18, 2016
    • Paul Bourke's avatar
      Improve Vagrants bootstrap.sh proxy support · d2a62c96
      Paul Bourke authored
      * sudo is not needed as script already runs as root, using sudo would
        require http_* env vars to be carried through.
      
      * Add a systemd unit file to configure docker proxy support
      
      * Update /etc/bashrc if available proxy
      
      TrivialFix
      
      Change-Id: If2571389ec3dc5bce9e819acf962d202b3166b97
      d2a62c96
  12. Apr 21, 2016
  13. Mar 28, 2016
  14. Mar 26, 2016
  15. 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
  16. Mar 20, 2016
    • Andrei-Lucian Șerb's avatar
      Attach external NIC to a NAT-Network if on Wi-Fi · 3b12b7b9
      Andrei-Lucian Șerb authored
      
      On computers with wi-fi adapters, promiscuous mode on the VirtualBox (or
      maybe other hypervisors as well) NICs does not work, which means the
      default way of connecting the Neutron external interface to a bridged
      adapter, will not allow communication to and from the Nova VMs over
      floating IPs with any computer on the external network (except the host
      computer) or with the wi-fi router. This means no ability to connect to
      the Nova VMs and no internet access inside the Nova VMs.
      
      According to VirtualBox documentation (excerpt): "Bridging to a wireless
      interface is done differently from bridging to a wired interface,
      because most wireless adapters do not support promiscuous mode. All
      traffic has to use the MAC address of the host’s wireless adapter, and
      therefore VirtualBox needs to replace the source MAC address in the
      Ethernet header of an outgoing packet to make sure the reply will be
      sent to the host interface. When VirtualBox sees an incoming packet with
      a destination IP address that belongs to one of the virtual machine
      adapters it replaces the destination MAC address in the Ethernet header
      with the VM adapter’s MAC address and passes it on. VirtualBox examines
      ARP and DHCP packets in order to learn the IP addresses of virtual
      machines."
      
      To fix this issue, a new flag has been introduced: WIFI. If true, the
      default Vagrant public network is not created anymore. Instead, the 3rd
      NIC will be connected to a NAT-Network named OSNetwork. The NAT-Network
      has a virtual gateway, which will be used to communicate with the
      external physical wi-fi router. Since Vagrant does not have a high-level
      mechanism to attach an adapter to a NAT-Network, the code uses the
      low-level Vagrant construct vm.customize which makes it provider
      specific.
      
      Promiscuous mode is now activated by default on the 3rd NIC.
      
      The WIFI flag is false by default.
      
      This commit only addresses VirtualBox, and it is currently unknown if
      the problem described and fixed in this commit is present in other
      hypervisors.
      
      DocImpact
      Closes-Bug: #1558766
      Change-Id: I0b4dbbc562d87191b2179f47b634cdd6f6361a5e
      Signed-off-by: default avatarAndrei-Lucian Șerb <lucian.serb@icloud.com>
      3b12b7b9
  17. Mar 16, 2016
    • Martin André's avatar
      Fix genconfig on vagrant · 21bade35
      Martin André authored
      We run tox at the root of the home directory, so we need to pass it the
      path to the tox.ini file.
      
      TrivialFix
      
      Change-Id: Ieb52d845b77f556aee5cd194a8ef86561b7849b2
      21bade35
    • Martin André's avatar
      Fix host_manager plugin for vagrant virtualbox · 14da78f9
      Martin André authored
      There is no such thing as virtualbox_{ubuntu,centos} but only
      a virtualbox provider. The code to retrieve the VM's IP address was
      never executed and broke host_manager plugin.
      
      TrivialFix
      
      Change-Id: I0ffacf0bd5d2856264247b23e3b3e918836988e3
      14da78f9
  18. Mar 15, 2016
  19. Mar 11, 2016
    • Martin André's avatar
      Stop shipping broken openrc in vagrant · 29b4e875
      Martin André authored
      Instead, rely on kolla-ansible post-deploy to generate a configuration
      file with valid environment variables.
      
      Change-Id: Ie62932afc96e2486410a1d4e14162a88b1733c22
      Closes-Bug: #1555972
      29b4e875
  20. Mar 03, 2016
  21. Mar 02, 2016
  22. Feb 26, 2016
    • Éric Lemoine's avatar
      Fix issue in newest_dhcp_lease.py · 9544166c
      Éric Lemoine authored
      This fixes a bug in newest_dhcp_lease.py where the get_mac_address
      function currently searches for a "bridge" interface instead of
      searching for the interface whose source network is
      "vagrant-private-dhcp".
      
      Change-Id: Iea0b25f893b959b5e319b117e7a1c4c63a00dd23
      Closes-Bug: #1548742
      9544166c
  23. Feb 24, 2016
  24. Feb 23, 2016
    • Daniel Gonzalez's avatar
      Fix vagrant bootstrapping for ubuntu · aaa38eaf
      Daniel Gonzalez authored
      The ubuntu-bootstrap.sh script used by vagrant to provision ubuntu
      boxes was lacking many of the features of centos-bootstrap.sh. For
      instance, ubuntu-bootstrap.sh did not install kolla, so the kolla-build
      executable was not available after initial provisioning.
      This patch adapts the bootstrap script to match the centos bootstrap
      script as closely as possible.
      
      Change-Id: I6cdacb993a9b6856912ea7cfb73a28f3867f472a
      Closes-Bug: #1547114
      aaa38eaf
  25. Feb 22, 2016
    • Daniel Gonzalez's avatar
      Harmonise vagrant provider defaults · 1665f500
      Daniel Gonzalez authored
      Ensure that provider defaults of libvirt and virtualbox use the same
      paths and provisioning scripts.
      
      Change-Id: Ie968b118aa0540204751c348ef3408a6fe24d32a
      Partial-Bug: #1547114
      1665f500
    • Daniel Gonzalez's avatar
      Change ubuntu base_image for vagrant to wily64 · e970d8b5
      Daniel Gonzalez authored
      The ubuntu-bootstrap.sh script tries to install the packet
      linux-image-generic-ls-wily when the kernel version is older than 4.2.
      This fails when using the default base image ubuntu/vivid64. Therefore
      this patch updates the base_image to ubuntu/wily64.
      
      Change-Id: Ieaf2d35a9a4304de2d1d78d8245d115dcb32bb0e
      Partial-Bug: #1547114
      e970d8b5
  26. Feb 18, 2016
  27. Feb 15, 2016
    • Dave McCowan's avatar
      Use variables to specify http or https when constructing URLs · 1cedf77f
      Dave McCowan authored
      To allow for TLS to protect the service endpoints, the protocol
      in the URLs for the endpoints will be either http or https.
      
      This patch removes the hardcoded values of http and replaces them
      with variables that can be adjusted accordingly in future patches.
      
      Change-Id: Ibca6f8aac09c65115d1ac9957410e7f81ac7671e
      Partially-implements: blueprint ssl-kolla
      1cedf77f
  28. Feb 09, 2016
    • Martin André's avatar
      Switch to docker registry v2 · ef9aca2f
      Martin André authored
      With docker 1.10, the v2 registry finally has decent performances.
      
      TrivialFix
      
      Change-Id: I85fde385dba3579abad497e327170d30b8b9fc7c
      ef9aca2f
    • Martin André's avatar
      Fetching IP addresses for vagrant-hostmanager from libvirt · e715856f
      Martin André authored
      
      To fetch the IP address from the interface other than eth0 for
      vagrant-hostmanager plugin, it must be fetched from the DHCP
      leases from libvirt network. The previously used one-liner,
      which was using virsh with awk, returns multiple addresses
      when VM was destroyed before expiration of its DHCP lease.
      
      This script solved this problem by getting only the newest
      DHCP lease and gives a possibility to destroy Vagrant
      environment and set up again without worrying about hosts
      resolving.
      
      Co-Authored-By: default avatarMichal Rostecki <mrostecki@mirantis.com>
      Partially-Implements: blueprint vagrant
      Related-Id: Ic469b46f4d02d873c27114cbd268b86521eef32b
      Related-Id: I81f07b7e4a202af68fd3cf9fdb308c3734c40a83
      
      Change-Id: I408415e95483c1b8988d0f67c654212de63bece2
      e715856f
    • Martin André's avatar
      Fix Vagrant provisioning with docker 1.10 · 31e0b345
      Martin André authored
      docker 1.10 removed the -d flag in favor of "daemon". Also adjust
      docker config to enable shared mount namespace.
      
      Closes-Bug: #1543201
      
      Change-Id: I14cb497e0e02d90cdf74de8a09cca346f68254ab
      31e0b345
  29. Feb 04, 2016
    • MD NADEEM's avatar
      Update kernel version in ubuntu-bootstrap.sh · 354e674d
      MD NADEEM authored
      Ubuntu-bootstrap.sh script rebooted my server
      with message of re-run the script and at re-run
      it again do the same thing.
      
      I find this behavior is due to the below check
      
      if [[ $(uname -r) != *"3.19"* ]]
      
      As latest ubuntu kernel version is 4.2.0-27-generic,
      so we should update the script for kernel version
      4.2.0-27-generic.
      
      This patch fixes the issue.
      Closes-Bug: #1541797
      Change-Id: I01e98d80df60fe8c5f6ac6e644d42261fdd2921c
      354e674d
  30. Jan 19, 2016
    • Marc Koderer's avatar
      Adapt openrc file to use keystone v3 · 9531b061
      Marc Koderer authored
      Ansible adminrc file already uses v3 as default. So let's
      to that in vagrant too.
      
      See file:
      ansible/roles/common/templates/admin-openrc.sh.j2
      
      TrivialFix
      
      Change-Id: I23b7ff81808ddc718ae1186887e9764ebc5ab6ef
      9531b061
  31. Jan 18, 2016
  32. Jan 15, 2016
    • Marc Koderer's avatar
      Fix centos AiO setup · 3f487369
      Marc Koderer authored
      LVM2 must be upgraded before device-mapper.
      Otherwise the setup fails.
      
      Change-Id: I97f57c1c8fd50621ad7fa0ddf296cc987c227cd2
      Fixes-bug: #1534549
      3f487369
Loading