file exists when running ansible playbook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Kevin Carter |
Bug Description
When running playbooks in parallel we can run into the following exception.
2019-12-30 16:18:29 | Exception occured while running the command
2019-12-30 16:18:29 | Traceback (most recent call last):
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | super(Command, self).run(
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | return super(Command, self).run(
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | return_code = self.take_
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | inflight=inflight)
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | undercloud_
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | _check_
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | **playbook_args
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | status, rc = runner.run()
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | searchwindowsiz
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | timeout, searchwindowsize, async_)
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | return exp.expect_
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | incoming = spawn.read_
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | return super(spawn, self).read_
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | self._log(s, 'read')
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | second_log.write(s)
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | self._emit_
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | self._event_
2019-12-30 16:18:29 | File "/usr/lib/
2019-12-30 16:18:29 | os.mkdir(
2019-12-30 16:18:29 | OSError: [Errno 17] File exists: '/tmp/tripleoSr
2019-12-30 16:18:29 | [Errno 17] File exists: '/tmp/tripleoSr
This issue is being caused by our overloaded output callback plugin, which was introduced in the following change: https:/
This change should be reverted and reworked.
Changed in tripleo: | |
assignee: | nobody → Kevin Carter (kevin-carter) |
status: | New → In Progress |
Changed in tripleo: | |
importance: | Undecided → High |
Reviewed: https:/ /review. opendev. org/700782 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=dbfe9882656 63acaae9d7e1c03 ccefd28f01c2a8
Committed: https:/
Submitter: Zuul
Branch: master
commit dbfe988265663ac aae9d7e1c03ccef d28f01c2a8
Author: Kevin Carter (cloudnull) <email address hidden>
Date: Mon Dec 30 17:37:20 2019 +0000
Revert "Overload stdout callback plugin"
This reverts commit 49d3f725f2be068 1b6e76178137278 2e2514c869.
Closes-Bug: #1858115 ea7f8bafefa8e7e e7f9726a193
Change-Id: I49d560b2634847
Signed-off-by: Kevin Carter <email address hidden>