{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/4662","labels_url":"https://api.github.com/repos/openshift/origin/issues/4662/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/4662/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/4662/events","html_url":"https://github.com/openshift/origin/issues/4662","id":106344847,"number":4662,"title":"registry redeploy failed when attaching nfs persistent volume","user":{"login":"pstinghua","id":55115,"avatar_url":"https://avatars.githubusercontent.com/u/55115?v=3","gravatar_id":"","url":"https://api.github.com/users/pstinghua","html_url":"https://github.com/pstinghua","followers_url":"https://api.github.com/users/pstinghua/followers","following_url":"https://api.github.com/users/pstinghua/following{/other_user}","gists_url":"https://api.github.com/users/pstinghua/gists{/gist_id}","starred_url":"https://api.github.com/users/pstinghua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pstinghua/subscriptions","organizations_url":"https://api.github.com/users/pstinghua/orgs","repos_url":"https://api.github.com/users/pstinghua/repos","events_url":"https://api.github.com/users/pstinghua/events{/privacy}","received_events_url":"https://api.github.com/users/pstinghua/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/component/imageregistry","name":"component/imageregistry","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/kind/bug","name":"kind/bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"pweil-","id":5230419,"avatar_url":"https://avatars.githubusercontent.com/u/5230419?v=3","gravatar_id":"","url":"https://api.github.com/users/pweil-","html_url":"https://github.com/pweil-","followers_url":"https://api.github.com/users/pweil-/followers","following_url":"https://api.github.com/users/pweil-/following{/other_user}","gists_url":"https://api.github.com/users/pweil-/gists{/gist_id}","starred_url":"https://api.github.com/users/pweil-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pweil-/subscriptions","organizations_url":"https://api.github.com/users/pweil-/orgs","repos_url":"https://api.github.com/users/pweil-/repos","events_url":"https://api.github.com/users/pweil-/events{/privacy}","received_events_url":"https://api.github.com/users/pweil-/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-14T13:49:55Z","updated_at":"2015-10-16T18:47:49Z","closed_at":null,"body":"os: centos 7.1\r\nopenshift: v1.0.5\r\n\r\nnfs server exports\r\n```\r\n[root@master ~]# showmount -e nfs.cloud.sanjiang.info\r\nExport list for nfs.cloud.sanjiang.info:\r\n/exports/openshift/registry *\r\n```\r\n\r\npv template\r\n```\r\napiVersion: v1\r\nkind: PersistentVolume\r\nmetadata:\r\n  creationTimestamp: 2015-09-14T08:08:17Z\r\n  name: registry-volume\r\n  resourceVersion: \"11261\"\r\n  selfLink: /api/v1/persistentvolumes/registry-volume\r\n  uid: c18ff653-5ab7-11e5-88fe-0050568d25d4\r\nspec:\r\n  accessModes:\r\n  - ReadWriteMany\r\n  capacity:\r\n    storage: 9Gi\r\n  claimRef:\r\n    apiVersion: v1\r\n    kind: PersistentVolumeClaim\r\n    name: registry-claim\r\n    namespace: default\r\n    resourceVersion: \"10341\"\r\n    uid: cd668dd5-5ab7-11e5-88fe-0050568d25d4\r\n  nfs:\r\n    path: /exports/openshift/registry\r\n    server: nfs.cloud.sanjiang.info\r\n  persistentVolumeReclaimPolicy: Retain\r\nstatus:\r\n  phase: Bound\r\n```\r\n\r\npvc template\r\n```\r\napiVersion: v1\r\nkind: PersistentVolumeClaim\r\nmetadata:\r\n  creationTimestamp: 2015-09-14T08:08:37Z\r\n  name: registry-claim\r\n  namespace: default\r\n  resourceVersion: \"10343\"\r\n  selfLink: /api/v1/namespaces/default/persistentvolumeclaims/registry-claim\r\n  uid: cd668dd5-5ab7-11e5-88fe-0050568d25d4\r\nspec:\r\n  accessModes:\r\n  - ReadWriteMany\r\n  resources:\r\n    requests:\r\n      storage: 9Gi\r\n  volumeName: registry-volume\r\nstatus:\r\n  accessModes:\r\n  - ReadWriteMany\r\n  capacity:\r\n    storage: 9Gi\r\n  phase: Bound\r\n```\r\n\r\ndc template\r\n```\r\napiVersion: v1\r\nkind: DeploymentConfig\r\nmetadata:\r\n  creationTimestamp: 2015-09-14T08:15:15Z\r\n  labels:\r\n    docker-registry: default\r\n  name: docker-registry\r\n  namespace: default\r\n  resourceVersion: \"10747\"\r\n  selfLink: /oapi/v1/namespaces/default/deploymentconfigs/docker-registry\r\n  uid: ba63d2a3-5ab8-11e5-88fe-0050568d25d4\r\nspec:\r\n  replicas: 1\r\n  selector:\r\n    docker-registry: default\r\n  strategy:\r\n    resources: {}\r\n    rollingParams:\r\n      intervalSeconds: 1\r\n      timeoutSeconds: 600\r\n      updatePeriodSeconds: 1\r\n    type: Rolling\r\n  template:\r\n    metadata:\r\n      creationTimestamp: null\r\n      labels:\r\n        docker-registry: default\r\n    spec:\r\n      containers:\r\n      - env:\r\n        - name: OPENSHIFT_CA_DATA\r\n          value: |\r\n            -----BEGIN CERTIFICATE-----\r\n            MIIC5jCCAdCgAwIBAgIBATALBgkqhkiG9w0BAQswJjEkMCIGA1UEAwwbb3BlbnNo\r\n            aWZ0LXNpZ25lckAxNDQyMTk5NjgxMB4XDTE1MDkxNDAzMDEyM1oXDTE2MDkxMzAz\r\n            MDEyNFowJjEkMCIGA1UEAwwbb3BlbnNoaWZ0LXNpZ25lckAxNDQyMTk5NjgxMIIB\r\n            IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8PnhEN3fsKBmS6EBnvdtLp4i\r\n            wg5JxaSCMR+oCQ1LKY0VYIM9ctzj/BReEmmj3aTl1c5j9oX3hd6r6WAw08H54JOb\r\n            12Bve9Jdg+nskFo1TqrWr51O9CHC9YDyJMKOeN0KfG6rvatvuT2gRljwCiSnSsyT\r\n            PMLVeNXwB1C3N7PMj+BpN9XyiY0WH8AsJIVsfwrBEvbjzetLv/gVdg4fV2GipQwW\r\n            Irk3wvSU/jxYxhGODlxuG43vuLqVZkdAknTHa1ShLHxxMwaBNbyxs258akX8G+IT\r\n            1dcK926FF1HvQOh5Maodic2MESaqNA452hyKJySkl+oQDFs+122N90zF3izkSwID\r\n            AQABoyMwITAOBgNVHQ8BAf8EBAMCAKQwDwYDVR0TAQH/BAUwAwEB/zALBgkqhkiG\r\n            9w0BAQsDggEBAH78MqHuNB/iYS1tZMBnAyQzdOtS3cttJmoA80tTT8QrUOojY4Nz\r\n            +FvCqQ0sMmHqpK5/3EO5DFyxLviwkMxeUWkp1PRwtecY/fDgBUyJOnDISq8F5r6v\r\n            8pEo/XIRYHY5tB28UhJ7H/p99tJuoR7pN+BXOL5JiapnZsUCJSbKGPsybwcogQBU\r\n            oxtzjKm5ux/g05G4HyfGg8Lxd+Di5uzNtPQKfguNbRdXQrnn05KWfUbK/oVyOAvc\r\n            7U+82reZVQWsopPyiKWj6+AG9y10oX3LVPOhGML4YX9X/sTVPWrZfX9cenlJfi52\r\n            M0/zbmyZ+i5hefGPSOQgRiD+/GjVfTVOYeI=\r\n            -----END CERTIFICATE-----\r\n        - name: OPENSHIFT_CERT_DATA\r\n          value: |\r\n            -----BEGIN CERTIFICATE-----\r\n            MIIDEjCCAfygAwIBAgIBCTALBgkqhkiG9w0BAQswJjEkMCIGA1UEAwwbb3BlbnNo\r\n            aWZ0LXNpZ25lckAxNDQyMTk5NjgxMB4XDTE1MDkxNDAzMDEyOFoXDTE2MDkxMzAz\r\n            MDEyOVowQDEaMBgGA1UEChMRc3lzdGVtOnJlZ2lzdHJpZXMxIjAgBgNVBAMTGXN5\r\n            c3RlbTpvcGVuc2hpZnQtcmVnaXN0cnkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw\r\n            ggEKAoIBAQDzeBJonuoQSOIGXskmYcPfbTPSpwr22BwBl8zOYWVaJhguOscosRkm\r\n            co3GilZbmTftTkJF1j98e0zSRj03u4KS2ExAsEA260cp6pxmE/6e4BUvcVnZExoQ\r\n            hY3Lpsq0TRxm24UQg0W6JUz7rC1oX9iZx+jyx0CuqHYGQiEsBEazLKNF/cZtp0Z5\r\n            wWSVpdpgjXwMpGuiuO4z5I0HLCiWJZW9w/+aZfWd64h7dUHmRZgDyjJHg3Uj+CcE\r\n            VF1gQxuHxhk8s41J55sS8ir36H9A40xWIhRoXPj0eW36uGBfemwdRKb4Vf0Q/hkj\r\n            Xjh1Q1zQjtguNs9q+YQFWUJ3FxaNUOunAgMBAAGjNTAzMA4GA1UdDwEB/wQEAwIA\r\n            oDATBgNVHSUEDDAKBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMAsGCSqGSIb3DQEB\r\n            CwOCAQEAIOQ/WNXFQlCMMV7Ocium6JqorApNaTFkBlXdKCD3U0Hb/YJSg86DXlk0\r\n            PsFZkjhgRRsRmn6OZqNXy2RGyECWLIU3loQI6iYi7ofVkTNtDphCAYuPJ4WdBP83\r\n            HhA6M87rUJfSzmzTZfCNwHoojc/iGtdwIRAGFYElCYhS48KyGRV+5/Ss8iIq8HHO\r\n            3fT4mmZIYUY4ZsWHeEQfbg5knpSS9lk575i+iKhuWCjU0NhIowuzTyFmp9DNJsHD\r\n            0IHXrNd8C++k7R6t0fuKCszBe49PobM5xdWPIWWZpYSbb9OypxRNxAFJ7JNTAfO4\r\n            p6kJci/3H5r+rhpEGhEjn8XcNmwOxQ==\r\n            -----END CERTIFICATE-----\r\n        - name: OPENSHIFT_INSECURE\r\n          value: \"false\"\r\n        - name: OPENSHIFT_KEY_DATA\r\n          value: |\r\n            -----BEGIN RSA PRIVATE KEY-----\r\n            MIIEpAIBAAKCAQEA83gSaJ7qEEjiBl7JJmHD320z0qcK9tgcAZfMzmFlWiYYLjrH\r\n            KLEZJnKNxopWW5k37U5CRdY/fHtM0kY9N7uCkthMQLBANutHKeqcZhP+nuAVL3FZ\r\n            2RMaEIWNy6bKtE0cZtuFEINFuiVM+6wtaF/Ymcfo8sdArqh2BkIhLARGsyyjRf3G\r\n            badGecFklaXaYI18DKRrorjuM+SNBywoliWVvcP/mmX1neuIe3VB5kWYA8oyR4N1\r\n            I/gnBFRdYEMbh8YZPLONSeebEvIq9+h/QONMViIUaFz49Hlt+rhgX3psHUSm+FX9\r\n            EP4ZI144dUNc0I7YLjbPavmEBVlCdxcWjVDrpwIDAQABAoIBAQCmJD/bqOXs6u9i\r\n            jXgSexCg/PIqQ9dVjy+9XotiIlB5bhl+IpoZiJCzDeT1oR1BMJNbmtXatlNobPOF\r\n            Ym0QBSMbdgLC+gM39uH/FpxXhDlyzVNnpqA7Y6+bqqeSW2VkGGLTReXN2ObSGfYo\r\n            n9v0p8M1XZf3ZEUdatPvfV0Jnnlodi7F8Hu/hb5o8f/h+hyz6wOA1/QZd4iKwWsv\r\n            gXV1/FRU7f7XZvN0/PQP1U2jeTv4Dze440gW/y+JW/6BkxGFr0PZKj7IJow9GID/\r\n            R7xZhF8uqVvMgnJHIX1ieCpojW73seobUzq98PobMzIIuCdO4zQjjtVKrHrZIu2x\r\n            zip0iU6hAoGBAP3AJTlrgXahdadXy6oXEKf2AnO11k3TL4wokC8xZkkcuwa9JDPE\r\n            il0wHxm6Jl8K4rpLrSuFCxrEtDnHaikQ2RYqGQlu+APeg9G4+6p3imRODpja3pM6\r\n            ViO82Ibt44MJBcDIPExIk5svNtn9wO6/hHWUh6ny47dXDUfIqiz7co0ZAoGBAPWg\r\n            mAdhpIBdjdl/JKVTL6VeLXCv/iYMgObOtw5KTWtTpCtbCvLE2ZzhwClhpnGrWGAF\r\n            e37PGA6L68qiGauycS0b7v5unS6dAkYyXKaedQIpnfvnE65tchZM0TmBBeIxK8gD\r\n            lLc+nKi5bU0FEbUznLPecDWF0C8VO0hVFQVONZa/AoGAb735pnuNG2ymnvaunUxi\r\n            7VQMaGAe606glZwXQnEClhes1J7eHl3igH78cxviYeAtT9SbgZqo9TTCGN+UBFmC\r\n            /5uyQtE3Lp0Cd4x6ZusVam5lRzK66SK7ZCl5QJHpqn6Cpg6HXyBmv+Pex8hS+dAk\r\n            yJKL2282kDopgv7+0ag5HaECgYBUeW2vpDIZ/5LISUTGIuzQ96mzBqPmXAh82Hz2\r\n            SjGEBtkAHCiQw4h/vtgCo1XF5ALZyyjkvL5uSkrGfqdLeGwZ8nBoSox+OntMvwdE\r\n            OlzNaJivyJHpPDSvXK3cE/Z9CyIegLTFrJ/eGx9vDJ5BbkWnSonWrnWhq7CeuLwo\r\n            /fPKKwKBgQCICL5CPJ+otHDpQqTk71Nmynbkc9Ha3IO4i6bz2KrjfFUDp9LLdXMk\r\n            FsbtwC4//XSnKq+7KabtrfbHXqANlY+q473kwPsPJfNSOKMhz8rvPWMcJd6Qx2Eu\r\n            ggXhKNgh/J9rhU7fEeNjD+Hg+tlUYt3TdlyQHMqR7hRiWAp2gbsSFA==\r\n            -----END RSA PRIVATE KEY-----\r\n        - name: OPENSHIFT_MASTER\r\n          value: https://master.cloud.sanjiang.info:8443\r\n        image: openshift/origin-docker-registry:v1.0.5\r\n        imagePullPolicy: IfNotPresent\r\n        name: registry\r\n        ports:\r\n        - containerPort: 5000\r\n          protocol: TCP\r\n        resources: {}\r\n        securityContext:\r\n          privileged: false\r\n        terminationMessagePath: /dev/termination-log\r\n        volumeMounts:\r\n        - mountPath: /registry\r\n          name: registry-storage\r\n      dnsPolicy: ClusterFirst\r\n      restartPolicy: Always\r\n      serviceAccount: registry\r\n      serviceAccountName: registry\r\n      volumes:\r\n      - name: registry-storage\r\n        persistentVolumeClaim:\r\n          claimName: registry-claim\r\n  triggers:\r\n  - type: ConfigChange\r\nstatus:\r\n  details:\r\n    causes:\r\n    - type: ConfigChange\r\n  latestVersion: 2\r\n```\r\n\r\ndeploy pod logs\r\n```\r\nI0914 08:35:15.915028       1 deployer.go:197] Deploying from default/docker-registry-1 to default/docker-registry-2 (replicas: 1)\r\nI0914 08:35:15.925350       1 rolling.go:224] Starting rolling update from default/docker-registry-1 to default/docker-registry-2 (desired replicas: 1, updatePeriodSeconds=1s, intervalSeconds=1s, timeoutSeconds=600s, updatePercent=<nil>%)\r\nI0914 08:35:15.932837       1 rolling.go:279] RollingUpdater: Continuing update with existing controller docker-registry-2.\r\nI0914 08:35:15.932911       1 rolling.go:279] RollingUpdater: Scaling up docker-registry-2 from 0 to 1, scaling down docker-registry-1 from 1 to 0 (scale up first by 1 each interval)\r\nI0914 08:35:15.932949       1 rolling.go:279] RollingUpdater: Scaling docker-registry-2 up to 1\r\nI0914 08:35:17.982596       1 lifecycle.go:279] Waiting 600 seconds for pods owned by deployment \"default/docker-registry-2\" to become ready (checking every 1 seconds; 0 pods previously accepted)\r\nF0914 08:45:17.983247       1 deployer.go:64] update rejected for docker-registry-2: pods for deployment \"default/docker-registry-2\" took longer than 600 seconds to become ready\r\n[root@master ~]#\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/148804642","html_url":"https://github.com/openshift/origin/issues/4662#issuecomment-148804642","issue_url":"https://api.github.com/repos/openshift/origin/issues/4662","id":148804642,"user":{"login":"markturansky","id":8001968,"avatar_url":"https://avatars.githubusercontent.com/u/8001968?v=3","gravatar_id":"","url":"https://api.github.com/users/markturansky","html_url":"https://github.com/markturansky","followers_url":"https://api.github.com/users/markturansky/followers","following_url":"https://api.github.com/users/markturansky/following{/other_user}","gists_url":"https://api.github.com/users/markturansky/gists{/gist_id}","starred_url":"https://api.github.com/users/markturansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markturansky/subscriptions","organizations_url":"https://api.github.com/users/markturansky/orgs","repos_url":"https://api.github.com/users/markturansky/repos","events_url":"https://api.github.com/users/markturansky/events{/privacy}","received_events_url":"https://api.github.com/users/markturansky/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T18:47:49Z","updated_at":"2015-10-16T18:47:49Z","body":"If there was a mounting problem, there would be a pod.  Can you describe the pod?  I think that's what Paul excepts to see in 'oc get events'.  Mount errors are surfaced as pod events."}}