)]}'
{"id":"openstack%2Fcinderlib~713964","triplet_id":"openstack%2Fcinderlib~master~Iaaac5576d443b7917a46bb11458860a9651bd366","project":"openstack/cinderlib","branch":"master","topic":"bug/1868153","hashtags":[],"change_id":"Iaaac5576d443b7917a46bb11458860a9651bd366","subject":"NotLocal exception after refresh","status":"MERGED","created":"2020-03-19 18:58:18.000000000","updated":"2020-04-23 17:25:43.000000000","submitted":"2020-04-23 17:22:34.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"713964-1587662555275-81340386","meta_rev_id":"a37591eb0ea6c267f2359cf5c51928a86b938c04","_number":713964,"virtual_id_number":713964,"owner":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},{"value":0,"date":"2020-03-24 20:43:39.000000000","_account_id":12033,"name":"DellEMC XtremIO CI","email":"emc.xio.ci@emc.com","username":"emc-xio-ci","tags":["SERVICE_USER"]},{"value":0,"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2020-04-23 17:22:34.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"all":[{"value":2,"date":"2020-04-03 13:04:40.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},{"value":0,"_account_id":12033,"name":"DellEMC XtremIO CI","email":"emc.xio.ci@emc.com","username":"emc-xio-ci","tags":["SERVICE_USER"]},{"value":2,"date":"2020-04-23 12:28:33.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"all":[{"value":0,"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},{"value":0,"_account_id":12033,"name":"DellEMC XtremIO CI","email":"emc.xio.ci@emc.com","username":"emc-xio-ci","tags":["SERVICE_USER"]},{"value":1,"date":"2020-04-23 12:28:33.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},{"value":0,"_account_id":12033,"name":"DellEMC XtremIO CI","email":"emc.xio.ci@emc.com","username":"emc-xio-ci","tags":["SERVICE_USER"]},{"value":0,"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Branch Freeze"," 0":"No Priority","+1":"Important Change","+2":"Gate Blocker Fix / Urgent Change"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},{"_account_id":12033,"name":"DellEMC XtremIO CI","email":"emc.xio.ci@emc.com","username":"emc-xio-ci","tags":["SERVICE_USER"]},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2020-03-24 20:43:39.000000000","updated_by":{"_account_id":12033,"name":"DellEMC XtremIO CI","email":"emc.xio.ci@emc.com","username":"emc-xio-ci","tags":["SERVICE_USER"]},"reviewer":{"_account_id":12033,"name":"DellEMC XtremIO CI","email":"emc.xio.ci@emc.com","username":"emc-xio-ci","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2020-04-03 13:04:40.000000000","updated_by":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"reviewer":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"state":"REVIEWER"},{"updated":"2020-04-23 12:28:33.000000000","updated_by":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"reviewer":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"state":"REVIEWER"},{"updated":"2020-04-23 17:22:34.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"9ee0965c1f977c96b7e96f4593afd970505688e2","author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"date":"2020-03-19 18:58:18.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"574c0f2f7f2856f940b8f54d3326348bab18fd91","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-03-19 19:10:17.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttp://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/83bb948f4cbe4ca1a82228082e0ad93f : SUCCESS in 9m 03s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/257fb0db4f3449098a2e5b992e7a68be : SUCCESS in 5m 11s\n- cinderlib-tox-py36 https://zuul.opendev.org/t/openstack/build/792f54e265f8458c85add136881b9f1f : SUCCESS in 7m 10s\n- cinderlib-tox-py37 https://zuul.opendev.org/t/openstack/build/5df40f96c2004b8f9ab6c9bd9b3fc85a : SUCCESS in 8m 02s\n- cinderlib-lvm-functional https://zuul.opendev.org/t/openstack/build/204b5a7df08c4c4f842fe9270f7c4330 : FAILURE in 7m 16s\n- cinderlib-ceph-functional https://zuul.opendev.org/t/openstack/build/2829f8464acc4e66b0a261f70fbc06f1 : SUCCESS in 7m 10s","accounts_in_message":[],"_revision_number":1},{"id":"0d765243063307aeacf2f58a15e52ca5be9ece06","author":{"_account_id":12033,"name":"DellEMC XtremIO CI","email":"emc.xio.ci@emc.com","username":"emc-xio-ci","tags":["SERVICE_USER"]},"date":"2020-03-20 19:10:26.000000000","message":"Patch Set 1:\n\nBuild failed.  For information on how to proceed, see https://docs.openstack.org/infra/manual/developers.html\n\n- DellEMC_XtremIO_FC-cl http://publiclogs.emc.com/64/713964/1/check/DellEMC_XtremIO_FC-cl/d1fb08f/DellEMC_XtremIO_FC-cl/39 : FAILURE in 4m 04s\n- DellEMC_XtremIO_iSCSI-cl http://publiclogs.emc.com/64/713964/1/check/DellEMC_XtremIO_iSCSI-cl/ab75ebe/DellEMC_XtremIO_iSCSI-cl/50 : FAILURE in 1m 58s\n\nLeave a comment with \u0027run-DellEMC XtremIO CI\u0027 to trigger a recheck, for more information about CI, please see https://wiki.openstack.org/wiki/ThirdPartySystems/DellEMC_XtremIO_CI","accounts_in_message":[],"_revision_number":1},{"id":"2c5f4ab1675e42f951395dd5bad61e6a2d3d3f09","author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"date":"2020-03-24 12:40:19.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"c36024cea1ad5d387092f3dec95efb50285ba36a","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-03-24 13:01:08.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/1d30dac2eb21460296a4901952500842 : SUCCESS in 8m 53s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/21bcc0911f5e4f9995dd169b41b2f7c6 : SUCCESS in 5m 37s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/ad12a0d36b2541d4857ba9d065458a66 : SUCCESS in 4m 03s\n- cinderlib-tox-py36 https://zuul.opendev.org/t/openstack/build/72855059ebab4e459c0c439e5ae32e5a : SUCCESS in 7m 18s\n- cinderlib-tox-py37 https://zuul.opendev.org/t/openstack/build/8622c39ba0544529b68abc45b860e8ab : SUCCESS in 8m 18s\n- cinderlib-lvm-functional https://zuul.opendev.org/t/openstack/build/dd465ca370bd468e908aaeaee8ac0bd5 : SUCCESS in 11m 05s\n- cinderlib-ceph-functional https://zuul.opendev.org/t/openstack/build/30ab23d3c8614dbc9adf82149cdd738c : SUCCESS in 11m 22s","accounts_in_message":[],"_revision_number":2},{"id":"cb78ec780a8572f762f0a1c2aacad74e7e4f61f9","author":{"_account_id":12033,"name":"DellEMC XtremIO CI","email":"emc.xio.ci@emc.com","username":"emc-xio-ci","tags":["SERVICE_USER"]},"date":"2020-03-24 20:43:39.000000000","message":"Patch Set 2:\n\nBuild failed.  For information on how to proceed, see https://docs.openstack.org/infra/manual/developers.html\n\n- DellEMC_XtremIO_FC-cl http://publiclogs.emc.com/64/713964/2/check/DellEMC_XtremIO_FC-cl/3cbc264/DellEMC_XtremIO_FC-cl/47 : FAILURE in 4m 00s\n- DellEMC_XtremIO_iSCSI-cl http://publiclogs.emc.com/64/713964/2/check/DellEMC_XtremIO_iSCSI-cl/f97a922/DellEMC_XtremIO_iSCSI-cl/57 : FAILURE in 1m 51s\n\nLeave a comment with \u0027run-DellEMC XtremIO CI\u0027 to trigger a recheck, for more information about CI, please see https://wiki.openstack.org/wiki/ThirdPartySystems/DellEMC_XtremIO_CI","accounts_in_message":[],"_revision_number":2},{"id":"2a2c0bc9bf0e22a3485cd072bc49844f802bb3e7","author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"date":"2020-04-03 13:04:40.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"2e8aa57f5eaa40878115becc095495d0d72d29a2","author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"date":"2020-04-23 12:28:33.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1\n\nLGTM.","accounts_in_message":[],"_revision_number":2},{"id":"f74a6ad145600905ed3edc42c04fe4b9ac17c9df","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-04-23 12:28:59.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":2},{"id":"a6f29f8e2c2d57c1b2e9aa6460dec864159247eb","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-04-23 17:22:34.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/4990977c0b1b45cfa4588f5af4bcdfa6 : SUCCESS in 24m 58s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/26982444159b4361a409b60aae590540 : SUCCESS in 7m 43s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/b8772f5e091f4c73adba046b25f4a006 : SUCCESS in 4m 53s\n- cinderlib-tox-py36 https://zuul.opendev.org/t/openstack/build/a3fb44e37e6f498a947e10adeefcb70c : SUCCESS in 9m 13s\n- cinderlib-tox-py37 https://zuul.opendev.org/t/openstack/build/160111de8e29412b91c02e835158f71b : SUCCESS in 9m 04s\n- cinderlib-lvm-functional https://zuul.opendev.org/t/openstack/build/74eba1a64d904a95a65d0b06a88d6cbb : SUCCESS in 13m 54s\n- cinderlib-ceph-functional https://zuul.opendev.org/t/openstack/build/b3aa8b4ac5e3418a82252887d0e82ac5 : SUCCESS in 10m 29s","accounts_in_message":[],"_revision_number":2},{"id":"4183be6d1d11471e96d29ed08b89e065b850e321","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-04-23 17:22:35.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":2},{"id":"f45270d6001517022906296fbddcc18963010327","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-04-23 17:25:43.000000000","message":"Patch Set 2:\n\nBuild failed (promote pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\n\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/8cde151823ca4d35997e6dc9deb170f5 : SUCCESS in 2m 08s\n- promote-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/af936b129d934893bc0f3b6ae484fb46 : FAILURE in 1m 13s","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"4e4247b248c3549b04b8c700fb174861185a13ec","revisions":{"af81e84fb67cc7a3639bd106a39110349276ea24":{"kind":"REWORK","_number":1,"created":"2020-03-19 18:58:18.000000000","uploader":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"ref":"refs/changes/64/713964/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/cinderlib","ref":"refs/changes/64/713964/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/cinderlib refs/changes/64/713964/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/cinderlib refs/changes/64/713964/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/cinderlib refs/changes/64/713964/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/cinderlib refs/changes/64/713964/1"}}},"commit":{"parents":[{"commit":"2b335ddc565446526bad7a5ab8be8b4ae9d0a7fa","subject":"Fix test_set_snapshot","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cinderlib/commit/2b335ddc565446526bad7a5ab8be8b4ae9d0a7fa"}]}],"author":{"name":"Gorka Eguileor","email":"geguileo@redhat.com","date":"2020-03-19 15:21:49.000000000","tz":60},"committer":{"name":"Gorka Eguileor","email":"geguileo@redhat.com","date":"2020-03-19 18:54:56.000000000","tz":60},"subject":"NotLocal exception after refresh","message":"NotLocal exception after refresh\n\nIf we locally attach a volume and we call the refresh method on it then\nwe cannot just call the detach method on the volume directly or we\u0027ll\nget a `NotLocal` exception.\n\nSo this works:\n   volume.attach()\n   volume.detach()\n\nBut this doesn\u0027t:\n   volume.attach()\n   volume.refresh()\n   volume.detach()\n\nThis is because we don\u0027t carry the `local_attach` attribute from our\ncurrent instance into the refresh.\n\nCloses-Bug: 1868153\nChange-Id: Iaaac5576d443b7917a46bb11458860a9651bd366\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cinderlib/commit/af81e84fb67cc7a3639bd106a39110349276ea24"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cinderlib/commit/af81e84fb67cc7a3639bd106a39110349276ea24"}]},"branch":"refs/heads/master"},"4e4247b248c3549b04b8c700fb174861185a13ec":{"kind":"REWORK","_number":2,"created":"2020-03-24 12:40:19.000000000","uploader":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"ref":"refs/changes/64/713964/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/cinderlib","ref":"refs/changes/64/713964/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/cinderlib refs/changes/64/713964/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/cinderlib refs/changes/64/713964/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/cinderlib refs/changes/64/713964/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/cinderlib refs/changes/64/713964/2"}}},"commit":{"parents":[{"commit":"18f85d8b256e9f2db06a6828d257a7836ad63244","subject":"Merge \"Drop use of unittest2\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cinderlib/commit/18f85d8b256e9f2db06a6828d257a7836ad63244"}]}],"author":{"name":"Gorka Eguileor","email":"geguileo@redhat.com","date":"2020-03-19 15:21:49.000000000","tz":60},"committer":{"name":"Gorka Eguileor","email":"geguileo@redhat.com","date":"2020-03-24 12:40:06.000000000","tz":60},"subject":"NotLocal exception after refresh","message":"NotLocal exception after refresh\n\nIf we locally attach a volume and we call the refresh method on it then\nwe cannot just call the detach method on the volume directly or we\u0027ll\nget a `NotLocal` exception.\n\nSo this works:\n   volume.attach()\n   volume.detach()\n\nBut this doesn\u0027t:\n   volume.attach()\n   volume.refresh()\n   volume.detach()\n\nThis is because we don\u0027t carry the `local_attach` attribute from our\ncurrent instance into the refresh.\n\nCloses-Bug: #1868153\nChange-Id: Iaaac5576d443b7917a46bb11458860a9651bd366\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cinderlib/commit/4e4247b248c3549b04b8c700fb174861185a13ec"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cinderlib/commit/4e4247b248c3549b04b8c700fb174861185a13ec"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
