Pickling Server object fails with attribute error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstacksdk |
New
|
Undecided
|
Unassigned |
Bug Description
Greetings,
I am using the OpenStackSDK with Python 3.9.16, here is the output of `pip freeze | grep openstack` for identifying package versions which might be relevant to my issue.
openstackclient
openstacksdk==2.0.0
python-
When creating new compute server instances, the `conn.create_
import pickle
instance = conn.create_
with open('instance.
pickle.
However, I end up getting an attribute error from the Resource object as pickle attempts to iterate through the object's items.
File /opt/environmen
197 setattr(instance, seen_flag, True)
198 value = getattr(instance, self.alias)
--> 199 delattr(instance, seen_flag)
200 self.warn_
201 return value
AttributeError: owner_seen
I suspect this issue is a user-error and I am doing something incorrectly. However, I could not find a user forum to post this issue and I have exhausted paths forward for debugging on my own since I am new to using OpenStack to say nothing of the SDK. Please let me know if there is a place where I should redirect my debugging attention and I will get right on it.
Thanks! Alice
Trying to lower the priority as much as possible since this issue isn't critical.