Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy using YAML rather than csar fails #5

Open
pmjordan opened this issue Apr 19, 2021 · 2 comments
Open

Deploy using YAML rather than csar fails #5

pmjordan opened this issue Apr 19, 2021 · 2 comments

Comments

@pmjordan
Copy link
Contributor

It is my understanding that deploying from TOSCA YAML files should yield the same result as deploying from a csar.
I can deploy from a csar using
turandot service deploy self-contained --file=dist/self-contained.csar
but the command string
turandot service deploy self-contained --file=examples/self-contained/self-contained.yaml
results in the service continually toggling between the states of 'Instantiating' and 'Not instantiated'
while the command string
turandot service deploy self-contained --directory=examples/self-contained
does not seem to start and service provision process.

Adding -vv did not result in any additional output which might indicate a problem

@tliron
Copy link
Owner

tliron commented Apr 19, 2021

The --directory switch does not actually work yet, it's a placeholder.

It might be best to remove this switch. The idea is that it will actually create a CSAR for you, which may be unnecessary duplication.

@tliron
Copy link
Owner

tliron commented Apr 19, 2021

More info: the assumption was that puccini-csar, which is currently written in bash, would be converted to Go, which would in turn provide us with an API to use here. It is not clear if this is going to happen anytime soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants