Incorrect remote logs symlinks on master node lead to deployment failure after several redeployments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Alexander Kislitsky | ||
Mitaka |
Fix Released
|
High
|
Alexander Kislitsky | ||
Newton |
Fix Released
|
High
|
Alexander Kislitsky | ||
Ocata |
Fix Committed
|
High
|
Alexander Kislitsky |
Bug Description
The same problem was fixed here https:/
Scenario:
1. Revert snapshot
2. Select the primary controller
3. Reinstall the controller
4. Run network verification
5. Run OSTF
6. Verify that the hostname is not changed on reinstallation
of the node
7. Verify that the primary-controller role is not migrated on
app.log
2016-12-26 23:58:52.520 DEBUG [7f42cb323880] (logs) Preparing syslog directories for node: node-1.
2016-12-26 23:58:52.520 DEBUG [7f42cb323880] (logs) prepare_syslog_dir prefix=
2016-12-26 23:58:52.523 DEBUG [7f42cb323880] (logs) prepare_syslog_dir old=/var/
2016-12-26 23:58:52.524 DEBUG [7f42cb323880] (logs) prepare_syslog_dir new=/var/
2016-12-26 23:58:52.524 DEBUG [7f42cb323880] (logs) prepare_syslog_dir bak=/var/
2016-12-26 23:58:52.524 DEBUG [7f42cb323880] (logs) prepare_syslog_dir links=[
2016-12-26 23:58:52.524 DEBUG [7f42cb323880] (logs) New /var/log/
2016-12-26 23:58:52.525 DEBUG [7f42cb323880] (logs) Old /var/log/
2016-12-26 23:58:52.525 DEBUG [7f42cb323880] (logs) Creating /var/log/
2016-12-26 23:58:52.525 DEBUG [7f42cb323880] (logs) Creating symlink /var/log/
2016-12-26 23:58:52.552 ERROR [7f42cb323880] (manager) Traceback (most recent call last):
File "/usr/lib/
to_return = method(task, *args, **kwargs)
File "/usr/lib/
logs_
File "/usr/lib/
os.
OSError: [Errno 17] File exists
Changed in fuel: | |
milestone: | 9.2 → 11.0 |
status: | New → Confirmed |
tags: | added: area-python |
Fix proposed to branch: master /review. openstack. org/418991
Review: https:/