Juno controller and Icehouse compute cannot backport Service object correctly

Bug #1436819 reported by Sergey Nikitin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Sergey Nikitin
6.0.x
Fix Released
High
Alexey Khivin
6.1.x
Fix Released
High
Sergey Nikitin

Bug Description

When running Juno with Icehouse computes on starting nova-compute you get a RuntimeError: maximum recursion depth exceeded while calling a Python object due to it trying to backport the service object.

This is caused by the Juno conductor, when it sends back the service object it includes an embedded compute node object at a version too new for Icehouse.

Upstream bug: https://bugs.launchpad.net/nova/+bug/1408496

tags: added: nova upgrade
tags: added: upgrades
removed: upgrade
Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package nova has been built for project openstack/nova
Package version == 2014.2.2, package release == fuel6.0.1.mira8.git.ac6ab35.1009d65

Changeset: https://review.fuel-infra.org/4984
project: openstack/nova
branch: openstack-ci/fuel-6.0.1/2014.2
author: Sergey Nikitin
committer: Sergey Nikitin
subject: Changed target version of NovaCompute object during Service backport
status: patchset-created

Files placed on repository:
openstack-nova-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-api-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-cells-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-cert-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-common-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-compute-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-conductor-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-console-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-doc-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-network-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-novncproxy-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-objectstore-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
openstack-nova-scheduler-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm
python-nova-2014.2.2-fuel6.0.1.mira8.git.ac6ab35.1009d65.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0.1-stable-4984/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package nova has been built for project openstack/nova
Package version == 2014.2.2, package release == fuel6.0.1~mira8+git.ac6ab35.1009d65

Changeset: https://review.fuel-infra.org/4984
project: openstack/nova
branch: openstack-ci/fuel-6.0.1/2014.2
author: Sergey Nikitin
committer: Sergey Nikitin
subject: Changed target version of NovaCompute object during Service backport
status: patchset-created

Files placed on repository:
nova-ajax-console-proxy_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-api-ec2_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-api-metadata_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-api-os-compute_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-api-os-volume_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-api_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-baremetal_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-cells_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-cert_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-common_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-compute-kvm_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-compute-libvirt_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-compute-lxc_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-compute-qemu_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-compute-vmware_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-compute-xen_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-compute_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-conductor_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-console_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-consoleauth_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-doc_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-network_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-novncproxy_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-objectstore_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-scheduler_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-spiceproxy_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-volume_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
nova-xvpvncproxy_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb
python-nova_2014.2.2-fuel6.0.1~mira8+git.ac6ab35.1009d65_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0.1-stable-4984/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

package nova has been built for project openstack/nova
Package version == 2014.2.2, package release == fuel6.1.mira9.git.c25108b.7c8043a

Changeset: https://review.fuel-infra.org/4988
project: openstack/nova
branch: openstack-ci/fuel-6.1/2014.2
author: Sergey Nikitin
committer: Sergey Nikitin
subject: Changed target version of NovaCompute object during Service backport
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /centos-fuel-6.1-stable-4988/

Revision history for this message
OSCI Robot (oscirobot) wrote :

package nova has been built for project openstack/nova
Package version == 2014.2.2, package release == fuel6.1~mira7+git.c25108b.7c8043a

Changeset: https://review.fuel-infra.org/4988
project: openstack/nova
branch: openstack-ci/fuel-6.1/2014.2
author: Sergey Nikitin
committer: Sergey Nikitin
subject: Changed target version of NovaCompute object during Service backport
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /trusty-fuel-6.1-stable-4988/

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package nova has been built for project openstack/nova
Package version == 2014.2.2, package release == fuel6.0.1.mira8.git.91f9321.1009d65

Changeset: https://review.fuel-infra.org/5080
project: openstack/nova
branch: openstack-ci/fuel-6.0.1/2014.2
author: Sergey Nikitin
committer: Sergey Nikitin
subject: Changed target version of NovaCompute object during Service backport
status: patchset-created

Files placed on repository:
openstack-nova-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-api-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-cells-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-cert-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-common-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-compute-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-conductor-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-console-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-doc-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-network-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-novncproxy-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-objectstore-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
openstack-nova-scheduler-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm
python-nova-2014.2.2-fuel6.0.1.mira8.git.91f9321.1009d65.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0.1-stable-5080/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

package nova has been built for project openstack/nova
Package version == 2014.2.2, package release == fuel6.1.mira9.git.2478111.7c8043a

Changeset: https://review.fuel-infra.org/4988
project: openstack/nova
branch: openstack-ci/fuel-6.1/2014.2
author: Sergey Nikitin
committer: Sergey Nikitin
subject: Changed target version of NovaCompute object during Service backport
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /centos-fuel-6.1-stable-4988/

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package nova has been built for project openstack/nova
Package version == 2014.2.2, package release == fuel6.0.1~mira8+git.91f9321.1009d65

Changeset: https://review.fuel-infra.org/5080
project: openstack/nova
branch: openstack-ci/fuel-6.0.1/2014.2
author: Sergey Nikitin
committer: Sergey Nikitin
subject: Changed target version of NovaCompute object during Service backport
status: patchset-created

Files placed on repository:
nova-ajax-console-proxy_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-api-ec2_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-api-metadata_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-api-os-compute_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-api-os-volume_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-api_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-baremetal_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-cells_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-cert_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-common_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-compute-kvm_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-compute-libvirt_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-compute-lxc_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-compute-qemu_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-compute-vmware_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-compute-xen_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-compute_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-conductor_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-console_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-consoleauth_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-doc_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-network_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-novncproxy_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-objectstore_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-scheduler_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-spiceproxy_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-volume_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
nova-xvpvncproxy_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb
python-nova_2014.2.2-fuel6.0.1~mira8+git.91f9321.1009d65_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0.1-stable-5080/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

package nova has been built for project openstack/nova
Package version == 2014.2.2, package release == fuel6.1~mira7+git.2478111.7c8043a

Changeset: https://review.fuel-infra.org/4988
project: openstack/nova
branch: openstack-ci/fuel-6.1/2014.2
author: Sergey Nikitin
committer: Sergey Nikitin
subject: Changed target version of NovaCompute object during Service backport
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /trusty-fuel-6.1-stable-4988/

no longer affects: fuel
no longer affects: fuel/6.0.x
no longer affects: fuel/6.1.x
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/nova (openstack-ci/fuel-6.0-updates/2014.2)

Fix proposed to branch: openstack-ci/fuel-6.0-updates/2014.2
Change author: Sergey Nikitin <email address hidden>
Review: https://review.fuel-infra.org/6364

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/nova (openstack-ci/fuel-6.0-updates/2014.2)

Reviewed: https://review.fuel-infra.org/6364
Submitter: Alex Khivin <email address hidden>
Branch: openstack-ci/fuel-6.0-updates/2014.2

Commit: dcbc038b25374cb3dc7cb9ee6bb21b755a2ae6df
Author: Sergey Nikitin <email address hidden>
Date: Thu Apr 30 12:07:08 2015

Changed target version of NovaCompute object during Service backport

When backporting a Service object to Icehouse version the embedded
ComputeNode object was being sent back at the wrong version.
It happens because ComputeNode object is too new for Icehouse.
Icehouse ComputeNode object is 1.3 not 1.4.
http://git.openstack.org/cgit/openstack/nova/tree/nova/objects/compute_node.py?h=stable/icehouse#n27

Change-Id: Ie8ff8e01557dd8e13994af0b7fa46de04c0b7116
Closes-Bug: #1436819
(cherry picked from commit 91f9321b9f1a8613a5b79255dc60cfd982f3f098)

tags: added: on-verification
Revision history for this message
Sergey Nikitin (snikitin) wrote :

Verified on MOS 6.1 ISO #435
Steps to Verify:
1. Deploy cluster with Juno Controllers and IceHouse Computes.
2. Ensure that nova-compute service is started.
3. Ensure that nova-compute service can be restarted.

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/nova (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Sergey Nikitin <email address hidden>
Review: https://review.fuel-infra.org/8253

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/nova (openstack-ci/fuel-7.0/2015.1.0)

Change abandoned by Sergey Nikitin <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/8253
Reason: We doesn't need this patch in 7.0 because if fixed a problem with IceHouse-Juno connection

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.