{"action":"created","issue":{"url":"https://api.github.com/repos/heptio/ark/issues/572","repository_url":"https://api.github.com/repos/heptio/ark","labels_url":"https://api.github.com/repos/heptio/ark/issues/572/labels{/name}","comments_url":"https://api.github.com/repos/heptio/ark/issues/572/comments","events_url":"https://api.github.com/repos/heptio/ark/issues/572/events","html_url":"https://github.com/heptio/ark/issues/572","id":334825940,"node_id":"MDU6SXNzdWUzMzQ4MjU5NDA=","number":572,"title":"Restic restore fails for dynamically provisioned EFS volume","user":{"login":"trondhindenes","id":1747120,"node_id":"MDQ6VXNlcjE3NDcxMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/1747120?v=4","gravatar_id":"","url":"https://api.github.com/users/trondhindenes","html_url":"https://github.com/trondhindenes","followers_url":"https://api.github.com/users/trondhindenes/followers","following_url":"https://api.github.com/users/trondhindenes/following{/other_user}","gists_url":"https://api.github.com/users/trondhindenes/gists{/gist_id}","starred_url":"https://api.github.com/users/trondhindenes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trondhindenes/subscriptions","organizations_url":"https://api.github.com/users/trondhindenes/orgs","repos_url":"https://api.github.com/users/trondhindenes/repos","events_url":"https://api.github.com/users/trondhindenes/events{/privacy}","received_events_url":"https://api.github.com/users/trondhindenes/received_events","type":"User","site_admin":false},"labels":[{"id":660493774,"node_id":"MDU6TGFiZWw2NjA0OTM3NzQ=","url":"https://api.github.com/repos/heptio/ark/labels/Bug","name":"Bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":{"login":"ncdc","id":354,"node_id":"MDQ6VXNlcjM1NA==","avatar_url":"https://avatars2.githubusercontent.com/u/354?v=4","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"assignees":[{"login":"ncdc","id":354,"node_id":"MDQ6VXNlcjM1NA==","avatar_url":"https://avatars2.githubusercontent.com/u/354?v=4","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/heptio/ark/milestones/6","html_url":"https://github.com/heptio/ark/milestone/6","labels_url":"https://api.github.com/repos/heptio/ark/milestones/6/labels","id":3259201,"node_id":"MDk6TWlsZXN0b25lMzI1OTIwMQ==","number":6,"title":"v0.9.0","description":"","creator":{"login":"nrb","id":321387,"node_id":"MDQ6VXNlcjMyMTM4Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/321387?v=4","gravatar_id":"","url":"https://api.github.com/users/nrb","html_url":"https://github.com/nrb","followers_url":"https://api.github.com/users/nrb/followers","following_url":"https://api.github.com/users/nrb/following{/other_user}","gists_url":"https://api.github.com/users/nrb/gists{/gist_id}","starred_url":"https://api.github.com/users/nrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrb/subscriptions","organizations_url":"https://api.github.com/users/nrb/orgs","repos_url":"https://api.github.com/users/nrb/repos","events_url":"https://api.github.com/users/nrb/events{/privacy}","received_events_url":"https://api.github.com/users/nrb/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":33,"state":"open","created_at":"2018-04-11T14:49:32Z","updated_at":"2018-06-25T22:29:06Z","due_on":"2018-06-28T07:00:00Z","closed_at":null},"comments":27,"created_at":"2018-06-22T10:20:45Z","updated_at":"2018-06-26T13:03:50Z","closed_at":null,"author_association":"NONE","body":"After having successfully performed a restic-integrated backup, and deleting the backed-up namespace, restoring the same fails. The output from the restic pod on the host shows:\r\n```\r\ntime=\"2018-06-21T22:02:50Z\" level=error msg=\"Error getting volume directory name\" controller=pod-volume-backup error=\"volume not found in pod\" error.file=\"utils.go:66\" error.function=GetVolumeDirectory logSource=\"pkg/controller/pod_volume_backup_controller.go:158\" name=nginx-example-pb4kc namespace=heptio-ark\r\ntime=\"2018-06-22T10:15:35Z\" level=error msg=\"Error restoring volume\" controller=pod-volume-restore error=\"error identifying path of volume: expected one matching path, got 0\" error.file=\"pod_volume_backup_controller.go:295\" error.function=singlePathMatch logSource=\"pkg/controller/pod_volume_restore_controller.go:273\" name=nginx-example-20180622121532-zfcj8 namespace=heptio-ark\r\n```\r\n\r\nHere's the full manifest of the backed up item (this was the only stuff living in the backed-up namespace):\r\n```\r\n---\r\napiVersion: v1\r\nkind: Namespace\r\nmetadata:\r\n  name: nginx-example\r\n  labels:\r\n    app: nginx\r\n\r\n---\r\nkind: PersistentVolumeClaim\r\napiVersion: v1\r\nmetadata:\r\n  name: nginx-logs\r\n  namespace: nginx-example\r\n  labels:\r\n    app: nginx\r\nspec:\r\n  storageClassName: aws-efs\r\n  accessModes:\r\n    - ReadWriteOnce\r\n  resources:\r\n    requests:\r\n      storage: 50Mi\r\n\r\n---\r\napiVersion: apps/v1beta1\r\nkind: Deployment\r\nmetadata:\r\n  name: nginx-deployment\r\n  namespace: nginx-example\r\nspec:\r\n  replicas: 1\r\n  template:\r\n    metadata:\r\n      labels:\r\n        app: nginx\r\n      annotations:\r\n        backup.ark.heptio.com/backup-volumes: nginx-logs\r\n    spec:\r\n      volumes:\r\n        - name: nginx-logs\r\n          persistentVolumeClaim:\r\n           claimName: nginx-logs\r\n      containers:\r\n      - image: nginx:1.7.9\r\n        name: nginx\r\n        ports:\r\n        - containerPort: 80\r\n        volumeMounts:\r\n          - mountPath: \"/var/log/nginx\"\r\n            name: nginx-logs\r\n            readOnly: false\r\n\r\n---\r\napiVersion: v1\r\nkind: Service\r\nmetadata:\r\n  labels:\r\n    app: nginx\r\n  name: my-nginx\r\n  namespace: nginx-example\r\nspec:\r\n  ports:\r\n  - port: 80\r\n    targetPort: 80\r\n  selector:\r\n    app: nginx\r\n  type: LoadBalancer\r\n```"},"comment":{"url":"https://api.github.com/repos/heptio/ark/issues/comments/400299908","html_url":"https://github.com/heptio/ark/issues/572#issuecomment-400299908","issue_url":"https://api.github.com/repos/heptio/ark/issues/572","id":400299908,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDI5OTkwOA==","user":{"login":"trondhindenes","id":1747120,"node_id":"MDQ6VXNlcjE3NDcxMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/1747120?v=4","gravatar_id":"","url":"https://api.github.com/users/trondhindenes","html_url":"https://github.com/trondhindenes","followers_url":"https://api.github.com/users/trondhindenes/followers","following_url":"https://api.github.com/users/trondhindenes/following{/other_user}","gists_url":"https://api.github.com/users/trondhindenes/gists{/gist_id}","starred_url":"https://api.github.com/users/trondhindenes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trondhindenes/subscriptions","organizations_url":"https://api.github.com/users/trondhindenes/orgs","repos_url":"https://api.github.com/users/trondhindenes/repos","events_url":"https://api.github.com/users/trondhindenes/events{/privacy}","received_events_url":"https://api.github.com/users/trondhindenes/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T13:03:50Z","updated_at":"2018-06-26T13:03:50Z","author_association":"NONE","body":"hm, how do I use the ark-restic-restore-helper image? I've updated both the ark pod and the restic daemonset pods to use the `gcr.io/andy-heptio/ark:restic-efs-test` image."}}
{"actor":{"display_login":"trondhindenes"}}