[Bug 1500635] [NEW] Allow os-{type}-hostname to also override protocol

Billy Olsen billy.olsen at canonical.com
Mon Sep 28 22:26:09 UTC 2015


Public bug reported:

When deploying a proxy for OpenStack services the proxy itself may
provide the SSL transport rather than the OpenStack services themselves.
In such a deployment, SSL is not configured nor managed by the OpenStack
service components (keystone, cinder, nova-compute, etc) and instead the
proxy is handling the SSL traffic.

Rather than introduce yet another config option, a simple change to the
way the os-{endpoint_type}-hostname options is treated will allow the
user to also specify that the endpoints should be advertised as SSL and
that an external proxy will manage the SSL configuration for them.

As such, this change would allow the user to specify the following
options:

1. Override the hostname advertised, let the charms themselves manage
the SSL

    juju set <service> os-public-hostname='foobar.example.org'

2. Override the hostname advertised and the URL scheme.

    juju set <service> os-public-hostname='https://foobar.example.org'

In the second configuration option, the public endpoints for the service
will be advertised using https for the scheme/protocol and
foobar.example.org for the address. The path portion of the endpoint URL
will continue to be provided by the specific charm.

** Affects: charm-helpers
     Importance: Undecided
     Assignee: Billy Olsen (billy-olsen)
         Status: In Progress

** Affects: ceilometer (Juju Charms Collection)
     Importance: High
     Assignee: Billy Olsen (billy-olsen)
         Status: Triaged

** Affects: ceph-radosgw (Juju Charms Collection)
     Importance: High
     Assignee: Billy Olsen (billy-olsen)
         Status: Triaged

** Affects: cinder (Juju Charms Collection)
     Importance: High
     Assignee: Billy Olsen (billy-olsen)
         Status: Triaged

** Affects: glance (Juju Charms Collection)
     Importance: High
     Assignee: Billy Olsen (billy-olsen)
         Status: Triaged

** Affects: heat (Juju Charms Collection)
     Importance: High
     Assignee: Billy Olsen (billy-olsen)
         Status: Triaged

** Affects: keystone (Juju Charms Collection)
     Importance: High
         Status: Triaged

** Affects: neutron-api (Juju Charms Collection)
     Importance: High
     Assignee: Billy Olsen (billy-olsen)
         Status: Triaged

** Affects: nova-cloud-controller (Juju Charms Collection)
     Importance: High
     Assignee: Billy Olsen (billy-olsen)
         Status: Triaged

** Affects: swift-proxy (Juju Charms Collection)
     Importance: High
     Assignee: Billy Olsen (billy-olsen)
         Status: Triaged

** Also affects: cinder (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: nova-cloud-controller (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: keystone (Juju Charms Collection)
   Importance: Undecided
       Status: New

** No longer affects: nova-cloud-controller (Ubuntu)

** Also affects: nova-cloud-controller (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: glance (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: swift-proxy (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: ceilometer (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: heat (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: ceph-radosgw (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Also affects: neutron-api (Juju Charms Collection)
   Importance: Undecided
       Status: New

** Changed in: charm-helpers
     Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: ceilometer (Juju Charms Collection)
   Importance: Undecided => High

** Changed in: ceilometer (Juju Charms Collection)
       Status: New => Triaged

** Changed in: ceilometer (Juju Charms Collection)
    Milestone: None => 15.10

** Changed in: ceph-radosgw (Juju Charms Collection)
   Importance: Undecided => High

** Changed in: ceph-radosgw (Juju Charms Collection)
       Status: New => Triaged

** Changed in: ceph-radosgw (Juju Charms Collection)
    Milestone: None => 15.10

** Changed in: ceph-radosgw (Juju Charms Collection)
     Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: ceilometer (Juju Charms Collection)
     Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: cinder (Juju Charms Collection)
   Importance: Undecided => High

** Changed in: cinder (Juju Charms Collection)
       Status: New => Triaged

** Changed in: cinder (Juju Charms Collection)
    Milestone: None => 15.10

** Changed in: cinder (Juju Charms Collection)
     Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: glance (Juju Charms Collection)
   Importance: Undecided => High

** Changed in: glance (Juju Charms Collection)
       Status: New => Triaged

** Changed in: glance (Juju Charms Collection)
    Milestone: None => 15.10

** Changed in: glance (Juju Charms Collection)
     Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: heat (Juju Charms Collection)
   Importance: Undecided => High

** Changed in: heat (Juju Charms Collection)
       Status: New => Triaged

** Changed in: heat (Juju Charms Collection)
    Milestone: None => 15.10

** Changed in: heat (Juju Charms Collection)
     Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: keystone (Juju Charms Collection)
   Importance: Undecided => High

** Changed in: keystone (Juju Charms Collection)
       Status: New => Confirmed

** Changed in: keystone (Juju Charms Collection)
    Milestone: None => 15.10

** Changed in: neutron-api (Juju Charms Collection)
   Importance: Undecided => High

** Changed in: neutron-api (Juju Charms Collection)
       Status: New => Triaged

** Changed in: neutron-api (Juju Charms Collection)
    Milestone: None => 15.10

** Changed in: neutron-api (Juju Charms Collection)
     Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: keystone (Juju Charms Collection)
       Status: Confirmed => Triaged

** Changed in: nova-cloud-controller (Juju Charms Collection)
   Importance: Undecided => High

** Changed in: nova-cloud-controller (Juju Charms Collection)
       Status: New => Triaged

** Changed in: nova-cloud-controller (Juju Charms Collection)
    Milestone: None => 15.10

** Changed in: nova-cloud-controller (Juju Charms Collection)
     Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: swift-proxy (Juju Charms Collection)
   Importance: Undecided => High

** Changed in: swift-proxy (Juju Charms Collection)
       Status: New => Triaged

** Changed in: swift-proxy (Juju Charms Collection)
    Milestone: None => 15.10

** Changed in: swift-proxy (Juju Charms Collection)
     Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: charm-helpers
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Juju Charms Collection.
Matching subscriptions: charm-bugs
https://bugs.launchpad.net/bugs/1500635

Title:
  Allow os-{type}-hostname to also override protocol

Status in Charm Helpers:
  In Progress
Status in ceilometer package in Juju Charms Collection:
  Triaged
Status in ceph-radosgw package in Juju Charms Collection:
  Triaged
Status in cinder package in Juju Charms Collection:
  Triaged
Status in glance package in Juju Charms Collection:
  Triaged
Status in heat package in Juju Charms Collection:
  Triaged
Status in keystone package in Juju Charms Collection:
  Triaged
Status in neutron-api package in Juju Charms Collection:
  Triaged
Status in nova-cloud-controller package in Juju Charms Collection:
  Triaged
Status in swift-proxy package in Juju Charms Collection:
  Triaged

Bug description:
  When deploying a proxy for OpenStack services the proxy itself may
  provide the SSL transport rather than the OpenStack services
  themselves. In such a deployment, SSL is not configured nor managed by
  the OpenStack service components (keystone, cinder, nova-compute, etc)
  and instead the proxy is handling the SSL traffic.

  Rather than introduce yet another config option, a simple change to
  the way the os-{endpoint_type}-hostname options is treated will allow
  the user to also specify that the endpoints should be advertised as
  SSL and that an external proxy will manage the SSL configuration for
  them.

  As such, this change would allow the user to specify the following
  options:

  1. Override the hostname advertised, let the charms themselves manage
  the SSL

      juju set <service> os-public-hostname='foobar.example.org'

  2. Override the hostname advertised and the URL scheme.

      juju set <service> os-public-hostname='https://foobar.example.org'

  In the second configuration option, the public endpoints for the
  service will be advertised using https for the scheme/protocol and
  foobar.example.org for the address. The path portion of the endpoint
  URL will continue to be provided by the specific charm.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-helpers/+bug/1500635/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list