Skip to content

Can't track all of resources in IBM SVC #17

@tanshaolong

Description

@tanshaolong

I refrence "Resource tracking" session in the cinderlib doc. I think cinderlib could upload all of volume instances to track by Backend.refresh() but the actualy result is not that.
Is my understand for the doc right? Thank you

The below is the detail for the test:
I create two volumes by create_volume and then I run backend.refresh(). I check the volumes again. The volumes are two yet. The original IBM SVC columes don't upload yet.

Test enviroment:
Cinderlib version: v0.3.9
Cinder release: Pike
Storage: IBM SVC V7000
Versions: Unknown
Connection type: FC

Test steps and result:

lvm.volumes
[<cinderlib.Volume object a7847ff7-aaa5-411f-b6dc-21626df666f4 on backend svc1234>, <cinderlib.Volume object c00e8221-10c8-471d-8c77-e88faeb064d2 on backend svc1234>]
lvm.refresh()
lvm.volumes
[<cinderlib.Volume object a7847ff7-aaa5-411f-b6dc-21626df666f4 on backend svc1234>, <cinderlib.Volume object c00e8221-10c8-471d-8c77-e88faeb064d2 on backend svc1234>]

refrence cinderlib doc:
https://docs.openstack.org/cinderlib/latest/topics/tracking.html

Thanks
Ray

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions