SM-Storage: OSDs may not come up after reboot

Bug #1465636 reported by Dheeraj Gautam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.1
Fix Committed
Undecided
Dheeraj Gautam
R2.20
Fix Committed
High
Dheeraj Gautam
R3.0
Fix Committed
Undecided
Unassigned
Trunk
Fix Committed
Undecided
Dheeraj Gautam

Bug Description

With current SM installation, on rebooting the system OSDs may not come up. it throws up some error. This started happening post TurningOff of puppet. Previously puppet used to start all OSDs.

Solution: Removing of existing scripts and move to native puppet-ceph module takes care of all this. Also this uses ceph-disk command to zap,prepare and activate, same as FAB.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/11681
Submitter: Dheeraj Gautam (<email address hidden>)

Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/11777
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/11681
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/11681
Committed: http://github.org/Juniper/contrail-puppet/commit/724f471ba7cda5760022150375937d2d41098aab
Submitter: Zuul
Branch: R2.20

commit 724f471ba7cda5760022150375937d2d41098aab
Author: root <email address hidden>
Date: Tue Jun 16 03:08:37 2015 -0700

SM-Storage: making use of default puppet files for
osd creation instead of manual script for osd creation.

Closes-Bug: #1465636

1. Changed the script for formatting a disks.
2. Existing scripts were not handling reboot correctly for OSDs
3. now using ceph-disk for all OSD operations.

Testing:
1. tested the storage roles, verfied all OSDs came up, live migration came up
and VM migration was working
2. rebooted the system and verifed all OSDs came up.

This may break upgrade from old releases.

Change-Id: Ia425c421a58c150c2bc9d1843fd26963e380392f

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/11777
Committed: http://github.org/Juniper/contrail-puppet/commit/cf44a52a669d468437b353717dc2243fc8acf0d7
Submitter: Zuul
Branch: R2.20

commit cf44a52a669d468437b353717dc2243fc8acf0d7
Author: root <email address hidden>
Date: Thu Jun 18 02:55:06 2015 -0700

SM-Storage: use zap along with parted and dd.

Previous check removed the parted adn dd commands and used the ceph-disk zap
alone. This may cause issues as it already caused in FAB.

Testing:
Provisioned the system multiple times and tested reboot of nodes.

Change-Id: I6da96cd6c2b698fa0c19194a0cac1c6c6f51de4c
Closes-Bug:#1465636

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/12390
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/12392
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12390
Committed: http://github.org/Juniper/contrail-puppet/commit/c5a2cbb96658695ca9b96202aba42929063e37da
Submitter: Zuul
Branch: master

commit c5a2cbb96658695ca9b96202aba42929063e37da
Author: root <email address hidden>
Date: Tue Jun 16 03:08:37 2015 -0700

SM-Storage: making use of default puppet files for
osd creation instead of manual script for osd creation.

Closes-Bug: #1465636

1. Changed the script for formatting a disks.
2. Existing scripts were not handling reboot correctly for OSDs
3. now using ceph-disk for all OSD operations.

Testing:
1. tested the storage roles, verfied all OSDs came up, live migration came up
and VM migration was working
2. rebooted the system and verifed all OSDs came up.

This may break upgrade from old releases.

Change-Id: Ia425c421a58c150c2bc9d1843fd26963e380392f

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/12392
Committed: http://github.org/Juniper/contrail-puppet/commit/a077be7ac448e88d34916490bccbf74115e6f9aa
Submitter: Zuul
Branch: master

commit a077be7ac448e88d34916490bccbf74115e6f9aa
Author: root <email address hidden>
Date: Thu Jun 18 02:55:06 2015 -0700

SM-Storage: use zap along with parted and dd.

Previous check removed the parted adn dd commands and used the ceph-disk zap
alone. This may cause issues as it already caused in FAB.

Testing:
Provisioned the system multiple times and tested reboot of nodes.

Change-Id: I6da96cd6c2b698fa0c19194a0cac1c6c6f51de4c
Closes-Bug:#1465636

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.