[octane] Incorrect update of cluster attributes

Bug #1602587 reported by Arthur Svechnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Anastasia Balobashina
Mitaka
Fix Released
Medium
Ilya Kharin
Newton
Fix Committed
Medium
Anastasia Balobashina

Bug Description

Octane contains legacy workaround with cluster attributes https://github.com/openstack/fuel-octane/blob/e3e25aa3c9fe508c54dba84111f84189fb6bed8f/octane/util/env.py#L82-L85 . This workaround should be rewritten in right way/

Ilya Kharin (akscram)
Changed in fuel:
milestone: none → 9.1
assignee: nobody → Fuel Octane (fuel-octane-team)
importance: Undecided → Medium
status: New → Confirmed
tags: added: team-upgrades
Changed in fuel:
assignee: Fuel Octane (fuel-octane-team) → Anastasiya (atolochkova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-octane (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Anastasia Tolochkova (<email address hidden>) on branch: master
Review: https://review.openstack.org/346871
Reason: Cluster_upgrade extension will be moved in a separate repository

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-extension-cluster-upgrade (master)

Reviewed: https://review.openstack.org/349461
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-extension-cluster-upgrade/commit/?id=dc2e3f930957b2c8af2d6c6a60bfcc6c5e6bb061
Submitter: Jenkins
Branch: master

commit dc2e3f930957b2c8af2d6c6a60bfcc6c5e6bb061
Author: Anastasiya <email address hidden>
Date: Mon Aug 1 14:39:35 2016 +0300

    Move change_env_settings function from octane to cluster upgrade extension

    * change_env_settings function was moved to cluster upgrade extention
    * merge generated attributes code was written

    Change-Id: I6d1e27b8b0c01f3251067bc88931cd2354feb5ce
    Partial-Bug: #1602587

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-nailgun-extension-cluster-upgrade (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/355555

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-extension-cluster-upgrade (stable/mitaka)

Reviewed: https://review.openstack.org/355555
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-extension-cluster-upgrade/commit/?id=a78f4348f84dd470ba1f3b99d2c751fa2dd12d7a
Submitter: Jenkins
Branch: stable/mitaka

commit a78f4348f84dd470ba1f3b99d2c751fa2dd12d7a
Author: Anastasiya <email address hidden>
Date: Mon Aug 1 14:39:35 2016 +0300

    Move change_env_settings function from octane to cluster upgrade extension

    * change_env_settings function was moved to cluster upgrade extention
    * merge generated attributes code was written

    Change-Id: I6d1e27b8b0c01f3251067bc88931cd2354feb5ce
    Partial-Bug: #1602587
    (cherry picked from commit dc2e3f930957b2c8af2d6c6a60bfcc6c5e6bb061)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-octane (master)

Reviewed: https://review.openstack.org/346898
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=cdb33305c95f0ae4cbdc6faa372b3d7aa30b5e7c
Submitter: Jenkins
Branch: master

commit cdb33305c95f0ae4cbdc6faa372b3d7aa30b5e7c
Author: Anastasiya <email address hidden>
Date: Mon Jul 25 18:39:41 2016 +0300

    Move change_env_settings function from octane to nailgun extension

    This function was removed because this logic
    moved to cluster upgrade extension.

    Depends-On: I6d1e27b8b0c01f3251067bc88931cd2354feb5ce
    Partial-bug: #1602587

    Change-Id: If4fa37d31d81a5f9a05a2dcac25d5e0c8dc5ec53

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-octane (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/355835

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-octane (stable/mitaka)

Reviewed: https://review.openstack.org/355835
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=5c443f2d3c488c797f715efe5cf83af5d238b653
Submitter: Jenkins
Branch: stable/mitaka

commit 5c443f2d3c488c797f715efe5cf83af5d238b653
Author: Anastasiya <email address hidden>
Date: Mon Jul 25 18:39:41 2016 +0300

    Move change_env_settings function from octane to nailgun extension

    This function was removed because this logic
    moved to cluster upgrade extension.

    Depends-On: I6d1e27b8b0c01f3251067bc88931cd2354feb5ce
    Partial-bug: #1602587

    Change-Id: If4fa37d31d81a5f9a05a2dcac25d5e0c8dc5ec53
    (cherry picked from commit cdb33305c95f0ae4cbdc6faa372b3d7aa30b5e7c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-octane (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-octane (master)

Change abandoned by Yuriy Taraday (<email address hidden>) on branch: master
Review: https://review.openstack.org/357109
Reason: Wrong branch, yeah.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-octane (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/357129

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/357135

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-octane (stable/mitaka)

Change abandoned by Yuriy Taraday (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/357129
Reason: I'll preserve Change-Id next time.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-octane (stable/mitaka)
Download full text (9.5 KiB)

Reviewed: https://review.openstack.org/357135
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=34753632922d252dd47115cd6ad1460d3f987b11
Submitter: Jenkins
Branch: stable/mitaka

commit 90af105bdb1d292802f840ef68a556b7d0a202d7
Author: Pavel Chechetin <email address hidden>
Date: Wed Aug 17 17:24:56 2016 +0300

    Automated configuration of rsyncd

    Automated configuration (using custom graph feature) is added.
    rsyncd.conf is configurated using Augeas resource in Puppet as
    an elegent solution which doesn't interfere with existing
    configuration by Fuel bootstrap.

    It adds two Rsync section: octane_code, octane_data.

    RPM spec is also updated to incorporate octane_tasks Puppet module
    into Octane package and set Rsync up.

    Untapped controller group is deleted from upgrade-db-orig graph.

    Change-Id: Ia8ea7214b0b93f414d1de9b07a48e1602c0d2ae3

commit 1596f3732de97e239bbb997b07e3171fcd1fb6cb
Author: Nikita Zubkov <email address hidden>
Date: Mon Jul 25 20:00:43 2016 +0300

    Replace SQL SELECTs with API calls

    This allow us not to rely on objects internal database representation

    Change-Id: I10b1704835e4a3742638bc682eae18939ebca38c

commit 9c44fad4f4037b65d8447c64794ccb625a4e9e80
Author: Anastasiya <email address hidden>
Date: Wed Jul 27 16:05:27 2016 +0300

    Add processing for different output to clone_env function

    because fuelclient may have different output on different servers
    (dictionary or array)

    Change-Id: I662781e324b44094f86c875aaee5474eab8ac53e
    Closes-bug: 1603951

commit a8ab40b0f0f22f7419a19f0af3e8167b3da924a2
Author: Ilya Kharin <email address hidden>
Date: Tue Aug 16 11:48:28 2016 +0300

    Use ubuntu_bootstrap for old systems

    The bootstrap profile is no more used on the 9.0 Fuel Master node and
    for Cobbler systems that were created in 7.0 the profile attribute
    should be renamed to the default bootstrap profile

    Change-Id: I562506f2d457ba60df66afb0bc1ecc4bc30fd38d
    Closes-Bug: #1602583

commit e235f4012d51b49efba99a86bda21cd2a0b4560a
Author: Ilya Kharin <email address hidden>
Date: Tue Aug 16 11:35:59 2016 +0300

    Use load_yaml to get the astute content

    Change-Id: Ib2b04ee06b6fbcc72b76f6a759d950f20b5df469

commit 21aeddd74ea4b9f619800e3b6c3e24297bfc9c4f
Author: Roman Sokolkov <email address hidden>
Date: Thu Aug 11 16:22:18 2016 +0300

    Graph-based upgrade approach. Change to upgrade_db.

    Part 2. Change implements upgrade-db with Fuel graphs.

      - Added new function "upgrade_db_with_graph".
      - Added new "deployment" module to utils

    Co-Authored-By: Ilya Kharin <email address hidden>
    Change-Id: I5d3378824be8f41602cb056553e28dfdab3bf28a

commit 7af9395953d5758f52497b4e847171449117d8c9
Author: Andreas Jaeger <email address hidden>
Date: Fri Aug 12 20:53:27 2016 +0200

    Move other-requirements.txt to bindep.txt

    The default filename for documenting binary dependencies has been
    changed from "other-requirements.txt" to "bindep.txt" with the release
    of bindep 2.1.0. While the previous name is still supported, it wi...

Read more...

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-nailgun-extension-cluster-upgrade (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/360086

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-extension-cluster-upgrade (stable/mitaka)
Download full text (21.0 KiB)

Reviewed: https://review.openstack.org/360086
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-extension-cluster-upgrade/commit/?id=40dd411fe461441e943de806f5de632eeb64dc4a
Submitter: Jenkins
Branch: stable/mitaka

commit 17ab5a3aaa7d2c4ae4652d1a4dc0410b31e7c47d
Author: Sergey Abramov <email address hidden>
Date: Wed Aug 24 18:32:39 2016 +0300

    Add create upgrade release handler

    Required for create new release just for upgrade, that have overwrited
    params. This params are valid for orig cluster release.

    Change-Id: Ib2387b9c2b74902c7289ee8f69a5f5d323ec82ca

commit 8de47e0dbf5955b3cbe59a3956e1ca1f4d8679ef
Author: Nikita Zubkov <email address hidden>
Date: Wed Aug 24 15:42:32 2016 +0300

    Add VIPs transformer

    Move upgrade vips code to the transformer

    Change-Id: Ia6935521b8b90b73fb74ba92859e7febf74c4ced

commit b54f9d4c29808c4561b20af508b85b9e40fa72b6
Author: Nikita Zubkov <email address hidden>
Date: Wed Aug 24 17:51:39 2016 +0300

    Move partition info transformation to extension

    octane have some dirty hacks to change volumes attributes using nailgun
    as a library, such modifications should be done in a extension

    Change-Id: I422bb368916f3a319e286edcc6103a2834097a87

commit b3ce0d348cc20ed988b5adf66474836f631eb12d
Author: Anastasiya <email address hidden>
Date: Mon Aug 1 15:47:13 2016 +0300

    Add tests for assign_node_to_cluster

    Change-Id: Iafa1baa6a1ca4d701ec89e49dd9d6f969804c82e

commit a764ba306dcd0cfb65a82c89f07ec0f3d129c66b
Author: Nikita Zubkov <email address hidden>
Date: Tue Aug 23 14:05:16 2016 +0300

    Update README

    Add instalation section

    Change-Id: Ib16132ab9c18d757e96e98304fdd8339ddf5497a

commit 95ff3a3598397bb6e3c68793051298aaa006d163
Author: Yuriy Taraday <email address hidden>
Date: Tue Aug 23 23:01:16 2016 +0300

    Add cluster transformations

    Implement transformations that are applied to cluster attributes during
    environment cloning.

    Conversion from text to text_list type has been limited to dns_list and
    ntp_list keys only to keep predictable behavior.

    Change-Id: I1ff596f850bd42243697cad1c1c35f0cf1386376

commit 163ce243fbade3dac05eb535ad2987687a57f87d
Author: Yuriy Taraday <email address hidden>
Date: Tue Aug 23 22:51:19 2016 +0300

    Add pluggable transformations for data migration

    This change introduces new transformation mechanism:
    - all available transformations are listed in setuptools entry points
      under namespace like this (for cluster transformations):

        nailgun.cluster_upgrade.transformations.cluster.9.0 =
            dns_list = ...
            ntp_list = ...
        nailgun.cluster_upgrade.transformations.cluster.8.0 =
            ...
        <etc>

    - config file will include section that specifies enabled
      transformations like this:

        CLUSTER_UPGRADE_TRANSFORMATIONS:
          cluster:
            9.0: dns_list ntp_list ...
            8.0: ...
            7.0: ...

      (only default values are implemented here, actual config support will
      follow)

    - when transformations...

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-nailgun-extension-cluster-upgrade (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-nailgun-extension-cluster-upgrade (master)

Change abandoned by Ilya Kharin (<email address hidden>) on branch: master
Review: https://review.openstack.org/367019

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-nailgun-extension-cluster-upgrade (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-nailgun-extension-cluster-upgrade (master)

Change abandoned by Ilya Kharin (<email address hidden>) on branch: master
Review: https://review.openstack.org/367419

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-extension-cluster-upgrade (master)
Download full text (14.8 KiB)

Reviewed: https://review.openstack.org/367019
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-extension-cluster-upgrade/commit/?id=e38d48cbc5d216ac0f853466ab48e5d6d9687521
Submitter: Jenkins
Branch: master

commit a4e2a67e3e5024b0ae65f445355965a1263fef73
Author: Ilya Kharin <email address hidden>
Date: Sat Sep 3 02:42:07 2016 +0300

    Add support to re-assign a set of nodes

    This patch adds an ability to re-assign a set of the given nodes at
    once. This feature was technically available but not exposed to the
    client. A groupped re-assigning allows to effectively re-provision nodes
    by creating an atomic task in Astute.

    Change-Id: I4a7c7e35d844683ef73ad7f8459d1892e80e0a64
    Related-Bug: #1616925

commit d87125662f2f55204244e43ec6522fe36c6bf21e
Author: Nikita Zubkov <email address hidden>
Date: Mon Aug 29 17:56:09 2016 +0300

    Add test for vip transformer

    Change-Id: I65124237604fe6718ad6c351825f192a98d470fb
    (cherry picked from commit 55422ddce7b0e9e1b9976504500de8a1688a99d7)

commit 3cac9b551cdecaf9148800cc6fd9b81fbb3149c5
Author: Nikita Zubkov <email address hidden>
Date: Tue Jul 19 18:24:42 2016 +0300

    Switch to upstream fuel-web repository

    Change-Id: I994304bdc8eaf7e4da175981cb721d41a286fed0
    Depends-On: Id0bc78478cf3f40767fed760cd54e487a934fa10

commit a78f4348f84dd470ba1f3b99d2c751fa2dd12d7a
Author: Anastasiya <email address hidden>
Date: Mon Aug 1 14:39:35 2016 +0300

    Move change_env_settings function from octane to cluster upgrade extension

    * change_env_settings function was moved to cluster upgrade extention
    * merge generated attributes code was written

    Change-Id: I6d1e27b8b0c01f3251067bc88931cd2354feb5ce
    Partial-Bug: #1602587
    (cherry picked from commit dc2e3f930957b2c8af2d6c6a60bfcc6c5e6bb061)

commit 280fc4f08258f1e85ba099f74c4956233652e9a2
Author: Ilya Kharin <email address hidden>
Date: Wed Aug 10 17:28:17 2016 +0300

    Add absent __init__.py to migrations/versions

    Without the versions/__init__.py file versions was not identified as
    a package and was not included in a distribution.

    Change-Id: I67f152ebb9234df880c61d79d154b1aabc8828c6
    Closes-Bug: #1611793

commit f7ebb08b46f5beb13701f7a6a71a1f4fea05f451
Author: Alexander Tsamutali <email address hidden>
Date: Mon Aug 1 15:47:58 2016 +0300

    Add package spec

    Change-Id: Id71764dff07a4b32851eb8ccf69c66dca4a7b6ab
    Related-Bug: #1604492

commit b93ebedc49f79f6ba4a710a9d1715c9f965b3081
Author: Anastasiya <email address hidden>
Date: Fri Jul 15 10:24:11 2016 +0300

    Correction of transformation for text_list

    * added removing of space in text_list
    * added test for merge_attributes

    Change-Id: I5582878fc7c524551593abf21dfd4ea45cd430c9
    Closes-bug: 1602607
    (cherry picked from commit fdd2a6226483c67ce8bc7adc8b2d354862125bac)

commit d4db5ba78ccefd08e465cd30116094678c5cb35f
Author: Nikita Zubkov <email address hidden>
Date: Wed Jul 13 13:43:58 2016 +0300

    Fix package namespace

commit 443fc43da6e963cd0825880a80678e8e385c0a3a
Author: Nikita Zubkov <email address hidden>
Date: Wed J...

Revision history for this message
Vladimir Khlyunev (vkhlyunev) wrote :

code was moved from octane; also there is no regression - snapshot 315

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.