Re: [Openstack] file injection problem

2017-10-26 Thread Eugen Block
as written in source code, "config-drive = true" and file injection using personality are mutually exclusive mechanisms. Interesting, I did it with config-drive=true and it worked for me. But it's great that you found a solution. Zitat von Volodymyr Litovka : Answer is: as written in so

Re: [Openstack] file injection problem

2017-10-26 Thread Eugen Block
Hi, do other injections work with that image, e.g. user-data and ssh-keys? Is it a provider (external) network where you try to launch that instance? I assume you are using cloud-init for this, which version? We've had our troubles with cloud-init, especially for external networks. I file

Re: [Openstack] file injection problem

2017-10-26 Thread Volodymyr Litovka
Answer is: as written in source code, "config-drive = true" and file injection using personality are mutually exclusive mechanisms. On 10/25/17 2:14 AM, Volodymyr Litovka wrote: Also, python-guestfs package installed as well, so Nova is able to use it, at least quick check (snipped from Nova

Re: [Openstack] file injection problem

2017-10-24 Thread Volodymyr Litovka
Also, python-guestfs package installed as well, so Nova is able to use it, at least quick check (snipped from Nova sources) passed: # python2.7 Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>

[Openstack] file injection problem

2017-10-24 Thread Volodymyr Litovka
Hi colleagues, it makes me crazy, but how to make it work file injection into instance? nova.conf already configured with == [DEFAULT] debug=true [libvirt] inject_partition = -1 [guestfs] debug=true [quota] injected_files = 5 injected_file_content_bytes = 10240 injected_file_path_length