You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by OpenWhisk Team Slack <ra...@apache.org> on 2020/10/26 08:53:17 UTC

[slack-digest] [2020-10-25] #general

2020-10-25 09:24:16 UTC - parichehr vahidinia: I want to deploy Openwhisk on Docker using ansible. But when I execute `ansible-playbook initdb.yml` , I get this error: `fatal: [ansible]: FAILED! =&gt; {"msg": "The task includes an option with an undefined variable. The error was: 'str object' has no attribute '_id'\n\nThe error appears to have been in '/home/parichehr/openwhisk/ansible/tasks/db/recreateDoc.yml': line 28, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# fetches the revision of previous view (to update it) if it exists\n- name: check for {{ doc['_id'] }} document in \"{{ dbName }}\" database\n  ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes.  Always quote template expression brackets when they\nstart a value. For instance:\n\n    with_items:\n      - {{ foo }}\n\nShould be written as:\n\n    with_items:\n      - \"{{ foo }}\"\n"}`  How can I fix it?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1603617856149000
----
2020-10-25 12:18:43 UTC - Erez Hadad: I believe my colleagues may be able to provide a patch for OpenWhisk on K8s to deliver that - they used this feature in a project. @David Breitgand @Avi Weit
+1 : Dominic Kim
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1603628323149300?thread_ts=1603551396.137600&cid=C3TPCAQG1
----
2020-10-25 19:07:55 UTC - Michele Sciabarra: You can try to compile your code locally and see the error
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1603652875150300?thread_ts=1603566157.145000&cid=C3TPCAQG1
----
2020-10-25 19:08:03 UTC - Michele Sciabarra: Just go build 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1603652883150700?thread_ts=1603566157.145000&cid=C3TPCAQG1
----
2020-10-25 19:08:30 UTC - Michele Sciabarra: If it is complaining lacking a main just add an empty one 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1603652910151600?thread_ts=1603566157.145000&cid=C3TPCAQG1
----