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
c27338bf
Commit
c27338bf
authored
7 years ago
by
Eduardo Gonzalez
Browse files
Options
Downloads
Patches
Plain Diff
Retrieve ceph logs in gate
Check status of ceph cluster Change-Id: I4919a32794cc75bd3e8f411a219f778238a334ee
parent
39e6c55e
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
tests/get_logs.sh
+7
-0
7 additions, 0 deletions
tests/get_logs.sh
with
7 additions
and
0 deletions
tests/get_logs.sh
+
7
−
0
View file @
c27338bf
...
@@ -38,6 +38,13 @@ copy_logs() {
...
@@ -38,6 +38,13 @@ copy_logs() {
# docker related information
# docker related information
(
docker info
&&
docker images
&&
docker ps
-a
)
>
${
LOG_DIR
}
/system_logs/docker-info.txt
(
docker info
&&
docker images
&&
docker ps
-a
)
>
${
LOG_DIR
}
/system_logs/docker-info.txt
# ceph related logs
if
[[
$(
docker ps
--filter
name
=
ceph_mon
--format
"{{.Names}}"
)
]]
;
then
docker
exec
ceph_mon ceph
-s
>
${
LOG_DIR
}
/kolla/ceph/ceph_s.txt
docker
exec
ceph_mon ceph osd
df
>
${
LOG_DIR
}
/kolla/ceph/ceph_osd_df.txt
docker
exec
ceph_mon ceph osd tree
>
${
LOG_DIR
}
/kolla/ceph/ceph_osd_tree.txt
fi
# Rename files to .txt; this is so that when displayed via
# Rename files to .txt; this is so that when displayed via
# logs.openstack.org clicking results in the browser shows the
# logs.openstack.org clicking results in the browser shows the
# files, rather than trying to send it to another app or make you
# files, rather than trying to send it to another app or make you
...
...
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