Remove unused deploy configs and generation utils

This commit is contained in:
Vladmir Sharhsov(warpc) 2013-09-24 16:53:55 +04:00
parent b85b8913e9
commit fb26f19c99
13 changed files with 0 additions and 4356 deletions

View File

@ -1,354 +0,0 @@
---
nodes:
- role: compute
network_data:
- name: public
ip: 172.18.94.39
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.39
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '1'
default_gateway: 172.18.94.33
uid: '1'
mac: 64:C3:54:54:D2:66
name: compute-01
ip: 172.18.94.39
profile: centos-x86_64
fqdn: compute-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.39
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: &18648020
ks_spaces: ! '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",\"volumes\":
[{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200}, {\"type\":
\"mbr\"}, {\"size\": 20275, \"type\": \"pv\", \"vg\": \"os\"}],\"size\": 19232},{\"type\":
\"vg\", \"id\": \"os\", \"volumes\": [{\"mount\": \"/\", \"type\": \"lv\", \"name\":
\"root\", \"size\": 19232}, {\"mount\": \"swap\", \"type\": \"lv\", \"name\":
\"swap\", \"size\": 1024}]}, {\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4\",
\"volumes\": [{\"type\": \"mbr\"}, {\"size\": 20476, \"type\": \"pv\", \"vg\":
\"cinder-volumes\"}], \"size\": 20476}]"'
mco_enable: 1
mco_vhost: mcollective
mco_pskey: unset
mco_user: mcollective
puppet_enable: 0
install_log_2_syslog: 1
mco_password: marionette
puppet_auto_setup: 1
puppet_master: fuel.domain.tld
mco_auto_setup: 1
auth_key: ! '""'
puppet_version: 2.7.19
mco_connector: rabbitmq
mco_host: 172.18.94.34
interfaces:
eth0:
ip_address: 172.18.94.39
netmask: 255.255.255.0
dns_name: compute-01.domain.tld
static: '1'
mac_address: 64:C3:54:54:D2:66
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: &18667760
memory:
total: 778694656
interfaces:
- mac: 64:D8:E1:F6:66:43
max_speed: 100
name: eth2
ip: 10.22.0.94
netmask: 255.255.255.0
current_speed: 100
- mac: 64:C8:E2:3B:FD:6E
max_speed: 100
name: eth1
ip: 10.21.0.94
netmask: 255.255.255.0
current_speed: 100
- name: eth0
ip: 10.20.0.94
netmask: 255.255.255.0
mac: 64:43:7B:CA:56:DD
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
error_type:
- role: primary-controller
network_data:
- name: public
ip: 172.18.94.41
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.41
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '2'
default_gateway: 172.18.94.33
uid: '2'
mac: 64:48:7A:14:83:E8
name: controller-01
ip: 172.18.94.41
profile: centos-x86_64
fqdn: controller-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.41
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.41
netmask: 255.255.255.0
dns_name: controller-01.domain.tld
static: '1'
mac_address: 64:48:7A:14:83:E8
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
- role: controller
network_data:
- name: public
ip: 172.18.94.42
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.42
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '3'
default_gateway: 172.18.94.33
uid: '3'
mac: 64:B7:37:B1:1D:C9
name: controller-02
ip: 172.18.94.42
profile: centos-x86_64
fqdn: controller-02.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.42
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.42
netmask: 255.255.255.0
dns_name: controller-02.domain.tld
static: '1'
mac_address: 64:B7:37:B1:1D:C9
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
- role: controller
network_data:
- name: public
ip: 172.18.94.36
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.36
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '4'
default_gateway: 172.18.94.33
uid: '4'
mac: 64:F4:64:E7:50:D3
name: controller-03
ip: 172.18.94.36
profile: centos-x86_64
fqdn: controller-03.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.36
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.36
netmask: 255.255.255.0
dns_name: controller-03.domain.tld
static: '1'
mac_address: 64:F4:64:E7:50:D3
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
attributes:
master_ip: 172.18.94.34
use_cow_images: true
libvirt_type: kvm
dns_nameservers: 172.18.94.34
verbose: true
debug: true
auto_assign_floating_ip: true
start_guests_on_host_boot: true
create_networks: true
compute_scheduler_driver: nova.scheduler.multi.MultiScheduler
quantum: true
master_hostname: controller-01
nagios: false
proj_name: test
nagios_master: fuelweb.domain.tld
management_vip: 10.107.2.254
public_vip: 172.18.94.46
novanetwork_parameters:
vlan_start: <1-1024>
network_manager: String
network_size: <Integer>
quantum_parameters:
tenant_network_type: gre
segment_range: 300:500
metadata_proxy_shared_secret: quantum
mysql:
root_password: root
glance:
db_password: glance
user_password: glance
swift:
user_password: swift_pass
nova:
db_password: nova
user_password: nova
access:
password: admin
user: admin
tenant: admin
email: admin@example.org
keystone:
db_password: keystone
admin_token: nova
quantum_access:
user_password: quantum
db_password: quantum
rabbit:
password: nova
user: nova
cinder:
password: cinder
user: cinder
floating_network_range: 172.18.94.48/28
fixed_network_range: 10.107.2.0/24
base_syslog:
syslog_port: '514'
syslog_server: 172.18.94.34
syslog:
syslog_port: '514'
syslog_transport: udp
syslog_server: ''
use_unicast_corosync: false
horizon_use_ssl: false
cinder_nodes:
- controller
ntp_servers:
- pool.ntp.org
deployment_id: 1
deployment_mode: ha
deployment_source: cli
deployment_engine: nailyfact
engine:
url: http://localhost/cobbler_api
username: cobbler
password: cobbler

View File

@ -1,154 +0,0 @@
#!/usr/bin/env ruby
# Copyright 2013 Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
require 'json'
require 'yaml'
public_iface = "eth0"
internal_iface = "eth1"
private_iface = "eth2"
default_gateway = "172.18.94.33"
master_ip = "172.18.94.34"
dns1 = default_gateway
internal_net = '10.107.2.0'
internal_net_prefix = internal_net.split('.')[0..2].join(".")
nodes = {"compute-01" => '64:c3:54:54:d2:66',
"controller-01" => "64:48:7a:14:83:e8",
"controller-02" => "64:b7:37:b1:1d:c9",
"controller-03" => "64:f4:64:e7:50:d3",
"swift-01" => "64:57:26:83:1d:ca",
"swift-02" => "64:dc:fd:ad:eb:4e",
"swift-03" => "64:ea:df:59:79:39",
"swiftproxy-01" => "64:bc:c3:9c:07:26",
"swiftproxy-02" => "64:97:93:5f:b2:dc"
}
template = YAML.load(File.open('example_new.yaml'))
template_node = template['node_01']
newyaml = template
newyaml['nodes'] = []
newyaml.delete('node_01')
cluster = JSON.load(File.open('full.json'))
nodes.each do |node,macaddr|
result = template_node.clone
json_node = cluster.select {|n| n['mac'].to_s == macaddr.to_s.upcase}[0]
mac = json_node['mac'].to_s
ip = json_node['ip'].to_s
l_octet = ip.split('.')[3]
id = json_node['id'].to_s
uid = id
if node == nodes.select{ |n,m| n.to_s =~ /controller/ }.map{|n,m| n}.first
role = 'primary-controller'
elsif node =~ /controller/
role = 'controller'
elsif node == nodes.select { |n,m| n.to_s =~ /swiftproxy/ }.map{|n,m| n}.first
role = 'primary-swift-proxy'
elsif node =~ /swiftproxy/
role = 'swift-proxy'
elsif node =~ /swift-\d+/
role = 'storage'
else
role = 'compute'
end
cobbler_dnsname = "#{node}.domain.tld"
cobbler_interfaces = {
public_iface => {"ip_address"=>ip, "netmask"=> "255.255.255.0", "dns_name"=>cobbler_dnsname, "static"=> "1", "mac_address" => mac}
}
cobbler_interfaces_extra = {
public_iface => {'onboot'=>'yes','peerdns'=>'no'},
internal_iface => {'onboot'=>'no','peerdns'=>'no'},
private_iface => {'onboot'=>'no','peerdns'=>'no'}
}
result['interfaces'] = cobbler_interfaces
result['interfaces_extra'] = cobbler_interfaces_extra
result['power_address'] = ip
result['mac'] = mac
result['default_gateway'] = default_gateway
result['name'] = node
result['ip'] = ip
result['id'] = id
result['uid'] = uid
result['name_servers'] = master_ip
result['roles'] = [role]
result['fqdn'] = cobbler_dnsname
system_disk=json_node['meta']['disks'].select {|disk| disk['name'] == 'vda'}.first
cinder_disk=json_node['meta']['disks'].select {|disk| disk['name'] == 'vdb'}.first
system_disk_path = system_disk['disk']
system_disk_size = (system_disk['size']/1048756.0).floor
cinder_disk_path = cinder_disk['disk']
cinder_disk_size = (cinder_disk['size']/1048756.0).floor
system_pv_size = system_disk_size - 201
swap_size = 1024
free_vg_size = system_pv_size - swap_size
free_extents = (free_vg_size/32.0).floor
system_disk_size = 32 * free_extents
# ks_spaces: '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",
# \"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200},
# {\"type\": \"mbr\"}, {\"size\": 20000, \"type\": \"pv\", \"vg\": \"os\"}],
# \"size\": 20480}, {\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\":
# \"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": 10240 }, {\"mount\":
# \"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": 2048}]}]"'
ks_spaces = '"[{\"type\": \"disk\", \"id\": \"' +
system_disk_path.to_s +
'\",\"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200}, {\"type\": \"mbr\"}, {\"size\": ' +
system_pv_size.to_s +
', \"type\": \"pv\", \"vg\": \"os\"}],\"size\": ' +
system_disk_size.to_s +
'},{\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\": \"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": ' +
system_disk_size.to_s +
'}, {\"mount\": \"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": '+
swap_size.to_s +
'}]}, {\"type\": \"disk\", \"id\": \"' + cinder_disk_path + '\", \"volumes\": [{\"type\": \"mbr\"}, {\"size\": ' +
cinder_disk_size.to_s +
', \"type\": \"pv\", \"vg\": \"cinder-volumes\"}], \"size\": ' +
cinder_disk_size.to_s + '}]"'
cobbler_ks_meta={"ks_spaces"=>ks_spaces,"mco_host"=>master_ip}
result['ks_meta'] = result['ks_meta'].update(cobbler_ks_meta)
puppet_network_data = [
{"name" => 'public', 'ip'=>ip, "dev" => public_iface, 'netmask' => "255.255.255.0", "gateway" => default_gateway },
{"name" => ['management','storage'], 'ip'=>"#{internal_net_prefix.to_s}.#{l_octet}", "dev" => internal_iface, 'netmask' => "255.255.255.0"},
{"name" => 'fixed', "dev" => private_iface},
]
result['network_data'] = puppet_network_data
# puts result.to_yaml
newyaml['nodes'].push(result)
end
newyaml['attributes']['master_ip'] = master_ip
newyaml['attributes']['dns_nameservers'] = master_ip
newyaml['attributes']['libvirt_type'] = 'kvm'
newyaml['attributes']['public_vip'] = '172.18.94.46'
newyaml['attributes']['management_vip'] = '10.107.2.254'
newyaml['attributes']['floating_network_range'] = '172.18.94.48/28'
newyaml['attributes']['fixed_network_range'] = '10.107.2.0/24'
newyaml['attributes']['base_syslog']['syslog_server'] = master_ip
puts newyaml.to_yaml

View File

@ -1,146 +0,0 @@
#!/usr/bin/env ruby
# Copyright 2013 Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
require 'json'
require 'yaml'
nodes = {
"compute-01" => '64:7D:B8:84:64:79',
"controller-01" => "64:43:7B:CA:56:DD",
}
public_iface = "eth0"
internal_iface = "eth1"
private_iface = "eth2"
default_gateway = "10.20.0.1"
master_ip = "10.20.0.2"
dns1 = default_gateway
internal_net = '10.20.1.0'
internal_net_prefix = internal_net.split('.')[0..2].join(".")
template = YAML.load(File.open('example_new.yaml'))
template_node = template['node_01']
newyaml = template
newyaml['nodes'] = []
newyaml.delete('node_01')
cluster = JSON.load(File.open("simple.json"))
nodes.each do |node,macaddr|
result = template_node.clone
json_node = cluster.select {|n| n['mac'].to_s == macaddr.to_s.upcase}[0]
mac = json_node['mac'].to_s
ip = json_node['ip'].to_s
l_octet = ip.split('.')[3]
id = json_node['id'].to_s
uid = id
if node == nodes.select{ |n,m| n.to_s =~ /controller/ }.map{|n,m| n}.first
role = 'primary-controller'
elsif node =~ /controller/
role = 'controller'
elsif node == nodes.select { |n,m| n.to_s =~ /swiftproxy/ }.map{|n,m| n}.first
role = 'primary-swift-proxy'
elsif node =~ /swiftproxy/
role = 'swift-proxy'
elsif node =~ /swift-\d+/
role = 'storage'
else
role = 'compute'
end
cobbler_dnsname = "#{node}.domain.tld"
cobbler_interfaces = {
public_iface => {"ip_address"=>ip, "netmask"=> "255.255.255.0", "dns_name"=>cobbler_dnsname, "static"=> "1", "mac_address" => mac}
}
cobbler_interfaces_extra = {
public_iface => {'onboot'=>'yes','peerdns'=>'no'},
internal_iface => {'onboot'=>'no','peerdns'=>'no'},
private_iface => {'onboot'=>'no','peerdns'=>'no'}
}
result['interfaces'] = cobbler_interfaces
result['interfaces_extra'] = cobbler_interfaces_extra
result['power_address'] = ip
result['mac'] = mac
result['default_gateway'] = default_gateway
result['name'] = node
result['id'] = id
result['uid'] = uid
result['ip'] = ip
result['name_servers'] = master_ip
result['role'] = role
result['fqdn'] = cobbler_dnsname
system_disk=json_node['meta']['disks'].select {|disk| disk['name'] == 'vda'}.first
cinder_disk=json_node['meta']['disks'].select {|disk| disk['name'] == 'vdb'}.first
system_disk_path = system_disk['disk']
system_disk_size = (system_disk['size']/1048756.0).floor
cinder_disk_path = cinder_disk['disk']
cinder_disk_size = (cinder_disk['size']/1048756.0).floor
system_pv_size = system_disk_size - 201
swap_size = 1024
free_vg_size = system_pv_size - swap_size
free_extents = (free_vg_size/32.0).floor
system_disk_size = 32 * free_extents
# ks_spaces: '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",
# \"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200},
# {\"type\": \"mbr\"}, {\"size\": 20000, \"type\": \"pv\", \"vg\": \"os\"}],
# \"size\": 20480}, {\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\":
# \"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": 10240 }, {\"mount\":
# \"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": 2048}]}]"'
ks_spaces = '"[{\"type\": \"disk\", \"id\": \"' +
system_disk_path.to_s +
'\",\"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200}, {\"type\": \"mbr\"}, {\"size\": ' +
system_pv_size.to_s +
', \"type\": \"pv\", \"vg\": \"os\"}],\"size\": ' +
system_disk_size.to_s +
'},{\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\": \"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": ' +
system_disk_size.to_s +
'}, {\"mount\": \"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": '+
swap_size.to_s +
'}]}, {\"type\": \"disk\", \"id\": \"' + cinder_disk_path + '\", \"volumes\": [{\"type\": \"mbr\"}, {\"size\": ' +
cinder_disk_size.to_s +
', \"type\": \"pv\", \"vg\": \"cinder-volumes\"}], \"size\": ' +
cinder_disk_size.to_s + '}]"'
cobbler_ks_meta={"ks_spaces"=>ks_spaces,"mco_host"=>master_ip}
result['ks_meta'] = result['ks_meta'].update(cobbler_ks_meta)
puppet_network_data = [
{"name" => 'public', 'ip'=>ip, "dev" => public_iface, 'netmask' => "255.255.255.0", "gateway" => default_gateway },
{"name" => ['management','storage'], 'ip'=>"#{internal_net_prefix.to_s}.#{l_octet}", "dev" => internal_iface, 'netmask' => "255.255.255.0"},
{"name" => 'fixed', "dev" => private_iface},
]
result['network_data'] = puppet_network_data
# puts result.to_yaml
newyaml['nodes'].push(result)
end
newyaml['attributes']['master_ip'] = master_ip
newyaml['attributes']['dns_nameservers'] = master_ip
newyaml['attributes']['libvirt_type'] = 'kvm'
newyaml['attributes']['floating_network_range'] = '10.20.0.150/28'
newyaml['attributes']['fixed_network_range'] = '10.20.1.0/24'
newyaml['attributes']['base_syslog']['syslog_server'] = master_ip
puts newyaml.to_yaml

View File

@ -1,100 +0,0 @@
# Nodes
nodes:
- name: controller-8
roles:
- controller
public_br: br-ex
internal_br: br-mgmt
interfaces:
- name: eth2
static: 0
mac_address: 08:00:27:D9:E9:FE
onboot: 'no'
peerdns: 'no'
network_name:
- fixed
- name: eth1
static: 0
ip_address: 10.20.1.114
netmask: 255.255.255.0
mac_address: 08:00:27:00:D1:2E
onboot: 'no'
peerdns: 'no'
network_name:
- management
- storage
- name: eth0
dns_name: controller-8.domain.tld # fqdn
static: 0
mac_address: 08:00:27:1D:28:71 # mac
onboot: 'yes'
peerdns: 'no'
use_for_provision: true
network_name:
- public
default_gateway: 10.20.0.1
attributes:
master_ip: 10.20.0.2
use_cow_images: true
libvirt_type: kvm
dns_nameservers:
- 10.20.0.2
verbose: true
debug: true
auto_assign_floating_ip: true
start_guests_on_host_boot: true
create_networks: true
compute_scheduler_driver: nova.scheduler.multi.MultiScheduler
quantum: true
management_vip: 10.20.1.200
public_vip: 10.20.0.200
quantum_parameters:
tenant_network_type: gre
segment_range: 300:500
metadata_proxy_shared_secret: quantum
mysql:
root_password: root
glance:
db_password: glance
user_password: glance
swift:
user_password: swift_pass
nova:
db_password: nova
user_password: nova
access:
password: admin
user: admin
tenant: admin
email: admin@example.org
keystone:
db_password: keystone
admin_token: nova
quantum_access:
user_password: quantum
db_password: quantum
rabbit:
password: nova
user: nova
cinder:
password: cinder
user: cinder
floating_network_range: 10.20.0.150/28
fixed_network_range: 10.20.2.0/24
base_syslog:
syslog_port: '514'
syslog_server: 10.20.0.2
syslog:
syslog_port: '514'
syslog_transport: udp
syslog_server: ''
use_unicast_corosync: false
horizon_use_ssl: 'false'
cinder_nodes:
- controller
ntp_servers:
- pool.ntp.org
deployment_mode: multinode
deployment_source: cli
deployment_id: 1

View File

@ -1,511 +0,0 @@
---
task_uuid: deployment_task
nodes:
- status: provisioning
uid: 22
ip: 10.20.0.95
mac: 08:00:27:C2:06:DE
meta:
memory:
total: 778694656
interfaces:
- mac: '08:00:27:31:09:34'
max_speed: 100
name: eth2
current_speed: 100
- mac: 08:00:27:93:54:B0
max_speed: 100
name: eth1
current_speed: 100
- name: eth0
ip: 10.20.0.95
netmask: 255.255.255.0
mac: 08:00:27:C2:06:DE
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
id: 22
error_type:
fqdn: controller-22.domain.tld
network_data:
- name: management
ip: 192.168.6.2/24
vlan: 125
dev: eth0
netmask: 255.255.255.0
brd: 192.168.6.255
gateway: 192.168.6.1
- name: public
ip: 240.0.13.2/24
vlan: 124
dev: eth0
netmask: 255.255.255.0
brd: 240.0.13.255
gateway: 240.0.13.1
- name: storage
ip: 172.16.6.2/24
vlan: 126
dev: eth0
netmask: 255.255.255.0
brd: 172.16.6.255
gateway: 172.16.6.1
- name: management
ip: 192.168.6.5/24
vlan: 125
dev: eth0
netmask: 255.255.255.0
brd: 192.168.6.255
gateway: 192.168.6.1
- name: public
ip: 240.0.13.5/24
vlan: 124
dev: eth0
netmask: 255.255.255.0
brd: 240.0.13.255
gateway: 240.0.13.1
- name: storage
ip: 172.16.6.5/24
vlan: 126
dev: eth0
netmask: 255.255.255.0
brd: 172.16.6.255
gateway: 172.16.6.1
- vlan: 124
name: floating
dev: eth0
- vlan: 127
name: fixed
dev: eth0
- name: admin
dev: eth0
role: controller
online: true
progress: 0
attributes:
use_cow_images: true
network_manager: FlatDHCPManager
libvirt_type: qemu
controller_nodes:
- status: provisioning
uid: 22
ip: 10.20.0.95
mac: 08:00:27:C2:06:DE
meta:
memory:
total: 778694656
interfaces:
- mac: '08:00:27:31:09:34'
max_speed: 100
name: eth2
current_speed: 100
- mac: 08:00:27:93:54:B0
max_speed: 100
name: eth1
current_speed: 100
- name: eth0
ip: 10.20.0.95
netmask: 255.255.255.0
mac: 08:00:27:C2:06:DE
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
id: 22
error_type:
fqdn: controller-22.domain.tld
network_data:
- name: management
ip: 192.168.6.2/24
vlan: 125
dev: eth0
netmask: 255.255.255.0
brd: 192.168.6.255
gateway: 192.168.6.1
- name: public
ip: 240.0.13.2/24
vlan: 124
dev: eth0
netmask: 255.255.255.0
brd: 240.0.13.255
gateway: 240.0.13.1
- name: storage
ip: 172.16.6.2/24
vlan: 126
dev: eth0
netmask: 255.255.255.0
brd: 172.16.6.255
gateway: 172.16.6.1
- name: management
ip: 192.168.6.5/24
vlan: 125
dev: eth0
netmask: 255.255.255.0
brd: 192.168.6.255
gateway: 192.168.6.1
- name: public
ip: 240.0.13.5/24
vlan: 124
dev: eth0
netmask: 255.255.255.0
brd: 240.0.13.255
gateway: 240.0.13.1
- name: storage
ip: 172.16.6.5/24
vlan: 126
dev: eth0
netmask: 255.255.255.0
brd: 172.16.6.255
gateway: 172.16.6.1
- vlan: 124
name: floating
dev: eth0
- vlan: 127
name: fixed
dev: eth0
- name: admin
dev: eth0
role: controller
online: true
progress: 0
mysql:
root_password: X1HWFL2i
glance:
db_password: hW3VFgdb
user_password: UMDMMYfp
network_size: 256
swift:
user_password: ODwuK9ij
fixed_network_range: 10.0.6.0/24
nova:
db_password: vlY5FhkA
user_password: UeVjkUxq
access:
password: admin
user: admin
tenant: admin
email: admin@example.org
keystone:
db_password: XjwwZsBU
admin_token: giVDBp05
auto_assign_floating_ip: false
start_guests_on_host_boot: true
rabbit:
password: 3ix8DkDi
management_network_range: 192.168.6.0/24
base_syslog:
syslog_port: '514'
syslog_server: 10.20.0.2
storage_network_range: 172.16.6.0/24
floating_network_range:
- 240.0.12.10
- 240.0.12.100
- 240.0.12.101
- 240.0.12.102
- 240.0.12.103
- 240.0.12.104
- 240.0.12.105
- 240.0.12.106
- 240.0.12.107
- 240.0.12.108
- 240.0.12.109
- 240.0.12.11
- 240.0.12.110
- 240.0.12.111
- 240.0.12.112
- 240.0.12.113
- 240.0.12.114
- 240.0.12.115
- 240.0.12.116
- 240.0.12.117
- 240.0.12.118
- 240.0.12.119
- 240.0.12.12
- 240.0.12.120
- 240.0.12.121
- 240.0.12.122
- 240.0.12.123
- 240.0.12.124
- 240.0.12.125
- 240.0.12.126
- 240.0.12.127
- 240.0.12.128
- 240.0.12.129
- 240.0.12.13
- 240.0.12.130
- 240.0.12.131
- 240.0.12.132
- 240.0.12.133
- 240.0.12.134
- 240.0.12.135
- 240.0.12.136
- 240.0.12.137
- 240.0.12.138
- 240.0.12.139
- 240.0.12.14
- 240.0.12.140
- 240.0.12.141
- 240.0.12.142
- 240.0.12.143
- 240.0.12.144
- 240.0.12.145
- 240.0.12.146
- 240.0.12.147
- 240.0.12.148
- 240.0.12.149
- 240.0.12.15
- 240.0.12.150
- 240.0.12.151
- 240.0.12.152
- 240.0.12.153
- 240.0.12.154
- 240.0.12.155
- 240.0.12.156
- 240.0.12.157
- 240.0.12.158
- 240.0.12.159
- 240.0.12.16
- 240.0.12.160
- 240.0.12.161
- 240.0.12.162
- 240.0.12.163
- 240.0.12.164
- 240.0.12.165
- 240.0.12.166
- 240.0.12.167
- 240.0.12.168
- 240.0.12.169
- 240.0.12.17
- 240.0.12.170
- 240.0.12.171
- 240.0.12.172
- 240.0.12.173
- 240.0.12.174
- 240.0.12.175
- 240.0.12.176
- 240.0.12.177
- 240.0.12.178
- 240.0.12.179
- 240.0.12.18
- 240.0.12.180
- 240.0.12.181
- 240.0.12.182
- 240.0.12.183
- 240.0.12.184
- 240.0.12.185
- 240.0.12.186
- 240.0.12.187
- 240.0.12.188
- 240.0.12.189
- 240.0.12.19
- 240.0.12.190
- 240.0.12.191
- 240.0.12.192
- 240.0.12.193
- 240.0.12.194
- 240.0.12.195
- 240.0.12.196
- 240.0.12.197
- 240.0.12.198
- 240.0.12.199
- 240.0.12.2
- 240.0.12.20
- 240.0.12.200
- 240.0.12.201
- 240.0.12.202
- 240.0.12.203
- 240.0.12.204
- 240.0.12.205
- 240.0.12.206
- 240.0.12.207
- 240.0.12.208
- 240.0.12.209
- 240.0.12.21
- 240.0.12.210
- 240.0.12.211
- 240.0.12.212
- 240.0.12.213
- 240.0.12.214
- 240.0.12.215
- 240.0.12.216
- 240.0.12.217
- 240.0.12.218
- 240.0.12.219
- 240.0.12.22
- 240.0.12.220
- 240.0.12.221
- 240.0.12.222
- 240.0.12.223
- 240.0.12.224
- 240.0.12.225
- 240.0.12.226
- 240.0.12.227
- 240.0.12.228
- 240.0.12.229
- 240.0.12.23
- 240.0.12.230
- 240.0.12.231
- 240.0.12.232
- 240.0.12.233
- 240.0.12.234
- 240.0.12.235
- 240.0.12.236
- 240.0.12.237
- 240.0.12.238
- 240.0.12.239
- 240.0.12.24
- 240.0.12.240
- 240.0.12.241
- 240.0.12.242
- 240.0.12.243
- 240.0.12.244
- 240.0.12.245
- 240.0.12.246
- 240.0.12.247
- 240.0.12.248
- 240.0.12.249
- 240.0.12.25
- 240.0.12.250
- 240.0.12.251
- 240.0.12.252
- 240.0.12.253
- 240.0.12.254
- 240.0.12.26
- 240.0.12.27
- 240.0.12.28
- 240.0.12.29
- 240.0.12.3
- 240.0.12.30
- 240.0.12.31
- 240.0.12.32
- 240.0.12.33
- 240.0.12.34
- 240.0.12.35
- 240.0.12.36
- 240.0.12.37
- 240.0.12.38
- 240.0.12.39
- 240.0.12.4
- 240.0.12.40
- 240.0.12.41
- 240.0.12.42
- 240.0.12.43
- 240.0.12.44
- 240.0.12.45
- 240.0.12.46
- 240.0.12.47
- 240.0.12.48
- 240.0.12.49
- 240.0.12.5
- 240.0.12.50
- 240.0.12.51
- 240.0.12.52
- 240.0.12.53
- 240.0.12.54
- 240.0.12.55
- 240.0.12.56
- 240.0.12.57
- 240.0.12.58
- 240.0.12.59
- 240.0.12.6
- 240.0.12.60
- 240.0.12.61
- 240.0.12.62
- 240.0.12.63
- 240.0.12.64
- 240.0.12.65
- 240.0.12.66
- 240.0.12.67
- 240.0.12.68
- 240.0.12.69
- 240.0.12.7
- 240.0.12.70
- 240.0.12.71
- 240.0.12.72
- 240.0.12.73
- 240.0.12.74
- 240.0.12.75
- 240.0.12.76
- 240.0.12.77
- 240.0.12.78
- 240.0.12.79
- 240.0.12.8
- 240.0.12.80
- 240.0.12.81
- 240.0.12.82
- 240.0.12.83
- 240.0.12.84
- 240.0.12.85
- 240.0.12.86
- 240.0.12.87
- 240.0.12.88
- 240.0.12.89
- 240.0.12.9
- 240.0.12.90
- 240.0.12.91
- 240.0.12.92
- 240.0.12.93
- 240.0.12.94
- 240.0.12.95
- 240.0.12.96
- 240.0.12.97
- 240.0.12.98
- 240.0.12.99
auth_key: ''
syslog:
syslog_port: '514'
syslog_transport: udp
syslog_server: ''
compute_scheduler_driver: nova.scheduler.filter_scheduler.FilterScheduler
deployment_mode: multinode
cinder:
db_password: rveahKih
user_password: ENwyu6oa
deployment_id: 8

View File

@ -1,440 +0,0 @@
#Simple node declaration. Includes YAML reference referred in `nodes` section
node_01: &node_01
# == role
# Specifies role of the node
# [primary-controller|controller|storage|swift-proxy|primary-swift-proxy]
# Default: unspecified
role: primary-controller
# == network_data
# Array of network interfaces hashes
# === name: scalar or array of one or more of [management|fixed|public|storage|admin(**deprecated)|floating(**deprecated)]
# === ip: IP address to be configured by puppet on this interface
# === dev: interface device name
# === netmask: network mask for the interface
# === vlan: vlan ID for the interface
# === gateway: IP address of gateway (**not used**)
network_data:
- name: public
ip: 10.20.0.94
dev: eth0
netmask: 255.255.255.0
gateway: 10.20.0.1
- name:
- management
- storage
ip: 10.20.1.94
netmask: 255.255.255.0
dev: eth1
- name: fixed
dev: eth2
# == public_br
# Name of the public bridge for Quantum-enabled configuration
public_br: br-ex
# == internal_br
# Name of the internal bridge for Quantum-enabled configuration
internal_br: br-mgmt
# == id ** TO BE DOCUMENTED. Suspected: node id in mcollective server.cfg.
id: 1
# == default_gateway
# Default gateway for the node
default_gateway: 10.20.0.1
# == id ** TO BE DOCUMENTED
uid: 1
# == mac
# MAC address of the interface being used for network boot.
mac: 64:43:7B:CA:56:DD
# == name
# name of the system in cobbler
name: controller-01
# == ip
# IP issued by cobbler DHCP server to this node during network boot.
ip: 10.20.0.94
# == profile
# Cobbler profile for the node.
# Default: centos-x86_64
# [centos-x86_64|rhel-x86_64]
# CAUTION:
# rhel-x86_64 is created only after rpmcache class is run on master node
profile: centos-x86_64
# == fqdn
# Fully-qualified domain name of the node
fqdn: controller-01.domain.tld
# == power_type
# Cobbler power-type. Consult cobbler documentation for available options.
# Default: ssh
power_type: ssh
# == power_user
# Username for cobbler to manage power of this machine
# Default: unset
power_user: root
# == power_pass
# Password/credentials for cobbler to manage power of this machine
# Default: unset
power_pass: /root/.ssh/bootstrap.rsa
# == power_address
# IP address of the device managing the node power state.
# Default: unset
power_address: 10.20.0.94
# == netboot_enabled
# Disable/enable netboot for this node.
netboot_enabled: '1'
# == name_servers
# DNS name servers for this node during provisioning phase.
name_servers: ! '"10.20.0.2"'
# == puppet_master
# Hostname or IP address of puppet master node
puppet_master: fuel.domain.tld
# == ks_meta
# Kickstart metadata used during provisioning
ks_meta:
# == ks_spaces
# Kickstart data for disk partitioning
# The simplest way to calculate is to use REST call to nailgun api,
# recalculate disk size into MiB and dump the following config. Workflow is as follows:
# GET request to http://<fuel-master-node>:8000/api/nodes
# Parse JSON and derive disk data from meta['disks']. Set explicitly which disk is system and which is for cinder.
# $system_disk_size=floor($system_disk_meta['disks']['size']/1048756)
# $system_disk_path=$system_disk_meta['disks']['disk']
# $cinder_disk_size=floor($cinder_disk_meta['disks']['size']/1048756)
#
# $cinder_disk_path=$cinder_disk_meta['disks']['disk']
#
# All further calculations are made in MiB
# Calculation of system partitions
#
# For each node:
# calculate size of physical volume for operating system:
# $pv_size = $system_disk_size - 200 - 1
# declare $swap_size
# calculate size of root partition:
# $free_vg_size = $pv_size - $swap_size
# $free_extents = floor($free_vg_size/32)
# $system_disk_size = 32 * $free_extents
# ks_spaces: '"[
#{\"type\": \"disk\", \"id\": \"$system_disk_path\",
#\"volumes\":
#[
# {\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200},
# {\"type\": \"mbr\"},
# {\"size\": $pv_size, \"type\": \"pv\", \"vg\": \"os\"}
#],
#\"size\": $system_disk_size
#},
#{\"type\": \"vg\", \"id\": \"os\", \"volumes\":
#[
# {\"mount\": \"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": $system_disk_size },
# {\"mount\": \"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": $swap_size}
#]
#},
#{\"type\": \"disk\", \"id\": \"$path_to_cinder_disk\",
#\"volumes\":
#[
# {\"type\": \"mbr\"},
# {\"size\": $cinder_disk_size, \"type\": \"pv\", \"vg\": \"cinder-volumes\"}
#],
#\"size\": $cinder_disk_size
#}
#]"'
ks_spaces: '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",
\"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200},
{\"type\": \"mbr\"}, {\"size\": 20000, \"type\": \"pv\", \"vg\": \"os\"}],
\"size\": 20480}, {\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\":
\"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": 10240 }, {\"mount\":
\"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": 2048}]}]"'
# == mco_enable
# If mcollective should be installed and enabled on the node
mco_enable: 1
# == mco_vhost
# Mcollective AMQP virtual host
mco_vhost: mcollective
# == mco_pskey
# **NOT USED**
mco_pskey: unset
# == mco_user
# Mcollective AMQP user
mco_user: mcollective
# == puppet_enable
# should puppet agent start on boot
# Default: 0
puppet_enable: 0
# == install_log_2_syslog
# Enable/disable on boot remote logging
# Default: 1
install_log_2_syslog: 1
# == mco_password
# Mcollective AMQP password
mco_password: marionette
# == puppet_auto_setup
# Whether to install puppet during provisioning
# Default: 1
puppet_auto_setup: 1
# == puppet_master
# hostname or IP of puppet master server
puppet_master: fuel.domain.tld
# == puppet_auto_setup
# Whether to install mcollective during provisioning
# Default: 1
mco_auto_setup: 1
# == auth_key
# Public RSA key to be added to cobbler authorized keys
auth_key: ! '""'
# == puppet_version
# Which puppet version to install on the node
puppet_version: 2.7.19
# == mco_connector
# Mcollective AMQP driver.
# Default: rabbitmq
mco_connector: rabbitmq
# == mco_host
# AMQP host to which Mcollective agent should connect
mco_host: 10.20.0.2
# == interfaces
# Hash of interfaces configured during provision state
interfaces:
eth0:
ip_address: 10.20.0.94
netmask: 255.255.255.0
dns_name: controller-01.domain.tld
static: '1'
mac_address: 64:43:7B:CA:56:DD
# == interfaces_extra
# extra interfaces information
interfaces_extra:
eth2:
onboot: 'no'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth0:
onboot: 'yes'
peerdns: 'no'
# == meta
# Outdated stuff needed for log parsing during astute jobs.
meta:
memory:
total: 778694656
interfaces:
- mac: 64:D8:E1:F6:66:43
max_speed: 100
name: eth2
ip: 10.22.0.94
netmask: 255.255.255.0
current_speed: 100
- mac: 64:C8:E2:3B:FD:6E
max_speed: 100
name: eth1
ip: 10.21.0.94
netmask: 255.255.255.0
current_speed: 100
- name: eth0
ip: 10.20.0.94
netmask: 255.255.255.0
mac: 64:43:7B:CA:56:DD
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
error_type:
#Nodes array. Includes references to corresponding nodes' sections.
nodes:
- <<: *node_01
#Openstack cluster attributes used during deployment.
attributes:
# == master_ip
# IP of puppet master.
master_ip: 10.20.0.2
# == use_cow_images:
# Whether to use cow images
use_cow_images: true
# == libvirt_type
# Nova libvirt hypervisor type
# Values: qemu|kvm
# Default: kvm
libvirt_type: qemu
# == dns_nameservers
# array of DNS servers configured during deployment phase.
dns_nameservers:
- 10.20.0.1
# This parameter specifies the verbosity level of log messages
# in openstack components config.
# Debug would have set DEBUG level and ignore verbose settings, if any.
# Verbose would have set INFO level messages
# In case of non debug and non verbose - WARNING, default level would have set.
# Note: if syslog on, this default level may be configured (for syslog) with syslog_log_level option.
# == verbose
# whether to enable verbosity
# Default: true
verbose: true
# == debug
# whether to enable debug
# Default: false
debug: true
# == auto_assign_floating_ip
# Whether to assign floating IPs automatically
auto_assign_floating_ip: true
# == start_guests_on_host_boot
# Default: true
start_guests_on_host_boot: true
# == create_networks
# whether to create fixed or floating networks
create_networks: true
# == compute_scheduler_driver
# Nova scheduler driver class
compute_scheduler_driver: nova.scheduler.multi.MultiScheduler
# == quantum
# Whether quantum is enabled
# Default: true
quantum: true
# == master_hostname
# Which controller node to treat as master node. Used only certainty during deployment.
master_hostname: controller-01
# == nagios
# Whether to enable nagios clients on the nodes
nagios: false
# == proj_name
# name of nagios project
proj_name: test
# == nagios_master
# nagios master server name
nagios_master: fuelweb.domain.tld
# == management_vip
# Virtual IP address for internal services (MySQL, AMQP, internal OpenStack endpoints)
management_vip: 10.20.1.200
# == public_vip
# Virtual IP address for public services (Horizon, public OpenStack endpoints)
public_vip: 10.20.0.200
#Nova-network part, gets ignored if $quantum = `false`
novanetwork_parameters:
vlan_start: <1-1024>
# == network_manager
# Which nova-network manager to use
network_manager: String
# == network_size
# which network size to use during fixed network range segmentation
network_size: <Integer>
#Quantum part, used only if quantum='true'
quantum_parameters:
# == tenant_network_type
# Which type of network segmentation to use.
# Values: gre|vlan
tenant_network_type: gre
# == segment_range
# Range of IDs for network segmentation. Consult Quantum documentation.
# Values: gre|vlan
segment_range: ! '300:500'
# == metadata_proxy_shared_secret
# Shared secret for metadata proxy services
# Values: gre|vlan
metadata_proxy_shared_secret: quantum
# Below go credentials and access parameters for main OpenStack components
mysql:
root_password: root
glance:
db_password: glance
user_password: glance
swift:
user_password: swift_pass
nova:
db_password: nova
user_password: nova
access:
password: admin
user: admin
tenant: admin
email: admin@example.org
keystone:
db_password: keystone
admin_token: nova
quantum_access:
user_password: quantum
db_password: quantum
rabbit:
password: nova
user: nova
cinder:
password: cinder
user: cinder
# == floating_network_range
# CIDR (for quantum == true) or array if IPs (for quantum == false)
# Used for creation of floating networks/IPs during deployment
floating_network_range: 10.20.0.150/26
# == fixed_network_range
# CIDR for fixed network created during deployment.
fixed_network_range: 10.20.2.0/24
# == base_syslog
# Main syslog server configuration.
base_syslog:
syslog_port: '514'
syslog_server: 10.20.0.2
# == syslog
# Additional syslog servers configuration.
syslog:
syslog_port: '514'
syslog_transport: udp
syslog_server: ''
# == use_unicast_corosync
# which communaction protocol to use for corosync
use_unicast_corosync: false
# == horizon_use_ssl
# Dashboard(horizon) https/ssl mode
# false: normal mode with no encryption
# 'default': uses keys supplied with the ssl module package
# 'exist': assumes that the keys (domain name based certificate) are provisioned in advance
# 'custom': require fileserver static mount point [ssl_certs] and hostname based certificate existence
horizon_use_ssl: false
# == cinder_nodes
# Which nodes to use as cinder-volume backends
# Array of values 'all'|<hostname>|<internal IP address of node>|'controller'|<node_role>
cinder_nodes:
- controller
# == ntp_servers
# List of ntp servers
ntp_servers:
- pool.ntp.org
# == deployment_id
# Id if deployment used do differentiate environments
deployment_id: 1
# == deployment_mode
# [ha|ha_full|multinode|single|ha_minimal]
deployment_mode: ha
# == deployment_source
# [web|cli]
deployment_source: cli
# == deployment_engine
# [simplepuppet(**deprecated**)|nailyfact]
# Default: nailyfact
deployment_engine: nailyfact
#Cobbler engine parameters
engine:
url: http://localhost/cobbler_api
username: cobbler
password: cobbler

View File

@ -1,199 +0,0 @@
##Network section of node configuration
node_01: &node_01
role: primary-controller
network_data:
- name: public
ip: 10.20.0.94
dev: eth0
netmask: 255.255.255.0
gateway: 10.20.0.1
- name:
- management
- storage
ip: 10.20.1.94
dev: eth1
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: 01
default_gateway: 10.20.0.1
uid: 01
mac: 64:43:7B:CA:56:DD
name: controller-01
ip: 10.20.0.94
profile: centos-x86_64
fqdn: controller-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 10.20.0.94
netboot_enabled: '1'
name_servers: ! '"10.20.0.2"'
puppet_master: fuel.domain.tld
ks_meta:
ks_spaces: '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",
\"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200},
{\"type\": \"mbr\"}, {\"size\": 20000, \"type\": \"pv\", \"vg\": \"os\"}],
\"size\": 20480}, {\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\":
\"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": 10240 }, {\"mount\":
\"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": 2048}]}]"'
mco_enable: 1
mco_vhost: mcollective
mco_pskey: unset
mco_user: mcollective
puppet_enable: 0
install_log_2_syslog: 1
mco_password: marionette
puppet_auto_setup: 1
puppet_master: fuel.domain.tld
mco_auto_setup: 1
auth_key: ! '""'
puppet_version: 2.7.19
mco_connector: rabbitmq
mco_host: 10.20.0.2
interfaces:
eth0:
ip_address: 10.20.0.94
netmask: 255.255.255.0
dns_name: controller-01.domain.tld
static: '1'
mac_address: 64:43:7B:CA:56:DD
interfaces_extra:
eth2:
onboot: 'no'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth0:
onboot: 'yes'
peerdns: 'no'
meta:
memory:
total: 778694656
interfaces:
- mac: 64:D8:E1:F6:66:43
max_speed: 100
name: eth2
ip: 10.22.0.94
netmask: 255.255.255.0
current_speed: 100
- mac: 64:C8:E2:3B:FD:6E
max_speed: 100
name: eth1
ip: 10.21.0.94
netmask: 255.255.255.0
current_speed: 100
- name: eth0
ip: 10.20.0.94
netmask: 255.255.255.0
mac: 64:43:7B:CA:56:DD
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
error_type:
nodes:
- <<: *node_01
attributes:
use_cow_images: true
libvirt_type: qemu
dns_nameservers:
- 10.20.0.1
verbose: true|false
debug: true|false
auto_assign_floating_ip: true
start_guests_on_host_boot: true
create_networks: true
compute_scheduler_driver: nova.scheduler.multi.MultiScheduler
quantum: true
master_hostname: controller-01
nagios: false
proj_name: test
nagios_master: fuelweb.domain.tld
management_vip: 10.20.1.200
public_vip: 10.20.0.200
#Nova-network part, gets ignored if $quantum = `false`
novanetwork_parameters:
fixed_network_range: CIDR
vlan_start: <1-1024>
network_manager: String
network_size: <Integer>
#Quantum part, used only if quantum='true'
quantum_parameters:
tenant_network_type: gre
segment_range: ! '300:500'
metadata_proxy_shared_secret: quantum
mysql:
root_password: root
glance:
db_password: glance
user_password: glance
swift:
user_password: swift_pass
nova:
db_password: nova
user_password: nova
access:
password: admin
user: admin
tenant: admin
email: admin@example.org
keystone:
db_password: keystone
admin_token: nova
quantum_access:
user_password: quantum
db_password: quantum
rabbit:
password: nova
user: nova
cinder:
password: cinder
user: cinder
floating_network_range:
- 10.20.0.100
base_syslog:
syslog_port: '514'
syslog_server: 10.20.0.2
syslog:
syslog_port: '514'
syslog_transport: udp
syslog_server: ''
deployment_id: 1
deployment_mode: ha
deployment_source: cli
deployment_engine: nailyfact
engine:
url: http://localhost/cobbler_api
username: cobbler
password: cobbler

View File

@ -1,562 +0,0 @@
node_01: &node_01
role: primary-controller
network_data:
- name: public
ip: 10.20.0.94
dev: eth0
netmask: 255.255.255.0
gateway: 10.20.0.1
- name:
- management
- storage
ip: 10.20.1.94
netmask: 255.255.255.0
dev: eth1
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: 1
default_gateway: 10.20.0.1
uid: 1
mac: 64:43:7B:CA:56:DD
name: controller-01
ip: 10.20.0.94
profile: centos-x86_64
fqdn: controller-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 10.20.0.94
netboot_enabled: '1'
name_servers: ! '"10.20.0.2"'
puppet_master: fuel.domain.tld
ks_meta:
ks_spaces: '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",
\"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200},
{\"type\": \"mbr\"}, {\"size\": 20000, \"type\": \"pv\", \"vg\": \"os\"}],
\"size\": 20480}, {\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\":
\"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": 10240 }, {\"mount\":
\"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": 2048}]}]"'
mco_enable: 1
mco_vhost: mcollective
mco_pskey: unset
mco_user: mcollective
puppet_enable: 0
install_log_2_syslog: 1
mco_password: marionette
puppet_auto_setup: 1
puppet_master: fuel.domain.tld
mco_auto_setup: 1
auth_key: ! '""'
puppet_version: 2.7.19
mco_connector: rabbitmq
mco_host: 10.20.0.2
interfaces:
eth0:
ip_address: 10.20.0.94
netmask: 255.255.255.0
dns_name: controller-01.domain.tld
static: '1'
mac_address: 64:43:7B:CA:56:DD
interfaces_extra:
eth2:
onboot: 'no'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth0:
onboot: 'yes'
peerdns: 'no'
meta:
memory:
total: 778694656
interfaces:
- mac: 64:D8:E1:F6:66:43
max_speed: 100
name: eth2
ip: 10.22.0.94
netmask: 255.255.255.0
current_speed: 100
- mac: 64:C8:E2:3B:FD:6E
max_speed: 100
name: eth1
ip: 10.21.0.94
netmask: 255.255.255.0
current_speed: 100
- name: eth0
ip: 10.20.0.94
netmask: 255.255.255.0
mac: 64:43:7B:CA:56:DD
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
error_type:
node_02: &node_02
role: controller
network_data:
- name: public
ip: 10.20.0.98
dev: eth0
netmask: 255.255.255.0
gateway: 10.20.0.1
- name:
- management
- storage
ip: 10.20.1.98
netmask: 255.255.255.0
dev: eth1
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: 2
default_gateway: 10.20.0.1
uid: 2
mac: 64:C5:50:9D:A7:21
name: controller-02
ip: 10.20.0.98
profile: centos-x86_64
fqdn: controller-02.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 10.20.0.98
netboot_enabled: '1'
name_servers: ! '"10.20.0.2"'
puppet_master: fuel.domain.tld
ks_meta:
ks_spaces: '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",
\"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200},
{\"type\": \"mbr\"}, {\"size\": 20000, \"type\": \"pv\", \"vg\": \"os\"}],
\"size\": 20480}, {\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\":
\"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": 10240 }, {\"mount\":
\"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": 2048}]}]"'
mco_enable: 1
mco_vhost: mcollective
mco_pskey: unset
mco_user: mcollective
puppet_enable: 0
install_log_2_syslog: 1
mco_password: marionette
puppet_auto_setup: 1
puppet_master: fuel.domain.tld
mco_auto_setup: 1
auth_key: ! '""'
puppet_version: 2.7.19
mco_connector: rabbitmq
mco_host: 10.20.0.2
interfaces:
eth0:
ip_address: 10.20.0.98
netmask: 255.255.255.0
dns_name: controller-02.domain.tld
static: '1'
mac_address: 64:C5:50:9D:A7:21
interfaces_extra:
eth2:
onboot: 'no'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth0:
onboot: 'yes'
peerdns: 'no'
meta:
memory:
total: 778694656
interfaces:
- mac: 64:0A:A3:57:63:D5
max_speed: 100
name: eth2
ip: 10.22.0.98
netmask: 255.255.255.0
current_speed: 100
- mac: 64:B7:0B:14:7C:36
max_speed: 100
name: eth1
ip: 10.21.0.98
netmask: 255.255.255.0
current_speed: 100
- name: eth0
ip: 10.20.0.98
netmask: 255.255.255.0
mac: 64:C5:50:9D:A7:21
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
error_type:
node_03: &node_03
role: controller
network_data:
- name: public
ip: 10.20.0.76
dev: eth0
netmask: 255.255.255.0
gateway: 10.20.0.1
- name:
- management
- storage
ip: 10.20.1.76
netmask: 255.255.255.0
dev: eth1
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: 4
default_gateway: 10.20.0.1
uid: 4
mac: 64:15:B1:0C:BB:8B
name: controller-03
ip: 10.20.0.76
profile: centos-x86_64
fqdn: controller-03.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 10.20.0.76
netboot_enabled: '1'
name_servers: ! '"10.20.0.2"'
puppet_master: fuel.domain.tld
ks_meta:
ks_spaces: '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",
\"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200},
{\"type\": \"mbr\"}, {\"size\": 20000, \"type\": \"pv\", \"vg\": \"os\"}],
\"size\": 20480}, {\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\":
\"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": 10240 }, {\"mount\":
\"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": 2048}]}]"'
mco_enable: 1
mco_vhost: mcollective
mco_pskey: unset
mco_user: mcollective
puppet_enable: 0
install_log_2_syslog: 1
mco_password: marionette
puppet_auto_setup: 1
puppet_master: fuel.domain.tld
mco_auto_setup: 1
auth_key: ! '""'
puppet_version: 2.7.19
mco_connector: rabbitmq
mco_host: 10.20.0.2
interfaces:
eth0:
ip_address: 10.20.0.76
netmask: 255.255.255.0
dns_name: controller-03.domain.tld
static: '1'
mac_address: 64:15:B1:0C:BB:8B
interfaces_extra:
eth2:
onboot: 'no'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth0:
onboot: 'yes'
peerdns: 'no'
meta:
memory:
total: 778694656
interfaces:
- mac: 64:4C:50:19:3F:D9
max_speed: 100
name: eth2
ip: 10.22.0.76
netmask: 255.255.255.0
current_speed: 100
- mac: 64:32:74:99:95:25
max_speed: 100
name: eth1
ip: 10.21.0.76
netmask: 255.255.255.0
current_speed: 100
- name: eth0
ip: 10.20.0.76
netmask: 255.255.255.0
mac: 64:15:B1:0C:BB:8B
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
error_type:
node_04: &node_04
role: compute
network_data:
- name: public
ip: 10.20.0.122
dev: eth0
netmask: 255.255.255.0
gateway: 10.20.0.1
- name:
- management
- storage
ip: 10.20.1.122
netmask: 255.255.255.0
dev: eth1
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: 3
default_gateway: 10.20.0.1
uid: 3
mac: 64:7D:B8:84:64:79
name: compute-01
ip: 10.20.0.122
profile: centos-x86_64
fqdn: compute-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 10.20.0.122
netboot_enabled: '1'
name_servers: ! '"10.20.0.2"'
puppet_master: fuel.domain.tld
ks_meta:
ks_spaces: '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",
\"volumes\": [{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200},
{\"type\": \"mbr\"}, {\"size\": 20000, \"type\": \"pv\", \"vg\": \"os\"}],
\"size\": 20480}, {\"type\": \"vg\", \"id\": \"os\", \"volumes\": [{\"mount\":
\"/\", \"type\": \"lv\", \"name\": \"root\", \"size\": 10240 }, {\"mount\":
\"swap\", \"type\": \"lv\", \"name\": \"swap\", \"size\": 2048}]}]"'
mco_enable: 1
mco_vhost: mcollective
mco_pskey: unset
mco_user: mcollective
puppet_enable: 0
install_log_2_syslog: 1
mco_password: marionette
puppet_auto_setup: 1
puppet_master: fuel.domain.tld
mco_auto_setup: 1
auth_key: ! '""'
puppet_version: 2.7.19
mco_connector: rabbitmq
mco_host: 10.20.0.2
interfaces:
eth0:
ip_address: 10.20.0.122
netmask: 255.255.255.0
dns_name: compute-01.domain.tld
static: '1'
mac_address: 64:7D:B8:84:64:79
interfaces_extra:
eth2:
onboot: 'no'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth0:
onboot: 'yes'
peerdns: 'no'
meta:
memory:
total: 778694656
interfaces:
- mac: 64:F1:30:1A:0A:95
max_speed: 100
name: eth2
ip: 10.22.0.122
netmask: 255.255.255.0
current_speed: 100
- mac: 64:95:7B:3A:4D:B6
max_speed: 100
name: eth1
ip: 10.21.0.122
netmask: 255.255.255.0
current_speed: 100
- name: eth0
ip: 10.20.0.122
netmask: 255.255.255.0
mac: 64:7D:B8:84:64:79
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
error_type:
nodes:
- <<: *node_01
- <<: *node_02
- <<: *node_03
- <<: *node_04
attributes:
use_cow_images: true
libvirt_type: qemu
dns_nameservers:
- 10.20.0.1
verbose: true|false
debug: true|false
auto_assign_floating_ip: true
start_guests_on_host_boot: true
create_networks: true
compute_scheduler_driver: nova.scheduler.multi.MultiScheduler
quantum: true
master_hostname: controller-01
nagios: false
proj_name: test
nagios_master: fuelweb.domain.tld
management_vip: 10.20.1.200
public_vip: 10.20.0.200
#Nova-network part, gets ignored if $quantum = `false`
novanetwork_parameters:
vlan_start: <1-1024>
network_manager: String
network_size: <Integer>
#Quantum part, used only if quantum='true'
quantum_parameters:
tenant_network_type: gre
segment_range: ! '300:500'
metadata_proxy_shared_secret: quantum
mysql:
root_password: root
glance:
db_password: glance
user_password: glance
swift:
user_password: swift_pass
nova:
db_password: nova
user_password: nova
access:
password: admin
user: admin
tenant: admin
email: admin@example.org
keystone:
db_password: keystone
admin_token: nova
quantum_access:
user_password: quantum
db_password: quantum
rabbit:
password: nova
user: nova
cinder:
password: cinder
user: cinder
floating_network_range: 10.20.0.150/26
fixed_network_range: 10.20.2.0/24
base_syslog:
syslog_port: '514'
syslog_server: 10.20.0.2
syslog:
syslog_port: '514'
syslog_transport: udp
syslog_server: ''
use_unicast_corosync: false
horizon_use_ssl: false
deployment_id: 1
deployment_mode: ha
deployment_source: cli
deployment_engine: nailyfact
engine:
url: http://localhost/cobbler_api
username: cobbler
password: cobbler

View File

@ -1,776 +0,0 @@
[
{
"status": "discover",
"name": "Untitled (1D:CA)",
"ip": "172.18.94.43",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:57:26:83:1D:CA",
"meta": {
"memory": {
"slots": 1,
"total": 1073741824,
"maximum_capacity": 1073741824,
"devices": [
{
"type": "RAM",
"size": 1073741824
}
]
},
"interfaces": [
{
"mac": "64:EA:09:C2:C6:75",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:4D:C1:48:2F:8A",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "172.18.94.43",
"netmask": "255.255.255.224",
"mac": "64:57:26:83:1D:CA",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 2,
"spec": [
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
},
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 7,
"manufacturer": "KVM"
},
{
"status": "discover",
"name": "Untitled (07:26)",
"ip": "172.18.94.40",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:BC:C3:9C:07:26",
"meta": {
"memory": {
"slots": 1,
"total": 1073741824,
"maximum_capacity": 1073741824,
"devices": [
{
"type": "RAM",
"size": 1073741824
}
]
},
"interfaces": [
{
"mac": "64:E7:D3:F4:FD:BD",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:81:FF:17:59:9F",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "172.18.94.40",
"netmask": "255.255.255.224",
"mac": "64:BC:C3:9C:07:26",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 2,
"spec": [
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
},
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 6,
"manufacturer": "KVM"
},
{
"status": "discover",
"name": "Untitled (B2:DC)",
"ip": "172.18.94.45",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:97:93:5F:B2:DC",
"meta": {
"memory": {
"slots": 1,
"total": 1073741824,
"maximum_capacity": 1073741824,
"devices": [
{
"type": "RAM",
"size": 1073741824
}
]
},
"interfaces": [
{
"mac": "64:E1:22:FF:4D:64",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:FC:F2:3C:CA:5D",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "172.18.94.45",
"netmask": "255.255.255.224",
"mac": "64:97:93:5F:B2:DC",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 2,
"spec": [
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
},
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 5,
"manufacturer": "KVM"
},
{
"status": "discover",
"name": "Untitled (50:D3)",
"ip": "172.18.94.36",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:F4:64:E7:50:D3",
"meta": {
"memory": {
"slots": 1,
"total": 1073741824,
"maximum_capacity": 1073741824,
"devices": [
{
"type": "RAM",
"size": 1073741824
}
]
},
"interfaces": [
{
"mac": "64:7E:46:33:10:33",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:E1:41:CF:03:D7",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "172.18.94.36",
"netmask": "255.255.255.224",
"mac": "64:F4:64:E7:50:D3",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 2,
"spec": [
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
},
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 4,
"manufacturer": "KVM"
},
{
"status": "discover",
"name": "Untitled (83:E8)",
"ip": "172.18.94.41",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:48:7A:14:83:E8",
"meta": {
"memory": {
"slots": 1,
"total": 1073741824,
"maximum_capacity": 1073741824,
"devices": [
{
"type": "RAM",
"size": 1073741824
}
]
},
"interfaces": [
{
"mac": "64:DC:6B:09:02:4C",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:D0:7C:2E:02:59",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "172.18.94.41",
"netmask": "255.255.255.224",
"mac": "64:48:7A:14:83:E8",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 2,
"spec": [
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
},
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 2,
"manufacturer": "KVM"
},
{
"status": "discover",
"name": "Untitled (EB:4E)",
"ip": "172.18.94.47",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:DC:FD:AD:EB:4E",
"meta": {
"memory": {
"slots": 1,
"total": 1073741824,
"maximum_capacity": 1073741824,
"devices": [
{
"type": "RAM",
"size": 1073741824
}
]
},
"interfaces": [
{
"mac": "64:74:10:45:3D:53",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:7E:1B:D7:5D:EF",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "172.18.94.47",
"netmask": "255.255.255.224",
"mac": "64:DC:FD:AD:EB:4E",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 2,
"spec": [
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
},
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 8,
"manufacturer": "KVM"
},
{
"status": "discover",
"name": "Untitled (79:39)",
"ip": "172.18.94.44",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:EA:DF:59:79:39",
"meta": {
"memory": {
"slots": 1,
"total": 1073741824,
"maximum_capacity": 1073741824,
"devices": [
{
"type": "RAM",
"size": 1073741824
}
]
},
"interfaces": [
{
"mac": "64:E9:9A:4D:04:3F",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:B9:CE:28:0D:0E",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "172.18.94.44",
"netmask": "255.255.255.224",
"mac": "64:EA:DF:59:79:39",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 2,
"spec": [
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
},
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 9,
"manufacturer": "KVM"
},
{
"status": "discover",
"name": "Untitled (D2:66)",
"ip": "172.18.94.39",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:C3:54:54:D2:66",
"meta": {
"memory": {
"slots": 1,
"total": 2147483648,
"maximum_capacity": 2147483648,
"devices": [
{
"type": "RAM",
"size": 2147483648
}
]
},
"interfaces": [
{
"mac": "64:86:89:DC:11:DF",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:3E:31:66:CA:AF",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "172.18.94.39",
"netmask": "255.255.255.224",
"mac": "64:C3:54:54:D2:66",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 2,
"spec": [
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
},
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 1,
"manufacturer": "KVM"
},
{
"status": "discover",
"name": "Untitled (1D:C9)",
"ip": "172.18.94.42",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:B7:37:B1:1D:C9",
"meta": {
"memory": {
"slots": 1,
"total": 1073741824,
"maximum_capacity": 1073741824,
"devices": [
{
"type": "RAM",
"size": 1073741824
}
]
},
"interfaces": [
{
"mac": "64:49:B1:F5:AA:CF",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:B3:BC:6D:17:A0",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "172.18.94.42",
"netmask": "255.255.255.224",
"mac": "64:B7:37:B1:1D:C9",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 2,
"spec": [
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
},
{
"model": "QEMU Virtual CPU version 1.2.0",
"frequency": 1999
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 3,
"manufacturer": "KVM"
}
]

View File

@ -1,614 +0,0 @@
---
nodes:
- role: compute
network_data:
- name: public
ip: 172.18.94.39
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.39
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '1'
default_gateway: 172.18.94.33
uid: '1'
mac: 64:C3:54:54:D2:66
name: compute-01
ip: 172.18.94.39
profile: centos-x86_64
fqdn: compute-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.39
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: &18648020
ks_spaces: ! '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",\"volumes\":
[{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200}, {\"type\":
\"mbr\"}, {\"size\": 20275, \"type\": \"pv\", \"vg\": \"os\"}],\"size\": 19232},{\"type\":
\"vg\", \"id\": \"os\", \"volumes\": [{\"mount\": \"/\", \"type\": \"lv\", \"name\":
\"root\", \"size\": 19232}, {\"mount\": \"swap\", \"type\": \"lv\", \"name\":
\"swap\", \"size\": 1024}]}, {\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4\",
\"volumes\": [{\"type\": \"mbr\"}, {\"size\": 20476, \"type\": \"pv\", \"vg\":
\"cinder-volumes\"}], \"size\": 20476}]"'
mco_enable: 1
mco_vhost: mcollective
mco_pskey: unset
mco_user: mcollective
puppet_enable: 0
install_log_2_syslog: 1
mco_password: marionette
puppet_auto_setup: 1
puppet_master: fuel.domain.tld
mco_auto_setup: 1
auth_key: ! '""'
puppet_version: 2.7.19
mco_connector: rabbitmq
mco_host: 172.18.94.34
interfaces:
eth0:
ip_address: 172.18.94.39
netmask: 255.255.255.0
dns_name: compute-01.domain.tld
static: '1'
mac_address: 64:C3:54:54:D2:66
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: &18667760
memory:
total: 778694656
interfaces:
- mac: 64:D8:E1:F6:66:43
max_speed: 100
name: eth2
ip: 10.22.0.94
netmask: 255.255.255.0
current_speed: 100
- mac: 64:C8:E2:3B:FD:6E
max_speed: 100
name: eth1
ip: 10.21.0.94
netmask: 255.255.255.0
current_speed: 100
- name: eth0
ip: 10.20.0.94
netmask: 255.255.255.0
mac: 64:43:7B:CA:56:DD
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
error_type:
- role: primary-controller
network_data:
- name: public
ip: 172.18.94.41
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.41
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '2'
default_gateway: 172.18.94.33
uid: '2'
mac: 64:48:7A:14:83:E8
name: controller-01
ip: 172.18.94.41
profile: centos-x86_64
fqdn: controller-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.41
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.41
netmask: 255.255.255.0
dns_name: controller-01.domain.tld
static: '1'
mac_address: 64:48:7A:14:83:E8
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
- role: controller
network_data:
- name: public
ip: 172.18.94.42
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.42
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '3'
default_gateway: 172.18.94.33
uid: '3'
mac: 64:B7:37:B1:1D:C9
name: controller-02
ip: 172.18.94.42
profile: centos-x86_64
fqdn: controller-02.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.42
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.42
netmask: 255.255.255.0
dns_name: controller-02.domain.tld
static: '1'
mac_address: 64:B7:37:B1:1D:C9
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
- role: controller
network_data:
- name: public
ip: 172.18.94.36
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.36
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '4'
default_gateway: 172.18.94.33
uid: '4'
mac: 64:F4:64:E7:50:D3
name: controller-03
ip: 172.18.94.36
profile: centos-x86_64
fqdn: controller-03.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.36
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.36
netmask: 255.255.255.0
dns_name: controller-03.domain.tld
static: '1'
mac_address: 64:F4:64:E7:50:D3
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
- role: storage
network_data:
- name: public
ip: 172.18.94.43
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.43
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '7'
default_gateway: 172.18.94.33
uid: '7'
mac: 64:57:26:83:1D:CA
name: swift-01
ip: 172.18.94.43
profile: centos-x86_64
fqdn: swift-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.43
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.43
netmask: 255.255.255.0
dns_name: swift-01.domain.tld
static: '1'
mac_address: 64:57:26:83:1D:CA
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
- role: storage
network_data:
- name: public
ip: 172.18.94.47
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.47
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '8'
default_gateway: 172.18.94.33
uid: '8'
mac: 64:DC:FD:AD:EB:4E
name: swift-02
ip: 172.18.94.47
profile: centos-x86_64
fqdn: swift-02.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.47
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.47
netmask: 255.255.255.0
dns_name: swift-02.domain.tld
static: '1'
mac_address: 64:DC:FD:AD:EB:4E
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
- role: storage
network_data:
- name: public
ip: 172.18.94.44
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.44
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '9'
default_gateway: 172.18.94.33
uid: '9'
mac: 64:EA:DF:59:79:39
name: swift-03
ip: 172.18.94.44
profile: centos-x86_64
fqdn: swift-03.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.44
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.44
netmask: 255.255.255.0
dns_name: swift-03.domain.tld
static: '1'
mac_address: 64:EA:DF:59:79:39
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
- role: primary-swift-proxy
network_data:
- name: public
ip: 172.18.94.40
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.40
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '6'
default_gateway: 172.18.94.33
uid: '6'
mac: 64:BC:C3:9C:07:26
name: swiftproxy-01
ip: 172.18.94.40
profile: centos-x86_64
fqdn: swiftproxy-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.40
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.40
netmask: 255.255.255.0
dns_name: swiftproxy-01.domain.tld
static: '1'
mac_address: 64:BC:C3:9C:07:26
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
- role: swift-proxy
network_data:
- name: public
ip: 172.18.94.45
dev: eth0
netmask: 255.255.255.0
gateway: 172.18.94.33
- name:
- management
- storage
ip: 10.107.2.45
dev: eth1
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '5'
default_gateway: 172.18.94.33
uid: '5'
mac: 64:97:93:5F:B2:DC
name: swiftproxy-02
ip: 172.18.94.45
profile: centos-x86_64
fqdn: swiftproxy-02.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 172.18.94.45
netboot_enabled: '1'
name_servers: 172.18.94.34
puppet_master: fuel.domain.tld
ks_meta: *18648020
interfaces:
eth0:
ip_address: 172.18.94.45
netmask: 255.255.255.0
dns_name: swiftproxy-02.domain.tld
static: '1'
mac_address: 64:97:93:5F:B2:DC
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *18667760
error_type:
attributes:
master_ip: 172.18.94.34
use_cow_images: true
libvirt_type: kvm
dns_nameservers: 172.18.94.34
verbose: true
debug: true
auto_assign_floating_ip: true
start_guests_on_host_boot: true
create_networks: true
compute_scheduler_driver: nova.scheduler.multi.MultiScheduler
quantum: true
master_hostname: controller-01
nagios: false
proj_name: test
nagios_master: fuelweb.domain.tld
management_vip: 10.107.2.254
public_vip: 172.18.94.46
novanetwork_parameters:
vlan_start: <1-1024>
network_manager: String
network_size: <Integer>
quantum_parameters:
tenant_network_type: gre
segment_range: 300:500
metadata_proxy_shared_secret: quantum
mysql:
root_password: root
glance:
db_password: glance
user_password: glance
swift:
user_password: swift_pass
nova:
db_password: nova
user_password: nova
access:
password: admin
user: admin
tenant: admin
email: admin@example.org
keystone:
db_password: keystone
admin_token: nova
quantum_access:
user_password: quantum
db_password: quantum
rabbit:
password: nova
user: nova
cinder:
password: cinder
user: cinder
floating_network_range: 172.18.94.48/28
fixed_network_range: 10.107.2.0/24
base_syslog:
syslog_port: '514'
syslog_server: 172.18.94.34
syslog:
syslog_port: '514'
syslog_transport: udp
syslog_server: ''
use_unicast_corosync: false
horizon_use_ssl: false
cinder_nodes:
- controller
ntp_servers:
- pool.ntp.org
deployment_id: 1
deployment_mode: ha_full
deployment_source: cli
deployment_engine: nailyfact
engine:
url: http://localhost/cobbler_api
username: cobbler
password: cobbler

View File

@ -1,166 +0,0 @@
[
{
"status": "discover",
"name": "Untitled (64:79)",
"ip": "10.20.0.122",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:7D:B8:84:64:79",
"meta": {
"memory": {
"slots": 1,
"total": 2147483648,
"maximum_capacity": 2147483648,
"devices": [
{
"type": "RAM",
"size": 2147483648
}
]
},
"interfaces": [
{
"mac": "64:F1:30:1A:0A:95",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:95:7B:3A:4D:B6",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "10.20.0.122",
"netmask": "255.255.255.0",
"mac": "64:7D:B8:84:64:79",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 1,
"spec": [
{
"model": "QEMU Virtual CPU version 1.0",
"frequency": 3300
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 1,
"manufacturer": "KVM"
},
{
"status": "discover",
"name": "Untitled (56:DD)",
"ip": "10.20.0.94",
"error_type": null,
"pending_addition": false,
"fqdn": null,
"network_data": [],
"platform_name": null,
"cluster": null,
"mac": "64:43:7B:CA:56:DD",
"meta": {
"memory": {
"slots": 1,
"total": 1073741824,
"maximum_capacity": 1073741824,
"devices": [
{
"type": "RAM",
"size": 1073741824
}
]
},
"interfaces": [
{
"mac": "64:D8:E1:F6:66:43",
"max_speed": null,
"name": "eth2",
"current_speed": null
},
{
"mac": "64:C8:E2:3B:FD:6E",
"max_speed": null,
"name": "eth1",
"current_speed": null
},
{
"name": "eth0",
"ip": "10.20.0.94",
"netmask": "255.255.255.0",
"mac": "64:43:7B:CA:56:DD",
"max_speed": null,
"current_speed": null
}
],
"disks": [
{
"model": null,
"disk": "disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4",
"name": "vdb",
"size": 21474836480
},
{
"model": null,
"disk": "disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3",
"name": "vda",
"size": 21474836480
}
],
"system": {
"fqdn": "bootstrap",
"manufacturer": "KVM"
},
"cpu": {
"real": 0,
"total": 1,
"spec": [
{
"model": "QEMU Virtual CPU version 1.0",
"frequency": 3300
}
]
}
},
"role": null,
"online": true,
"progress": 0,
"pending_deletion": false,
"os_platform": "centos",
"id": 2,
"manufacturer": "KVM"
}
]

View File

@ -1,249 +0,0 @@
---
nodes:
- role: compute
network_data:
- name: public
ip: 10.20.0.122
dev: eth0
netmask: 255.255.255.0
gateway: 10.20.0.1
- name:
- management
- storage
ip: 10.20.1.122
dev: eth0
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '1'
default_gateway: 10.20.0.1
uid: '1'
mac: 64:7D:B8:84:64:79
name: compute-01
ip: 10.20.0.122
profile: centos-x86_64
fqdn: compute-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 10.20.0.122
netboot_enabled: '1'
name_servers: 10.20.0.2
puppet_master: fuel.domain.tld
ks_meta: &17570000
ks_spaces: ! '"[{\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:06.0-virtio-pci-virtio3\",\"volumes\":
[{\"mount\": \"/boot\", \"type\": \"partition\", \"size\": 200}, {\"type\":
\"mbr\"}, {\"size\": 20275, \"type\": \"pv\", \"vg\": \"os\"}],\"size\": 19232},{\"type\":
\"vg\", \"id\": \"os\", \"volumes\": [{\"mount\": \"/\", \"type\": \"lv\", \"name\":
\"root\", \"size\": 19232}, {\"mount\": \"swap\", \"type\": \"lv\", \"name\":
\"swap\", \"size\": 1024}]}, {\"type\": \"disk\", \"id\": \"disk/by-path/pci-0000:00:07.0-virtio-pci-virtio4\",
\"volumes\": [{\"type\": \"mbr\"}, {\"size\": 20476, \"type\": \"pv\", \"vg\":
\"cinder-volumes\"}], \"size\": 20476}]"'
mco_enable: 1
mco_vhost: mcollective
mco_pskey: unset
mco_user: mcollective
puppet_enable: 0
install_log_2_syslog: 1
mco_password: marionette
puppet_auto_setup: 1
puppet_master: fuel.domain.tld
mco_auto_setup: 1
auth_key: ! '""'
puppet_version: 2.7.19
mco_connector: rabbitmq
mco_host: 10.20.0.2
interfaces:
eth0:
ip_address: 10.20.0.122
netmask: 255.255.255.0
dns_name: compute-01.domain.tld
static: '1'
mac_address: 64:7D:B8:84:64:79
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: &17588060
memory:
total: 778694656
interfaces:
- mac: 64:D8:E1:F6:66:43
max_speed: 100
name: eth2
ip: 10.22.0.94
netmask: 255.255.255.0
current_speed: 100
- mac: 64:C8:E2:3B:FD:6E
max_speed: 100
name: eth1
ip: 10.21.0.94
netmask: 255.255.255.0
current_speed: 100
- name: eth0
ip: 10.20.0.94
netmask: 255.255.255.0
mac: 64:43:7B:CA:56:DD
max_speed: 100
current_speed: 100
disks:
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0
name: sdc
size: 2411724800000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0
name: sdb
size: 536870912000
- model: VBOX HARDDISK
disk: disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0
name: sda
size: 17179869184
system:
serial: '0'
version: '1.2'
fqdn: bootstrap
family: Virtual Machine
manufacturer: VirtualBox
cpu:
real: 0
total: 1
spec:
- model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
frequency: 2397
error_type:
- role: primary-controller
network_data:
- name: public
ip: 10.20.0.94
dev: eth0
netmask: 255.255.255.0
gateway: 10.20.0.1
- name:
- management
- storage
ip: 10.20.1.94
dev: eth0
netmask: 255.255.255.0
- name: fixed
dev: eth2
public_br: br-ex
internal_br: br-mgmt
id: '2'
default_gateway: 10.20.0.1
uid: '2'
mac: 64:43:7B:CA:56:DD
name: controller-01
ip: 10.20.0.94
profile: centos-x86_64
fqdn: controller-01.domain.tld
power_type: ssh
power_user: root
power_pass: /root/.ssh/bootstrap.rsa
power_address: 10.20.0.94
netboot_enabled: '1'
name_servers: 10.20.0.2
puppet_master: fuel.domain.tld
ks_meta: *17570000
interfaces:
eth0:
ip_address: 10.20.0.94
netmask: 255.255.255.0
dns_name: controller-01.domain.tld
static: '1'
mac_address: 64:43:7B:CA:56:DD
interfaces_extra:
eth0:
onboot: 'yes'
peerdns: 'no'
eth1:
onboot: 'no'
peerdns: 'no'
eth2:
onboot: 'no'
peerdns: 'no'
meta: *17588060
error_type:
attributes:
use_cow_images: true
libvirt_type: kvm
dns_nameservers: 10.20.0.2
verbose: true
debug: true
auto_assign_floating_ip: true
start_guests_on_host_boot: true
create_networks: true
compute_scheduler_driver: nova.scheduler.multi.MultiScheduler
quantum: true
master_hostname: controller-01
nagios: false
proj_name: test
nagios_master: fuelweb.domain.tld
management_vip: 10.20.1.200
public_vip: 10.20.0.200
novanetwork_parameters:
vlan_start: <1-1024>
network_manager: String
network_size: <Integer>
quantum_parameters:
tenant_network_type: gre
segment_range: 300:500
metadata_proxy_shared_secret: quantum
mysql:
root_password: root
glance:
db_password: glance
user_password: glance
swift:
user_password: swift_pass
nova:
db_password: nova
user_password: nova
access:
password: admin
user: admin
tenant: admin
email: admin@example.org
keystone:
db_password: keystone
admin_token: nova
quantum_access:
user_password: quantum
db_password: quantum
rabbit:
password: nova
user: nova
cinder:
password: cinder
user: cinder
floating_network_range: 10.20.0.150/28
fixed_network_range: 10.20.1.0/24
base_syslog:
syslog_port: '514'
syslog_server: 10.20.0.2
syslog:
syslog_port: '514'
syslog_transport: udp
syslog_server: ''
use_unicast_corosync: false
horizon_use_ssl: false
cinder_nodes:
- controller
ntp_servers:
- pool.ntp.org
deployment_id: 1
deployment_mode: ha
deployment_source: cli
deployment_engine: nailyfact
engine:
url: http://localhost/cobbler_api
username: cobbler
password: cobbler

View File

@ -1,85 +0,0 @@
---
nodes:
- status: provisioned
network_data:
- gateway: 192.168.0.1
name: management
netmask: 255.255.255.0
vlan: 102
ip: 192.168.0.2/24
dev: eth0
brd: 192.168.0.255
- gateway: 240.0.1.1
name: public
netmask: 255.255.255.0
vlan: 101
ip: 240.0.1.2/24
dev: eth0
brd: 240.0.1.255
- name: floating
vlan: 120
dev: eth0
- name: fixed
vlan: 103
dev: eth0
- name: storage
vlan: 104
dev: eth0
role: controller
ip: 10.20.0.200
uid: devnailgun.mirantis.com
mac: 52:54:00:0E:B8:F5
- status: provisioned
network_data:
- gateway: 192.168.0.1
name: management
netmask: 255.255.255.0
vlan: 102
ip: 192.168.0.3/24
dev: eth0
brd: 192.168.0.255
- gateway: 240.0.1.1
name: public
netmask: 255.255.255.0
vlan: 101
ip: 240.0.1.3/24
dev: eth0
brd: 240.0.1.255
- name: floating
vlan: 120
dev: eth0
- name: fixed
vlan: 103
dev: eth0
- name: storage
vlan: 104
dev: eth0
role: compute
ip: 10.20.0.221
uid: devnailgun.mirantis.com
mac: 52:54:00:50:91:DD
attributes:
deployment_mode: multinode
deployment_engine: nailyfact
glance:
db_password: glance
user_password: glance
mysql:
root_password: nova
keystone:
db_password: admin
admin_tenant: admin
admin_token: admin
rabbit:
password: nova
user: nova
nova:
db_password: nova
user_password: nova
auto_assign_floating_ip: false
fixed_network_range: 10.0.0.0/24
storage_network_range: 172.16.0.0/24
floating_network_range: 240.0.0.0/24
management_network_range: 192.168.0.0/24
public_network_range: 240.0.1.0/24
task_uuid: deployment_task