coreos-oem-inject.py uses non-approved requirements and is not pep8-compliant

Bug #1337551 reported by Jay Faulkner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Jim Rollenhagen

Bug Description

The current script used to inject the IPA container into CoreOS is not pep8 compliant, has requirements that are not in global-requirements, and never has tests run.

We should:
 - Remove the requirement on plumbum
 - Make the script pep8 compliant
 - Ensure lint runs against the script when tests are run (even thought there are no unit tests for this script)

Changed in ironic:
assignee: nobody → Kyle Stevenson (m-kyle)
Revision history for this message
Dmitry Tantsur (divius) wrote : Re: coreos-oem.inject.py uses non-approved requirements and is not pep8-compliant

Hi Kyle! You've been assigned to this bug for nearly 2 weeks and we have policy of not keeping a bug assigned without a patch for >7 days. What's your status on it?

summary: - imagebuild/coreos/coreos-oem.inject.py uses non-approved requirements
- (plumbum)
+ coreos-oem.inject.py uses non-approved requirements and is not
+ pep8-compliant
Changed in ironic:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Kyle Stevenson (kylestev) wrote :

This slipped off my radar. My apologies. I will unassign myself.

Changed in ironic:
assignee: Kyle Stevenson (kylestev) → nobody
Vladyslav Drok (vdrok)
summary: - coreos-oem.inject.py uses non-approved requirements and is not
+ coreos-oem-inject.py uses non-approved requirements and is not
pep8-compliant
Changed in ironic:
assignee: nobody → Vladyslav Drok (vdrok)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-python-agent (master)

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

Changed in ironic:
status: Triaged → In Progress
Changed in ironic:
assignee: Vladyslav Drok (vdrok) → Jim Rollenhagen (jim-rollenhagen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-python-agent (master)

Reviewed: https://review.openstack.org/122693
Committed: https://git.openstack.org/cgit/openstack/ironic-python-agent/commit/?id=a8db7b0443283c97ceb84624d4bbbe9cc5485bd4
Submitter: Jenkins
Branch: master

commit a8db7b0443283c97ceb84624d4bbbe9cc5485bd4
Author: Vladyslav Drok <email address hidden>
Date: Wed Sep 17 17:51:08 2014 +0300

    Cleanup coreos-oem-inject.py

    The current script used to inject the IPA container into CoreOS is
    not pep8 compliant, has requirements that are not in
    global-requirements, and never has tests run. Now requirement on
    plumbum is removed, script is pep8 compliant, flake8 runs against the
    script when tests are run.

    Closes-bug: #1337551

    Change-Id: I14d3e46e60c4e072f34f80dc50d7214079953f49

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-1 → 2015.1.0
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.