freezer-scheduler have no permission to create jobs_dir
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
kolla |
In Progress
|
Medium
|
howard lee | |||
kolla-ansible | Status tracked in Bobcat | |||||
Antelope |
Confirmed
|
Medium
|
Unassigned | |||
Bobcat |
In Progress
|
Medium
|
howard lee | |||
Xena |
Confirmed
|
Medium
|
Unassigned | |||
Yoga |
Confirmed
|
Medium
|
Unassigned | |||
Zed |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When deploying freezer using kolla-ansible, the following error is reported in the freezer-scheduler log:
2023-08-19 10:22:03.740 7 CRITICAL freezer-scheduler [-] Unhandled error: Exception: Error while creating directory /etc/freezer/
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler Traceback (most recent call last):
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler File "/var/lib/
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler os.makedirs(
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler File "/usr/lib64/
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler makedirs(head, exist_ok=exist_ok)
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler File "/usr/lib64/
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler mkdir(name, mode)
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler PermissionError: [Errno 13] Permission denied: '/etc/freezer/
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler During handling of the above exception, another exception occurred:
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler Traceback (most recent call last):
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler File "/var/lib/
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler sys.exit(main())
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler File "/var/lib/
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler freezer_
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler File "/var/lib/
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler raise Exception(err)
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler Exception: Error while creating directory /etc/freezer/
2023-08-19 10:22:03.740 7 ERROR freezer-scheduler
Changed in kolla-ansible: | |
assignee: | nobody → howard lee (howardlee) |
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
Changed in kolla: | |
assignee: | nobody → howard lee (howardlee) |
Changed in kolla: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/openstack /kolla- ansible/ +/892045
Review: https:/