Ceph: Update default to use OSH image
This PS udpates the default image in the chart to the latest OSH image. Change-Id: Ib8d2a72ad48049fe02560dc4405f0088890b6f64 Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
44b5c008f1
commit
6ea6a85198
@ -25,10 +25,10 @@ release_group: null
|
|||||||
images:
|
images:
|
||||||
pull_policy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
tags:
|
tags:
|
||||||
ceph_bootstrap: 'docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64'
|
ceph_bootstrap: 'docker.io/openstackhelm/ceph-daemon:latest'
|
||||||
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
||||||
ceph_mds: 'docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64'
|
ceph_mds: 'docker.io/openstackhelm/ceph-daemon:latest'
|
||||||
ceph_mgr: 'docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64'
|
ceph_mgr: 'docker.io/openstackhelm/ceph-daemon:latest'
|
||||||
ceph_rbd_pool: 'docker.io/port/ceph-config-helper:v1.10.3'
|
ceph_rbd_pool: 'docker.io/port/ceph-config-helper:v1.10.3'
|
||||||
dep_check: 'quay.io/stackanetes/kubernetes-entrypoint:v0.3.1'
|
dep_check: 'quay.io/stackanetes/kubernetes-entrypoint:v0.3.1'
|
||||||
image_repo_sync: 'docker.io/docker:17.07.0'
|
image_repo_sync: 'docker.io/docker:17.07.0'
|
||||||
|
@ -71,7 +71,7 @@ class cephCRUSH():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
"""Retrieve the crush hierarchies"""
|
"""Retrieve the crush hierarchies"""
|
||||||
crushTree = "ceph osd crush tree -f json-pretty | grep -v '^\[\]'"
|
crushTree = "ceph osd crush tree -f json-pretty | jq .nodes"
|
||||||
chstr = subprocess.check_output(crushTree, shell=True)
|
chstr = subprocess.check_output(crushTree, shell=True)
|
||||||
self.crushHierarchy = json.loads(chstr)
|
self.crushHierarchy = json.loads(chstr)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
|
@ -24,9 +24,9 @@ deployment:
|
|||||||
images:
|
images:
|
||||||
pull_policy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
tags:
|
tags:
|
||||||
ceph_bootstrap: 'docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64'
|
ceph_bootstrap: 'docker.io/openstackhelm/ceph-daemon:latest'
|
||||||
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
||||||
ceph_mon: 'docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64'
|
ceph_mon: 'docker.io/openstackhelm/ceph-daemon:latest'
|
||||||
ceph_mon_check: 'docker.io/port/ceph-config-helper:v1.10.3'
|
ceph_mon_check: 'docker.io/port/ceph-config-helper:v1.10.3'
|
||||||
dep_check: 'quay.io/stackanetes/kubernetes-entrypoint:v0.3.1'
|
dep_check: 'quay.io/stackanetes/kubernetes-entrypoint:v0.3.1'
|
||||||
image_repo_sync: 'docker.io/docker:17.07.0'
|
image_repo_sync: 'docker.io/docker:17.07.0'
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
images:
|
images:
|
||||||
pull_policy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
tags:
|
tags:
|
||||||
ceph_osd: 'docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64'
|
ceph_osd: 'docker.io/openstackhelm/ceph-daemon:latest'
|
||||||
ceph_bootstrap: 'docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64'
|
ceph_bootstrap: 'docker.io/openstackhelm/ceph-daemon:latest'
|
||||||
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
||||||
dep_check: 'quay.io/stackanetes/kubernetes-entrypoint:v0.3.1'
|
dep_check: 'quay.io/stackanetes/kubernetes-entrypoint:v0.3.1'
|
||||||
image_repo_sync: 'docker.io/docker:17.07.0'
|
image_repo_sync: 'docker.io/docker:17.07.0'
|
||||||
|
@ -28,7 +28,7 @@ release_group: null
|
|||||||
images:
|
images:
|
||||||
pull_policy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
tags:
|
tags:
|
||||||
ceph_bootstrap: 'docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64'
|
ceph_bootstrap: 'docker.io/openstackhelm/ceph-daemon:latest'
|
||||||
ceph_cephfs_provisioner: 'quay.io/external_storage/cephfs-provisioner:v1.1.0-k8s1.10'
|
ceph_cephfs_provisioner: 'quay.io/external_storage/cephfs-provisioner:v1.1.0-k8s1.10'
|
||||||
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
||||||
ceph_rbd_provisioner: 'quay.io/external_storage/rbd-provisioner:v1.1.0-k8s1.10'
|
ceph_rbd_provisioner: 'quay.io/external_storage/rbd-provisioner:v1.1.0-k8s1.10'
|
||||||
|
@ -27,7 +27,7 @@ images:
|
|||||||
pull_policy: IfNotPresent
|
pull_policy: IfNotPresent
|
||||||
tags:
|
tags:
|
||||||
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
ceph_config_helper: 'docker.io/port/ceph-config-helper:v1.10.3'
|
||||||
ceph_rgw: 'docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64'
|
ceph_rgw: 'docker.io/openstackhelm/ceph-daemon:latest'
|
||||||
dep_check: 'quay.io/stackanetes/kubernetes-entrypoint:v0.3.1'
|
dep_check: 'quay.io/stackanetes/kubernetes-entrypoint:v0.3.1'
|
||||||
image_repo_sync: 'docker.io/docker:17.07.0'
|
image_repo_sync: 'docker.io/docker:17.07.0'
|
||||||
rgw_s3_admin: 'docker.io/port/ceph-config-helper:v1.10.3'
|
rgw_s3_admin: 'docker.io/port/ceph-config-helper:v1.10.3'
|
||||||
|
@ -23,7 +23,7 @@ images:
|
|||||||
curator: docker.io/bobrik/curator:5.2.0
|
curator: docker.io/bobrik/curator:5.2.0
|
||||||
elasticsearch: docker.io/srwilkers/elasticsearch-s3:v0.1.0
|
elasticsearch: docker.io/srwilkers/elasticsearch-s3:v0.1.0
|
||||||
ceph_key_placement: docker.io/port/ceph-config-helper:v1.10.3
|
ceph_key_placement: docker.io/port/ceph-config-helper:v1.10.3
|
||||||
s3_bucket: docker.io/ceph/daemon:master-0b3eb04-mimic-centos-7-x86_64
|
s3_bucket: docker.io/openstackhelm/ceph-daemon:latest
|
||||||
s3_user: docker.io/port/ceph-config-helper:v1.10.3
|
s3_user: docker.io/port/ceph-config-helper:v1.10.3
|
||||||
helm_tests: docker.io/openstackhelm/heat:newton
|
helm_tests: docker.io/openstackhelm/heat:newton
|
||||||
prometheus_elasticsearch_exporter: docker.io/justwatch/elasticsearch_exporter:1.0.1
|
prometheus_elasticsearch_exporter: docker.io/justwatch/elasticsearch_exporter:1.0.1
|
||||||
|
@ -20,9 +20,9 @@ limitations under the License.
|
|||||||
function create_rgw_s3_bucket ()
|
function create_rgw_s3_bucket ()
|
||||||
{
|
{
|
||||||
if [ "$RGW_PROTO" = "http" ]; then
|
if [ "$RGW_PROTO" = "http" ]; then
|
||||||
create_bucket=$(s3cmd mb s3://$S3_BUCKET --host=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY --no-encrypt --no-check-certificate --no-ssl)
|
create_bucket=$(s3cmd mb s3://$S3_BUCKET --host=$RGW_HOST --host-bucket=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY --no-ssl)
|
||||||
else
|
else
|
||||||
create_bucket=$(s3cmd mb s3://$S3_BUCKET --host=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY --no-encrypt --no-check-certificate)
|
create_bucket=$(s3cmd mb s3://$S3_BUCKET --host=$RGW_HOST --host-bucket=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY)
|
||||||
fi
|
fi
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Bucket $S3_BUCKET created"
|
echo "Bucket $S3_BUCKET created"
|
||||||
@ -35,9 +35,9 @@ function create_rgw_s3_bucket ()
|
|||||||
function modify_bucket_acl ()
|
function modify_bucket_acl ()
|
||||||
{
|
{
|
||||||
if [ "$RGW_PROTO" = "http" ]; then
|
if [ "$RGW_PROTO" = "http" ]; then
|
||||||
modify_acl=$(s3cmd setacl s3://$S3_BUCKET --host=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY --no-encrypt --no-check-certificate --no-ssl --acl-grant=read:$S3_USERNAME --acl-grant=write:$S3_USERNAME)
|
modify_acl=$(s3cmd setacl s3://$S3_BUCKET --host=$RGW_HOST --host-bucket=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY --no-ssl --acl-grant=read:$S3_USERNAME --acl-grant=write:$S3_USERNAME)
|
||||||
else
|
else
|
||||||
modify_acl=$(s3cmd setacl s3://$S3_BUCKET --host=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY --no-encrypt --no-check-certificate --acl-grant=read:$S3_USERNAME --acl-grant=write:$S3_USERNAME)
|
modify_acl=$(s3cmd setacl s3://$S3_BUCKET --host=$RGW_HOST --host-bucket=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY --acl-grant=read:$S3_USERNAME --acl-grant=write:$S3_USERNAME)
|
||||||
fi
|
fi
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Bucket $S3_BUCKET ACL updated"
|
echo "Bucket $S3_BUCKET ACL updated"
|
||||||
|
Loading…
Reference in New Issue
Block a user