Move bash scripts to python
Bug #1557542 reported by
Jim Rollenhagen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ironic-python-agent |
Fix Released
|
Medium
|
Unassigned |
Bug Description
We currently have some bash scripts in IPA to write the image, shutdown the machine, etc. These aren't unit testable, and require a bunch of error handling to know where they fail (if they fail). We should move them to python with utils.execute() calls as needed.
Changed in ironic-python-agent: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ironic-python-agent: | |
assignee: | nobody → Bharath kumar (bharath-kumar3) |
Changed in ironic-python-agent: | |
assignee: | Annie Lezil (annie-lezil) → Jay Faulkner (jason-oldos) |
Changed in ironic-python-agent: | |
assignee: | Jay Faulkner (jason-oldos) → nobody |
Changed in ironic-python-agent: | |
status: | In Progress → Triaged |
Changed in ironic-python-agent: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
We should probably use ironic-lib to replace write_image, and move any agent-specific optimizations into ironic-lib as well.