96 lines
3.4 KiB
JSON
96 lines
3.4 KiB
JSON
{
|
|
"name": "vagrant-multi-nova",
|
|
"description": "Environment used in testing the upstream cookbooks and reference Chef repository with vagrant. To be used with the Vagrantfile-multi-neutron vagrantfile. Defines the necessary attributes for a working mutltinode (1 controller/n computes) openstack deployment, using neutron (with gre tunnels between hosts) for the networking component.",
|
|
"cookbook_versions": {
|
|
},
|
|
"json_class": "Chef::Environment",
|
|
"chef_type": "environment",
|
|
"default_attributes": {
|
|
},
|
|
"override_attributes": {
|
|
"yum": {
|
|
"repo": {
|
|
"baseurl": "https://repos.fedorapeople.org/repos/openstack/openstack-kilo/epel-7"
|
|
},
|
|
"epel": {
|
|
"mirrorlist": "http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=$basearch",
|
|
"gpgkey": "http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7"
|
|
}
|
|
},
|
|
"mysql": {
|
|
"allow_remote_root": true,
|
|
"root_network_acl": ["%"]
|
|
},
|
|
"openstack": {
|
|
"mq": {
|
|
"user": "admin"
|
|
},
|
|
"yum": {
|
|
"uri": "https://repos.fedorapeople.org/repos/openstack/openstack-kilo/epel-7"
|
|
},
|
|
"identity": {
|
|
"bind_interface": "eth1"
|
|
},
|
|
"endpoints": {
|
|
"bind-host": "172.16.100.60",
|
|
"host": "172.16.100.60",
|
|
"mq": {
|
|
"host": "172.16.100.60"
|
|
},
|
|
"db": {
|
|
"host": "172.16.100.60"
|
|
},
|
|
"compute-vnc-bind":{
|
|
"host": "0.0.0.0"
|
|
}
|
|
},
|
|
"image": {
|
|
"api": {
|
|
"bind_interface": "eth1"
|
|
},
|
|
"registry": {
|
|
"bind_interface": "eth1"
|
|
},
|
|
"image_upload": true,
|
|
"upload_images": [
|
|
"cirros",
|
|
"ubuntu-trusty",
|
|
"centos-7"
|
|
],
|
|
"upload_image": {
|
|
"cirros": "http://download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img",
|
|
"ubuntu-trusty": "https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img",
|
|
"centos-7": "http://cloud.centos.org/centos/7/devel/CentOS-7-x86_64-GenericCloud.qcow2"
|
|
}
|
|
},
|
|
"compute": {
|
|
"enabled_apis": "ec2,osapi_compute",
|
|
"libvirt": {
|
|
"virt_type": "qemu"
|
|
},
|
|
"network": {
|
|
"public_interface": "eth0",
|
|
"service_type": "nova",
|
|
"multi_host": "true"
|
|
},
|
|
"config": {
|
|
"ram_allocation_ratio": 5.0
|
|
},
|
|
"networks": [
|
|
{
|
|
"label": "public",
|
|
"ipv4_cidr": "172.16.100.0/24",
|
|
"num_networks": "1",
|
|
"network_size": "254",
|
|
"bridge": "br100",
|
|
"bridge_dev": "eth1",
|
|
"dns1": "8.8.8.8",
|
|
"dns2": "8.8.4.4",
|
|
"multi_host": "T"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|