AuthorCommitMessageCommit dateIssues
Maxim NestratovMaxim Nestratov
6f4a3c89126MMerge pull request #14 in OPENSTACK/beholder from ~DIM/beholder:devel/VSTOR-27157 to master* commit '6e508663e6e72a3a5d47bde3cc70cf5b8e185b77': VSTOR-27157 Add Magnum's notifications handler.VSTOR-27157
Dmitry MishinDmitry Mishin
6e508663e6eVSTOR-27157 Add Magnum's notifications handler.We need it for K8s-as-a-Service feature.VSTOR-27157
Maxim NestratovMaxim Nestratov
55113d1fb77MMerge pull request #13 in OPENSTACK/beholder from ~ALEXEY.IVANCHUK/beholder:VSTOR-20742 to master* commit '32be42ffafb5410ffe3e296e06db3b4077ed8d28': Beholder: adapt beholder to HA configuration. Satisfy pylintVSTOR-20742
Oleksii IvanchukOleksii Ivanchuk
32be42ffafbBeholder: adapt beholder to HA configuration.
Oleksii IvanchukOleksii Ivanchuk
d88a551524fSatisfy pylint
Alexander KurbatovAlexander Kurbatov
2dff4137b54MMerge pull request #12 in OPENSTACK/beholder from ~DANDREEV/beholder-devel:VSTOR-23606 to master* commit '8c35fd047d5b3f9d83c3d7ba08cf96de8f247738': listeners: add 'volume.*update' events in cinder event type regexVSTOR-23606
Dmitry AndreevDmitry Andreev
8c35fd047d5listeners: add 'volume.*update' events in cinder event type regexTask: VSTOR-23606VSTOR-23606
Maxim NestratovMaxim Nestratov
de91a041838MMerge pull request #11 in OPENSTACK/beholder from ~ALKURBATOV/beholder:octavia to master* commit '481cb322ed03bd8b30444a3449d0a6a41462f0c4': listeners: Handle Neutron router interfaces events listeners: Avoid crashes in errors handling
Alexander KurbatovAlexander Kurbatov
481cb322ed0listeners: Handle Neutron router interfaces eventsVSTOR-22690 Also, avoid possible mess with handling of interfaces events in the main Routers handler. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>VSTOR-22690
Alexander KurbatovAlexander Kurbatov
0a86fe2f019listeners: Avoid crashes in errors handlingSometimes there is no 'args' in payload. Nova errors are pretty inconsistent. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Maxim NestratovMaxim Nestratov
f7768965e62MMerge pull request #10 in OPENSTACK/beholder from ~ALKURBATOV/beholder:octavia to master* commit 'f79ed22643ca82067b8b7d4b99084aec339f8d99': style: Fix typo in docstring listeners: Fix KeyError during some neutron events
Alexander KurbatovAlexander Kurbatov
f79ed22643cstyle: Fix typo in docstringSigned-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Maxim NestratovMaxim Nestratov
b6b7ba1d92fMMerge pull request #9 in OPENSTACK/beholder from ~ALKURBATOV/beholder:octavia to master* commit '6c4e989e0d5bffcecc99a42ce109d6ac55bde669': listeners: Report server name on errors too
Alexander KurbatovAlexander Kurbatov
7b4b1535c69listeners: Fix KeyError during some neutron eventsBy some reason each '*.start' event in Neutron contains only request payload and no real object which we can use. This commit fixes KeyError by assuming that an object could be missing. The underlying handler will decide what to do with such payload. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Alexander KurbatovAlexander Kurbatov
6c4e989e0d5listeners: Report server name on errors tooVSTOR-22441 Asked by the UI team to simplify errors handling on frontend. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>VSTOR-22441
Maxim NestratovMaxim Nestratov
564903355b9MMerge pull request #8 in OPENSTACK/beholder from ~ALKURBATOV/beholder:octavia to master* commit 'e304215caaa94723068cad92e8a0b987547ae682': listeners: introduce servers errors handler listeners: Support many new neutron notifications style: Fix docstring style
Alexander KurbatovAlexander Kurbatov
e304215caaalisteners: introduce servers errors handlerVSTOR-22441 Use a generic handler to react on errors sent in case of failed operations with Nova servers. Notification of new type 'failed' is sent in this case. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>VSTOR-22441
Alexander KurbatovAlexander Kurbatov
7cf2763f10elisteners: Support many new neutron notificationsNow we can send notifications regarding Neutron ports, floating IPs and routers. Also, the Neutron listeners code was refactored in order to simplify addition of new event listeners. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Alexander KurbatovAlexander Kurbatov
4fa8c27ed56style: Fix docstring styleNo functional changes. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Alexander KurbatovAlexander Kurbatov
a6029dfca34MMerge pull request #7 in OPENSTACK/beholder from ~ALKURBATOV/beholder:octavia to master* commit 'dfd9f831f7a91185abe0d7446288b20b8975c279': pylint: Disable useless-object-inheritance listeners: Fix broken error handling... listeners: Support volume snapshots
Alexander KurbatovAlexander Kurbatov
dfd9f831f7apylint: Disable useless-object-inheritanceWe need inheritance from object in case of Python 2.7. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Alexander KurbatovAlexander Kurbatov
cef0dc20cb6listeners: Fix broken error handling...on server creation. The structure of notification is different in this case and project id is hidden inside instance_properties. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Alexander KurbatovAlexander Kurbatov
ec9c747a839listeners: Support volume snapshotsVSTOR-22470 Add forgotten support of volume snapshots notifications. Also, a major refactoring was done in order to reduce code duplication for the largest event handlers: Nova and Cinder. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>VSTOR-22470
Alexander KurbatovAlexander Kurbatov
8a39746cad5MMerge pull request #6 in OPENSTACK/beholder from ~IPYASS/beholder:neutron to master* commit '16bf276bd35e14fc7c7700cd37c62bff7681dd40': Change default config directory
Inga PyassInga Pyass
16bf276bd35Change default config directoryThis is required to just simply call beholder from ansible without additional arguments
Maxim NestratovMaxim Nestratov
73de96f6af1MMerge pull request #5 in OPENSTACK/beholder from ~ALKURBATOV/beholder:octavia to master* commit 'c0bbe35013f7f20b535cf54b42475b55ba08ba1e': listeners: Add project id to notifications doc: Better readme
Alexander KurbatovAlexander Kurbatov
c0bbe35013flisteners: Add project id to notificationsVSTOR-21633 Project id could be used by UI to capture only notifications related to particular project and by Backend Notifier to marshal notifications among channels. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>VSTOR-21633
Alexander KurbatovAlexander Kurbatov
31a0fc2d952doc: Better readme* Switch to python 3.6 as we did in Backend. * Describe installation for python 2.7. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Alexander KurbatovAlexander Kurbatov
c9b695adee8MMerge pull request #4 in OPENSTACK/beholder from ~IPYASS/beholder:neutron to master* commit '2dcc590fc5d0426c06d7b2485e2dbdb46bee7de4': Add neutron event listeners VSTOR-20739VSTOR-20739
Inga PyassInga Pyass
2dcc590fc5dAdd neutron event listeners VSTOR-20739VSTOR-20739
Alexander KurbatovAlexander Kurbatov
75b7c2f74f1MMerge pull request #3 in OPENSTACK/beholder from ~ALKURBATOV/beholder:my-master to master* commit '2683e68eff88800466e61d895ea9b9bffd569f6b': docker: Provide entry point for Docker git: Ignore build folders junk beholder: Specify default config file emitter: Move emissions period to config... Add 'make init' command Add 'make lint' command pylint: Disable several redundant warnings doc: Better README doc: Move messaging setup out of README Make it possible to la...
Alexander KurbatovAlexander Kurbatov
2683e68eff8docker: Provide entry point for DockerVSTOR-12772 * Provide setup.py which will install the daemon and generate a script to launch beholder. The script will be used as entrypoint in Dockerfile. * Rename beholder/beholder.py to beholder/main.py as there are too many beholders now.VSTOR-12772
Alexander KurbatovAlexander Kurbatov
dcff6203996git: Ignore build folders junkSigned-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Alexander KurbatovAlexander Kurbatov
3a61360d1ebbeholder: Specify default config fileVSTOR-12772 It is assumed that the daemon will be configured by kolla. The ability to launch the daemon with a custom config preserved.VSTOR-12772
Alexander KurbatovAlexander Kurbatov
228605eb5caemitter: Move emissions period to config...in case one day we will need to change it. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Alexander KurbatovAlexander Kurbatov
6e92c55db0bAdd 'make init' commandTo hide pip execution under the Makefile. Signed-off-by: Alexander Kurbatov <alkurbatov@virtuozzo.com>
Alexander KurbatovAlexander Kurbatov
ab2004d33a1Add 'make lint' command
Alexander KurbatovAlexander Kurbatov
73f94dc50a5pylint: Disable several redundant warnings
Alexander KurbatovAlexander Kurbatov
d4eaeea0969doc: Better README* Use better formatting. * Add a link to oslo.messaging API documentation.
Alexander KurbatovAlexander Kurbatov
691ce22de33doc: Move messaging setup out of READMEThere is no need to describe how to enable notifications because now it is turned on by default. This commits moves old configuration instructions to a separate file. The file could be used later, e.g. on vanilla OpenStack installations.
Alexander KurbatovAlexander Kurbatov
2b0182f9cc2Make it possible to launch beholder on py27We need this to simplify creation of Docker image.
Alexander KurbatovAlexander Kurbatov
608fe8cf0d0MMerge pull request #2 in OPENSTACK/beholder from ~ALKURBATOV/beholder:my-master to master* commit '5a942e52914d5eeaa5645bf5a52c5d9f19eee8db': Introduce Glance support listeners: Minor docstrings corrections logger: Log publisher_id too Introduce Cinder support listeners: Explicitly mark message as handled listeners: Restructure compute listeners: logger: Log metadata too
Alexander KurbatovAlexander Kurbatov
5a942e52914Introduce Glance supportVSTOR-12772 Add basic event listeners for Glance images.VSTOR-12772
Alexander KurbatovAlexander Kurbatov
7c32a6dd0delisteners: Minor docstrings correctionsNo functional changes.
Alexander KurbatovAlexander Kurbatov
97ed8850893logger: Log publisher_id tooSometimes it is useful to know which publisher has sent a message. Also, properly determine id of an object from the received payload (previous implementation worked only in case of servers).
Alexander KurbatovAlexander Kurbatov
35510682e55Introduce Cinder supportVSTOR-12772 Add basic event listeners for Cinder volumes.VSTOR-12772
Alexander KurbatovAlexander Kurbatov
546ac3a23b4listeners: Explicitly mark message as handledAccording to the built docs of oslo messaging this is optional, but looks like a good approach.
Alexander KurbatovAlexander Kurbatov
740fcededd1listeners: Restructure computeUsually, different subsystems have different format of notifications, thus it is simpler to avoid creation of unique formatter in favor of per-subsystem formatters. Move implementation of the format method to compute, but enforce the existing interface.
Alexander KurbatovAlexander Kurbatov
690ed1c5456listeners: logger: Log metadata tooBut do it only in debug mode. The metadata provides useful info regarding received messages.
Alexander KurbatovAlexander Kurbatov
4c93b3e0a83MMerge pull request #1 in OPENSTACK/beholder from ~ALKURBATOV/beholder:my-master to master* commit '898bbc3bcf7131631d32eac8ef3a0925037cd8b4': Add Virtuozzo copyrights Initial implementation