openvstorage / alba-asdmanager

The ALBA ASD manager is a lightweight library which turns devices into disks which are addressable as key/value disk over an IP and port.
Other
1 stars 3 forks source link

Post upgrade action failed with error: 'version' #109

Closed openvstorage-ci closed 7 years ago

openvstorage-ci commented 7 years ago

From @JeffreyDevloo on September 14, 2016 9:23

Problem description

I executed a framework update on our OVH Geoscale env. I started the update from the GUI, it started on 10:10:11 and finished on 10:19:39. The update was succesful but I found the following entries in /var/log/ovs/lib.log:

172.20.20.201 - /var/log/ovs/lib.log: 2016-09-14 10:17:53 74800 +0200 - ctrl-stras-03 - 185941/140202909386560 - lib/update - 255 - INFO - 172.20.20.131  : Executing action restart_arakoon_clusters
172.20.20.201 - /var/log/ovs/lib.log: 2016-09-14 10:17:54 87500 +0200 - ctrl-stras-03 - 185941/140202909386560 - lib/update - 256 - INFO - 172.20.20.131  : Executing action restart_arakoon_clusters completed
172.20.20.201 - /var/log/ovs/lib.log: 2016-09-14 10:17:54 91300 +0200 - ctrl-stras-03 - 185941/140202909386560 - lib/update - 257 - INFO - 172.20.20.131  : Executing action upgrade_alba_plugin
172.20.20.201 - /var/log/ovs/lib.log: 2016-09-14 10:17:55 07500 +0200 - ctrl-stras-03 - 185941/140202909386560 - lib/update - 258 - INFO - 172.20.20.131  : Executing action upgrade_alba_plugin completed
172.20.20.201 - /var/log/ovs/lib.log: 2016-09-14 10:17:55 11300 +0200 - ctrl-stras-03 - 185941/140202909386560 - lib/update - 259 - INFO - 172.20.20.131  : Executing action upgrade_sdm
172.20.20.201 - /var/log/ovs/lib.log: 2016-09-14 10:17:55 66700 +0200 - ctrl-stras-03 - 185941/140202909386560 - lib/update - 260 - ERROR - 172.20.20.131  : Post upgrade action failed with error: 'version'
172.20.20.201 - /var/log/ovs/lib.log:
172.20.20.201 - /var/log/ovs/lib.log: ========= Remote Traceback (1) =========
172.20.20.201 - /var/log/ovs/lib.log: Traceback (most recent call last):
172.20.20.201 - /var/log/ovs/lib.log: File "/tmp/tmp.EgtgxIufEs/rpyc/core/protocol.py", line 305, in _dispatch_request
172.20.20.201 - /var/log/ovs/lib.log: res = self._HANDLERS[handler](self, *args)
172.20.20.201 - /var/log/ovs/lib.log: File "/tmp/tmp.EgtgxIufEs/rpyc/core/protocol.py", line 535, in _handle_call
172.20.20.201 - /var/log/ovs/lib.log: return self._local_objects[oid](*args, **dict(kwargs))
172.20.20.201 - /var/log/ovs/lib.log: File "/opt/OpenvStorage/ovs/lib/helpers/..//albacontroller.py", line 1226, in upgrade_sdm
172.20.20.201 - /var/log/ovs/lib.log: pending = version_info['version']
172.20.20.201 - /var/log/ovs/lib.log: KeyError: 'version'
172.20.20.201 - /var/log/ovs/lib.log:

This entry repeats itself for every node in my cluster. Edit: Note that the '172.20.20.201 - /var/log/ovs/lib.log:' is from my log parser and not a part of the log.

Additional information

Setup

Hyperconverged setup

Copied from original issue: openvstorage/framework#899

khenderick commented 7 years ago

RuntimeError: type object 'Upstart' has no attribute 'list_service_files'

khenderick commented 7 years ago

Fixed by #110, packaged in openvstorage-sdm-1.6.3-rev.355.c86b45b

JeffreyDevloo commented 7 years ago

Steps

Test result

Could not find the error logging Test passed.