SM running on higher version, when used t provision a node in lower version, provisioning is stuck

Bug #1537291 reported by manishkn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
prasad miriyala

Bug Description

Server manager version : 3.0-2700
Node to be provisioned version : 2.23-119

Provision is getting stuck in the initial stage and its not going to haproxy stage

root@quanta-vxa2-manish:~# server-manager status server
{
    "server": [
        {
            "id": "cmbu-gravity-10",
            "ip_address": "10.87.141.33",
            "mac_address": "00:25:90:AB:9C:70",
            "status": "reimage_completed"
        }
    ]
}
root@quanta-vxa2-manish:~# server-manager show cluster
{
    "cluster": [
        {
            "id": "AllInOne"
        }
    ]
}
root@quanta-vxa2-manish:~# server-manager show cluster --detail
{
    "cluster": [
        {
            "base_image_id": "",
            "email": "<email address hidden>",
            "id": "AllInOne",
            "package_image_id": "",
            "parameters": {
                "admin_key": "AQDIgtNTgPLWARAAK6gs/fj8m88LnY9DwxJdYA==",
                "analytics_data_dir": "",
                "analytics_data_ttl": "48",
                "analytics_syslog_port": "-1",
                "database_dir": "/var/lib/cassandra",
                "database_minimum_diskGB": "",
                "database_token": "0",
                "domain": "englab.juniper.net",
                "encapsulation_priority": "MPLSoUDP,MPLSoGRE,VXLAN",
                "external_bgp": "",
                "external_vip": "",
                "gateway": "10.204.221.46",
                "haproxy": "disable",
                "hc_interval": "5",
                "internal_vip": "",
                "kernel_upgrade": "yes",
                "kernel_version": "",
                "keystone_ip": "",
                "keystone_password": "contrail123",
                "keystone_region_name": "RegionOne",
                "keystone_service_tenant": "service",
                "keystone_tenant": "admin",
                "keystone_username": "admin",
                "live_migration": "disable",
                "live_migration_nfs_vm_host": "",
                "live_migration_storage_scope": "",
                "multi_tenancy": "True",
                "nfs_glance_path": "",
                "nfs_server": "",
                "openstack_mgmt_ip": "",
                "osd_bootstrap_key": "AQCq7NFTeJUoBhAAlTVpxwWQJtBej/JDNhT6+Q==",
                "password": "c0ntrail123",
                "router_asn": "64512",
                "service_token": "contrail123",
                "ssd_data_dir": "",
                "storage_fsid": "b995c9f7-13d8-4710-a28a-6d1c090318c3",
                "storage_mon_secret": "AQBM78tTEMz+GhAA3WiOXQI7UVdIy0YFFuTGdw==",
                "storage_virsh_uuid": "e86a9153-d3e9-451b-98f2-36fa4158f40c",
                "subnet_mask": "255.255.255.0",
                "use_certificates": "False",
                "uuid": "31d9348b-a397-46af-a34f-607c6401d8b3"
            },
            "provision_role_sequence": "{'completed': [], 'steps': [[(u'cmbu-gravity-10', u'haproxy')], [(u'cmbu-gravity-10', u'database')], [(u'cmbu-gravity-10', u'openstack')], [(u'cmbu-gravity-10', u'config')], [(u'cmbu-gravity-10', u'control')], [(u'cmbu-gravity-10', u'collector')], [(u'cmbu-gravity-10', u'webui')], [(u'cmbu-gravity-10', 'compute'), (u'cmbu-gravity-10', 'post_provision')]]}",
            "provisioned_id": null
        }

manishkn (manishkn)
no longer affects: opencontrail
no longer affects: opencontrail/trunk
Revision history for this message
Abhay Joshi (abhayj) wrote :

Manish,

I think there may be an issye with your config. Can you please run it by someone in test who has done SM provisioning? I have assigned bug to Thilak so you can work with him if you still see the issue

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

Review in progress for https://review.opencontrail.org/16511
Submitter: Abhay Joshi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/16511
Committed: http://github.org/Juniper/contrail-server-manager/commit/3797d30922d78c600dea1de9b6d84eb06d17f3b4
Submitter: Zuul
Branch: master

commit 3797d30922d78c600dea1de9b6d84eb06d17f3b4
Author: Abhay Joshi <email address hidden>
Date: Mon Jan 25 21:39:44 2016 -0800

Closes-Bug: #1537291
Old contrail code expects the sequencing parameters to be set
using old params structure, i.e. contrail::params::enable_....
This is determined based on how initially the sequencing params
are set.

Change-Id: I391e391c29cfb4d893237573443bf0c828762cb9

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.