Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add :event_catcher_openstack_service setting #13985

Merged

Conversation

aufi
Copy link
Member

@aufi aufi commented Feb 20, 2017

Adding setting which allows switch Openstack Event provider service into settings.yml.

The switch is needed because OSP telemetry services (like Event providing service) can be disabled, installed on older OSP versions or manually changed. These cases might not be handled by automatic selection of Events service well (proven on Metric telemetry services).

This setting will be used by ManageIQ/manageiq-gems-pending#57

Possible values:

  • "ceilometer"
  • "panko"
  • "auto" (and any other string means automatic selection, panko is preffered)

Links

Adding setting which allows switch Openstack Event provider service.

Possible values:
 * "ceilometer"
 * "panko"
 * "auto" (and any other string means auto)
@miq-bot
Copy link
Member

miq-bot commented Feb 20, 2017

Checked commit aufi@abe500c with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
0 files checked, 0 offenses detected
Everything looks good. 🍰

@tzumainn
Copy link
Contributor

tzumainn commented Feb 22, 2017

👍 This turned out to be necessary for metrics, so a parallel setting for events makes a lot of sense!

@aufi
Copy link
Member Author

aufi commented Mar 1, 2017

@blomquisg Hi, may I ask for review (to be able to continue on depending PR)? Thanks!

@@ -1283,6 +1283,7 @@
:poll: 10.seconds
:event_catcher_swift:
:poll: 10.seconds
:event_catcher_openstack_service: "auto"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anyway this can be bumped up to the :event_catcher_openstack section?

I'd rather have it there, than add another new section for OpenStack. Thoughts?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:event_catcher_openstack section is for Cloud provider (the name is misleading here, propably for historical reasons).

We need this option to affect all Openstack-like providers (cloud, infra, network, ...) so I'd prefer keep it outside the Cloud provider related section.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

K, we'll just need to make sure this gets picked up when OSP is extracted to its own repo /cc @durandom

@blomquisg blomquisg merged commit 5745d62 into ManageIQ:master Mar 15, 2017
@blomquisg blomquisg added this to the Sprint 57 Ending Mar 27, 2017 milestone Mar 15, 2017
@tzumainn
Copy link
Contributor

@miq-bot add_label euwe/yes

@aufi
Copy link
Member Author

aufi commented Mar 28, 2017

This PR is required by ManageIQ/manageiq-gems-pending#57
@miq-bot add_label blocker

simaishi pushed a commit that referenced this pull request Mar 28, 2017
…ce_setting

Add :event_catcher_openstack_service setting
(cherry picked from commit 5745d62)

https://bugzilla.redhat.com/show_bug.cgi?id=1436340
@simaishi
Copy link
Contributor

Euwe backport details:

$ git log -1
commit c6a1c7c4a7f7dcf2e5d5a84cf5650af927d14464
Author: Greg Blomquist <blomquisg@gmail.com>
Date:   Wed Mar 15 10:23:38 2017 -0400

    Merge pull request #13985 from aufi/add_event_catcher_openstack_service_setting
    
    Add :event_catcher_openstack_service setting
    (cherry picked from commit 5745d624fc64b95a203c913da2092c17f26531fd)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1436340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants