Prepare Corosync 2.3.3 RPM package

Bug #1376600 reported by Sergii Golovatiuk on 2014-10-02
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
High
Aleksander Mogylchenko

Bug Description

Corosync 2.3.3 is mandatory feature for Fuel 6.1 release. Please create packages for Centos

Please note, corosync must be built with --enable-dbus flag

Changed in mos:
importance: Undecided → High
assignee: nobody → Fuel OSCI Team (fuel-osci)
Changed in mos:
assignee: Fuel OSCI Team (fuel-osci) → MOS Linux (mos-linux)
Changed in mos:
status: New → Confirmed
assignee: MOS Linux (mos-linux) → Aleksander Mogylchenko (amogylchenko)
milestone: none → 6.0
Mike Scherbakov (mihgen) wrote :

Sergii, please explain in the title, why it's mandatory.

Sergii Golovatiuk (sgolovatiuk) wrote :

I have linked this bug to "pacemaker-improvement" blueprint

Trusty has 2.3.3 package:
http://packages.ubuntu.com/trusty/admin/corosync

Do we need exactly 2.1, or a later release will work as well?

description: updated

I have updated title and required. thank you Aleksandr for pointing out! We definitely need corosync 2.3.3 or 2.3.4

summary: - Prepare Corosync 2.1.0 package
+ Prepare Corosync 2.3.4 package
summary: - Prepare Corosync 2.3.4 package
+ Prepare Corosync 2.3.3 package
OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: http://gerrit.mirantis.com/29794
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-29794/centos

Changed in mos:
status: Confirmed → Fix Committed
status: Fix Committed → In Progress
OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: http://gerrit.mirantis.com/29794
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable/centos

OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: http://gerrit.mirantis.com/29789
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable/ubuntu

Changed in mos:
status: In Progress → Fix Committed
OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: http://gerrit.mirantis.com/29905
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-29905/centos

OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: http://gerrit.mirantis.com/29905
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable/centos

OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: http://gerrit.mirantis.com/29910
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable/ubuntu

Please do not merge these packages to current 6.0 branch. It breaks juno stabilization process. First provide changes to the master branch.
Commits were reverted.

Changed in mos:
status: Fix Committed → Confirmed
Bogdan Dobrelya (bogdando) wrote :

Please keep these builds in staging mirrors

OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: http://gerrit.mirantis.com/29936
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master-29936/centos

OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: http://gerrit.mirantis.com/29938
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-29938/ubuntu

https://bugs.launchpad.net/mos/+bug/1381062 is necessary in order to fix CPU issues. Once done, I'll be able to test and merge both

OSCI Robot (oscirobot) wrote :

Package libqb has been built from changeset: http://gerrit.mirantis.com/30076
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-30076/ubuntu

OSCI Robot (oscirobot) wrote :

Package libqb has been built from changeset: http://gerrit.mirantis.com/30077
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master-30077/centos

OSCI Robot (oscirobot) wrote :

Package libqb has been built from changeset: http://gerrit.mirantis.com/30076
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

OSCI Robot (oscirobot) wrote :

Package libqb has been built from changeset: http://gerrit.mirantis.com/30077
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master/centos

OSCI Robot (oscirobot) wrote :
OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: https://review.fuel-infra.org/232
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-232/ubuntu

OSCI Robot (oscirobot) wrote :

Package corosync has been built from changeset: https://review.fuel-infra.org/233
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-233/centos

OSCI Robot (oscirobot) wrote :
OSCI Robot (oscirobot) wrote :

Those packages require testing before merging.

Changed in mos:
assignee: Aleksander Mogylchenko (amogylchenko) → Sergii Golovatiuk (sgolovatiuk)
Changed in mos:
milestone: 6.0 → 6.1
Bogdan Dobrelya (bogdando) wrote :

@Aleksandr, please provide a status update for the bug

Changed in mos:
assignee: Sergii Golovatiuk (sgolovatiuk) → Aleksander Mogylchenko (amogylchenko)
status: Confirmed → Incomplete
description: updated
description: updated
Bogdan Dobrelya (bogdando) wrote :

Please also elaborate are packages were built with --enable-dbus flag?

OSCI Robot (oscirobot) wrote :

DEB package corosync has been built for project packages/precise/corosync
Package version == , package release ==

Changeset: https://review.fuel-infra.org/1462
project: packages/precise/corosync
branch: 6.1
author: Aleksandr Mogylchenko
committer: Aleksandr Mogylchenko
subject: LP #1376600. Prepare Corosync 2.3.3 package
status: patchset-created

Files placed on repository:
corosync-dbg_2.3.3-1ubuntu1_amd64.deb
corosync-dev_2.3.3-1ubuntu1_amd64.deb
corosync_2.3.3-1ubuntu1_amd64.deb
libcfg-dev_2.3.3-1ubuntu1_amd64.deb
libcfg6_2.3.3-1ubuntu1_amd64.deb
libcmap-dev_2.3.3-1ubuntu1_amd64.deb
libcmap4_2.3.3-1ubuntu1_amd64.deb
libcorosync-common-dev_2.3.3-1ubuntu1_amd64.deb
libcorosync-common4_2.3.3-1ubuntu1_amd64.deb
libcorosync-dev_2.3.3-1ubuntu1_all.deb
libcorosync4_2.3.3-1ubuntu1_all.deb
libcpg-dev_2.3.3-1ubuntu1_amd64.deb
libcpg4_2.3.3-1ubuntu1_amd64.deb
libquorum-dev_2.3.3-1ubuntu1_amd64.deb
libquorum5_2.3.3-1ubuntu1_amd64.deb
libsam-dev_2.3.3-1ubuntu1_amd64.deb
libsam4_2.3.3-1ubuntu1_amd64.deb
libtotem-pg-dev_2.3.3-1ubuntu1_amd64.deb
libtotem-pg5_2.3.3-1ubuntu1_amd64.deb
libvotequorum-dev_2.3.3-1ubuntu1_amd64.deb
libvotequorum6_2.3.3-1ubuntu1_amd64.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: /ubuntu-fuel-6.1-stable-1462/ubuntu

OSCI Robot (oscirobot) wrote :

DEB package libqb has been built for project packages/precise/libqb
Package version == , package release ==

Changeset: https://review.fuel-infra.org/1463
project: packages/precise/libqb
branch: 6.1
author: Aleksandr Mogylchenko
committer: Aleksandr Mogylchenko
subject: LP #1381062. Create libqb >= 0.17.0 package
status: patchset-created

Files placed on repository:
libqb-dev_0.17.0-2_amd64.deb
libqb0_0.17.0-2_amd64.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: /ubuntu-fuel-6.1-stable-1463/ubuntu

no longer affects: mos/6.0.x
no longer affects: mos/6.1.x
Changed in mos:
milestone: 6.0.1 → 6.1
status: Incomplete → Confirmed

Can we build it with libnss3-1d (>= 3.12.0~1.9b1) ?

 diff -ubr upstream our
--- upstream 2015-01-07 21:51:55.393752000 +0000
+++ our 2015-01-07 21:51:34.321752000 +0000
@@ -4,7 +4,7 @@
  libcorosync-common4 (= 2.3.3-1ubuntu1)
  libcpg4 (= 2.3.3-1ubuntu1)
  libdbus-1-3 (>= 1.0.2)
- libnss3 (>= 3.12.0~1.9b1)
+ libnss3 (>= 2:3.13.4-2~) | libnss3-1d (>= 3.12.0~1.9b1)
  libqb0
  libquorum5 (= 2.3.3-1ubuntu1)
  libsam4 (= 2.3.3-1ubuntu1)

Upstream packages were pushed as is, therefore OBS replaces dependencies in the process of the build.

Changed in mos:
assignee: Aleksander Mogylchenko (amogylchenko) → Fuel OSCI Team (fuel-osci)
Changed in mos:
assignee: Fuel OSCI Team (fuel-osci) → Artem Silenkov (asilenkov)
Artem Silenkov (asilenkov) wrote :

We need version of nss package newer than we have in our build target.

Quick try was not successful
https://osci-obs.vm.mirantis.net/package/rawlog?arch=x86_64&package=nss&project=ubuntu-fuel-master-2049&repository=ubuntu

I need time to investigate. This package is core package and have strong and complex dependencies.

Bogdan Dobrelya (bogdando) wrote :

We still do want it for Centos 6.5 as it would be supported by 6.1 release. Please provide the RPM packages

summary: - Prepare Corosync 2.3.3 package
+ Prepare Corosync 2.3.3 RPM package
description: updated
OSCI Robot (oscirobot) wrote :

RPM package libqb has been built for project packages/centos6/libqb
Package version == 0.17.0, package release == 1

Changeset: https://review.fuel-infra.org/2071
project: packages/centos6/libqb
branch: 6.1
author: Dmitry Burmistrov
committer: Dmitry Burmistrov
subject: LP #1381062. Create libqb >= 0.17.0 package
status: patchset-created

Files placed on repository:
libqb-0.17.0-1.mira1.x86_64.rpm
libqb-debuginfo-0.17.0-1.mira1.x86_64.rpm
libqb-devel-0.17.0-1.mira1.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable-2071/centos

OSCI Robot (oscirobot) wrote :

RPM package libqb has been built for project packages/centos6/libqb
Package version == 0.17.0, package release == 1

Changeset: https://review.fuel-infra.org/2071
project: packages/centos6/libqb
branch: 6.1
author: Dmitry Burmistrov
committer: Dmitry Burmistrov
subject: LP #1381062. Create libqb >= 0.17.0 package
status: change-merged

Files placed on repository:
libqb-0.17.0-1.mira1.x86_64.rpm
libqb-debuginfo-0.17.0-1.mira1.x86_64.rpm
libqb-devel-0.17.0-1.mira1.x86_64.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable/centos

OSCI Robot (oscirobot) wrote :

RPM package corosync has been built for project packages/centos6/corosync
Package version == 2.3.3, package release == 2

Changeset: https://review.fuel-infra.org/2073
project: packages/centos6/corosync
branch: 6.1
author: Artem Silenkov
committer: Artem Silenkov
subject: LP #1376600. Prepare Corosync 2.3.3 package
status: patchset-created

Files placed on repository:
corosync-2.3.3-2.mira1.x86_64.rpm
corosync-debuginfo-2.3.3-2.mira1.x86_64.rpm
corosynclib-2.3.3-2.mira1.x86_64.rpm
corosynclib-devel-2.3.3-2.mira1.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable-2073/centos

OSCI Robot (oscirobot) wrote :

RPM package corosync has been built for project packages/centos6/corosync
Package version == 2.3.3, package release == 2

Changeset: https://review.fuel-infra.org/2073
project: packages/centos6/corosync
branch: 6.1
author: Artem Silenkov
committer: Artem Silenkov
subject: LP #1376600. Prepare Corosync 2.3.3 package
status: change-merged

Files placed on repository:
corosync-2.3.3-2.mira1.x86_64.rpm
corosync-debuginfo-2.3.3-2.mira1.x86_64.rpm
corosynclib-2.3.3-2.mira1.x86_64.rpm
corosynclib-devel-2.3.3-2.mira1.x86_64.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable/centos

Changed in mos:
status: Confirmed → In Progress

I believe this merge requires new clusterlib as well, because of conflicts:
nothing provides libconfdb.so.4()(64bit) needed by clusterlib, nothing provides libconfdb.so.4(COROSYNC_CONFDB_1.0)(64bit) needed by clusterlib, conflict for provider of corosync = 2.3.3-2.mira1 needed by corosynclib, (provider corosync obsoletes installed clusterlib)

This output was taken from test pacemaker build.

I've fixed pacemaker dependencies, so it will pick up correct cluster implementation (corosync instead of cman). Please ignore my previous comment.

Artem Silenkov (asilenkov) wrote :

So did we build all stuff necessary? Or do some intervention steel needed?

Changed in mos:
status: In Progress → Fix Committed

Reopening because of incorrect workflow. 'Fix committed' should be set when packages get here:
http://mirror.fuel-infra.org/fwm/6.1/

Changed in mos:
status: Fix Committed → In Progress
Bogdan Dobrelya (bogdando) wrote :

Please note that the packages could be moved to main mirrors only after this dependency patch https://review.openstack.org/#/c/148931/

OSCI Robot (oscirobot) wrote :

RPM package corosync has been built for project packages/centos6/corosync
Package version == 1.4.6, package release == 26.2

Changeset: https://review.fuel-infra.org/2251
project: packages/centos6/corosync
branch: 6.1
author: Igor Gnatenko
committer: Igor Gnatenko
subject: Revert \"LP #1376600. Prepare Corosync 2.3.3 package\"
status: patchset-created

Files placed on repository:
corosync-1.4.6-26.2.mira1.x86_64.rpm
corosync-debuginfo-1.4.6-26.2.mira1.x86_64.rpm
corosynclib-1.4.6-26.2.mira1.x86_64.rpm
corosynclib-devel-1.4.6-26.2.mira1.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable-2251/centos

OSCI Robot (oscirobot) wrote :

RPM package corosync has been built for project packages/centos6/corosync
Package version == 1.4.6, package release == 26.2

Changeset: https://review.fuel-infra.org/2252
project: packages/centos6/corosync
branch: 6.1
author: Igor Gnatenko
committer: Igor Gnatenko
subject: Revert \"LP #1376600. Prepare Corosync 2.3.3 package\"
status: patchset-created

Files placed on repository:
corosync-1.4.6-26.2.mira1.x86_64.rpm
corosync-debuginfo-1.4.6-26.2.mira1.x86_64.rpm
corosynclib-1.4.6-26.2.mira1.x86_64.rpm
corosynclib-devel-1.4.6-26.2.mira1.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable-2252/centos

OSCI Robot (oscirobot) wrote :

RPM package corosync has been built for project packages/centos6/corosync
Package version == 1.4.6, package release == 26.2

Changeset: https://review.fuel-infra.org/2252
project: packages/centos6/corosync
branch: 6.1
author: Igor Gnatenko
committer: Igor Gnatenko
subject: Revert \"LP #1376600. Prepare Corosync 2.3.3 package\"
status: change-merged

Files placed on repository:
corosync-1.4.6-26.2.mira1.x86_64.rpm
corosync-debuginfo-1.4.6-26.2.mira1.x86_64.rpm
corosynclib-1.4.6-26.2.mira1.x86_64.rpm
corosynclib-devel-1.4.6-26.2.mira1.x86_64.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable/centos

Bogdan Dobrelya (bogdando) wrote :

As far as I can see the packages was reverted from staging mirrors. Is it possible to provide a testing repo?

Artem Silenkov (asilenkov) wrote :

What package version do you need at the end?

We need to build
pacemaker, corosync, libqb, crmsh
altogether.

We should really close this bug and fill a new one with all details included.
Pls fill new bug with all necessary package versions if you need any.

Bogdan Dobrelya (bogdando) wrote :

All packages and versions specified at separate bugs. I believe we don't need more bugs as it would be a confusing amount of bugs :)
Bugs for pacemaker, corosync, libgb and crmsh altogether are collected under bp corosync-2

Bogdan Dobrelya (bogdando) wrote :

According to Dmitry Burmistrov, packages were reverted from staging mirrors due to failed bvt tests. It is ok, but please be ready to merge all of them back once we will fix the deployment issues with Corosync v2 cluster infra (work in progress).

We use the custom ISO with all required packages, so there are no blocker here, happily. I will update the status of this and other related bugs when we're ready

Artem Silenkov (asilenkov) wrote :

We are ready to revert "reverted packages" back as soon as you are ready for this.

Changed in mos:
assignee: Artem Silenkov (asilenkov) → Bogdan Dobrelya (bogdando)
OSCI Robot (oscirobot) wrote :

RPM package corosync has been built for project packages/centos6/corosync
Package version == 2.3.3, package release == 2

Changeset: https://review.fuel-infra.org/2322
project: packages/centos6/corosync
branch: 6.1
author: Vladimir Kuklin
committer: Vladimir Kuklin
subject: Revert \"Revert \"LP #1376600. Prepare Corosync 2.3.3 package\"\"
status: patchset-created

Files placed on repository:
corosync-2.3.3-2.mira1.x86_64.rpm
corosync-debuginfo-2.3.3-2.mira1.x86_64.rpm
corosynclib-2.3.3-2.mira1.x86_64.rpm
corosynclib-devel-2.3.3-2.mira1.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable-2322/centos

Changed in mos:
assignee: Bogdan Dobrelya (bogdando) → MOS Linux (mos-linux)
Changed in mos:
assignee: MOS Linux (mos-linux) → Bogdan Dobrelya (bogdando)
Bogdan Dobrelya (bogdando) wrote :

Thank you, @Artem, we still have some blockers in our pacemaker provider for puppet, I will keep you informed.

Bogdan Dobrelya (bogdando) wrote :

The fixes for fuel library to go with Corosync 2 packages are: https://review.openstack.org/#/c/150012 and https://review.openstack.org/#/c/150775/

Please merge corosync, pacemaker, libqb, crmsh packages to the staging mirrors and adjust its fuellib-gerrit-commit parameter to include the former patches, otherwise staging bvt would fail.

Changed in mos:
assignee: Bogdan Dobrelya (bogdando) → Fuel OSCI Team (fuel-osci)
Roman Vyalov (r0mikiam) on 2015-01-30
Changed in mos:
assignee: Fuel OSCI Team (fuel-osci) → MOS Linux (mos-linux)
Bogdan Dobrelya (bogdando) wrote :

It looks like we should no pass unmerged patches to the staging BVT. We will merge library fixes https://review.openstack.org/#/c/150012 and https://review.openstack.org/#/c/150775/ at Monday, so let's merge the packages at Monday as well and let the staging job check them both.

Bogdan Dobrelya (bogdando) wrote :

@Artem, we are ready to merge the last patch and are you ready for merging corosync-2 with pacemaker and dependency packages to the staging repos?

Changed in mos:
assignee: MOS Linux (mos-linux) → Aleksander Mogylchenko (amogylchenko)

Package was pushed by Artem to stable 6.1 repo.

Changed in mos:
status: In Progress → Fix Committed
status: Fix Committed → In Progress
Changed in mos:
status: In Progress → Fix Committed
Bogdan Dobrelya (bogdando) wrote :

please rebuild this package with --enable-dbus option

Changed in mos:
status: Fix Committed → New

First of all, after the package is merged there is no sense to reopen old bugs - new should be created.

Second, this package already comes with dbus support:
https://review.fuel-infra.org/gitweb?p=packages/centos6/corosync.git;a=blob;f=corosync.spec;h=ba2bd19881a2880aea72ee7c1906186300e4e115;hb=refs/heads/6.1#l8

Changed in mos:
status: New → Fix Committed
Bogdan Dobrelya (bogdando) wrote :

Thank you, @Aleksand. I rechecked it and dbus works, indeed

Change abandoned by Aleksandr Mogylchenko <email address hidden> on branch: 6.1
Review: https://review.fuel-infra.org/1463

Kyrylo Romanenko (kromanenko) wrote :

Corosync 2.3.3 installed on CentOS deployment.

# yum info corosync
Available Packages
Name : corosync
Arch : x86_64
Version : 2.3.3
Release : 2.mira1

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "395"
  build_id: "2015-05-08_11-08-49"
  nailgun_sha: "46f55c293e4540d31bcaa6ca3fba77235fb27537"
  python-fuelclient_sha: "af6c9c3799b9ec107bcdc6dbf035cafc034526ce"
  astute_sha: "6a4dcd11c67af2917815f3678fb594c7412a4c97"
  fuel-library_sha: "f385d6a58298c702f8d4f14c452dcffdc0b1e2a3"
  fuel-ostf_sha: "740ded337bb2a8a9b3d505026652512257375c01"
  fuelmain_sha: "3eca5e8f7ca6a83faff5feeca92c21cff31c0af1"

Changed in mos:
status: Fix Committed → Fix Released

Change abandoned by Artem Silenkov <email address hidden> on branch: master
Review: https://review.fuel-infra.org/2049

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers