Skip to content
Snippets Groups Projects
  1. Apr 04, 2019
  2. Apr 03, 2019
  3. Apr 02, 2019
  4. Apr 01, 2019
    • Eric Desrochers's avatar
      Not implicitly set vol_device_name to vda · 96ad636f
      Eric Desrochers authored
      Using a scsi decorated image with:
      hw_disk_bus='scsi'
      hw_scsi_model='virtio-scsi'
      
      This solve the case where an instance is
      launched with 'image' selected as boot
      source with a new volume. This will result
      in /dev/vda instead of /dev/sda as it
      should.
      
      Not specifying device name in
      setFinalSpecBootImageToVolume() leaves the
      decision to nova to determine it.
      
      Example:
      -------
      VM boot volume without scsi meta data decoration:
      Attached To
      0a0cd660-7ce3-4033-9983-2e1099edc5f0 on /dev/vda
      
      VM boot volume with scsi meta data decoration:
      Attached To
      91f50dbc-8bdf-4293-84ea-fc5df27b5ee4 on /dev/sda
      --------
      
      Note: This commit doesn't address cases for
      where instances are launched using existing
      volume and snapshot, this will involve more
      work to migrate the code from BDMv1 to BDMv2.
      
      Closes-Bug #1560965
      
      Change-Id: I9d114c2c2e6736a8f1a8092afa568f930b656f09
      (cherry picked from commit 4788c4d2)
      96ad636f
  5. Mar 29, 2019
  6. Mar 28, 2019
    • Dmitriy Rabotjagov's avatar
      Display first volume image_metadata as an instance image · 1d017219
      Dmitriy Rabotjagov authored
      When instance is created from cinder volume, it's image is not displayed
      Nowdays using cinder as instance source becomes more widespread,
      so there is sense in displaying instance image,
      when instance is created from cinder volumes.
      We're trying to get volume_image_metadata from the first volume of
      the instance, when instance doesn't have image attribute itself.
      First volume is suggested based on its device name (eg. '/dev/vda').
      
      This info is displayed only in instances list, not in detail overview.
      
      Change-Id: I00aa9ef07d1680bb2390a30271bb39cd7bea6329
      (cherry picked from commit 3c82a38f)
      1d017219
  7. Mar 27, 2019
  8. Mar 25, 2019
  9. Mar 21, 2019
  10. Mar 20, 2019
  11. Mar 19, 2019
  12. Mar 18, 2019
  13. Mar 16, 2019
  14. Mar 15, 2019
    • Michael Johnson's avatar
      Setup project-template for nodejs10 jobs · 7fbf2b5c
      Michael Johnson authored
      Monty recently setup a project-template for nodejs4 jobs[1], but
      some projects (Octavia for one) want to be bionic/nodejs10 (LTS)
      ready.
      This patch sets up a template for bionic nodepool instances using
      nodejs 10 (LTS).
      
      [1] https://review.openstack.org/#/c/643198
      
      Change-Id: Ibc2c4b5b5207e66700b5c4e04aca3c6a00d392be
      7fbf2b5c
    • Radomir Dopieralski's avatar
      Make domain_lookup return consistent type · 8e13106a
      Radomir Dopieralski authored
      It is possible to make Horizon reach the "Pure project admin doesn't
      have a domain token" state in domain_lookup by having different policy
      files in Keystone and in Horizon, at which point it results in an
      unhelpful AttributeError later on, because domain_lookup returns None.
      
      I'm proposing to make it return an empty dict instead, this way Horizon
      doesn't crash, but we still get the warning in the logs.
      
      Change-Id: I7a42e8defb2fb348cac8225fb1dcbf5e86c9e65c
      8e13106a
Loading