project_name and user_name no longer set in mistral action context
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Undecided
|
Steven Hardy | ||
tripleo |
Fix Released
|
Critical
|
Emilien Macchi |
Bug Description
We appear to be losing the credentials which are passed via environment vars for the AnsibleGenerate
2018-01-02 15:49:50 | Deploying overcloud configuration
2018-01-02 15:49:50 | Started Mistral Workflow tripleo.
2018-01-02 15:49:50 | Config downloaded at /var/lib/
2018-01-02 15:49:50 | Failed to run action [action_
2018-01-02 15:49:50 | execve() arg 3 contains a non-string value
description: | updated |
Changed in tripleo: | |
assignee: | Steven Hardy (shardy) → Emilien Macchi (emilienm) |
Changed in tripleo: | |
assignee: | Emilien Macchi (emilienm) → Steven Hardy (shardy) |
Changed in tripleo: | |
assignee: | Steven Hardy (shardy) → Emilien Macchi (emilienm) |
This is the error:
http:// logs.openstack. org/90/ 529590/ 4/check/ tripleo- ci-centos- 7-containers- multinode/ 0132355/ logs/undercloud /var/log/ mistral/ executor. log.txt. gz
2018-01-02 13:33:35.255 3080 ERROR mistral. executors. default_ executor [req-154a5dd8- 44fd-40d6- 853e-c15a91b7c8 af 4e51ff82f53c4e5 69a1f8cfb009ed6 eb e68eaa648d4942a ea66c0c7f4f95c6 9a - default default] Failed to run action [action_ ex_id=25d23c4b- cee6-4e75- 8a7b-7d9d735490 bb, action_cls='<class 'mistral. actions. action_ factory. AnsibleGenerate InventoryAction '>', attributes='{}', params= '{u'ansible_ ssh_user' : u'tripleo-admin', u'work_dir': u'/var/ lib/mistral/ 5ebb0ccf- 67b4-4666- addf-f31f0c5233 66'}'] executors. default_ executor Traceback (most recent call last): executors. default_ executor File "/usr/lib/ python2. 7/site- packages/ mistral/ executors/ default_ executor. py", line 110, in run_action executors. default_ executor result = action. run(action_ ctx) executors. default_ executor File "/usr/lib/ python2. 7/site- packages/ tripleo_ common/ actions/ ansible. py", line 551, in run executors. default_ executor log_errors= processutils. LogErrors. ALL) executors. default_ executor File "/usr/lib/ python2. 7/site- packages/ oslo_concurrenc y/processutils. py", line 386, in execute executors. default_ executor env=env_variables) executors. default_ executor File "/usr/lib/ python2. 7/site- packages/ eventlet/ green/subproces s.py", line 55, in __init__ executors. default_ executor subprocess_ orig.Popen. __init_ _(self, args, 0, *argss, **kwds) executors. default_ executor File "/usr/lib64/ python2. 7/subprocess. py", line 711, in __init__ executors. default_ executor errread, errwrite) executors. default_ executor File "/usr/lib64/ python2. 7/subprocess. py", line 1327, in _execute_child executors. default_ executor raise child_exception executors. default_ executor TypeError: execve() arg 3 contains a non-string value executors. default_ executor
execve() arg 3 contains a non-string value: TypeError: execve() arg 3 contains a non-string value
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.
2018-01-02 13:33:35.255 3080 ERROR mistral.