replace fuelmenu's post-deployment check to use not use docker

Bug #1567300 reported by Matthew Mosesohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Matthew Mosesohn
Mitaka
Fix Released
High
Matthew Mosesohn
Newton
Fix Committed
High
Matthew Mosesohn

Bug Description

We need to ensure that settings for PXE network are restricted after deployment. With the removal of Docker in Fuel 9.0, this check will fail and probably break some of the patching scenarios that may be necessary in the future

(bug description just so checker doesn't complain)
Detailed bug description:
 <put your information here>
Steps to reproduce:
 <put your information here>
Expected results:
 <put your information here>
Actual result:
 <put your information here>
Reproducibility:
 <put your information here>
Workaround:
 <put your information here>
Impact:
 <put your information here>
Description of the environment:
 Operation system: <put your information here>
 Versions of components: <put your information here>
 Reference architecture: <put your information here>
 Network model: <put your information here>
 Related projects installed: <put your information here>
Additional information:
 <put your information here>

Changed in fuel:
milestone: none → 10.0
assignee: nobody → Matthew Mosesohn (raytrac3r)
importance: Undecided → High
status: New → Triaged
Changed in fuel:
status: Triaged → In Progress
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-menu (master)

Reviewed: https://review.openstack.org/303016
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=eabced57553962a937840bcb2c489caefae4a507
Submitter: Jenkins
Branch: master

commit eabced57553962a937840bcb2c489caefae4a507
Author: Matthew Mosesohn <email address hidden>
Date: Thu Apr 7 22:14:42 2016 +0400

    Fix get_deployment_mode to rely on fuelclient config

    Docker is no longer used, so this is a way to tell if
    the system was deployed.

    Change-Id: Ie9dbd93b8780cb189a6ad62d10a98fb4fabb3639
    Closes-Bug: #1567300

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: area-python module-fuelmenu
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-menu (master)

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

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

The initial solution in 307245 should be good for 9.0, but let's write a state file in /etc/fuel that indicates the deployment mode. /etc/fuel/deployment_state should contain the string "pre" or "post" and that will be far more reliable. We will probably update fuel-library to set deployment_state to "post" after nailgun API is up.

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

Reviewed: https://review.openstack.org/307245
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=cc4628c865e19b310a6135d2f34975286b29b797
Submitter: Jenkins
Branch: master

commit cc4628c865e19b310a6135d2f34975286b29b797
Author: Matthew Mosesohn <email address hidden>
Date: Mon Apr 18 17:59:13 2016 +0300

    Fix get_deployment_mode to rely on keys directory

    Docker is no longer used, so this is a way to tell if
    the system was deployed and block changing risky settings.

    Change-Id: Ic78a973ca7e9f16b1f32c98f15f736993615e859
    Closes-Bug: #1567300

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

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

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

Reviewed: https://review.openstack.org/307666
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=52a49236ced9d1e4eb3746c135e7e6f9308fe223
Submitter: Jenkins
Branch: stable/mitaka

commit 52a49236ced9d1e4eb3746c135e7e6f9308fe223
Author: Matthew Mosesohn <email address hidden>
Date: Mon Apr 18 17:59:13 2016 +0300

    Fix get_deployment_mode to rely on keys directory

    Docker is no longer used, so this is a way to tell if
    the system was deployed and block changing risky settings.

    Change-Id: Ic78a973ca7e9f16b1f32c98f15f736993615e859
    Closes-Bug: #1567300
    (cherry picked from commit cc4628c865e19b310a6135d2f34975286b29b797)

Revision history for this message
Alex Schultz (alex-schultz) wrote :

Verified on 9 #465

tags: added: on-verification
tags: removed: on-verification
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.