[MuranoPL] pselect exits on first exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Critical
|
Stan Lagun |
Bug Description
When several threads are running in parallel using pselect function or Parallel macro and when of those threads raise exception
pselect exits (with exception) without waiting for other threads to complete. As a result uncaught exception causes deployment to finish while there are still running threads. Those threads can still report to UI even if no deployment is running from user perspective. Because after deployment local package cache is wiped if such thread accesses its resource file an exception (file not found) is raised and that exception is reported to UI. And if such thread will try to send execution plan that was built earlier it will restart agent listener and it will steal messages from RabbitMQ queues causing subsequent deployments hang
Steps:
1. Deploy OS, CentOS, neutron-gre, Murano, All Ceph, HA (3 KVM controllers, 1 Hardware Compute)
2. Add any Docker Application to environment with k8s cluster
3. Deploy env
Aclual result:
Sometimes deployment failed with error message:
http://
And [OS Errno 2]: No such file in UI Reports
The same bug in upstream: https:/
Changed in mos: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Stan Lagun (slagun) |
milestone: | none → 6.1 |
tags: | added: murano |
description: | updated |
Changed in mos: | |
status: | Confirmed → In Progress |
Changed in mos: | |
status: | In Progress → Fix Committed |
Changed in mos: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: openstack- ci/fuel- 6.1/2014. 2 /review. fuel-infra. org/6377
Change author: Stan Lagun <email address hidden>
Review: https:/