Skip to content

Instantly share code, notes, and snippets.

@vipulsabhaya
Created June 10, 2014 18:42
Show Gist options
  • Save vipulsabhaya/1d2d4f54a47e468326ab to your computer and use it in GitHub Desktop.
Save vipulsabhaya/1d2d4f54a47e468326ab to your computer and use it in GitHub Desktop.
root@CE307seed:~/dbaas/dbaas-heat-templates# heat resource-metadata trove-control trove_api
{
"deployments": [
{
"inputs": [
{
"type": "String",
"name": "deploy_server_id",
"value": "71c623fa-ddb9-4d14-b41f-1e1ec5b46bfc",
"description": "ID of the server being deployed to"
},
{
"type": "String",
"name": "deploy_action",
"value": "CREATE",
"description": "Name of the current action being deployed"
},
{
"type": "String",
"name": "deploy_stack_id",
"value": "trove-control/edbf2d57-3cb5-47a4-b161-9ad24a115cb6",
"description": "ID of the stack this deployment belongs to"
},
{
"type": "String",
"name": "deploy_resource_name",
"value": "trove_api_deploy",
"description": "Name of this deployment resource in the stack"
},
{
"type": "String",
"name": "deploy_signal_id",
"value": "http://192.0.2.26:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3A7e9c8f0e1d634738afbde95c2915eb38%3Astacks%2Ftrove-control%2Fedbf2d57-3cb5-47a4-b161-9ad24a115cb6%2Fresources%2Ftrove_api_deploy?Timestamp=2014-06-07T00%3A32%3A59Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=a03f552e20e749d08a813a3152f6762a&SignatureVersion=2&Signature=1lDbNmzaG0%2F3TD4StxpyBN%2FBFqKEHu612V8meIUbnW0%3D",
"description": "ID of signal to use for signalling output values"
}
],
"group": "Heat::Ungrouped",
"name": "trove-api",
"outputs": null,
"id": "35eeec18-7ec6-42f4-8736-f2a7c541e749",
"config": {
"trove": {
"max_backups_per_user": "10",
"guestagent_image": "1e477939-1857-457b-83e6-eb7c427e20c8",
"api_workers": "5",
"bind_port": "8779",
"network_label": ".*",
"bind_host": "0.0.0.0",
"default_datastore": "mysql",
"ip_regex": ".*",
"black_list_regex": "^(172.17)",
"max_volumes_per_user": "50",
"max_instances_per_user": "10",
"guestagent_image_update": true,
"max_accepted_volume_size": "10"
},
"completion-signal": "http://192.0.2.26:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3A7e9c8f0e1d634738afbde95c2915eb38%3Astacks%2Ftrove-control%2Fedbf2d57-3cb5-47a4-b161-9ad24a115cb6%2Fresources%2Ftrove_api_deploy?Timestamp=2014-06-07T00%3A32%3A59Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=a03f552e20e749d08a813a3152f6762a&SignatureVersion=2&Signature=1lDbNmzaG0%2F3TD4StxpyBN%2FBFqKEHu612V8meIUbnW0%3D"
},
"options": null
},
{
"inputs": [
{
"type": "String",
"name": "deploy_server_id",
"value": "71c623fa-ddb9-4d14-b41f-1e1ec5b46bfc",
"description": "ID of the server being deployed to"
},
{
"type": "String",
"name": "deploy_action",
"value": "CREATE",
"description": "Name of the current action being deployed"
},
{
"type": "String",
"name": "deploy_stack_id",
"value": "trove-control/edbf2d57-3cb5-47a4-b161-9ad24a115cb6",
"description": "ID of the stack this deployment belongs to"
},
{
"type": "String",
"name": "deploy_resource_name",
"value": "trove_common_api_deploy",
"description": "Name of this deployment resource in the stack"
}
],
"group": "Heat::Ungrouped",
"name": "trove-api-common",
"outputs": null,
"id": "48a5ec3a-6413-4924-9d75-51cde2f37488",
"config": {
"url": {
"cinder": "http://192.0.2.21:8776/v1/",
"swift": "http://192.0.2.21:8080/v1/AUTH_",
"compute": "http://192.0.2.21:8774/v2/",
"auth": "http://192.0.2.21:5000/v2.0",
"neutron": "http://192.0.2.21:9696/"
},
"trove": {
"verbose": true,
"default_neutron_networks": "07340648-8c7e-4564-8c69-8be31a87c2d8",
"db_conductor": "mysql://tconductor:e1a2c042c828d3566d0a@172.17.0.15/trove",
"neutron_service_type": "neutron",
"admin_rules": "admin",
"cinder_service_type": "cinder",
"agent_call_low_timeout": "5",
"agent_call_high_timeout": "150",
"security_groups": {
"rule_protocol": "tcp",
"enabled": "true",
"rule_port": "3306",
"rules_enabled": "true",
"rule_cidr": "0.0.0.0/0"
},
"dns_support": {
"dns_driver": "trove.dns.designate.driver.designatedriver",
"dns_endpoint_url": "http://127.0.0.1/v1/",
"dns_service_type": "dns",
"account_id": "123456",
"dns_username": "user",
"dns_domain_name": "trove.com",
"dns_passkey": "password",
"enabled": "false",
"dns_instance_entry_factory": "trove.dns.designate.driver.designateinstanceentryfactory",
"dns_auth_url": "123456",
"dns_ttl": "3600",
"dns_domain_id": "11111111-1111-1111-1111-111111111111"
},
"db_tm": "mysql://ttm:e1a2c042c828d3566d0a@172.17.0.15/trove",
"exists_notification_transformer": "trove.extensions.mgmt.instances.models.NovaNotificationTransformer",
"db_api": "mysql://tapi:e1a2c042c828d3566d0a@172.17.0.15/trove",
"db_guestagent": "mysql://tguestagent:e1a2c042c828d3566d0a@172.17.0.15/trove",
"log_dir": "/mnt/state/var/log/trove",
"notification_driver": "trove.openstack.common.notifier.rpc_notifier",
"db": "mysql://root:e1a2c042c828d3566d0a@172.17.0.15/trove",
"remote_neutron_client": "trove_ext.cloudos.remote.neutron_client_trove_admin",
"rabbit": {
"username": "guest",
"username_api": "tapi",
"username_conductor": "tconductor",
"username_guestagent": "tguestagent",
"username_tm": "ttm",
"password_conductor": "e1a2c042c828d3566d0a",
"password_guestagent": "e1a2c042c828d3566d0a",
"host": "172.17.0.13",
"password_tm": "e1a2c042c828d3566d0a",
"virtual_host": "/",
"use_ssl": "false",
"password": "guest",
"port": "5672",
"password_api": "e1a2c042c828d3566d0a"
},
"volume_support": {
"device_path": "/dev/vdb",
"block_device_mapping": "vdb",
"server_delete_time_out": "60",
"enabled": "true",
"volume_time_out": "60",
"mount_point": "/var/lib/mysql"
},
"default_datastore": "mysql",
"network_driver": "trove.network.neutron.NeutronDriver",
"exists_notification_ticks": "60",
"sql_idle_timeout": "180",
"agent_heartbeat_time": "10",
"notification_service_id": "mysql:2f3ff068-2bfb-4f70-9a9d-a6bb65bc084b",
"control_exchange": "trove",
"debug": true,
"remote_nova_client": "trove_ext.cloudos.remote.nova_client_trove_admin",
"remote_cinder_client": "trove_ext.cloudos.remote.cinder_client_trove_admin",
"notifier": {
"username": "guest",
"use_ssl": "false",
"password": "guest",
"port": "5672",
"virtual_host": "/"
}
},
"keystone": {
"service_user": "dbaas-pool",
"service_tenant": "dbaas-pool",
"service_password": "3de4922d8b6ac5a1aad9",
"auth_port": "5000",
"auth_protocol": "http",
"auth_host": "192.0.2.21"
}
},
"options": null
}
],
"os-collect-config": {
"cfn": {
"stack_name": "trove-control",
"metadata_url": "http://192.0.2.26:8000/v1/",
"access_key_id": "112a9d11f7b744d483ba2a61829e81a5",
"secret_access_key": "c60e9bc0b6fc46f98a2fd59366137333",
"path": "trove_api.Metadata"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment