Ceph is disabled in CentOS on iso 189

Bug #1263251 reported by Andrew Woodward
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Aleksey Kasatkin

Bug Description

{"build_id": "2013-12-21_00-01-41", "ostf_sha": "2a59b9a850f5c612ef4e8617395a60c27305283f", "build_number": "189", "nailgun_sha": "cd29f83bf2a29a476cd78fcdc77838f72ca7ae86", "fuelmain_sha": "2e4b3e9b173050def41264feaeeeed47efc9b718", "astute_sha": "a9cb3aad39b0fe9fc8c8399ef6d6e75850a1ed6d", "release": "4.0", "fuellib_sha": "79002d33327780039f481b78fe7a5d6e70e645c0"}

"Ceph is not supported in Havana" message appears in setup when building CentOS cluster (see attached)

Tags: ui nailgun
Revision history for this message
Andrew Woodward (xarses) wrote :
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Looks like this bug is caused by this change:
https://review.openstack.org/#/c/63175/4/nailgun/nailgun/db/sqlalchemy/models/release.py

I think what happens is that when RedHat release is added to the NailgunDB, the ceph-osd role gets deleted from the CentOS release that was added previously. Ubuntu is added after RedHat, that's how its ceph-osd role remains intact.

Revision history for this message
Ryan Moe (rmoe) wrote :

Dmitry is correct.

nailgun=# select * from roles;
 id | release_id | name
----+------------+------------
  1 | 1 | controller
  2 | 1 | compute
  3 | 1 | cinder
  5 | 2 | controller
  6 | 2 | compute
  7 | 2 | cinder
  8 | 3 | controller
  9 | 3 | compute
 10 | 3 | cinder
 11 | 3 | ceph-osd
(10 rows)

Ceph OSD on CentOS would have been ID 4.

Ryan Moe (rmoe)
Changed in fuel:
status: Confirmed → Triaged
Mike Scherbakov (mihgen)
tags: added: nailgun
Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Aleksey Kasatkin (alekseyk-ru)
Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/63688

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/63688
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=8d1e8f41106c72af441ab52bb909987d4db32774
Submitter: Jenkins
Branch: master

commit 8d1e8f41106c72af441ab52bb909987d4db32774
Author: Aleksey Kasatkin <email address hidden>
Date: Mon Dec 23 09:47:49 2013 +0200

    Roles are deleted for current release only

    Ceph role was miskakenly deleted for CentOS release
    when release roles were updated.
    Now roles are deleted for current release only during roles update.

    Closes-Bug: 1263251

    Change-Id: I73afc0227f56ed54b22f398482a8a14148d5740f

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.