Skip to content

Instantly share code, notes, and snippets.

@dabelenda
Created August 28, 2018 08:08
Show Gist options
  • Save dabelenda/1690e191dce5e481796417cba3889835 to your computer and use it in GitHub Desktop.
Save dabelenda/1690e191dce5e481796417cba3889835 to your computer and use it in GitHub Desktop.
Tracing of variable CephAnsibleExtraConfig override
2018-08-28 08:45:39.086 1623 DEBUG mistral.expressions.yaql_expression [req-7090922b-e858-4a53-8329-2efbfd535643 f3cef0caace94cf0af3d7c21b3706583 553ad7544f5a4479b4eb346dc7a76a82 - - -] Finished evaluation. [expression='<% {'fetch_directory'=> $.fetch_directory} + $.mon_vars + $.osd_vars + $.mds_vars + $.rgw_vars + $.client_vars + $.ceph_ansible_extra_vars %>', result: {u'radosgw_keystone_ssl': False, u'monitor_secret': u'XXXXXXXXX', u'fetch_directory': u'/tmp/file-mistral-actionj3EVM2', u'ceph_conf_overrides': {u'global': {u'rgw_s3_auth_use_keystone': u'true', u'rgw_keystone_admin_password': u'XXXXXXXXX', u'osd_pool_default_pgp_num': 256, u'rgw_keystone_url': u'http://10.27.101.10:5000', u'rgw_keystone_admin_project': u'service', u'rgw_keystone_accepted_roles': u'Member, _member_, admin', u'osd_pool_default_size': 2, u'osd_pool_default_pg_num': 256, u'rgw_keystone_api_version': 3, u'rgw_keystone_admin_user': u'swift', u'rgw_keystone_admin_domain': u'default', u'rgw_keystone_implicit_tenants': u'true'}}, u'radosgw_address_block': u'10.27.102.0/24', u'user_config': True, u'radosgw_keystone': True, u'ceph_docker_image_tag': u'v3.0.1-stable-3.0-jewel-centos-7-x86_64', u'ceph_release': u'jewel', u'containerized_deployment': True, u'public_network': u'10.27.102.0/24', u'generate_fsid': False, u'monitor_address_block': u'10.27.102.0/24', u'admin_secret': u'XXXXXXXXXXX', u'keys': [{u'mon_cap': u'allow r', u'osd_cap': u'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=backups, allow rwx pool=vms, allow rwx pool=images, allow rwx pool=metrics', u'name': u'client.openstack', u'key': u'XXXXXXXXX', u'mode': u'0600'}, {u'mon_cap': u'allow r, allow command \\\\\\"auth del\\\\\\", allow command \\\\\\"auth caps\\\\\\", allow command \\\\\\"auth get\\\\\\", allow command \\\\\\"auth get-or-create\\\\\\"', u'mds_cap': u'allow *', u'name': u'client.manila', u'mode': u'0600', u'key': u'XXXXXXXXX', u'osd_cap': u'allow rw'}, {u'mon_cap': u'allow rw', u'osd_cap': u'allow rwx', u'name': u'client.radosgw', u'key': u'XXXXXX', u'mode': u'0600'}], u'openstack_keys': [{u'mon_cap': u'allow r', u'osd_cap': u'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=backups, allow rwx pool=vms, allow rwx pool=images, allow rwx pool=metrics', u'name': u'client.openstack', u'key': u'XXXXXX', u'mode': u'0600'}, {u'mon_cap': u'allow r, allow command \\\\\\"auth del\\\\\\", allow command \\\\\\"auth caps\\\\\\", allow command \\\\\\"auth get\\\\\\", allow command \\\\\\"auth get-or-create\\\\\\"', u'mds_cap': u'allow *', u'name': u'client.manila', u'mode': u'0600', u'key': u'XXXXXX', u'osd_cap': u'allow rw'}, {u'mon_cap': u'allow rw', u'osd_cap': u'allow rwx', u'name': u'client.radosgw', u'key': u'XXXXX', u'mode': u'0600'}], u'osd_objectstore': u'filestore', u'ip_version': u'ipv4', u'ntp_service_enabled': False, u'radosgw_civetweb_port': u'8080', u'ceph_docker_image': u'ceph/daemon', u'cluster_network': u'10.27.104.0/24', u'fsid': u'40cbdf14-83ed-11e7-94b8-244253215345', u'cephfs_metadata': u'manila_metadata', u'openstack_config': True, u'ceph_docker_registry': u'docker.io', u'cephfs_data': u'manila_data', u'ceph_stable': True, u'devices': [u'/dev/sdb', u'/dev/sdc', u'/dev/sdd', u'/dev/sde'], u'ceph_origin': u'distro', u'openstack_pools': [{u'rule_name': u'', u'pg_num': 256, u'name': u'images'}, {u'rule_name': u'', u'pg_num': 256, u'name': u'metrics'}, {u'rule_name': u'', u'pg_num': 256, u'name': u'backups'}, {u'rule_name': u'', u'pg_num': 256, u'name': u'vms'}, {u'rule_name': u'', u'pg_num': 256, u'name': u'volumes'}], u'pools': [], u'ireallymeanit': u'yes', u'docker': True, u'cephfs': u'cephfs'}] evaluate /usr/lib/python2.7/site-packages/mistral/expressions/yaql_expression.py:128
openstack overcloud node delete --stack overcloud --templates ./openstack-tripleo-heat-templates -e ./openstack-tripleo-heat-templates/environments/network-isolation.yaml -e ./openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-dns.yaml -e ./openstack-tripleo-heat-templates/environments/storage/enable-ceph.yaml -e ./openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml -e ./openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-mds.yaml -e ./openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yaml -e ./lab-specifics.yaml -e ./openstack-tripleo-heat-templates/environments/docker.yaml -e ./openstack-tripleo-heat-templates/environments/docker-ha.yaml -e ./openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-rgw.yaml -e ./docker_registry.yaml -e ./environment.yaml
#git grep -B1 -A10 CephAnsibleExtraConfig
lab-specifics.yaml-parameter_defaults:
lab-specifics.yaml: CephAnsibleExtraConfig:
lab-specifics.yaml- handler_health_mds_check_retries: 100
lab-specifics.yaml- handler_health_mds_check_delay: 60
lab-specifics.yaml- handler_health_mgr_check_retries: 100
lab-specifics.yaml- handler_health_mgr_check_delay: 60
lab-specifics.yaml- handler_health_mon_check_retries: 100
lab-specifics.yaml- handler_health_mon_check_delay: 60
lab-specifics.yaml- handler_health_nfs_check_retries: 100
lab-specifics.yaml- handler_health_nfs_check_delay: 60
lab-specifics.yaml- handler_health_osd_check_retries: 100
lab-specifics.yaml- handler_health_osd_check_delay: 60
--
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- CephPoolDefaultSize: 1
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml: CephAnsibleExtraConfig:
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- centos_package_dependencies: []
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- ceph_osd_docker_memory_limit: '1g'
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- ceph_mds_docker_memory_limit: '1g'
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- CephAnsibleSkipTags: ''
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- #NOTE: These ID's and keys should be regenerated for
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- # a production deployment. What is here is suitable for
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- # developer and CI testing only.
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- CephClusterFSID: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- CephMonKey: 'XXXXXXX'
openstack-tripleo-heat-templates/ci/environments/scenario001-multinode-containers.yaml- CephAdminKey: 'XXXX'
--
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- CephPoolDefaultSize: 1
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml: CephAnsibleExtraConfig:
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- centos_package_dependencies: []
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- ceph_osd_docker_memory_limit: '1g'
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- ceph_mds_docker_memory_limit: '1g'
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- CephAnsibleSkipTags: ''
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- #NOTE: These ID's and keys should be regenerated for
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- # a production deployment. What is here is suitable for
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- # developer and CI testing only.
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- CephClusterFSID: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- CephMonKey: 'XXXXX'
openstack-tripleo-heat-templates/ci/environments/scenario004-multinode-containers.yaml- CephAdminKey: 'XXXXX'
--
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- default: /usr/share/ceph-ansible/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml: CephAnsibleExtraConfig:
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- type: json
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- description: Extra vars for the ceph-ansible playbook
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- default: {}
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- CephAnsibleSkipTags:
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- type: string
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- description: List of ceph-ansible tags to skip
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- default: 'package-install,with_pkg'
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- CephConfigOverrides:
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- type: json
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- description: Extra config settings to dump into ceph.conf
--
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- ansible_skip_tags: {get_param: CephAnsibleSkipTags}
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml: ceph_ansible_extra_vars: {get_param: CephAnsibleExtraConfig}
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- ceph_ansible_playbook:
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- if:
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- - perform_upgrade
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- - {get_param: CephAnsibleUpgradePlaybook}
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- - {get_param: CephAnsiblePlaybook}
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- ansible_playbook_verbosity: {get_param: CephAnsiblePlaybookVerbosity}
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- node_data_lookup: {get_param: NodeDataLookup}
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- ansible_env_variables: {get_param: CephAnsibleEnvironmentVariables}
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- config_settings:
openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml- ceph_common_ansible_vars:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment