Fix rexray systemd unit

Bug #1686421 reported by Spyros Trigazis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Committed
Undecided
M V P Nitesh
Newton
Fix Committed
Undecided
M V P Nitesh
Ocata
Fix Committed
Undecided
M V P Nitesh

Bug Description

Rexray systemd unit has wrong tags for volumes mounts.

We need to set it from :z to rshared.

With :z it when you try to run a container it gives:
Apr 26 12:19:12 st-frtqihafaql-0-l53uh6f7yrxq-swarm-node-t3fafvxqdmdc.cern.ch dockerd-current[2618]: time="2017-04-26T12:19:12.811924062Z" level=error msg="Handler for POST /v1.24/containers/b1f52298aa86e46b0922ba91e2e21c4dd88040b4fdfed75054c3a431e925476d/start returned error: invalid header field value \"oci runtime error: container_linux.go:247: starting container process caused \\\"process_linux.go:359: container init caused \\\\\\\"rootfs_linux.go:54: mounting \\\\\\\\\\\\\\\"/var/lib/libstorage/volumes/strigazi-test-1/data\\\\\\\\\\\\\\\" to rootfs \\\\\\\\\\\\\\\"/var/lib/docker/devicemapper/mnt/555745e1526ecec6db7093995d667d800e89ee1d2b0064b3fea3235c1ae7010c/rootfs\\\\\\\\\\\\\\\" at \\\\\\\\\\\\\\\"/mydata\\\\\\\\\\\\\\\" caused \\\\\\\\\\\\\\\"stat /var/lib/libstorage/volumes/strigazi-test-1/data: no such file or directory\\\\\\\\\\\\\\\"\\\\\\\"\\\"\\n\""

Changed in magnum:
assignee: nobody → Mathieu Velten (matmaul)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/463514
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=ad94578a2f5d3dd7fb6bad57cc7c741227ed5c30
Submitter: Jenkins
Branch: master

commit ad94578a2f5d3dd7fb6bad57cc7c741227ed5c30
Author: Mathieu Velten <email address hidden>
Date: Tue May 9 12:14:38 2017 +0200

    Fix rexray systemd unit

    * remove existing rexray containers in ExecStartPre
    * set volume tag to rshared
    * fix indentation

    Closes-Bug: #1686421
    Change-Id: I71ffd708baac0403dae7d8f38a073240c44e0434

Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
Spyros Trigazis (strigazi) wrote :

@M V P Nitesh

Just cherry-pick from master to ocata and newton.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/467901

Revision history for this message
M V P Nitesh (m-nitesh) wrote :

@Spyros Trigazis
When i'm doing cherry-pick from master to newton , i'm getting merge conflict. Now what should i do for the newton release

Revision history for this message
Spyros Trigazis (strigazi) wrote :

You need to resolve the conflicts.

Revision history for this message
Spyros Trigazis (strigazi) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (stable/ocata)

Reviewed: https://review.openstack.org/467901
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=dacadc2afd4b5675833987ca507ac16dae55996e
Submitter: Jenkins
Branch: stable/ocata

commit dacadc2afd4b5675833987ca507ac16dae55996e
Author: Mathieu Velten <email address hidden>
Date: Tue May 9 12:14:38 2017 +0200

    Fix rexray systemd unit

    * remove existing rexray containers in ExecStartPre
    * set volume tag to rshared
    * fix indentation

    Closes-Bug: #1686421
    Change-Id: I71ffd708baac0403dae7d8f38a073240c44e0434
    (cherry picked from commit ad94578a2f5d3dd7fb6bad57cc7c741227ed5c30)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/468775

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (stable/newton)

Reviewed: https://review.openstack.org/468775
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=012696943a446b352ac1a5e4992034e75fb33ba0
Submitter: Jenkins
Branch: stable/newton

commit 012696943a446b352ac1a5e4992034e75fb33ba0
Author: M V P Nitesh <email address hidden>
Date: Mon May 29 11:38:44 2017 +0530

    Fix rexray systemd unit

    * remove existing rexray containers in ExecStartPre
    * set volume tag to rshared
    * fix indentation

    Change-Id: Id832e012b734f8601dfcdeb80687283e75c87f65
    Closes-Bug: #1686421

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 4.1.2

This issue was fixed in the openstack/magnum 4.1.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 3.3.0

This issue was fixed in the openstack/magnum 3.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 5.0.0

This issue was fixed in the openstack/magnum 5.0.0 release.

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.