Skip to content
Snippets Groups Projects
Commit dad0409f authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Create volumes for Bifrost's persistent data"

parents 319dd40f 2f25d435
No related branches found
No related tags found
No related merge requests found
......@@ -37,3 +37,17 @@
chown ironic:ironic /home/ironic/.ssh/id_rsa &&
chown ironic:ironic /home/ironic/.ssh/id_rsa.pub &&
chown ironic:ironic /home/ironic/.ssh/config'
# Ironic creates hardlinks between the TFTP master image store and the
# HTTP root path when iPXE is enabled. With Docker volumes used for these
# locations we run into https://bugs.launchpad.net/ironic/+bug/1507894
# during deployment. If we use a directory under /httpboot to store the
# master images this issue is avoided.
- name: Configuring TFTP master image path
command: |
docker exec bifrost_deploy
bash -c 'cat >> /etc/ironic/ironic.conf << EOF
[pxe]
tftp_master_path = /httpboot/master_images
EOF
systemctl restart ironic-conductor'
......@@ -11,3 +11,8 @@
- "/etc/localtime:/etc/localtime:ro"
- "/dev:/dev"
- "kolla_logs:/var/log/kolla/"
- "bifrost_httpboot:/httpboot/"
- "bifrost_ironic:/var/lib/ironic/"
- "bifrost_mariadb:/var/lib/mysql/"
- "bifrost_rabbitmq:/var/lib/rabbitmq/"
- "bifrost_tftpboot:/tftpboot/"
---
features:
- |
Adds Docker volumes for storing persistent data in the ``bifrost_deploy``
container on the deployment host.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment