Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Terraform Ceph cluster in OpenStack
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Chris King
Terraform Ceph cluster in OpenStack
Commits
9bfde6a4
Commit
9bfde6a4
authored
3 years ago
by
Chris King
Browse files
Options
Downloads
Patches
Plain Diff
Add preliminary ceph setup notes
parent
44bbd751
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
README.md
+18
-4
18 additions, 4 deletions
README.md
with
18 additions
and
4 deletions
README.md
+
18
−
4
View file @
9bfde6a4
...
...
@@ -10,11 +10,25 @@ eval $(ssh-agent)
ssh-add ~/path/to/private/key
```
#
Quickstar
t
#
Infrastructure deploymen
t
*
Copy
`terraform.tfvars.example`
to
`terraform.tfvars`
and edit in appropriate values
*
Run
`terraform init`
*
Run
`terraform apply`
1.
Copy
`terraform.tfvars.example`
to
`terraform.tfvars`
and edit in appropriate values
2.
Run
`terraform init`
3.
Run
`terraform apply`
# Ceph setup
1.
Log into the admin node with
`ssh -i ~/.ssh-keys/openstack-fedora-vm -o GlobalKnownHostsFile=/dev/null -o StrictHostKeyChecking=no sles@$(terraform output -raw admin_ip_address)`
2.
`sudo salt-key -F`
to show nodes waiting to be accept into the salt-master; you may need to wait a bit before all nodes show up
3.
`sudo salt-key --accept-all`
to accept all nodes
4.
`sudo salt \* saltutil.sync_all`
to sync all the nodes (if there's an error, wait a moment and try again)
5.
`sudo ceph-salt import cluster.json`
to import configuration
6.
`sudo ceph-salt config ls`
to both verify that the config is correct and to create ceph-salt metadata files
7.
`sudo ceph-salt update --reboot`
to update all nodes; reboot the admin node with
`sudo shutdown -r now`
8.
log back in to the admin node (same command as step 1)
9.
`sudo ceph-salt apply`
10.
access the web interface (in the terraform outputs as
`web_ip_address`
)
# Variables
...
...
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