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

Documentation error on hello-world example , version : v0.5.0 #12

Open
mimihuhux opened this issue Aug 14, 2021 · 3 comments
Open

Documentation error on hello-world example , version : v0.5.0 #12

mimihuhux opened this issue Aug 14, 2021 · 3 comments

Comments

@mimihuhux
Copy link

Hi friend,
can you help to report the error is what reason, ths...

2021/08/14 14:16:29.761 INFO [turandot-operator.controller] updating Clout status for service: workspace/hello-world
2021/08/14 14:16:29.761 INFO [turandot-operator.controller] Event(v1.ObjectReference{Kind:"Service", Namespace:"workspace", Name:"hello-world", UID:"7d0841a3-12b5-4d4c-b119-bcc45837c2bf", APIVersion:"turandot.puccini.cloud/v1alpha1", ResourceVersion:"121596", FieldPath:""}): type: 'Normal' reason: 'Compiled' Service template compiled successfully
2021/08/14 14:16:29.781 INFO [turandot-operator.controller] getting artifacts from Clout: /cache/clout/workspace-hello-world-7d0841a3-12b5-4d4c-b119-bcc45837c2bf.yaml
2021/08/14 14:16:29.809 INFO [turandot-operator.controller] updating instantiation status to "NotInstantiated" for service: workspace/hello-world
2021/08/14 14:16:29.809 INFO [turandot-operator.controller] Event(v1.ObjectReference{Kind:"Service", Namespace:"workspace", Name:"hello-world", UID:"7d0841a3-12b5-4d4c-b119-bcc45837c2bf", APIVersion:"turandot.puccini.cloud/v1alpha1", ResourceVersion:"121597", FieldPath:""}): type: 'Warning' reason: 'InstantiationError' Service instantiation error: TypeError: Object has no member 'exec' at internal:kubernetes.artifacts.get:1:87(5)
2021/08/14 14:16:29.817 INFO [kutil.url] deleted temporary file "/tmp/kutil-docker10.102.235.1135000workspaceservice-templates-hello-world-a2fdf5cf-55fc-4cc0-8ac7-fa8025f5b465latestformat=csar-4256242706"
2021/08/14 14:16:29.817 INFO [turandot-operator.processor.services] requeuing unfinished work item (1 time) workspace/hello-world
2021/08/14 14:16:29.823 INFO [turandot-operator.processor.services] processing work item workspace/hello-world
2021/08/14 14:16:29.832 INFO [turandot-operator.controller] instantiating service: workspace/hello-world
2021/08/14 14:16:29.832 INFO [turandot-operator.controller] updating instantiation status to "Instantiating" for service: workspace/hello-world
2021/08/14 14:16:29.861 INFO [turandot-operator.controller] compiling TOSCA service template: docker://10.102.235.113:5000/workspace/service-templates-hello-world-a2fdf5cf-55fc-4cc0-8ac7-fa8025f5b465:latest?format=csar
2021/08/14 14:16:29.861 INFO [turandot-operator.controller] inputs: map[]
2021/08/14 14:16:29.861 INFO [puccini.parser] {read} $Root: docker://10.102.235.113:5000/workspace/service-templates-hello-world-a2fdf5cf-55fc-4cc0-8ac7-fa8025f5b465:latest?format=csar
2021/08/14 14:16:29.861 INFO [kutil.url] downloading from "docker://10.102.235.113:5000/workspace/service-templates-hello-world-a2fdf5cf-55fc-4cc0-8ac7-fa8025f5b465:latest?format=csar" to temporary file "/tmp/kutil-docker10.102.235.1135000workspaceservice-templates-hello-world-a2fdf5cf-55fc-4cc0-8ac7-fa8025f5b465latestformat=csar-3104360571"
2021/08/14 14:16:29.892 INFO [kutil.url] downloading from "docker://10.102.235.113:5000/workspace/service-templates-hello-world-a2fdf5cf-55fc-4cc0-8ac7-fa8025f5b465:latest?format=csar" to temporary file "/tmp/kutil-docker10.102.235.1135000workspaceservice-templates-hello-world-a2fdf5cf-55fc-4cc0-8ac7-fa8025f5b465latestformat=csar-391229009"
2021/08/14 14:16:30.401 INFO [turandot-operator.controller] updating Clout status for service: workspace/hello-world
2021/08/14 14:16:30.402 INFO [turandot-operator.controller] Event(v1.ObjectReference{Kind:"Service", Namespace:"workspace", Name:"hello-world", UID:"7d0841a3-12b5-4d4c-b119-bcc45837c2bf", APIVersion:"turandot.puccini.cloud/v1alpha1", ResourceVersion:"121602", FieldPath:""}): type: 'Normal' reason: 'Compiled' Service template compiled successfully
2021/08/14 14:16:30.419 INFO [turandot-operator.controller] getting artifacts from Clout: /cache/clout/workspace-hello-world-7d0841a3-12b5-4d4c-b119-bcc45837c2bf.yaml
2021/08/14 14:16:30.439 INFO [turandot-operator.controller] updating instantiation status to "NotInstantiated" for service: workspace/hello-world
2021/08/14 14:16:30.439 INFO [turandot-operator.controller] Event(v1.ObjectReference{Kind:"Service", Namespace:"workspace", Name:"hello-world", UID:"7d0841a3-12b5-4d4c-b119-bcc45837c2bf", APIVersion:"turandot.puccini.cloud/v1alpha1", ResourceVersion:"121607", FieldPath:""}): type: 'Warning' reason: 'InstantiationError' Service instantiation error: TypeError: Object has no member 'exec' at internal:kubernetes.artifacts.get:1:87(5)
2021/08/14 14:16:30.446 INFO [kutil.url] deleted temporary file "/tmp/kutil-docker10.102.235.1135000workspaceservice-templates-hello-world-a2fdf5cf-55fc-4cc0-8ac7-fa8025f5b465latestformat=csar-3104360571"

@mimihuhux
Copy link
Author

1

2

@tliron
Copy link
Owner

tliron commented Aug 14, 2021

Hi! The error is simple -- you probably did a "git clone" and are using the main branch, but you downloaded version 0.5.0 and things have changed since then. So do a "git checkout tags/v0.5.0 -b main" to make sure you're in the right state.

@mimihuhux
Copy link
Author

HI ,Tlion,
Thank you,Problem solved.
The reason for the problem is that the Turandot-operator version is inconsistent with the Git code v0.5.0, recompile turandot-operator for v0.5.0, its ok..
ok

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