This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DEPRECATED. The libvirt VIF driver to configure the | |
# VIFs.This option is deprecated and will be removed in the | |
# Juno release. (string value) | |
# Deprecated group;name - DEFAULT;libvirt_vif_driver | |
#vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network_controller: | |
- "%{network_service}" | |
- "%{network_service}::server" | |
- "%{network_service}::server::notifications" | |
- "%{network_service}::agents::metadata" | |
- "%{network_service}::agents::l3" | |
- "%{network_service}::agents::lbaas" | |
- "%{network_service}::agents::vpnaas" | |
- "%{network_service}::agents::dhcp" | |
- "%{network_service}::agents::%{network_plugin}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$my_hash = { 'foo1' => {'user' => 'a', 'pass' => 'p', 'ip' => '1.2.3.4'}, 'foo2' => {'user' => 'b', 'pass' => 'p', 'ip' => '4.5.6.7'}} | |
create_resources(do_thing, $my_hash) | |
define do_thing(user, pass, ip) { | |
exec {'do_something': | |
command => "ssh -l ${user} ${ip} < ${pass}" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@compute1 face]# puppet partial select compute1 | |
Notice: Scope(Node[default]): my scenario is stacktira | |
Notice: Scope(Node[default]): my role is compute | |
Notice: Scope(Node[default]): class groups: cinder_volumeceilometer_computenova_compute_ml2firewall_compute | |
Notice: Scope(Node[default]): Including node classes : openstacklib::repo openstacklib::hosts openstacklib::openstack::netns openstacklib::compat::nova mysql::bindings openstacklib::firewall::compute | |
Notice: Scope(Class_group[cinder_volume]): including cinder cinder::volume cinder::config cinder::volume::iscsi | |
Notice: Scope(Class_group[ceilometer_compute]): including ceilometer ceilometer::agent::auth ceilometer::agent::compute | |
Notice: Scope(Class_group[nova_compute_ml2]): including nova nova::compute nova::config nova::compute::libvirt nova::network::neutron nova::compute::neutron neutron::agents::ml2::ovs neutron neutron::plugins::ml2 | |
Notice: Scope(Class_group[firewall_compute]): including openstacklib::firewall openstacklib::firewall::base openst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class openstack_extras::repo::redhat::redhat( | |
$release = 'icehouse', | |
$manage_rdo = true, | |
$repo_hash = {}, | |
$repo_defaults = { 'enabled' => '1', | |
'gpgcheck' => '1', | |
'notify' => "Exec['yum_refresh']", | |
'mirrorlist' => 'absent', | |
'require' => "Anchor['openstack_extras_redhat']" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# logstash configuration format production function | |
def logstash_config(obj, depth=0) | |
d = depth | |
white = ' ' | |
case obj | |
when String, Fixnum, Float, TrueClass, FalseClass, NilClass | |
return " => #{obj.to_s}\n" | |
when NilClass | |
return " { }\n" | |
when Array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-09-08 03:10:45.500 19865 DEBUG nova.servicegroup.api [req-72a0618d-9b4b-417c-bfdf-00b1fe22b343 07c4c5c50ecd4451a0bd1e5297331376 95ed0ee9924f478e914f0e9c70c2fa76] Check if the given member [<nova.objects.service.Service object at 0x6e54950>] is part of the ServiceGroup, is up service_is_up /usr/lib/python2.6/site-packages/nova/servicegroup/api.py:116 | |
2014-09-08 03:10:45.500 19865 DEBUG nova.servicegroup.drivers.db [req-72a0618d-9b4b-417c-bfdf-00b1fe22b343 07c4c5c50ecd4451a0bd1e5297331376 95ed0ee9924f478e914f0e9c70c2fa76] DB_Driver.is_up last_heartbeat = 2014-09-08 03:02:03 elapsed = 522.500493 is_up /usr/lib/python2.6/site-packages/nova/servicegroup/drivers/db.py:71 | |
2014-09-08 03:10:45.500 19865 DEBUG nova.servicegroup.api [req-72a0618d-9b4b-417c-bfdf-00b1fe22b343 07c4c5c50ecd4451a0bd1e5297331376 95ed0ee9924f478e914f0e9c70c2fa76] Check if the given member [<nova.objects.service.Service object at 0x6e54410>] is part of the ServiceGroup, is up service_is_up /usr/lib/python2.6/site-packages/nova/servicegroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
chroot /var/lib/haproxy | |
daemon | |
group haproxy | |
maxconn 4000 | |
pidfile /var/run/haproxy.pid | |
stats socket /var/lib/haproxy/stats | |
user haproxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class consul_profile::openstack::compute { | |
if ! hiera('mysql_Address', false) { | |
runtime_fail { 'novadbdep': | |
fail => true, | |
message => 'novadbdep: requires mysql_Address', | |
} | |
} else { | |
Consul_profile::Discovery::Consul::Multidep<| title == 'novamultidep' |> { | |
response +> 'novadbdep' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ openstack overcloud deploy --templates --libvirt-type qemu -e /usr/share/openstack-tripleo-heat-templates/environments/opendaylight.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml --control-scale 3 --compute-scale 2 -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml -e network-environment.yaml --ntp-server pool.ntp.org | |
Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates | |
Stack failed with status: Resource CREATE failed: resources.ControllerServicesBaseDeployment_Step2: resources.ControllerNodesPostDeployment.Error: resources[2]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 6 | |
Heat Stack create failed. |