bootstrap-ansible script fails at sed CURRENT_OSA_VERSION
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Something broken after last Friday (18.11.2022). boostrap-ansible.sh worked, now it's fails at following:
+ sed -i 's|OSA_
+ cp -v scripts/
'scripts/
+ sed -i 's|OSA_
+ sed -i 's|CURRENT_
25.2.0|g' /usr/local/
sed: -e expression #1, char 48: unterminated `s' command
++ exit_fail 375 0
++ set +x
I believe this happens because setup.py reports version with additional string:
/opt/ansible-
[pbr] Generating ChangeLog
25.2.0
The line `[pbr] Generating ChangeLog` does not look like a proper CURRENT_OSA_VERSION for me.
Versions checked:
25.0.0
25.2.0
Host OS: Debian 11.5
Update: there is no problem on Ubuntu 20.04, setup.py --version report only version without string '[pbr] Generating ChangeLog'.