Nova SSH key distribution regression
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Paulo Matias |
Bug Description
After commit bda35e7fd60b48a
When a pattern containing newlines is given to grep, it treats each line as a different pattern, and ORs these patterns together. Therefore:
grep 'some_pattern
' file
Looks for some_pattern OR the empty string inside the file. The empty string always matches, therefore grep always returns a successful match.
When openstack-
KEY="key_contents
"
Therefore, the subsequent grep always matches, and no key is inserted into authorized_keys.
Changed in openstack-ansible: | |
status: | New → In Progress |
assignee: | nobody → Paulo Matias (paulo-matias) |
Fix proposed to branch: master /review. openstack. org/358630
Review: https:/