Fuel-web: Please remove hardcode from base_serializers.py

Bug #1586185 reported by Andrey Kirilochkin
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Andriy Popovych
Mitaka
Fix Released
High
Andriy Popovych
Newton
Fix Committed
High
Andriy Popovych

Bug Description

We need that vcenter_hash on all roles. We have to have this hash on custom role. But have it hardcoded in base_serializers.py only for some roles.

https://github.com/openstack/fuel-web/blob/master/nailgun/nailgun/orchestrator/base_serializers.py#L151-L161

tags: added: customer-found
description: updated
summary: - please remove hardcore from base_serializers.py
+ Fuel-web: Please remove hardcore from base_serializers.py
Pavel Basov (pbasov)
summary: - Fuel-web: Please remove hardcore from base_serializers.py
+ Fuel-web: Please remove hardcode from base_serializers.py
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Hi, what release are we talking about?

Changed in fuel:
status: New → Incomplete
Revision history for this message
Andrey Kirilochkin (andreika-mail) wrote :

9.0 kilo

Revision history for this message
Andrey Maximov (maximov) wrote :

hardcode was introduced in https://review.openstack.org/#/c/202912/

Revision history for this message
Andriy Popovych (popovych-andrey) wrote :

>> hardcode was introduced in https://review.openstack.org/#/c/202912/

1. No, it was implemented in https://review.openstack.org/#/c/147786
2. Let's not call it hardcode. We had predefined set of roles where vmware attributes was needed to keep deployment scenarios more clear.

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/324342

Changed in fuel:
assignee: Fuel Partner Core (fuel-partner-core) → Andriy Popovych (popovych-andrey)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

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

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

Reviewed: https://review.openstack.org/324342
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=61023242c02bb064872424b3e57d5c28a372c0fb
Submitter: Jenkins
Branch: master

commit 61023242c02bb064872424b3e57d5c28a372c0fb
Author: Andriy Popovych <email address hidden>
Date: Thu Jun 2 13:09:00 2016 +0300

    Remove predefined roles for vmware serialization

    Vmware attributes hash should be present for all roles.

    Change-Id: I5547365b9ccb16200c6a8f0efcbdaad69c07689e
    Closes-Bug: #1586185

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/324528
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=ddf530fca8199560e185ee30052631d7f5dc5e48
Submitter: Jenkins
Branch: stable/mitaka

commit ddf530fca8199560e185ee30052631d7f5dc5e48
Author: Andriy Popovych <email address hidden>
Date: Thu Jun 2 13:09:00 2016 +0300

    Remove predefined roles for vmware serialization

    Vmware attributes hash should be present for all roles.

    Change-Id: I5547365b9ccb16200c6a8f0efcbdaad69c07689e
    Closes-Bug: #1586185

tags: added: on-verification
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Verified on ISO
shotgun2 short-report
cat /etc/fuel_build_id:
 465
cat /etc/fuel_build_number:
 465
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6349.noarch
 fuel-misc-9.0.0-1.mos8454.noarch
 python-packetary-9.0.0-1.mos140.noarch
 fuel-bootstrap-cli-9.0.0-1.mos285.noarch
 fuel-migrate-9.0.0-1.mos8454.noarch
 rubygem-astute-9.0.0-1.mos750.noarch
 fuel-mirror-9.0.0-1.mos140.noarch
 shotgun-9.0.0-1.mos90.noarch
 fuel-openstack-metadata-9.0.0-1.mos8742.noarch
 fuel-notify-9.0.0-1.mos8454.noarch
 nailgun-mcagents-9.0.0-1.mos750.noarch
 python-fuelclient-9.0.0-1.mos325.noarch
 fuel-9.0.0-1.mos6349.noarch
 fuel-utils-9.0.0-1.mos8454.noarch
 fuel-setup-9.0.0-1.mos6349.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8742.noarch
 fuel-library9.0-9.0.0-1.mos8454.noarch
 network-checker-9.0.0-1.mos74.x86_64
 fuel-agent-9.0.0-1.mos285.noarch
 fuel-ui-9.0.0-1.mos2717.noarch
 fuel-ostf-9.0.0-1.mos935.noarch
 fuelmenu-9.0.0-1.mos274.noarch
 fuel-nailgun-9.0.0-1.mos8742.noarch

tags: removed: on-verification
Revision history for this message
Andrey Kirilochkin (andreika-mail) wrote :

cool, thank you so much

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.