SSL not configured properly in reactive charms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack AODH Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack Barbican Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack Designate Charm |
Fix Released
|
High
|
Liam Young | ||
charms.openstack |
Fix Committed
|
High
|
Liam Young |
Bug Description
This issue has been faced when deploying designate charm from openstack-
root@juju-
apache2: unrecognized service
root@juju-
total 8
-r--r--r-- 1 root root 1176 Sep 25 11:00 cert_100.86.0.185
-r--r--r-- 1 root root 1679 Sep 25 11:00 key_100.86.0.185
This can be worked around by executing the following commands:
$ apt -y install apache2
$ a2ensite openstack_
$ a2enmod ssl
$ a2enmod proxy
$ cp /etc/apache2/
$ cp /etc/apache2/
$ service apache2 start
Designate charm is configured as follows:
application: designate
charm: designate
settings:
debug:
description: Enable debug logging
type: boolean
value: true
dns-slaves:
default: true
description: |
List of DNS slaves which will accept addzone/delzone rndc commands from
Designate. List is of the form slave_ip:
only be used if DNS servers are outside of Juju control. Using the
designate
type: string
enable-
description: Enables host request headers.
type: boolean
value: true
haproxy-
default: true
description: |
Client timeout configuration in ms for haproxy, used in HA
configura
type: int
value: 30000
haproxy-
default: true
description: |
Connect timeout configuration in ms for haproxy, used in HA
configura
type: int
value: 5000
haproxy-
default: true
description: |
Queue timeout configuration in ms for haproxy, used in HA
configura
type: int
value: 5000
haproxy-
default: true
description: |
Server timeout configuration in ms for haproxy, used in HA
configura
type: int
value: 30000
nameservers:
description: |
Space delimited list of nameservers. These are the nameservers that have
been provided to the domain registrar in order to delegate the domain to
Designate. e.g. "ns1.example.com. ns2.example.com."
type: string
value: <list of nameservers>
neutron-domain:
default: true
description: Domain to add floating IP records to.
type: string
neutron-
default: true
description: Email address of the person responsible for the domain.
type: string
neutron-
default: true
description: Format of floating IP global records.
type: string
value: '%(octet0)
nova-domain:
default: true
description: Domain to add records for new instances to
type: string
nova-
default: true
description: Email address of the person responsible for the domain.
type: string
nova-
default: true
description: Format of floating IP global records.
type: string
value: '%(hostname)
openstack-origin:
description: |
Repository from which to install OpenStack.
May be one of the following:
distro (default)
deb url sources entry|key id
or a supported Ubuntu Cloud Archive pocket.
Supported Ubuntu Cloud Archive pockets include:
Note that updating this setting to a source that is known to
provide a later version of OpenStack will trigger a software
upgrade.
type: string
value: cloud:trusty-mitaka
os-admin-
default: true
description: |
The hostname or address of the admin endpoints created in the keystone
identity provider.
.
This value will be used for admin endpoints. For example, an
os-
will create the following endpoint for neutron-api:
.
https:/
type: string
os-admin-network:
default: true
description: |
The IP address and netmask of the OpenStack Admin network (e.g.,
192.
.
This network will be used for admin endpoints.
type: string
os-internal-
default: true
description: |
The hostname or address of the internal endpoints created in the keystone
identity provider.
.
This value will be used for internal endpoints. For example, an
os-
will create the following endpoint for neutron-api:
.
https:/
type: string
os-internal-
default: true
description: |
The IP address and netmask of the OpenStack Internal network (e.g.,
192.
.
This network will be used for internal endpoints.
type: string
os-public-
default: true
description: |
The hostname or address of the public endpoints created in the keystone
identity provider.
.
This value will be used for public endpoints. For example, an
os-
will create the following endpoint for neutron-api:
.
https:/
type: string
os-public-
default: true
description: |
The IP address and netmask of the OpenStack Public network (e.g.,
192.
.
This network will be used for public endpoints.
type: string
region:
default: true
description: OpenStack Region
type: string
value: RegionOne
ssl_ca:
description: |
SSL CA to use with the certificate and key provided - this is only
required if you are providing a privately signed ssl_cert and ssl_key.
type: string
value: |-
<CA certificate>
ssl_cert:
description: |
SSL certificate to install and use for API ports. Setting this value
and ssl_key will enable reverse proxying, point Glance's entry in the
Keystone catalog to use https, and override any certficiate and key
issued by Keystone (if it is configured to do so).
type: string
value: |-
<Designate certificate>
ssl_key:
description: |
SSL key to use with certificate specified as ssl_cert.
type: string
value: |-
<Designate certificate key>
use-internal-
default: true
description: |
Openstack mostly defaults to using public endpoints for
internal communication between services. If set to True this option
will configure services to use internal endpoints where possible.
type: boolean
value: false
use-syslog:
description: |
Setting this to True will allow supporting services to log to syslog.
type: boolean
value: true
verbose:
description: Enable verbose logging
type: boolean
value: true
vip:
description: |
Virtual IP(s) to use to front API services in HA configuration.
If multiple networks are being used, a VIP should be provided for each
network, separated by spaces.
type: string
value: 100.86.0.12
vip_cidr:
default: true
description: |
Default CIDR netmask to use for HA vip when it cannot be automatically
determined.
type: int
value: 24
vip_iface:
default: true
description: |
Default network interface to use for HA vip when it cannot be
automatically determined.
type: string
value: eth0
worker-
default: true
description: |
The CPU core multiplier to use when configuring worker processes. By
default, the number of workers for each daemon is set to twice the number
of CPU cores a service unit has. When deployed in a LXD container, this
default value will be capped to 4 workers unless this configuration
option is set.
type: float
Attached are the logs from all 3 units.
Changed in charm-designate: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-designate: | |
status: | New → Confirmed |
importance: | Undecided → High |
summary: |
- apache2 not installed when using SSL options + SSL not configured properly in reactive charms |
Changed in charm-barbican: | |
status: | New → Confirmed |
Changed in charm-aodh: | |
status: | New → Confirmed |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-barbican: | |
assignee: | nobody → Liam Young (gnuoy) |
importance: | Undecided → High |
Changed in charm-aodh: | |
importance: | Undecided → High |
Changed in charms.openstack: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-aodh: | |
milestone: | none → 17.11 |
Changed in charm-barbican: | |
milestone: | none → 17.11 |
Changed in charm-designate: | |
milestone: | none → 17.11 |
Changed in charms.openstack: | |
status: | Confirmed → Fix Committed |
Changed in charm-designate: | |
status: | In Progress → Fix Committed |
Changed in charm-barbican: | |
status: | In Progress → Fix Committed |
Changed in charm-aodh: | |
status: | In Progress → Fix Committed |
Changed in charm-designate: | |
status: | Fix Committed → Fix Released |
Changed in charm-aodh: | |
status: | Fix Committed → Fix Released |
Changed in charm-barbican: | |
status: | Fix Committed → Fix Released |
FWIW, I'm not 100% sure, but this might have a connection with: /bugs.launchpad .net/charm- aodh/+bug/ 1713944
https:/
since both are reactive OpenStack charms.