Unexpected dockerctl lock after deployment

Bug #1513445 reported by Egor Kotko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Bartłomiej Piotrowski

Bug Description

The CI test backup_restore_master_base failed:
https://product-ci.infra.mirantis.net/job/8.0.system_test.ubuntu.backup_restore_master/35/testReport/%28root%29/backup_restore_master_base/backup_restore_master_base/

        Scenario:
            1. Revert snapshot "empty"
            2. Backup master
            3. Check backup
            4. Restore master
            5. Check restore
            6. Check iptables

Actual result:

+ set -e
+ lock
+ [[ '' -eq 1 ]]
+ exec
+ flock -n 904
+ echo 'Failed to acquire the lock.'
+ exit 1

Revision history for this message
Egor Kotko (ykotko) wrote :
Dmitry Pyzhov (dpyzhov)
tags: added: area-library
Dmitry Klenov (dklenov)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Raising to critical as the locking errors are blocker for the master node containers.
For my env deployed from the build #233, all containers but nginx shown in the BACKOFF state. And I cannot neither restart them with nailgun (ERROR (already started)) nor destroy and start with dockerctl ("Failed to acquire the lock")

Changed in fuel:
importance: High → Critical
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

I found a w/a. The command removing the lock all the time, made all containers to be run by supervisorctl logic, eventually.

while true; do rm -f /var/lock/dockerctl ; sleep 1; done &

Dmitry Pyzhov (dpyzhov)
tags: added: regression-8.0
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

https://review.openstack.org/#/c/242488/ fixes this (still not merged)

Changed in fuel:
status: Confirmed → Fix Committed
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Bartłomiej Piotrowski (bpiotrowski)
Revision history for this message
Vasily Gorin (vgorin) wrote :
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Vasily Gorin (vgorin) wrote :

Verified by CI on ISO 207

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.