os-image-api and os-image-registry roles. Create a new role os-image-upload and change the execution order of os-image-api and os-image-registry roles in os-image role to make sure the os-image-api role is executed before os-image-registry role since glance db_sync use the sql_connection value in /etc/glance/glance-api.conf. Add os-image-upload to infrastructure.yml. Remove the image_upload attribute from environments. Change-Id: I218b52e1fd0ca68849e6aebd8bac6d8878790fba Closes-Bug: #1257169
43 lines
1.2 KiB
Ruby
43 lines
1.2 KiB
Ruby
name "example"
|
|
description "Example environment defineing the network and database settings you're going to use with OpenStack. The networks will be used in the libraries provided by the osops-utils cookbook. This example is for FlatDHCP with 2 physical networks."
|
|
|
|
override_attributes(
|
|
"mysql" => {
|
|
"allow_remote_root" => true,
|
|
"root_network_acl" => "%"
|
|
},
|
|
"openstack" => {
|
|
"developer_mode" => true
|
|
}
|
|
# "glance" => {
|
|
# "images" => ["precise","cirros"],
|
|
# "image" => {
|
|
# "cirros" => "http://hypnotoad/cirros-0.3.0-x86_64-disk.img",
|
|
# "precise" => "http://hypnotoad/precise-server-cloudimg-amd64.tar.gz"
|
|
# }
|
|
# },
|
|
# "osops_networks" => {
|
|
# "public" => "10.0.111.0/24",
|
|
# "management" => "10.0.111.0/24",
|
|
# "nova" => "10.0.111.0/24"
|
|
# },
|
|
# "nova" => {
|
|
# "network" => {
|
|
# "fixed_range" => "192.168.100.0/24",
|
|
# "public_interface" => "eth0"
|
|
# },
|
|
# "networks" => [
|
|
# {
|
|
# "label" => "public",
|
|
# "ipv4_cidr" => "192.168.100.0/24",
|
|
# "num_networks" => "1",
|
|
# "network_size" => "255",
|
|
# "bridge" => "br100",
|
|
# "bridge_dev" => "eth0",
|
|
# "dns1" => "8.8.8.8",
|
|
# "dns2" => "8.8.4.4"
|
|
# }
|
|
# ]
|
|
# }
|
|
)
|