Add neutron upgrade process to grenade project

Bug #1235149 reported by Jakub Libosvar
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
grenade
Fix Released
Undecided
Jakub Libosvar

Bug Description

There is no upgrade script in grenade project for neutron service - https://github.com/openstack-dev/grenade
Implement upgrade process, the flow is following:
 1. shutdown service
 2. upgrade bits
 3. upgrade database
 4. start service

Changed in neutron:
assignee: nobody → Jakub Libosvar (libosvar)
Changed in neutron:
importance: Undecided → High
status: New → Triaged
Changed in grenade:
assignee: nobody → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to grenade (master)

Fix proposed to branch: master
Review: https://review.openstack.org/58401

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/58695

Changed in neutron:
status: Triaged → In Progress
Changed in grenade:
status: New → In Progress
Changed in grenade:
assignee: Emilien Macchi (emilienm) → Jakub Libosvar (libosvar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/83008

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/83008
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c17790b202fee97b6f5637ebff4a8ac1fb814973
Submitter: Jenkins
Branch: master

commit c17790b202fee97b6f5637ebff4a8ac1fb814973
Author: Jakub Libosvar <email address hidden>
Date: Wed Mar 26 09:42:21 2014 +0100

    Migrate data from cap_port_filter to vif_details

    There was introduced a new column vif_details for ml2_port_binding table
    and dropped cap_port_filter column. Data was lost during the migration
    causing no data in vif_details.

    This patch transforms data from cap_port_filter to vif_details column as
    a part of db migration. MigrationContext.execute() calls underlaying
    methods depending whether migration is online or offline therefore data
    are migrated in offline migration too.

    Partial-bug: #1235149
    Change-Id: Icc5dc6e8221a542f5190d0222ac4d10197d15ac1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to grenade (master)

Reviewed: https://review.openstack.org/58695
Committed: https://git.openstack.org/cgit/openstack-dev/grenade/commit/?id=5c0ea0dc4036de40495c4d872b201ef3b143283e
Submitter: Jenkins
Branch: master

commit 5c0ea0dc4036de40495c4d872b201ef3b143283e
Author: Jakub Libosvar <email address hidden>
Date: Wed Nov 27 09:34:11 2013 +0100

    Support for upgrading neutron

    With this patch grenade can be run either with nova-network or neutron.

    Closes-bug: #1235149
    Signed-off-by: Emilien Macchi <email address hidden>

    Change-Id: Ib35ee2b35155f3c7e86eef5c75f70da300fa99c7

Changed in grenade:
status: In Progress → Fix Committed
Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

Hi Jakub,

Is there a need for neutron-side patch for this job? It seems to me it's been green for about 48 hours now, so perhaps we don't need any more patch (and therefore remove neutron from affected projects).

Revision history for this message
Jakub Libosvar (libosvar) wrote :

Hi Salvatore,

you are right. The Neutron side was fixed as a part of other reported bugs. Originally this bug was opened on Neutron simply because I was very new to launchpad at the time of opening this.

I'm getting error: "Timeout error, please try again in a few minutes" when trying to remove Neutron from affected projects. I'll try it later.

Thanks for pointing this out.

no longer affects: neutron
Sean Dague (sdague)
Changed in grenade:
status: Fix Committed → Fix Released
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.