Forum archive
[TKLDev] Problems using TKLDev on Docker or OpenStack
Hello, i am trying to use tkldev for creating new products.
First, i used the tkldev Docker's image (from: spam filter) but i got the following error:
root@9ec4e2bbb35f products/core# make
deck /turnkey/fab/bootstraps/wheezy build/bootstrap
Traceback (most recent call last):
File "/usr/lib/deck/wrapper.py", line 18, in <module>
CliWrapper.main()
File "/usr/lib/python2.7/dist-packages/pyproject.py", line 388, in main
commands.run(name, args)
File "/usr/lib/python2.7/dist-packages/pyproject.py", line 261, in run
command.module.main()
File "/usr/lib/deck/pylib/cmd_deck.py", line 128, in main
func(source_path, new_deck)
File "/usr/lib/deck/pylib/deck.py", line 299, in create
Deck.init_create(source_path, deck_path)
File "/usr/lib/deck/pylib/deck.py", line 215, in init_create
deck.mount()
File "/usr/lib/deck/pylib/deck.py", line 246, in mount
aufs.mount(levels, self.path)
File "/usr/lib/deck/pylib/aufs.py", line 35, in mount
command("useraufs-mount", "--udba=reval", path, *branches)
File "/usr/lib/python2.7/dist-packages/executil.py", line 66, in getoutput
raise ExecError(command, exitcode, output)
executil.ExecError: non-zero exitcode (1) for command: useraufs-mount '--udba=reval' 'build/bootstrap' '/turnkey/fab/products/core/build/.deck/levels/42317b09edf6be0a129bf75c9085c6b3' '/turnkey/fab/bootstraps/wheezy'
mount: permission denied
fatal: non-zero exitcode (32) for command: mount -t aufs -o 'dirs=/turnkey/fab/products/core/build/.deck/levels/42317b09edf6be0a129bf75c9085c6b3:/turnkey/fab/bootstraps/wheezy,udba=reval' 'none' 'build/bootstrap'
make: *** [build/stamps/bootstrap] Error 1
To obtain this error, i followed this steps: pastebin.com/eYeAtE8M from the tkldev guide (redacted for the spam filter).
To bypass this error i tried to use the OpenStack image (from: spam filter) and came accross 2 problems:
I think i am doing something wrong but i didn't find any clues or info on the actual errors. So if anyone managed to use tkldev on OpenStack or Docker can you give me the correct steps.
Thanks - Geoffroy