cinder-volume is marked down during image uploads

Bug #1764740 reported by Fabian Zimmermann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned

Bug Description

cinder-volume-Agent is marked as down if upload of volume needs longer than heartbeat-timeout.

steps to reproduce:

1. create a big Volume (f.e. 100G)
2. fill the volume with data to avoid too fast upload
3. tell cinder to upload the volume as image
4. watch cinder-volume-agent being marked as DOWN, because noch heartbeat-update is done during upload.

the last line in cinder-volume.log is the curl-CMD to upload the image. As soon as the upload completed the agent will reconnect the lost mysql-connection and is back active.

Revision history for this message
Fabian Zimmermann (dev-faz) wrote :

Version: PIKE

Revision history for this message
Fabian Zimmermann (dev-faz) wrote :

Could validate, the problem is *new* since Pike. Rebuild setup with Ocata and agent remains reporting state during upload.

Revision history for this message
Fabian Zimmermann (dev-faz) wrote :

if I install cinder-volume via pip under python3 it working as expected, so working setups

* Ocata with python2.7
* Pike with python3.5

not working

* Pike with python2.7

I would prefer running in python2.7, because in python3.5 the RBDDriver is failing with "JSON/Bytes"-errors and I had to do a really dirty qick-hack to get the volume-agent started.

Revision history for this message
Fabian Zimmermann (dev-faz) wrote :

Looks like problem is caused by ubuntu or one of the pkg ubuntu is using in 16.04. Just installed the latest stable/pike-branch directly with pip and even python 2.7 is working as expected.

Feel free to close/invalidate this bug. I will try to create a suitable bug in ubuntu-pkg-bugtracker

Changed in cinder:
status: New → Invalid
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.