← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1818047] [NEW] nova-status doesn't render cell DB connection strings before use

 

Public bug reported:

Description
===========

I've been working on introducing basic upgrade check calls in TripleO
but have encountered the following issue now template based db
connection strings are being used by TripleO in support of cellsv2:

$ nova-status upgrade check
[..]
ArgumentError: Could not parse rfc1738 URL from string '{scheme}://{username}:{password}@{hostname}/nova?{query}'

http://logs.openstack.org/39/635139/2/check/tripleo-ci-
centos-7-standalone/91d4b45/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz#_2019-02-26_22_04_00

Steps to reproduce
==================

http://logs.openstack.org/39/635139/2/check/tripleo-ci-
centos-7-standalone/91d4b45/logs/reproducer-quickstart.sh

Expected result
===============

Connection string is formatted correctly before use.

Actual result
=============

Connection string is not formatted before use leading to `nova-status`
errors.

Environment
===========
1. Exact version of OpenStack you are running. See the following
  list for all releases: http://docs.openstack.org/releases/

   Master / Stein

2. Which hypervisor did you use?
   (For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
   What's the version of that?

   N/A

2. Which storage type did you use?
   (For example: Ceph, LVM, GPFS, ...)
   What's the version of that?

   N/A

3. Which networking type did you use?
   (For example: nova-network, Neutron with OpenVSwitch, ...)

   N/A

Logs & Configs
==============

See above.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1818047

Title:
  nova-status doesn't render cell DB connection strings before use

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========

  I've been working on introducing basic upgrade check calls in TripleO
  but have encountered the following issue now template based db
  connection strings are being used by TripleO in support of cellsv2:

  $ nova-status upgrade check
  [..]
  ArgumentError: Could not parse rfc1738 URL from string '{scheme}://{username}:{password}@{hostname}/nova?{query}'

  http://logs.openstack.org/39/635139/2/check/tripleo-ci-
  centos-7-standalone/91d4b45/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz#_2019-02-26_22_04_00

  Steps to reproduce
  ==================

  http://logs.openstack.org/39/635139/2/check/tripleo-ci-
  centos-7-standalone/91d4b45/logs/reproducer-quickstart.sh

  Expected result
  ===============

  Connection string is formatted correctly before use.

  Actual result
  =============

  Connection string is not formatted before use leading to `nova-status`
  errors.

  Environment
  ===========
  1. Exact version of OpenStack you are running. See the following
    list for all releases: http://docs.openstack.org/releases/

     Master / Stein

  2. Which hypervisor did you use?
     (For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
     What's the version of that?

     N/A

  2. Which storage type did you use?
     (For example: Ceph, LVM, GPFS, ...)
     What's the version of that?

     N/A

  3. Which networking type did you use?
     (For example: nova-network, Neutron with OpenVSwitch, ...)

     N/A

  Logs & Configs
  ==============

  See above.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1818047/+subscriptions


Follow ups