setup environment for external mongo testing

Bug #1392268 reported by Ivan Berezovskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ivan Berezovskiy

Bug Description

I have a blueprint for external mongodb support (https://blueprints.launchpad.net/fuel/+spec/external-mongodb-support). Patches are ready and tested, but we need a testing ci for this feature. It could be a single job that setups mongo in single node or mongo with replicaset depending on environment which we are want to test. If it's a HA mode, we deploy mongo with replicaset, else we deploy only one node.

To deploy mongo we can use our puppet scripts in fuel-library (we need in mongodb module only). To use it we should pass the same parameter to it as it does during fuel deploy. If we deploy HA mode we pass mongodb_bind_address, ceilometer_metering_secret, ceilometer_db_password, ceilometer_replset_members for primary mongo and mongodb_bind_address for another mongo nodes. In simple mode we should deploy only one mongo node as primary.

Then we should pass mongo credentials to job that will test deploy cluster with external mongo.

Changed in fuel:
milestone: none → 6.0
Changed in fuel:
assignee: nobody → Fuel DevOps (fuel-devops)
importance: Undecided → High
Changed in fuel:
status: New → Confirmed
Igor Shishkin (teran)
tags: added: devops
tags: added: jenkins puppet
Revision history for this message
Igor Shishkin (teran) wrote :

Ivan, currently we're trying to not to support anything we're not working with directly.
So I can provide you access to our puppet manifests to add/use modules for mongo and help to setup notifications from zabbix for this mongo to you or your team.

But unfortunately we can't support any thing you're developing with.

Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Ivan Berezovskiy (iberezovskiy)
Revision history for this message
Dina Belova (dbelova) wrote :

Igor, the blueprint about external mongodb support has been already approved for lots of reasons - the main is not to pretend maintain and support ALL possible mongo configurations that might be needed by customer. The only moment that prevents these changes to be merged - no test env available. That's why Ivan started working this bug. Actually I don't understand something you've just said - 'I can provide you access to our puppet manifests to add/use modules for mongo and help to setup notifications from zabbix for this mongo to you or your team' - we can't support all mongo configurations that might be needed in real-life deployments in fuel! The easiest way is to add opportunity of external mongodb support here....

Revision history for this message
Igor Shishkin (teran) wrote :

Dina,

If we're working on any kind of service that means we should react on it's fails, monitor it and have an SLA for that.
That's pretty bad for aside services which are not involved in infrastructure, which comes from aside and where we don't have enough expertise.

So I suggesting Ivan to write puppet manifests on his own and provide our infrastructure(puppet master, zabbix) as a services to use them for deployment and monitoring.
In this scenario he will be responsible for that service and SLA on his side.
We could only help to order VMs/HW and consult on implementation.

As I've got from Ivan few minutes ago in Skype call you don't have to support all configurations, you need just two of them(Replicaset and single), so it's could be implemented in manifests by Ivan or any of your guys.

Revision history for this message
Igor Shishkin (teran) wrote :
Changed in fuel:
status: Confirmed → Fix Committed
status: Fix Committed → In Progress
milestone: 6.0 → 6.1
Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.