Comment 6 for bug 1507894

Revision history for this message
Chris Hoge (hoge) wrote : Re: 2015-10-20 14:36:10.529 9804 WARNING ironic.conductor.manager [-] Error in deploy of node 5a2ebb83-9303-4738-80cd-33bf10bed74b: [Errno 18] Invalid cross-device link

@mgoddard, following up on this, the workaround is to set all of the image config parameters in the pxe configuration to point to the same drive. For example (I moved the tftp and httpboot to a directory that I could mount as a docker volume):

tftp_root = /imagedata/tftpboot
tftp_master_path = /imagedata/tftpboot/master_images
instance_master_path = /imagedata/httpboot/master_images
images_path = /imagedata/tmp

The images_path is easy to miss, and defaults to /var/lib/python...

As far as I can tell, the only place where hard links are set in Ironic are in image_cache.py