tliron/khutulun

Invalid URL even if the template exists

Opened this issue · 0 comments

Hello !

I created a TOSCA template in /tmp/valid/main.yaml.
I succeed in register it with :

$ khutulun template register valid-main file:///tmp/valid/main.yaml
$ khutulun template fetch valid-main
.lock
main.yaml
$ ls /tmp/khutulun/state/_/template/valid-main/main.yaml
> # OK

But every time I try to use the deploy command I get this error :

$ khutulun service deploy valid-main --template valid-main                                                             
Aborted: invalid URL: /home/freyja/khutulun/state/_/template/valid-main/main.yaml

Same with other option :

$ khutulun service deploy valid-main -m file:///tmp/valid/main.yaml
Aborted: invalid URL: # NOTE : the path is valid though
$ khutulun service deploy valid-main -m /tmp/valid/main.yaml
invalid URL: /tmp/valid/main.yaml