diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron/neutron-init | 15 | ||||
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron_git.bb | 7 |
2 files changed, 17 insertions, 5 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-init index fe98dcb..d0ae023 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-init +++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-init | |||
| @@ -44,8 +44,13 @@ sudo -u ${NEUTRON_USER} neutron-db-manage --config-file /etc/neutron/neutron.con | |||
| 44 | HOME=${ROOT_HOME} rabbitmqctl add_user openstack ${ADMIN_PASSWORD} | 44 | HOME=${ROOT_HOME} rabbitmqctl add_user openstack ${ADMIN_PASSWORD} |
| 45 | HOME=${ROOT_HOME} rabbitmqctl set_permissions openstack ".*" ".*" ".*" | 45 | HOME=${ROOT_HOME} rabbitmqctl set_permissions openstack ".*" ".*" ".*" |
| 46 | 46 | ||
| 47 | #systemctl restart nova-api | 47 | # enable and start the various services |
| 48 | systemctl restart neutron-server | 48 | systemctl enable neutron-server |
| 49 | systemctl restart neutron-linuxbridge-agent | 49 | systemctl enable neutron-linuxbridge-agent |
| 50 | systemctl restart neutron-dhcp-agent | 50 | systemctl enable neutron-dhcp-agent |
| 51 | systemctl restart neutron-metadata-agent | 51 | systemctl enable neutron-metadata-agent |
| 52 | |||
| 53 | systemctl start neutron-server | ||
| 54 | systemctl start neutron-linuxbridge-agent | ||
| 55 | systemctl start neutron-dhcp-agent | ||
| 56 | systemctl start neutron-metadata-agent | ||
diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb index edf9096..a054551 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb | |||
| @@ -418,5 +418,12 @@ SYSTEMD_SERVICE_${SRCNAME}-linuxbridge-agent = "neutron-linuxbridge-agent.servic | |||
| 418 | SYSTEMD_SERVICE_${SRCNAME}-metadata-agent = "neutron-metadata-agent.service" | 418 | SYSTEMD_SERVICE_${SRCNAME}-metadata-agent = "neutron-metadata-agent.service" |
| 419 | SYSTEMD_SERVICE_${SRCNAME}-setup = "neutron-init.service" | 419 | SYSTEMD_SERVICE_${SRCNAME}-setup = "neutron-init.service" |
| 420 | 420 | ||
| 421 | # Disable unconfigured services | ||
| 422 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-server = "disable" | ||
| 423 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-dhcp-agent = "disable" | ||
| 424 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-linuxbridge-agent = "disable" | ||
| 425 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-metadata-agent = "disable" | ||
| 426 | |||
| 427 | |||
| 421 | MONITOR_SERVICE_PACKAGES = "${SRCNAME}" | 428 | MONITOR_SERVICE_PACKAGES = "${SRCNAME}" |
| 422 | MONITOR_SERVICE_${SRCNAME} = "neutron" | 429 | MONITOR_SERVICE_${SRCNAME} = "neutron" |
