tripleo-image-elements/elements
Dan Prince cae4740ee2 os-net-config: add configure_safe_defaults
This patch adds a new configure_safe_defaults function that
is called on EXIT. If the exit code is non-zero the function
executes code to configure DHCP on all active interfaces.

Since DHCP is used to initially bootstrap all TripleO instances
via the provisioning network this should always be a safe default
and allow communication with Heat to persist if an invalid
(breaking) network configuration change is pushed out. This would
facilitate immediate Heat notification of the failure and subsequent
Heat updates to potentially help correct the invalid network
configuration.

Change-Id: Ibccba1ee77aa13c85a78a75d2e6cd179f87d7d16
Depends-on: Ibe0e32bc09979bc68b92a722b2bfa383e77502a9
2015-09-17 21:05:22 -04:00
..
ansible Remove /opt/stack/{repo} files 2015-02-03 09:50:31 +00:00
apache2 Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
bandersnatch Fix the bandersnatch element on ubuntu 2014-12-03 11:51:35 +00:00
bm-dnsmasq Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
boot-stack Fix path to neutron dsn. 2015-04-30 14:45:41 +01:00
ceilometer Merge "Ceilometer API fails: bad rabbit_use_ssl setting" 2015-02-11 10:01:37 +00:00
ceilometer-agent-central Migrate ceilometer elements to svc-map 2014-10-15 12:03:00 -04:00
ceilometer-agent-compute Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
ceilometer-agent-notification Migrate ceilometer elements to svc-map 2014-10-15 12:03:00 -04:00
ceilometer-alarm-evaluator Add package support to ceilometer-alarm-evaluator 2014-11-16 21:23:51 -05:00
ceilometer-alarm-notifier Add package support to ceilometer-alarm-notifier 2014-11-16 21:23:42 -05:00
ceilometer-api Have all os-refresh-config elements use su instead of sudo 2015-05-19 16:47:18 -04:00
ceilometer-collector Migrate ceilometer elements to svc-map 2014-10-15 12:03:00 -04:00
ceilometer-overcloud-config Ceilometer Config element for custom pipeline 2014-05-21 16:42:39 +02:00
ceilometer-undercloud-config Using arithmetic transformers in pipeline 2014-08-06 11:06:13 +02:00
check_mk-agent Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
cinder Remove /opt/stack/{repo} files 2015-02-03 09:50:31 +00:00
cinder-api Have all os-refresh-config elements use su instead of sudo 2015-05-19 16:47:18 -04:00
cinder-lio Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
cinder-tgt Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
cinder-volume Adds svc-map to cinder elements 2014-10-15 09:15:48 -04:00
cinder-volume-nfs Improve nfs-server to support multiple shares and options 2014-10-20 11:53:16 +02:00
collectl Store collectl logs in /mnt/state/var/log/collectl 2015-01-21 10:28:30 +00:00
common-venv Add a new common-venv element 2014-04-19 08:08:45 -04:00
corosync Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
debian-mirror Add a debian-mirror element 2014-01-29 11:24:16 +11:00
delorean-repo Make delorean.repo overrideable 2015-04-23 11:27:05 -04:00
devstack Fix dib-lint failures 2014-07-31 12:25:59 -04:00
disable-os-collect-config Stop, disable, exit os-collect-config early 2015-01-15 09:27:46 -05:00
diskimage-builder sort the element-deps to please dib-lint 2014-04-24 15:38:03 +02:00
enable-packages-install Use DIB_DEFAULT_INSTALLTYPE=package 2014-12-23 14:12:26 -05:00
fedora-rdo-icehouse Update fedora-rdo-icehouse element 2014-08-27 08:56:56 -04:00
fedora-rdo-icehouse-repository Update fedora-rdo-icehouse element 2014-08-27 08:56:56 -04:00
geard Migrate geard to svc-map 2014-10-16 17:59:07 -04:00
glance Have all os-refresh-config elements use su instead of sudo 2015-05-19 16:47:18 -04:00
haproxy Allow configurable healthcheck interval 2015-02-19 12:57:30 +00:00
heat Temporarily remove Heat migration 065 2015-08-28 15:58:59 -04:00
heat-api Migrate heat-api element to svc-map 2014-11-12 09:37:11 -05:00
heat-cfntools Update pbr version to match global requirements 2015-07-02 16:53:06 +01:00
heat-engine Have all os-refresh-config elements use su instead of sudo 2015-05-19 16:47:18 -04:00
horizon Merge "Compile horizon translation files." 2015-04-22 23:12:18 +00:00
hosts Downcase /etc/hosts entries 2015-04-24 13:26:26 +02:00
icinga-core Update icinga install script to enable icmp checks 2014-05-16 13:48:07 +01:00
icinga-web Create install-packages as a binary. 2013-01-31 00:08:58 +01:00
iptables Support RedHatEnterpriseWorkstation in add-rule 2014-12-23 09:49:27 -05:00
ironic Remove /opt/stack/{repo} files 2015-02-03 09:50:31 +00:00
ironic-api Have all os-refresh-config elements use su instead of sudo 2015-05-19 16:47:18 -04:00
ironic-conductor Add support for full images. 2015-06-16 16:51:42 -04:00
jenkins Fix dib-lint failures 2014-07-31 12:25:59 -04:00
keepalived Merge "Use keepalived notify script if virtual_interfaces are defined" 2015-01-09 14:26:42 +00:00
keystone Have all os-refresh-config elements use su instead of sudo 2015-05-19 16:47:18 -04:00
localboot Fix ubuntu grub-pc install failure 2015-04-01 14:13:35 +08:00
mariadb mariadb: call os-svc-enable 2014-08-13 11:46:17 -04:00
mariadb-common Create Fedora 21 softlink for /var/run/mariadb 2015-03-05 13:55:48 -05:00
mariadb-dev Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
mariadb-dev-rpm Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
mariadb-rpm Fix typo in elements/mariadb-rpm/os-refresh-config/configure.d/52-mariadb-rpm-init 2015-03-21 08:19:24 +09:00
memcached Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
multipath Fix multipath.conf devnode blacklist expression 2015-01-27 11:42:53 +00:00
mysql Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
mysql-common tox: fix the test suite 2015-02-02 12:05:21 +00:00
mysql-dev Install the correct mysql-dev package for RHEL6 2014-11-17 01:27:49 -06:00
mysql-mariadb-compat Add mysql-mariadb-compat element 2014-03-25 13:54:03 -05:00
mysql-migration Disable set -x for passwords 2014-12-17 11:47:17 -08:00
nagios3 Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
network-gateway Properly format markdown code blocks 2014-11-12 10:31:01 +09:00
network-utils Ensure-bridge duplicates allow-$bridge stanza 2015-01-12 14:35:36 +00:00
neutron Adds neutron_dhcp_agents_per_network config parameter to neutron.conf 2015-07-09 13:43:32 +03:00
neutron-dhcp-agent Change the kill_metadata executable strings in Neutron 2014-12-03 01:49:27 +00:00
neutron-network-node Remove redundancies between neutron-router and neutron-network-node 2014-10-16 13:56:32 +00:00
neutron-openvswitch-agent Support for configuring Liberty openvswitch_agent.ini 2015-08-27 10:29:28 +01:00
neutron-ovs-cleanup Merge "Configure neutron-ovs-cleanup to run after openvswitch" 2014-07-02 07:39:59 +00:00
neutron-router add ipv6 radvd package to neutron-router 2015-01-05 08:20:05 -08:00
neutron-server Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
nfs-client Improve nfs-server to support multiple shares and options 2014-10-20 11:53:16 +02:00
nfs-server Improve nfs-server to support multiple shares and options 2014-10-20 11:53:16 +02:00
nova Disable dhcp_domain in Nova so we do not append .novalocal 2015-04-28 05:33:28 -04:00
nova-api Have all os-refresh-config elements use su instead of sudo 2015-05-19 16:47:18 -04:00
nova-baremetal Have all os-refresh-config elements use su instead of sudo 2015-05-19 16:47:18 -04:00
nova-compute Fix dib-lint failures 2014-07-31 12:25:59 -04:00
nova-ironic Package install support for nova-ironic 2014-09-12 11:31:10 -04:00
nova-kvm Open port 16509 on compute nodes for Nova live migration 2014-12-09 14:58:26 -08:00
nova-novncproxy Remove /opt/stack/{repo} files 2015-02-03 09:50:31 +00:00
nscd Add new nscd element 2014-11-26 09:54:39 +00:00
ntp NTP service can fail or be slow to stop 2015-02-03 17:33:59 +00:00
openstack-clients Update pbr version to match global requirements 2015-07-02 16:53:06 +01:00
openstack-db indent using 4 spaces (2/3) 2014-05-23 00:30:26 +02:00
openstack-ssl Add ability to disable stunnel 2015-04-23 09:30:48 +01:00
openvswitch Add pkg_map support to openvswitch elements 2014-08-11 09:28:12 +00:00
openvswitch-datapath Add openvswitch-datapath mapping for SUSE 2014-09-02 18:30:22 +02:00
os-apply-config Merge "Update pbr version to match global requirements" 2015-07-02 20:02:16 +00:00
os-cloud-config Merge "Update pbr version to match global requirements" 2015-07-02 20:02:16 +00:00
os-collect-config Merge "Add os-collect-config template for zaqar support" 2015-09-10 13:48:43 +00:00
os-is-bootstrap-host Add os-is-bootstrap-host element and script 2014-06-12 13:56:49 -07:00
os-net-config os-net-config: add configure_safe_defaults 2015-09-17 21:05:22 -04:00
os-refresh-config Merge "Update pbr version to match global requirements" 2015-07-02 20:02:16 +00:00
os-svc-install Update pbr version to match global requirements 2015-07-02 16:53:06 +01:00
pacemaker Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
pip-and-virtualenv Remove setuptools <8.0 pinning 2015-01-05 09:44:26 -08:00
pip-manifest Standardise manifest creation and retrieval 2014-05-26 11:21:18 +01:00
postfix Properly format markdown code blocks 2014-11-12 10:31:01 +09:00
pypi-mirror Fix dib-lint failures 2014-07-31 12:25:59 -04:00
pypi-openstack Use /simple instead of /openstack for pypi mirror 2014-07-10 22:55:09 -07:00
qpidd Properly format markdown code blocks 2014-11-12 10:31:01 +09:00
rabbitmq-server Prevent unclustered RabbitMQ with 0 nodes 2015-04-01 11:35:56 +00:00
rally Fix element-deps file name 2014-11-18 15:26:08 +01:00
rdo-icehouse Fix element-deps file name 2014-11-18 15:26:08 +01:00
rdo-release Default to latest rdo-release 2015-07-20 15:10:57 +02:00
remove-serial-console Fix the grub2 config location for non Ubuntu/Debian systems 2013-12-18 20:37:06 +01:00
restore-ssh-host-keys Correct typo in the restore-ssh-host-keys element 2015-01-26 19:13:11 -05:00
rhel7-rdo-icehouse Add rhel7-rdo-icehouse element 2014-09-05 07:39:34 -04:00
salt-master Create install-packages as a binary. 2013-01-31 00:08:58 +01:00
salt-minion Create install-packages as a binary. 2013-01-31 00:08:58 +01:00
seed-debug-logging Add ability to enable debug logging on seed 2014-10-13 21:06:18 -07:00
seed-stack-config Add neutron.ovs.local_ip to static seed json 2014-11-21 11:50:38 +00:00
selinux Merge "SELinux keepalived read denials" 2015-04-24 14:47:03 +00:00
snmpd Use nagios-common instead of nagios-plugins-all on RHEL. 2015-06-05 08:12:40 -04:00
sosreport Fix dib-lint failures 2014-07-31 12:25:59 -04:00
squid Decrease squids cache max freshness time 2014-09-19 14:48:31 +00:00
ssl-ca Correct unbound variable in ssl-ca element 2015-01-09 18:25:30 +00:00
stackuser Fix dib-lint failures 2014-07-31 12:25:59 -04:00
stunnel Restart stunnel earlier in configure.d 2014-11-18 11:54:12 +00:00
swift Remove /opt/stack/{repo} files 2015-02-03 09:50:31 +00:00
swift-proxy Update pbr version to match global requirements 2015-07-02 16:53:06 +01:00
swift-ring Add pkg-map to swift-ring element dependency file 2014-09-22 16:02:35 +01:00
swift-storage Merge "Adding iptable rules for swift-storage DIB element" 2015-01-16 16:26:27 +00:00
sysctl Remove hack to reformat os-apply-config output 2014-12-18 10:24:37 -05:00
tempest Update pbr version to match global requirements 2015-07-02 16:53:06 +01:00
tripleo-cd Drop usage of keystoneclient 2015-04-23 13:27:18 +01:00
tripleo-heat-templates Correct the README.md descriptions 2014-10-31 16:30:58 -04:00
tripleo-staging Fix dib-lint failures 2014-07-31 12:25:59 -04:00
trove base element for trove control plane elements 2014-05-06 13:09:33 -07:00
trove-api Have all os-refresh-config elements use su instead of sudo 2015-05-19 16:47:18 -04:00
tuskar Merge "Have all os-refresh-config elements use su instead of sudo" 2015-07-08 16:57:53 +00:00
tuskar-ui Fix the STATIC_ROOT after overwriting local_settings.py 2015-01-13 15:52:36 +01:00
use-ephemeral Symlink to backup dir until ephemeral storage available 2014-09-24 10:34:32 +00:00
__init__.py Enable unit testing 2014-03-28 19:55:12 -05:00