smlite provision stuck at compute 'post_provision'

Bug #1588617 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Medium
Dheeraj Gautam
Trunk
Fix Committed
Medium
Dheeraj Gautam

Bug Description

r3.0.2.0-build 47 kilo. SMlite cluster provisioning hangs at compute 'post_provision'. Dheeraj debugged the issue and concluded that it was introduced by https://launchpad.net/bugs/1551915 and shows up only when journal disk is configured.

root@cmbu-ceph-perf1:~# server-manager show cluster --detail
{
    "cluster": [
        {
            "base_image_id": "",
            "email": "",
            "id": "my_smlite_cluster",
            "package_image_id": "",
            "parameters": {
                "admin_key": "AQDIgtNTgPLWARAAK6gs/fj8m88LnY9DwxJdYA==",
                "database_minimum_diskGB": "256",
                "domain": "",
                "external_bgp": "[('montreal', '10.87.140.185')]",
                "heat_encryption_key": "A237661F5380",
                "keystone_admin_token": "DD8CDE363E44",
                "keystone_password": "n1keenA",
                "live_migration": "enable",
                "live_migration_nfs_vm_host": "cmbu-ceph-perf2",
                "mysql_root_password": "A70704877DC8",
                "mysql_service_password": "67F468C00132",
                "osd_bootstrap_key": "AQCq7NFTeJUoBhAAlTVpxwWQJtBej/JDNhT6+Q==",
                "router_asn": "64512",
                "storage_fsid": "9bd8015d-7147-4b60-a3d2-9d27f214f20e",
                "storage_mon_secret": "AQBM78tTEMz+GhAA3WiOXQI7UVdIy0YFFuTGdw==",
                "storage_virsh_uuid": "49bf0206-dbaf-4de8-90b7-1419e6c57ed1",
                "uuid": "d5c71ee4-60d1-44cd-b47b-8d5548321f00"
            },
            "provision_role_sequence": "{'completed': [('cmbu-ceph-perf1', 'haproxy', '2016_06_02__19_14_36'), ('cmbu-ceph-perf1', 'database', '2016_06_02__19_15_46'), ('cmbu-ceph-perf1', 'openstack', '2016_06_02__19_27_41'), ('cmbu-ceph-perf1', 'config', '2016_06_02__19_30_47'), ('cmbu-ceph-perf1', 'control', '2016_06_02__19_31_30'), ('cmbu-ceph-perf1', 'collector', '2016_06_02__19_32_18'), ('cmbu-ceph-perf1', 'webui', '2016_06_02__19_32_51'), ('cmbu-ceph-perf4', 'compute', '2016_06_02__19_42_35'), ('cmbu-ceph-perf2', 'compute', '2016_06_02__19_42_40'), ('cmbu-ceph-perf3', 'compute', '2016_06_02__19_43_07'), ('cmbu-ceph-perf1', 'storage-master', '2016_06_02__19_45_32'), ('cmbu-ceph-perf1', 'post_provision', '2016_06_02__19_45_33')], 'steps': [[(u'cmbu-ceph-perf3', 'post_provision'), (u'cmbu-ceph-perf2', 'post_provision'), (u'cmbu-ceph-perf4', 'post_provision'), (u'cmbu-ceph-perf3', 'storage-compute'), (u'cmbu-ceph-perf2', 'storage-compute'), (u'cmbu-ceph-perf4', 'storage-compute')]]}",
            "provisioned_id": null
        }
    ]
}
root@cmbu-ceph-perf1:~#

testbed.py snippet:

storage_node_config = {
    host2 : { 'disks' : ['/dev/sdc', '/dev/sdd','/dev/sde','/dev/sdf'] , 'journal' : ['/dev/sdb'] },
    host3 : { 'disks' : ['/dev/sdc', '/dev/sdd','/dev/sde','/dev/sdf'] , 'journal' : ['/dev/sdb'] },
    host4 : { 'disks' : ['/dev/sdc', '/dev/sdd','/dev/sde','/dev/sdf'] , 'journal' : ['/dev/sdb'] },
}

Tags: storage
wenqing liang (wliang)
information type: Proprietary → Public
Revision history for this message
wenqing liang (wliang) wrote :

fixed via partial #1551915. verified that smlite storage provision of ceph cluster with journal disks was successful for r3.0.2.0-51 kilo.

Summary:
SM-Storage: Fix bug for disks with journals.
Bug Info:
SM-Storage: Fix bug for disks with journals.
Partial-Bug: #1551915

Changes:
Commit 53e2f9cf24373a34a30bbbf703c4df34bb59f7a0 by <email address hidden>

Partial-Bug: #1551915

53e2f9c SM-Storage: Fix bug for disks with journals.
M contrail/environment/modules/contrail/templates/compute-pool-config.erb

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.