stackhpc / sib-kayobe-config

Kayobe configuration for SIB OpenStack development
Apache License 2.0
1 stars 1 forks source link

Using seed as Ansible Control Host exposes Kayobe bug #8

Open jovial opened 5 years ago

jovial commented 5 years ago

kayobe overcloud service deploy currently fails with:

TASK [Ensure Ironic Python Agent images are copied onto the local machine] *************************************************************************************************
ok: [control-0] => (item={u'dest': u'ipa.vmlinuz', u'src': u'ipa.vmlinuz'})
 [WARNING]: sftp transfer mechanism failed on [10.12.3.3]. Use ANSIBLE_DEBUG=1 to see detailed information

 [WARNING]: scp transfer mechanism failed on [10.12.3.3]. Use ANSIBLE_DEBUG=1 to see detailed information

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: IOError: [Errno 13] Permission denied: '/opt/kayobe/images/ipa/ipa.initramfs'
fatal: [control-0]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}

The current workaround is to use this patch: https://github.com/jovial/kayobe/commit/b59c872af9ed8a452aba396f77c801888c7ff76f, however this overwrites the seed's IPA deployment images. A proper fix needs to be submitted upstream.

jovial commented 5 years ago

I've made an upstream issue for this: https://storyboard.openstack.org/#!/story/2003854