Changes cannot be rolled back when deleting openstack-config profile

Bug #1632235 reported by Stanislav Kolenkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Dmitry Pyzhov

Bug Description

Changes cannot be rolled back when deleting openstack-config profile.
MOS 9.0

How to reproduce:
1. Install MOS 9.0
2. Create the following yaml files:
controller.yaml
---
configuration:
  neutron_agent_ovs:
    ovs/bridge_mappings:
      value: 'physnet1:br-floating,providernet:br-prv'
  neutron_plugin_ml2:
    ml2/tenant_network_types:
      value: 'flat,vxlan,vlan'
    ml2/physical_network_mtus:
      value: 'physnet1:9000,providernet:9000'
    ml2_type_vlan/network_vlan_ranges:
      value: 'physnet1,providernet'

compute.yaml
---
configuration:
  neutron_agent_ovs:
    ovs/bridge_mappings:
      value: 'providernet:br-prv'

3. Upload files:

<fuel_master># fuel2 openstack-config upload -f yaml -e $ENV_ID -r compute --file compute.yaml
<fuel_master># fuel2 openstack-config upload -f yaml -e $ENV_ID -r controller --file controller.yaml

4. Deploy environment and check parameters in neutron.conf
5. Delete configs from openstack-config
fuel openstack-config —list
fuel openstack-config —delete —config 1
fuel openstack-config —delete —config 2
fuel openstack-config —list
6. Reset Environment
7. Deploy environment and check parameters in neutron.conf. Though the files had been deleted in openstack-config, the changes are applied during deploy.

Changed in fuel:
milestone: none → 9.2
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
tags: added: area-python
Changed in fuel:
status: New → Confirmed
importance: Undecided → Medium
Roman Rufanov (rrufanov)
tags: added: customer-found
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Sergey Abramov (sabramov)
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/391893

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Sergey Abramov (sabramov) → Dmitry Pyzhov (dpyzhov)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 9.2 → 11.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/391893
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=6266d27f1571a07946f5f5e207b768954950cb73
Submitter: Jenkins
Branch: master

commit 6266d27f1571a07946f5f5e207b768954950cb73
Author: Sergey Abramov <email address hidden>
Date: Mon Oct 31 18:45:37 2016 +0300

    Serialize only active configs

    DeploymentLCMSerializer should return only active OpenstackConfigs

    Change-Id: I2adee9e8a40f4295e807a5ff7a2e060793e55b24
    Closes-bug: 1632235

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/430607

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

Reviewed: https://review.openstack.org/430607
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=e41c110cbbc569a912d364d802787c62ed1aebf4
Submitter: Jenkins
Branch: stable/newton

commit e41c110cbbc569a912d364d802787c62ed1aebf4
Author: Sergey Abramov <email address hidden>
Date: Mon Oct 31 18:45:37 2016 +0300

    Serialize only active configs

    DeploymentLCMSerializer should return only active OpenstackConfigs

    Change-Id: I2adee9e8a40f4295e807a5ff7a2e060793e55b24
    Closes-bug: 1632235
    (cherry picked from commit 6266d27f1571a07946f5f5e207b768954950cb73)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 11.0.0.0rc1

This issue was fixed in the openstack/fuel-web 11.0.0.0rc1 release candidate.

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.