]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
cinder-rtstool: should use acl.node_wwn
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>
Wed, 7 Jan 2015 22:33:51 +0000 (17:33 -0500)
committerTomoki Sekiyama <tomoki.sekiyama@hds.com>
Wed, 7 Jan 2015 23:01:41 +0000 (18:01 -0500)
commit65d9c20b453b7128b09c9069a69d2d520626f905
treedde12a8bbfe35e09396e12257e0100e5b1c4aca8
parent00b03b90cc460215c2e9f2aac107e362955320e2
cinder-rtstool: should use acl.node_wwn

In newer version of rtslib module, NodeACL is now an object, not a
dict. Thus, acl.node_wwn must be used instead of acl['node_wwn'],
otherwise it will fail with exception.

Change-Id: I0fb53596a2a99609aa4d573f1254b3afa7d9fd91
Closes-Bug: #1408443
cinder/cmd/rtstool.py
cinder/tests/test_cmd.py