sos 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sos.rb +1 -3
  3. data/lib/sos/openstack.rb +30 -25
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64b648104b60bf1378fdc920e03d4a0a8e09a300
4
- data.tar.gz: 288228ed48ff2d5360413ebe84b405471844d6a4
3
+ metadata.gz: 0b6549235d0dc42416385294e9dc405198c888a4
4
+ data.tar.gz: da34fa20261670b4a942e0147206bc900e517170
5
5
  SHA512:
6
- metadata.gz: 3af67b2e6ade113668399680dbf08723ffd5f78c4cafd9035b4abca9744139051c2f9f5d68d2fee8b400fef40946c66a282556149cf012142d3c045b02bc40c5
7
- data.tar.gz: 8eda5473276ec4f183f1c439a227d9f39c1dee0acb44e5a941a08c035b600b42d9cccf619521ceb2e2366ce2fe64869759ae684cad89b83759bd39502815307b
6
+ metadata.gz: dc4922b10481332f3c83cf8b110f0114ec57528676b761a6bdcd6cbb8c80bdf393016134f7c01177d500bff124782cb4def8ffa577a976f0ffd9edb0906e9387
7
+ data.tar.gz: 875fe4ff6d3c34def12bd3b20551e563354c3cc87eff716a46612bb8824baa4e3f475f9fe7d233cb4614fabadf3ae62fb8e48795ddd8081294c4bf81dd51b300
data/lib/sos.rb CHANGED
@@ -15,7 +15,6 @@ require 'os/openstack'
15
15
 
16
16
  SYNTAX =
17
17
  %s{Usage:
18
- os [-fr] clean [<SERVICE>] ... [<SERVICE>]
19
18
  os [-fr] list
20
19
  os [-fr] logs [<SERVICE>] ... [<SERVICE>]
21
20
  os [-fr] restart [<SERVICE>] ... [<SERVICE>]
@@ -25,11 +24,10 @@ SYNTAX =
25
24
  os help
26
25
 
27
26
  Options:
28
- -r, --runlevel <RUNLEVEL> Change run-level, default is 3
27
+ -r, --runlevel <RUNLEVEL> Change run-level. Default is level 3.
29
28
  -h, --help This help
30
29
 
31
30
  Commands:
32
- clean
33
31
  list List available OpenStack services
34
32
  logs Runs "tail -f"
35
33
  restart Runs "service restart"
@@ -1,28 +1,33 @@
1
1
  module OpenStack
2
- VarLog = '/var/log/'
2
+ VarLog = '/var/log/'
3
3
 
4
- LOGS = {
5
- 'neutron-server' => ["#{VarLog}/neutron/server.log"],
6
- 'neutron-dhcp-agent' => ["#{VarLog}/neutron/dhcp-agent.log"],
7
- 'neutron-l3-agent' => ["#{VarLog}/neutron/l3-agent.log"],
8
- 'openstack-ceilometer-api' => ["#{VarLog}/ceilometer/api.log"],
9
- 'openstack-ceilometer-central' => ["#{VarLog}/ceilometer/central.log"],
10
- 'openstack-ceilometer-collector' => ["#{VarLog}/ceilometer/collector.log"],
11
- 'openstack-cinder-api' => ["#{VarLog}/cinder/api.log"],
12
- 'openstack-cinder-scheduler' => ["#{VarLog}/cinder/api.log"],
13
- 'openstack-cinder-volume' => ["#{VarLog}/cinder/api.log"],
14
- 'openstack-glance-api' => ["#{VarLog}/glance/api.log"],
15
- 'openstack-glance-registry' => ["#{VarLog}/glance/registry.log"],
16
- 'openstack-heat-api' => ["#{VarLog}/heat/heat-api.log"],
17
- 'openstack-heat-engine' => ["#{VarLog}/heat/heat-engine.log"],
18
- 'openstack-heat-manage' => ["#{VarLog}/heat/heat-manage.log"],
19
- 'openstack-keystone' => ["#{VarLog}/keystone/keystone.log"],
20
- 'openstack-nova-api' => ["#{VarLog}/nova/api.log"],
21
- 'openstack-nova-cert' => ["#{VarLog}/nova/cert.log"],
22
- 'openstack-nova-conductor' => ["#{VarLog}/nova/conductor.log"],
23
- 'openstack-nova-console' => ["#{VarLog}/nova/console.log"],
24
- 'openstack-nova-consoleauth' => ["#{VarLog}/nova/consoleauth.log"],
25
- 'openstack-nova-novncproxy' => [""],
26
- 'openstack-nova-scheduler' => ["#{VarLog}/nova/scheduler.log"],
27
- }
4
+ LOGS = {
5
+ 'neutron-dhcp-agent' => ["#{VarLog}/neutron/dhcp-agent.log"],
6
+ 'neutron-l3-agent' => ["#{VarLog}/neutron/l3-agent.log"],
7
+ 'neutron-lbaas-agent' => ["#{VarLog}/neutron/lbaas-agent"],
8
+ 'neutron-metadata-agent' => ["#{VarLog}/neutron/metadata-agent"],
9
+ 'neutron-openvswitch-agent' => ["#{VarLog}/neutron/openvswitch-agent"],
10
+ 'neutron-ovs-cleanup' => [""],
11
+ 'neutron-server' => ["#{VarLog}/neutron/server.log"],
12
+ 'openstack-ceilometer-api' => ["#{VarLog}/ceilometer/api.log"],
13
+ 'openstack-ceilometer-central' => ["#{VarLog}/ceilometer/central.log"],
14
+ 'openstack-ceilometer-collector' => ["#{VarLog}/ceilometer/collector.log"],
15
+ 'openstack-cinder-api' => ["#{VarLog}/cinder/api.log"],
16
+ 'openstack-cinder-scheduler' => ["#{VarLog}/cinder/api.log"],
17
+ 'openstack-cinder-volume' => ["#{VarLog}/cinder/api.log"],
18
+ 'openstack-glance-api' => ["#{VarLog}/glance/api.log"],
19
+ 'openstack-glance-registry' => ["#{VarLog}/glance/registry.log"],
20
+ 'openstack-heat-api' => ["#{VarLog}/heat/heat-api.log"],
21
+ 'openstack-heat-engine' => ["#{VarLog}/heat/heat-engine.log"],
22
+ 'openstack-heat-manage' => ["#{VarLog}/heat/heat-manage.log"],
23
+ 'openstack-keystone' => ["#{VarLog}/keystone/keystone.log"],
24
+ 'openstack-nova-api' => ["#{VarLog}/nova/api.log"],
25
+ 'openstack-nova-cert' => ["#{VarLog}/nova/cert.log"],
26
+ 'openstack-nova-compute' => ["#{VarLog}/nova/compute.log"],
27
+ 'openstack-nova-conductor' => ["#{VarLog}/nova/conductor.log"],
28
+ 'openstack-nova-console' => ["#{VarLog}/nova/console.log"],
29
+ 'openstack-nova-consoleauth' => ["#{VarLog}/nova/consoleauth.log"],
30
+ 'openstack-nova-novncproxy' => [""],
31
+ 'openstack-nova-scheduler' => ["#{VarLog}/nova/scheduler.log"],
32
+ }
28
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gilles Dubreuil