Uplift Airship charts to latest working

Notable changes
 - Ceph client split in provisioner and rgw charts
 - Fixes in endpoints/osh-infra
 - Multiple charts moved from openstack-helm to openstack-helm-infra
 - Hold back MaaS/Drydock helm-toolkit - fixes in charts needed

Change-Id: I790865a4e1ec973b8182d66acad681b99414187c
This commit is contained in:
Kaspars Skels 2018-09-11 12:37:19 -05:00
parent 2170af6109
commit 25cedb0d8a
22 changed files with 1132 additions and 719 deletions

View File

@ -549,6 +549,28 @@ data:
type: string type: string
reference: reference:
type: string type: string
ceph-provisioners:
type: object
properties:
type:
type: string
location:
type: string
subpath:
type: string
reference:
type: string
ceph-rgw:
type: object
properties:
type:
type: string
location:
type: string
subpath:
type: string
reference:
type: string
deckhand: deckhand:
type: object type: object
properties: properties:
@ -953,6 +975,41 @@ data:
type: string type: string
image_repo_sync: image_repo_sync:
type: string type: string
ceph-provisioners:
type: object
properties:
ceph_bootstrap:
type: string
ceph_cephfs_provisioner:
type: string
ceph_config_helper:
type: string
ceph_rbd_provisioner:
type: string
dep_check:
type: string
type: string
image_repo_sync:
type: string
ceph-rgw:
type: object
properties:
ceph_config_helper:
type: string
ceph_rgw:
type: string
dep_check:
type: string
image_repo_sync:
type: string
rgw_s3_admin:
type: string
ks_endpoints:
type: string
ks_service:
type: string
ks_user:
type: string
kubernetes: kubernetes:
type: object type: object
properties: properties:

View File

@ -12,7 +12,7 @@ metadata:
- src: - src:
schema: pegleg/SoftwareVersions/v1 schema: pegleg/SoftwareVersions/v1
name: software-versions name: software-versions
path: .charts.ucp.ceph-client path: .charts.ucp.ceph-provisioners
dest: dest:
path: .source path: .source
@ -20,7 +20,7 @@ metadata:
- src: - src:
schema: pegleg/SoftwareVersions/v1 schema: pegleg/SoftwareVersions/v1
name: software-versions name: software-versions
path: .images.ceph.ceph-client path: .images.ceph.ceph-provisioners
dest: dest:
path: .values.images.tags path: .values.images.tags
@ -137,6 +137,10 @@ data:
conf: conf:
rgw_ks: rgw_ks:
enabled: true enabled: true
storageclass:
rbd:
ceph_configmap_name: ceph-etc
user_secret_name: pvc-ceph-client-key
dependencies: dependencies:
- ceph-htk - ceph-htk
... ...

View File

@ -12,7 +12,7 @@ metadata:
- src: - src:
schema: pegleg/SoftwareVersions/v1 schema: pegleg/SoftwareVersions/v1
name: software-versions name: software-versions
path: .charts.ucp.ceph-client path: .charts.ucp.ceph-provisioners
dest: dest:
path: .source path: .source
@ -20,7 +20,7 @@ metadata:
- src: - src:
schema: pegleg/SoftwareVersions/v1 schema: pegleg/SoftwareVersions/v1
name: software-versions name: software-versions
path: .images.ceph.ceph-client path: .images.ceph.ceph-provisioners
dest: dest:
path: .values.images.tags path: .values.images.tags
@ -137,6 +137,10 @@ data:
conf: conf:
rgw_ks: rgw_ks:
enabled: true enabled: true
storageclass:
rbd:
ceph_configmap_name: ceph-etc
user_secret_name: pvc-ceph-client-key
dependencies: dependencies:
- ceph-htk - ceph-htk
... ...

View File

@ -223,7 +223,7 @@ data:
keys: keys:
- stdout - stdout
- stderr - stderr
- "null" - 'null'
- fluent - fluent
formatters: formatters:
keys: keys:
@ -232,7 +232,7 @@ data:
- fluent - fluent
logger_root: logger_root:
level: WARNING level: WARNING
handlers: null handlers: 'null'
logger_cinder: logger_cinder:
level: INFO level: INFO
handlers: handlers:

View File

@ -247,7 +247,7 @@ data:
keys: keys:
- stdout - stdout
- stderr - stderr
- "null" - 'null'
- fluent - fluent
formatters: formatters:
keys: keys:
@ -256,7 +256,7 @@ data:
- fluent - fluent
logger_root: logger_root:
level: WARNING level: WARNING
handlers: null handlers: 'null'
logger_neutron: logger_neutron:
level: INFO level: INFO
handlers: handlers:

View File

@ -339,7 +339,7 @@ data:
keys: keys:
- stdout - stdout
- stderr - stderr
- "null" - 'null'
- fluent - fluent
formatters: formatters:
keys: keys:
@ -348,7 +348,7 @@ data:
- fluent - fluent
logger_root: logger_root:
level: WARNING level: WARNING
handlers: null handlers: 'null'
logger_nova: logger_nova:
level: INFO level: INFO
handlers: handlers:

View File

@ -25,13 +25,14 @@ metadata:
dest: dest:
path: .values.images.tags path: .values.images.tags
# External Interface # External Interface
- src: # kskels fixme: Fix proper override for external bridge
schema: pegleg/CommonAddresses/v1 # - src:
name: common-addresses # schema: pegleg/CommonAddresses/v1
path: .openvswitch.external_iface # name: common-addresses
dest: # path: .openvswitch.external_iface
path: .values.network.interface.external # dest:
pattern: 'EXTERNAL_INTERFACE' # path: .values.network.interface.external
# pattern: 'EXTERNAL_INTERFACE'
data: data:
chart_name: openvswitch chart_name: openvswitch
release: openvswitch release: openvswitch
@ -55,8 +56,9 @@ data:
node_selector_key: openvswitch node_selector_key: openvswitch
node_selector_value: enabled node_selector_value: enabled
network: network:
external_bridge: br-bond0 auto_bridge_add:
interface: # kskels fixme: set external bridge properly
external: 'EXTERNAL_INTERFACE' br-bond0: bond0
dependencies: dependencies:
- osh-helm-toolkit - osh-helm-toolkit
...

View File

@ -220,8 +220,6 @@ data:
registry: registry:
node_selector_key: openstack-control-plane node_selector_key: openstack-control-plane
node_selector_value: enabled node_selector_value: enabled
manifests:
job_bootstrap: false
conf: conf:
logging: logging:
loggers: loggers:
@ -232,7 +230,7 @@ data:
keys: keys:
- stdout - stdout
- stderr - stderr
- "null" - 'null'
- fluent - fluent
formatters: formatters:
keys: keys:
@ -241,7 +239,7 @@ data:
- fluent - fluent
logger_root: logger_root:
level: WARNING level: WARNING
handlers: null handlers: 'null'
logger_glance: logger_glance:
level: INFO level: INFO
handlers: handlers:

View File

@ -233,7 +233,7 @@ data:
keys: keys:
- stdout - stdout
- stderr - stderr
- "null" - 'null'
- fluent - fluent
formatters: formatters:
keys: keys:
@ -242,7 +242,7 @@ data:
- fluent - fluent
logger_root: logger_root:
level: WARNING level: WARNING
handlers: null handlers: 'null'
logger_heat: logger_heat:
level: INFO level: INFO
handlers: handlers:

View File

@ -178,7 +178,7 @@ data:
keys: keys:
- stdout - stdout
- stderr - stderr
- "null" - 'null'
- fluent - fluent
formatters: formatters:
keys: keys:
@ -187,7 +187,7 @@ data:
- fluent - fluent
logger_root: logger_root:
level: WARNING level: WARNING
handlers: null handlers: 'null'
logger_keystone: logger_keystone:
level: INFO level: INFO
handlers: handlers:

View File

@ -12,7 +12,7 @@ metadata:
- src: - src:
schema: pegleg/SoftwareVersions/v1 schema: pegleg/SoftwareVersions/v1
name: software-versions name: software-versions
path: .charts.ucp.ceph-client path: .charts.ucp.ceph-rgw
dest: dest:
path: .source path: .source
@ -20,7 +20,7 @@ metadata:
- src: - src:
schema: pegleg/SoftwareVersions/v1 schema: pegleg/SoftwareVersions/v1
name: software-versions name: software-versions
path: .images.ceph.ceph-client path: .images.ceph.ceph-rgw
dest: dest:
path: .values.images.tags path: .values.images.tags
@ -137,6 +137,8 @@ data:
conf: conf:
rgw_ks: rgw_ks:
enabled: true enabled: true
ceph_client:
configmap: ceph-etc
dependencies: dependencies:
- ceph-htk - ceph-htk
... ...

View File

@ -12,7 +12,7 @@ metadata:
- src: - src:
schema: pegleg/SoftwareVersions/v1 schema: pegleg/SoftwareVersions/v1
name: software-versions name: software-versions
path: .charts.ucp.ceph-client path: .charts.ucp.ceph-provisioners
dest: dest:
path: .source path: .source
@ -20,7 +20,7 @@ metadata:
- src: - src:
schema: pegleg/SoftwareVersions/v1 schema: pegleg/SoftwareVersions/v1
name: software-versions name: software-versions
path: .images.ceph.ceph-client path: .images.ceph.ceph-provisioners
dest: dest:
path: .values.images.tags path: .values.images.tags
@ -137,7 +137,10 @@ data:
conf: conf:
rgw_ks: rgw_ks:
enabled: true enabled: true
storageclass:
rbd:
ceph_configmap_name: ceph-etc
user_secret_name: pvc-ceph-client-key
dependencies: dependencies:
- ceph-htk - ceph-htk
... ...

View File

@ -140,24 +140,14 @@ data:
namespace: ceph namespace: ceph
deployment: deployment:
ceph: true ceph: true
client_secrets: false
rbd_provisioner: true
cephfs_provisioner: true
rgw_keystone_user_and_endpoints: false
bootstrap: bootstrap:
enabled: true enabled: true
pod: pod:
replicas: replicas:
mds: 2 mds: 2
mgr: 2 mgr: 2
rgw: 2
conf: conf:
rgw_ks:
enabled: true
config:
#NOTE (portdirect): See http://tracker.ceph.com/issues/21226
rgw_keystone_token_cache_size: '0'
pool: pool:
# NOTE(alanmeadows) spport 4.x 16.04 kernels (non-HWE) # NOTE(alanmeadows) spport 4.x 16.04 kernels (non-HWE)

View File

@ -141,10 +141,6 @@ data:
namespace: ceph namespace: ceph
deployment: deployment:
ceph: true ceph: true
client_secrets: false
rbd_provisioner: true
cephfs_provisioner: true
rgw_keystone_user_and_endpoints: false
bootstrap: bootstrap:
enabled: true enabled: true
pod: pod:
@ -154,11 +150,6 @@ data:
rgw: 1 rgw: 1
conf: conf:
rgw_ks:
enabled: true
config:
#NOTE (portdirect): See http://tracker.ceph.com/issues/21226
rgw_keystone_token_cache_size: '0'
pool: pool:
# NOTE(alanmeadows) spport 4.x 16.04 kernels (non-HWE) # NOTE(alanmeadows) spport 4.x 16.04 kernels (non-HWE)

View File

@ -0,0 +1,155 @@
---
schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: ucp-ceph-provisioners
layeringDefinition:
abstract: false
layer: global
storagePolicy: cleartext
labels:
name: ucp-ceph-provisioners
substitutions:
# Chart source
- src:
schema: pegleg/SoftwareVersions/v1
name: software-versions
path: .charts.ucp.ceph-provisioners
dest:
path: .source
# Images
- src:
schema: pegleg/SoftwareVersions/v1
name: software-versions
path: .images.ceph.ceph-provisioners
dest:
path: .values.images.tags
# IP addresses
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .storage.ceph.public_cidr
dest:
path: .values.network.public
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .storage.ceph.cluster_cidr
dest:
path: .values.network.cluster
- src:
schema: pegleg/EndpointCatalogue/v1
name: osh_endpoints
path: .osh.identity
dest:
path: .values.endpoints.identity
- src:
schema: pegleg/EndpointCatalogue/v1
name: ucp_endpoints
path: .ceph.object_store
dest:
path: .values.endpoints.object_store
- src:
schema: pegleg/EndpointCatalogue/v1
name: ucp_endpoints
path: .ceph.ceph_mon
dest:
path: .values.endpoints.ceph_mon
- src:
schema: pegleg/EndpointCatalogue/v1
name: ucp_endpoints
path: .ceph.ceph_mgr
dest:
path: .values.endpoints.ceph_mgr
- src:
schema: pegleg/AccountCatalogue/v1
name: osh_service_accounts
path: .osh.keystone.admin
dest:
path: .values.endpoints.identity.auth.admin
- src:
schema: pegleg/AccountCatalogue/v1
name: osh_service_accounts
path: .osh.swift.keystone
dest:
path: .values.endpoints.identity.auth.swift
# Secrets
- dest:
path: .values.endpoints.identity.auth.admin.password
src:
schema: deckhand/Passphrase/v1
name: osh_keystone_admin_password
path: .
- dest:
path: .values.endpoints.identity.auth.swift.password
src:
schema: deckhand/Passphrase/v1
name: ceph_swift_keystone_password
path: .
- dest:
path: .values.conf.ceph.global.fsid
src:
schema: deckhand/Passphrase/v1
name: ceph_fsid
path: .
data:
chart_name: ucp-ceph-provisioners
release: ucp-ceph-provisioners
namespace: ceph
protected:
continue_processing: true
wait:
timeout: 900
labels:
release_group: airship-ucp-ceph-provisioners
install:
no_hooks: false
upgrade:
no_hooks: false
pre:
delete:
- type: job
labels:
release_group: airship-ucp-ceph-provisioners
values:
labels:
job:
node_selector_key: ucp-control-plane
node_selector_value: enabled
provisioner:
node_selector_key: ucp-control-plane
node_selector_value: enabled
endpoints:
identity:
namespace: openstack
object_store:
namespace: ceph
ceph_mon:
namespace: ceph
deployment:
ceph: true
client_secrets: true
rbd_provisioner: true
cephfs_provisioner: true
bootstrap:
enabled: true
pod:
replicas:
cephfs_provisioner: 2
rbd_provisioner: 2
conf:
ceph:
global:
osd_mkfs_type: xfs
storageclass:
rbd:
ceph_configmap_name: ceph-client-keys-etc
user_secret_name: pvc-ceph-client-key
dependencies:
- ceph-htk
...

View File

@ -0,0 +1,148 @@
---
schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: ucp-ceph-rgw
layeringDefinition:
abstract: false
layer: global
storagePolicy: cleartext
substitutions:
# Chart source
- src:
schema: pegleg/SoftwareVersions/v1
name: software-versions
path: .charts.ucp.ceph-rgw
dest:
path: .source
# Images
- src:
schema: pegleg/SoftwareVersions/v1
name: software-versions
path: .images.ceph.ceph-rgw
dest:
path: .values.images.tags
# IP addresses
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .storage.ceph.public_cidr
dest:
path: .values.network.public
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .storage.ceph.cluster_cidr
dest:
path: .values.network.cluster
# Endpoints
- src:
schema: pegleg/EndpointCatalogue/v1
name: osh_endpoints
path: .osh.identity
dest:
path: .values.endpoints.identity
- src:
schema: pegleg/EndpointCatalogue/v1
name: ucp_endpoints
path: .ceph.object_store
dest:
path: .values.endpoints.object_store
- src:
schema: pegleg/EndpointCatalogue/v1
name: ucp_endpoints
path: .ceph.ceph_mon
dest:
path: .values.endpoints.ceph_mon
- src:
schema: pegleg/EndpointCatalogue/v1
name: ucp_endpoints
path: .ceph.ceph_mgr
dest:
path: .values.endpoints.ceph_mgr
# Credentials
- src:
schema: pegleg/AccountCatalogue/v1
name: osh_service_accounts
path: .osh.keystone.admin
dest:
path: .values.endpoints.identity.auth.admin
- src:
schema: pegleg/AccountCatalogue/v1
name: osh_service_accounts
path: .osh.swift.keystone
dest:
path: .values.endpoints.identity.auth.swift
# Secrets
- dest:
path: .values.endpoints.identity.auth.admin.password
src:
schema: deckhand/Passphrase/v1
name: osh_keystone_admin_password
path: .
- dest:
path: .values.endpoints.identity.auth.swift.password
src:
schema: deckhand/Passphrase/v1
name: ceph_swift_keystone_password
path: .
data:
chart_name: ucp-ceph-rgw
release: ucp-ceph-rgw
namespace: ceph
wait:
timeout: 900
labels:
release_group: airship-ucp-ceph-rgw
install:
no_hooks: false
upgrade:
no_hooks: false
pre:
delete:
- type: job
labels:
release_group: airship-ucp-ceph-rgw
values:
labels:
job:
node_selector_key: ucp-control-plane
node_selector_value: enabled
rgw:
node_selector_key: ceph-rgw
node_selector_value: enabled
endpoints:
identity:
namespace: openstack
object_store:
namespace: ceph
ceph_mon:
namespace: ceph
deployment:
ceph: true
client_secrets: false
rbd_provisioner: false
cephfs_provisioner: false
rgw_keystone_user_and_endpoints: false
bootstrap:
enabled: false
pod:
replicas:
rgw: 2
conf:
rgw_ks:
enabled: true
config:
#NOTE (portdirect): See http://tracker.ceph.com/issues/21226
rgw_keystone_token_cache_size: '0'
ceph_client:
configmap: ceph-client-keys-etc
dependencies:
- ceph-htk
...

View File

@ -15,4 +15,6 @@ data:
- ucp-ceph-mon - ucp-ceph-mon
- ucp-ceph-osd - ucp-ceph-osd
- ucp-ceph-client-update - ucp-ceph-client-update
- ucp-ceph-provisioners
- ucp-ceph-rgw
... ...

View File

@ -15,4 +15,6 @@ data:
- ucp-ceph-mon - ucp-ceph-mon
- ucp-ceph-osd - ucp-ceph-osd
- ucp-ceph-client - ucp-ceph-client
- ucp-ceph-provisioners
- ucp-ceph-rgw
... ...

View File

@ -161,7 +161,7 @@ data:
keys: keys:
- stdout - stdout
- stderr - stderr
- "null" - 'null'
- fluent - fluent
formatters: formatters:
keys: keys:
@ -170,7 +170,7 @@ data:
- fluent - fluent
logger_root: logger_root:
level: WARNING level: WARNING
handlers: null handlers: 'null'
logger_barbican: logger_barbican:
level: INFO level: INFO
handlers: handlers:

View File

@ -144,7 +144,7 @@ data:
keys: keys:
- stdout - stdout
- stderr - stderr
- "null" - 'null'
- fluent - fluent
formatters: formatters:
keys: keys:
@ -153,7 +153,7 @@ data:
- fluent - fluent
logger_root: logger_root:
level: WARNING level: WARNING
handlers: null handlers: 'null'
logger_keystone: logger_keystone:
level: INFO level: INFO
handlers: handlers:

File diff suppressed because it is too large Load Diff

View File

@ -118,7 +118,8 @@ data:
admin: admin:
default: 35357 default: 35357
api: api:
default: 80 default: 5000
# public: 443
public: 80 public: 80
armada: armada:
name: armada name: armada
@ -204,7 +205,7 @@ data:
default: rabbitmq default: rabbitmq
host_fqdn_override: host_fqdn_override:
default: null default: null
path: /openstack path: /keystone
scheme: rabbit scheme: rabbit
port: port:
amqp: amqp:
@ -755,6 +756,8 @@ data:
hosts: hosts:
default: keystone-api default: keystone-api
public: keystone public: keystone
admin: keystone-api
internal: keystone-api
host_fqdn_override: host_fqdn_override:
default: null default: null
public: public:
@ -768,8 +771,9 @@ data:
admin: admin:
default: 35357 default: 35357
api: api:
default: 80 default: 5000
# public: 443 # public: 443
public: 80
glance_oslo_messaging: glance_oslo_messaging:
namespace: openstack namespace: openstack
hosts: hosts: