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
6374339c
Commit
6374339c
authored
7 years ago
by
Zuul
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add a precheck to ensure Cinder backend enabled"
parents
1850e624
a80f47da
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/cinder/tasks/precheck.yml
+13
-0
13 additions, 0 deletions
ansible/roles/cinder/tasks/precheck.yml
with
13 additions
and
0 deletions
ansible/roles/cinder/tasks/precheck.yml
+
13
−
0
View file @
6374339c
...
@@ -16,6 +16,19 @@
...
@@ -16,6 +16,19 @@
-
container_facts['cinder_api'] is not defined
-
container_facts['cinder_api'] is not defined
-
inventory_hostname in groups['cinder-api']
-
inventory_hostname in groups['cinder-api']
-
name
:
Checking at least one valid backend is enabled for Cinder
run_once
:
True
local_action
:
fail msg="Please enable at least one backend when enabling Cinder"
when
:
-
not enable_cinder_backend_hnas_iscsi | bool
-
not enable_cinder_backend_hnas_nfs | bool
-
not enable_cinder_backend_iscsi | bool
-
not enable_cinder_backend_lvm | bool
-
not enable_cinder_backend_nfs | bool
-
not cinder_backend_ceph | bool
-
not cinder_backend_vmwarevc_vmdk | bool
-
not enable_cinder_backend_zfssa_iscsi | bool
-
name
:
Checking LVM volume group exists for Cinder
-
name
:
Checking LVM volume group exists for Cinder
command
:
"
vgs
{{
cinder_volume_group
}}"
command
:
"
vgs
{{
cinder_volume_group
}}"
register
:
result
register
:
result
...
...
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