Router hostnames need validation
Bug #1496848 reported by
Ryan Petrello
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Astara |
Fix Released
|
High
|
Ryan Petrello | ||
akanda |
Fix Released
|
High
|
Ryan Petrello |
Bug Description
akanda-rug uses the Neutron Router name to set the VM hostname, but it's very possible to choose a Router name that isn't a valid hostname. This causes router configuration to fail with the following exception:
https:/
RuntimeError: Command '['sudo', '/bin/hostname', 'some_invalid_
We should add some validation to the rug to strip out non-valid characters from router hostnames.
description: | updated |
Changed in akanda: | |
assignee: | nobody → Ryan Petrello (ryan-petrello) |
Changed in akanda: | |
milestone: | none → liberty-rc1 |
importance: | Undecided → High |
Changed in astara: | |
milestone: | none → liberty-rc1 |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in akanda: | |
status: | Fix Committed → Fix Released |
Changed in astara: | |
assignee: | nobody → Ryan Petrello (ryan-petrello) |
status: | Fix Committed → Fix Released |
Changed in akanda: | |
milestone: | liberty-rc1 → 7.0.0 |
Changed in astara: | |
milestone: | liberty-rc1 → 7.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/224808
Review: https:/