Skip to content

invalid volume specification on reschedule #22436

Closed
@wallnerryan

Description

Kubernetes 1.2.0 and 1.1.1
Docker 1.10.2
Flocker 1.10.2

The spec below works fine on creation, but when I kill a node and the scheduler reschedules the POD the below error occurs

 14s   14s     1       {kubelet host3}       spec.containers{flocker-ghost}  Created Created with docker id 248205ed7016                                                  │··········································
  4s    4s      1       {kubelet host4}       spec.containers{flocker-ghost}  Failed  Failed to start with docker id f1a4a8c3a264 with error: API error (500): Invalid volu│··········································
me specification: ':/usr/share/nginx/html'

spec with volumes

        volumeMounts:                                                                                                                                                                                
          # name must match the volume name below                                                                                                                                                    
          - name: nginxdata                                                                                                                                                                          
            mountPath: "/usr/share/nginx/html"                                                                                                                                                       
      volumes:                                                                                                                                                                                       
        - name: nginxdata                                                                                                                                                                            
          flocker:                                                                                                                                                                                  
            datasetName: testvol-poc

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions