Nodes remain in "Pending Addition" state after clicking button "Deploy Changes"

Bug #1290874 reported by Anastasia Palkina
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Kate Pimenova

Bug Description

"build_id": "2014-03-11_13-43-10",
"mirantis": "yes",
"build_number": "21",
"nailgun_sha": "4a9e4032f19f9037b21f41107a44fd67cfec9112",
"ostf_sha": "41b5c491b11bfad194e6bb17e3fec1ab5fa5a624",
"fuelmain_sha": "b4fb821cceeb100241a99b36ff7a5523b19093a7",
"astute_sha": "9f0a2a3135ace2e8d9bf7a4c5f661b8326ace285",
"release": "5.0",
"fuellib_sha": "48ced96753378e49883cdade8957160ef1b29899"

1. Create new environment (CentOS, simple mode)
2. Add controller and compute nodes
3. Click button "Deploy Changes"
4. Nodes remain in "Pending Addition" state (see screen)
5. If you restart the page nodes will be with status "Provisioning"

[
    {
        "status": "provisioning",
        "name": "Untitled (29:18)",
        "roles": [
            "compute"
        ],
        "ip": "10.20.0.189",
        "error_type": null,
        "pending_addition": false,
        "fqdn": "node-13.domain.tld",
        "network_data": [
            {
                "name": "management",
                "ip": "192.168.0.10/24",
                "vlan": 101,
                "dev": "eth0",
                "netmask": "255.255.255.0",
                "brd": "192.168.0.255",
                "gateway": null
            },
            {
                "name": "public",
                "ip": "172.16.0.11/24",
                "vlan": null,
                "dev": "eth1",
                "netmask": "255.255.255.0",
                "brd": "172.16.0.255",
                "gateway": "172.16.0.1"
            },
            {
                "name": "storage",
                "ip": "192.168.1.10/24",
                "vlan": 102,
                "dev": "eth0",
                "netmask": "255.255.255.0",
                "brd": "192.168.1.255",
                "gateway": null
            },
            {
                "vlan": null,
                "name": "floating",
                "dev": "eth1"
            },
            {
                "vlan": 103,
                "name": "fixed",
                "dev": "eth0"
            },
            {
                "name": "admin",
                "dev": "eth0"
            }
        ],
        "platform_name": null,
        "cluster": 5,
        "mac": "08:00:27:13:29:18",
        "meta": {
            "memory": {
                "total": 2104053760
            },
            "interfaces": [
                {
                    "mac": "08:00:27:E7:64:66",
                    "max_speed": 100,
                    "state": "unknown",
                    "current_speed": 100,
                    "name": "eth2"
                },
                {
                    "mac": "08:00:27:83:18:EE",
                    "max_speed": 100,
                    "state": "unknown",
                    "current_speed": 100,
                    "name": "eth1"
                },
                {
                    "name": "eth0",
                    "state": "unknown",
                    "ip": "10.20.0.189",
                    "netmask": "255.255.255.0",
                    "mac": "08:00:27:13:29:18",
                    "max_speed": 100,
                    "current_speed": 100
                }
            ],
            "disks": [
                {
                    "name": "sda",
                    "extra": [
                        "disk/by-id/scsi-SATA_VBOX_HARDDISK_VBc6f31c28-c73d823c",
                        "disk/by-id/ata-VBOX_HARDDISK_VBc6f31c28-c73d823c"
                    ],
                    "removable": "0",
                    "model": "VBOX HARDDISK",
                    "disk": "disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0",
                    "size": 68718428160
                },
                {
                    "name": "sdc",
                    "extra": [
                        "disk/by-id/scsi-SATA_VBOX_HARDDISK_VB99f9258d-e0300dfc",
                        "disk/by-id/ata-VBOX_HARDDISK_VB99f9258d-e0300dfc"
                    ],
                    "removable": "0",
                    "model": "VBOX HARDDISK",
                    "disk": "disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0",
                    "size": 68718428160
                },
                {
                    "name": "sdb",
                    "extra": [
                        "disk/by-id/scsi-SATA_VBOX_HARDDISK_VBae6a3329-4a7684ba",
                        "disk/by-id/ata-VBOX_HARDDISK_VBae6a3329-4a7684ba"
                    ],
                    "removable": "0",
                    "model": "VBOX HARDDISK",
                    "disk": "disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0",
                    "size": 68718428160
                }
            ],
            "system": {
                "serial": "0",
                "version": "1.2",
                "fqdn": "bootstrap",
                "family": "Virtual Machine",
                "manufacturer": "VirtualBox"
            },
            "cpu": {
                "real": 0,
                "total": 1,
                "spec": [
                    {
                        "model": "Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz",
                        "frequency": 1991
                    }
                ]
            }
        },
        "pending_deletion": false,
        "online": true,
        "progress": 0,
        "pending_roles": [],
        "os_platform": "centos",
        "id": 13,
        "manufacturer": "VirtualBox"
    },
    {
        "status": "provisioning",
        "name": "Untitled (57:37)",
        "roles": [
            "controller"
        ],
        "ip": "10.20.0.136",
        "error_type": null,
        "pending_addition": false,
        "fqdn": "node-12.domain.tld",
        "network_data": [
            {
                "name": "management",
                "ip": "192.168.0.1/24",
                "vlan": 101,
                "dev": "eth0",
                "netmask": "255.255.255.0",
                "brd": "192.168.0.255",
                "gateway": null
            },
            {
                "name": "public",
                "ip": "172.16.0.10/24",
                "vlan": null,
                "dev": "eth1",
                "netmask": "255.255.255.0",
                "brd": "172.16.0.255",
                "gateway": "172.16.0.1"
            },
            {
                "name": "storage",
                "ip": "192.168.1.1/24",
                "vlan": 102,
                "dev": "eth0",
                "netmask": "255.255.255.0",
                "brd": "192.168.1.255",
                "gateway": null
            },
            {
                "vlan": null,
                "name": "floating",
                "dev": "eth1"
            },
            {
                "vlan": 103,
                "name": "fixed",
                "dev": "eth0"
            },
            {
                "name": "admin",
                "dev": "eth0"
            }
        ],
        "platform_name": null,
        "cluster": 5,
        "mac": "08:00:27:55:57:37",
        "meta": {
            "memory": {
                "total": 2104053760
            },
            "interfaces": [
                {
                    "mac": "08:00:27:80:DD:9F",
                    "max_speed": 100,
                    "state": "unknown",
                    "current_speed": 100,
                    "name": "eth2"
                },
                {
                    "mac": "08:00:27:45:14:50",
                    "max_speed": 100,
                    "state": "unknown",
                    "current_speed": 100,
                    "name": "eth1"
                },
                {
                    "name": "eth0",
                    "state": "unknown",
                    "ip": "10.20.0.136",
                    "netmask": "255.255.255.0",
                    "mac": "08:00:27:55:57:37",
                    "max_speed": 100,
                    "current_speed": 100
                }
            ],
            "disks": [
                {
                    "name": "sda",
                    "extra": [
                        "disk/by-id/scsi-SATA_VBOX_HARDDISK_VBed80b336-baaaea02",
                        "disk/by-id/ata-VBOX_HARDDISK_VBed80b336-baaaea02"
                    ],
                    "removable": "0",
                    "model": "VBOX HARDDISK",
                    "disk": "disk/by-path/pci-0000:00:0d.0-scsi-0:0:0:0",
                    "size": 68718428160
                },
                {
                    "name": "sdb",
                    "extra": [
                        "disk/by-id/scsi-SATA_VBOX_HARDDISK_VB682d919f-3f42400c",
                        "disk/by-id/ata-VBOX_HARDDISK_VB682d919f-3f42400c"
                    ],
                    "removable": "0",
                    "model": "VBOX HARDDISK",
                    "disk": "disk/by-path/pci-0000:00:0d.0-scsi-1:0:0:0",
                    "size": 68718428160
                },
                {
                    "name": "sdc",
                    "extra": [
                        "disk/by-id/scsi-SATA_VBOX_HARDDISK_VBf660b044-2363a914",
                        "disk/by-id/ata-VBOX_HARDDISK_VBf660b044-2363a914"
                    ],
                    "removable": "0",
                    "model": "VBOX HARDDISK",
                    "disk": "disk/by-path/pci-0000:00:0d.0-scsi-2:0:0:0",
                    "size": 68718428160
                }
            ],
            "system": {
                "serial": "0",
                "version": "1.2",
                "fqdn": "bootstrap",
                "family": "Virtual Machine",
                "manufacturer": "VirtualBox"
            },
            "cpu": {
                "real": 0,
                "total": 1,
                "spec": [
                    {
                        "model": "Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz",
                        "frequency": 1978
                    }
                ]
            }
        },
        "pending_deletion": false,
        "online": true,
        "progress": 0,
        "pending_roles": [],
        "os_platform": "centos",
        "id": 12,
        "manufacturer": "VirtualBox"
    }
]

Tags: ui
Revision history for this message
Anastasia Palkina (apalkina) wrote :
Changed in fuel:
importance: Undecided → High
status: New → Confirmed
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Kate Pimenova (kpimenova)
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/79920

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Anastasiia Naboikina (anaboikina) wrote :

I was even able to remove one of the 3 controllers while it was provisioning, which worked out fine and the provisioning proceeded with 2 controller. Though, this might really be only UI issue. I`ll check that.

Revision history for this message
Anastasiia Naboikina (anaboikina) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/79920
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=02b0080413a57667df946ebc9d0e7820398170cc
Submitter: Jenkins
Branch: master

commit 02b0080413a57667df946ebc9d0e7820398170cc
Author: Kate Pimenova <email address hidden>
Date: Wed Mar 12 16:13:05 2014 +0400

    Fix for node states during deployment process

    Closes-Bug:#1290874

    Change-Id: I3ffec6c66ea6475ef0db97f6cb68ca72b9873789

Changed in fuel:
status: In Progress → Fix Committed
tags: added: in progress
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on {"build_id": "2014-03-21_01-01-16", "mirantis": "yes", "build_number": "36", "nailgun_sha": "102bfc56d2e7c9d7295066cc30c21053fca44d79", "ostf_sha": "608f109b6f07b695305468627941b8505abe3c7f", "fuelmain_sha": "b853f8ad06516d83ad4956e945be923b5aa3ec9d", "astute_sha": "f52db1262401cfb2beaf41e7d6eeaeb456d5fe95", "release": "5.0", "fuellib_sha": "54072cce48fc539e4d99f4862f9a5568b3ef3384"}

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: in progress
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.