.pyc files should be cleaned up after updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Vladimir Khlyunev |
Bug Description
Detailed bug description:
https:/
Expected results:
Issue was fixed and does not reproduces
Actual result:
Issue reproduces but source code was updated.
Root cause: .pyc files wasn't cleaned up after updates so old code is executing.
Workaround:
Delete pyc file(s) then restart services
Impact:
100% swarm tests - we actually receiving non-consistent updates
====== logs =====
[root@nailgun ~]# rpm -qf /usr/lib/
fuel-nailgun-
app.log:
File "/usr/lib/
cls.__class__,
File "/usr/lib/
:http: * 202 (task successfully executed)
File "/usr/lib/
self.
base.py:
572 """:returns: JSONized Task object.
573
574 :http: * 202 (task successfully executed)
575 * 400 (invalid object data specified)
576 * 404 (environment is not found)
577 * 409 (task with such parameters already exists)
578 """
Steps to reproduce:
install 9.1 env with latest repos
create and start deploy from UI
add some additional node to cluster(cli)
start deploy again(cli)
[root@nailgun ~]# fuel --env 1 deploy-changes
500 Server Error: Internal Server Error for url: http://
Should be "400 Error" with problem description.
Reproducibility:
few last snapshots
SWARMs affected too
affects: | mos → fuel |
Changed in fuel: | |
milestone: | none → 9.1 |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
description: | updated |
summary: |
- Wrong packaging fuel-web + .pyc files should be cleaned up after updates |
tags: | added: area-python |
Changed in fuel: | |
status: | New → Confirmed |
tags: |
added: area-library removed: area-python |
critical cause it affects all swarm tests