Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
7aef93a0
Commit
7aef93a0
authored
4 years ago
by
Zuul
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix cyborg api failed to load api-paste.ini file"
parents
6ae4bfb5
a374ff9f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/cyborg/tasks/config.yml
+4
-14
4 additions, 14 deletions
ansible/roles/cyborg/tasks/config.yml
releasenotes/notes/fix-cyborg-api-failed-to-find-api-paste-file-225cec3ec16b2265.yaml
+6
-0
6 additions, 0 deletions
...g-api-failed-to-find-api-paste-file-225cec3ec16b2265.yaml
with
10 additions
and
14 deletions
ansible/roles/cyborg/tasks/config.yml
+
4
−
14
View file @
7aef93a0
...
...
@@ -82,28 +82,18 @@
notify
:
-
Restart {{ item.key }} container
-
name
:
Checking whether cyborg-api-paste.ini file exists
vars
:
service
:
"
{{
cyborg_services['cyborg-api']
}}"
stat
:
path
:
"
{{
node_custom_config
}}/cyborg/cyborg-api-paste.ini"
delegate_to
:
localhost
run_once
:
True
register
:
check_cyborg_api_paste_ini
when
:
-
service.enabled | bool
-
name
:
Copying over cyborg-api-paste.ini
vars
:
service
:
"
{{
cyborg_services['cyborg-api']
}}"
template
:
src
:
"
{{
node_custom_config
}}/cyborg/cyborg-api-paste.ini"
merge_configs
:
sources
:
-
"
{{
role_path
}}/templates/cyborg-api-paste.ini.j2"
-
"
{{
node_custom_config
}}/cyborg/cyborg-api-paste.ini"
dest
:
"
{{
node_config_directory
}}/cyborg-api/api-paste.ini"
mode
:
"
0660"
when
:
-
inventory_hostname in groups['cyborg-api']
-
service.enabled | bool
-
check_cyborg_api_paste_ini.stat.exists
notify
:
-
Restart cyborg-api container
...
...
This diff is collapsed.
Click to expand it.
releasenotes/notes/fix-cyborg-api-failed-to-find-api-paste-file-225cec3ec16b2265.yaml
0 → 100644
+
6
−
0
View file @
7aef93a0
---
fixes
:
-
|
Fix cyborg api container failed to load api paste file. For details
please see `bug 1874028
<https://bugs.launchpad.net/kolla-ansible/+bug/1874028>`__.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment