crowbar-client 3.6.0 → 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/crowbar/client/app/backup.rb +2 -2
- data/lib/crowbar/client/app/barclamp.rb +2 -2
- data/lib/crowbar/client/app/installer.rb +2 -2
- data/lib/crowbar/client/app/node.rb +6 -6
- data/lib/crowbar/client/app/proposal.rb +4 -4
- data/lib/crowbar/client/app/repository.rb +2 -2
- data/lib/crowbar/client/app/role.rb +4 -4
- data/lib/crowbar/client/app/server.rb +2 -2
- data/lib/crowbar/client/app/upgrade.rb +13 -10
- data/lib/crowbar/client/command/upgrade/repocheck.rb +43 -8
- data/lib/crowbar/client/version.rb +1 -1
- metadata +140 -141
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f96242929ff4f63474c38f48779c047d71c06674f51f73b6b48dd939f2de6c90
|
4
|
+
data.tar.gz: bea1ac00753c5d93e682299bc66c9e375faba6384e0d08db72d59ad6ee0a7c93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d279752db885d75556c6c4bb6d6c08793995fa67a07258da904bad1789769b47f223bd2074c0a18b20445eab7d3c9f80b37c39d14449e20d896745f77bbf266b
|
7
|
+
data.tar.gz: 41976f4fc7189ac6cf208f1958fddb3db0919a8e6d4628c6d10ecbb93d70fc651c2461389b049522b7b724f3d17d32edb614e173f0f447e84030a4d924948080
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [3.6.1](https://github.com/crowbar/crowbar-client/releases/tag/v3.6.1) - 2018-12-07
|
4
|
+
|
5
|
+
* BUGFIX
|
6
|
+
* Hide the database step when it is not used (bsc#1118004)
|
7
|
+
* ENHANCEMENT
|
8
|
+
* Fix help strings
|
9
|
+
* Describe how to upgrade more nodes with one command
|
10
|
+
|
3
11
|
## [3.6.0](https://github.com/crowbar/crowbar-client/releases/tag/v3.6.0) - 2018-06-19
|
4
12
|
|
5
13
|
* BUGFIX
|
@@ -54,13 +54,13 @@ module Crowbar
|
|
54
54
|
type: :boolean,
|
55
55
|
default: false,
|
56
56
|
aliases: [],
|
57
|
-
desc: "Format output as
|
57
|
+
desc: "Format output as json, a shortcut for --format json option"
|
58
58
|
|
59
59
|
method_option :plain,
|
60
60
|
type: :boolean,
|
61
61
|
default: false,
|
62
62
|
aliases: [],
|
63
|
-
desc: "Format output as
|
63
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
64
64
|
|
65
65
|
method_option :filter,
|
66
66
|
type: :string,
|
@@ -54,13 +54,13 @@ module Crowbar
|
|
54
54
|
type: :boolean,
|
55
55
|
default: false,
|
56
56
|
aliases: [],
|
57
|
-
desc: "Format output as
|
57
|
+
desc: "Format output as json, a shortcut for --format table option"
|
58
58
|
|
59
59
|
method_option :plain,
|
60
60
|
type: :boolean,
|
61
61
|
default: false,
|
62
62
|
aliases: [],
|
63
|
-
desc: "Format output as
|
63
|
+
desc: "Format output as plain text, a shortcut for --format table option"
|
64
64
|
|
65
65
|
method_option :filter,
|
66
66
|
type: :string,
|
@@ -54,13 +54,13 @@ module Crowbar
|
|
54
54
|
type: :boolean,
|
55
55
|
default: false,
|
56
56
|
aliases: [],
|
57
|
-
desc: "Format output as
|
57
|
+
desc: "Format output as json, a shortcut for --format json option"
|
58
58
|
|
59
59
|
method_option :plain,
|
60
60
|
type: :boolean,
|
61
61
|
default: false,
|
62
62
|
aliases: [],
|
63
|
-
desc: "Format output as
|
63
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
64
64
|
|
65
65
|
method_option :filter,
|
66
66
|
type: :string,
|
@@ -59,13 +59,13 @@ module Crowbar
|
|
59
59
|
type: :boolean,
|
60
60
|
default: false,
|
61
61
|
aliases: [],
|
62
|
-
desc: "Format output as
|
62
|
+
desc: "Format output as json, a shortcut for --format json option"
|
63
63
|
|
64
64
|
method_option :plain,
|
65
65
|
type: :boolean,
|
66
66
|
default: false,
|
67
67
|
aliases: [],
|
68
|
-
desc: "Format output as
|
68
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
69
69
|
|
70
70
|
method_option :filter,
|
71
71
|
type: :string,
|
@@ -125,13 +125,13 @@ module Crowbar
|
|
125
125
|
type: :boolean,
|
126
126
|
default: false,
|
127
127
|
aliases: [],
|
128
|
-
desc: "Format output as
|
128
|
+
desc: "Format output as json, a shortcut for --format json option"
|
129
129
|
|
130
130
|
method_option :plain,
|
131
131
|
type: :boolean,
|
132
132
|
default: false,
|
133
133
|
aliases: [],
|
134
|
-
desc: "Format output as
|
134
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
135
135
|
|
136
136
|
method_option :filter,
|
137
137
|
type: :string,
|
@@ -190,13 +190,13 @@ module Crowbar
|
|
190
190
|
type: :boolean,
|
191
191
|
default: false,
|
192
192
|
aliases: [],
|
193
|
-
desc: "Format output as
|
193
|
+
desc: "Format output as json, a shortcut for --format json option"
|
194
194
|
|
195
195
|
method_option :plain,
|
196
196
|
type: :boolean,
|
197
197
|
default: false,
|
198
198
|
aliases: [],
|
199
|
-
desc: "Format output as
|
199
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
200
200
|
|
201
201
|
method_option :filter,
|
202
202
|
type: :string,
|
@@ -55,13 +55,13 @@ module Crowbar
|
|
55
55
|
type: :boolean,
|
56
56
|
default: false,
|
57
57
|
aliases: [],
|
58
|
-
desc: "Format output as
|
58
|
+
desc: "Format output as json, a shortcut for --format json option"
|
59
59
|
|
60
60
|
method_option :plain,
|
61
61
|
type: :boolean,
|
62
62
|
default: false,
|
63
63
|
aliases: [],
|
64
|
-
desc: "Format output as
|
64
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
65
65
|
|
66
66
|
method_option :filter,
|
67
67
|
type: :string,
|
@@ -116,13 +116,13 @@ module Crowbar
|
|
116
116
|
type: :boolean,
|
117
117
|
default: false,
|
118
118
|
aliases: [],
|
119
|
-
desc: "Format output as
|
119
|
+
desc: "Format output as json, a shortcut for --format json option"
|
120
120
|
|
121
121
|
method_option :plain,
|
122
122
|
type: :boolean,
|
123
123
|
default: false,
|
124
124
|
aliases: [],
|
125
|
-
desc: "Format output as
|
125
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
126
126
|
|
127
127
|
method_option :filter,
|
128
128
|
type: :string,
|
@@ -55,13 +55,13 @@ module Crowbar
|
|
55
55
|
type: :boolean,
|
56
56
|
default: false,
|
57
57
|
aliases: [],
|
58
|
-
desc: "Format output as
|
58
|
+
desc: "Format output as json, a shortcut for --format json option"
|
59
59
|
|
60
60
|
method_option :plain,
|
61
61
|
type: :boolean,
|
62
62
|
default: false,
|
63
63
|
aliases: [],
|
64
|
-
desc: "Format output as
|
64
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
65
65
|
|
66
66
|
method_option :filter,
|
67
67
|
type: :string,
|
@@ -55,13 +55,13 @@ module Crowbar
|
|
55
55
|
type: :boolean,
|
56
56
|
default: false,
|
57
57
|
aliases: [],
|
58
|
-
desc: "Format output as
|
58
|
+
desc: "Format output as json, a shortcut for --format json option"
|
59
59
|
|
60
60
|
method_option :plain,
|
61
61
|
type: :boolean,
|
62
62
|
default: false,
|
63
63
|
aliases: [],
|
64
|
-
desc: "Format output as
|
64
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
65
65
|
|
66
66
|
method_option :filter,
|
67
67
|
type: :string,
|
@@ -113,13 +113,13 @@ module Crowbar
|
|
113
113
|
type: :boolean,
|
114
114
|
default: false,
|
115
115
|
aliases: [],
|
116
|
-
desc: "Format output as
|
116
|
+
desc: "Format output as json, a shortcut for --format json option"
|
117
117
|
|
118
118
|
method_option :plain,
|
119
119
|
type: :boolean,
|
120
120
|
default: false,
|
121
121
|
aliases: [],
|
122
|
-
desc: "Format output as
|
122
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
123
123
|
|
124
124
|
method_option :filter,
|
125
125
|
type: :string,
|
@@ -70,13 +70,13 @@ module Crowbar
|
|
70
70
|
type: :boolean,
|
71
71
|
default: false,
|
72
72
|
aliases: [],
|
73
|
-
desc: "Format output as
|
73
|
+
desc: "Format output as json, a shortcut for --format json option"
|
74
74
|
|
75
75
|
method_option :plain,
|
76
76
|
type: :boolean,
|
77
77
|
default: false,
|
78
78
|
aliases: [],
|
79
|
-
desc: "Format output as
|
79
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
80
80
|
|
81
81
|
method_option :filter,
|
82
82
|
type: :string,
|
@@ -57,13 +57,13 @@ module Crowbar
|
|
57
57
|
type: :boolean,
|
58
58
|
default: false,
|
59
59
|
aliases: [],
|
60
|
-
desc: "Format output as
|
60
|
+
desc: "Format output as json, a shortcut for --format json option"
|
61
61
|
|
62
62
|
method_option :plain,
|
63
63
|
type: :boolean,
|
64
64
|
default: false,
|
65
65
|
aliases: [],
|
66
|
-
desc: "Format output as
|
66
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
67
67
|
|
68
68
|
method_option :filter,
|
69
69
|
type: :string,
|
@@ -152,13 +152,13 @@ module Crowbar
|
|
152
152
|
type: :boolean,
|
153
153
|
default: false,
|
154
154
|
aliases: [],
|
155
|
-
desc: "Format output as
|
155
|
+
desc: "Format output as json, a shortcut for --format json option"
|
156
156
|
|
157
157
|
method_option :plain,
|
158
158
|
type: :boolean,
|
159
159
|
default: false,
|
160
160
|
aliases: [],
|
161
|
-
desc: "Format output as
|
161
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
162
162
|
|
163
163
|
method_option :filter,
|
164
164
|
type: :string,
|
@@ -201,14 +201,16 @@ module Crowbar
|
|
201
201
|
end
|
202
202
|
|
203
203
|
desc "nodes COMPONENT",
|
204
|
-
"Trigger the node upgrade (all|controllers|
|
204
|
+
"Trigger the node upgrade (all|controllers|NODENAMES#{postpone_resume_short})"
|
205
205
|
|
206
206
|
long_desc <<-LONGDESC
|
207
207
|
`nodes all` will upgrade all nodes.
|
208
208
|
|
209
209
|
`nodes controllers` will upgrade all controller nodes.
|
210
210
|
|
211
|
-
`nodes
|
211
|
+
`nodes NODENAMES` will upgrade the nodes identified by NODENAMES.
|
212
|
+
Nodes' names or aliases can be separated by comma, semicolon or a space
|
213
|
+
(when separating by spaces, whole string has to be quoted).
|
212
214
|
This only works for compute nodes.
|
213
215
|
|
214
216
|
#{postpone_resume}
|
@@ -281,13 +283,13 @@ module Crowbar
|
|
281
283
|
type: :boolean,
|
282
284
|
default: false,
|
283
285
|
aliases: [],
|
284
|
-
desc: "Format output as
|
286
|
+
desc: "Format output as json, a shortcut for --format json option"
|
285
287
|
|
286
288
|
method_option :plain,
|
287
289
|
type: :boolean,
|
288
290
|
default: false,
|
289
291
|
aliases: [],
|
290
|
-
desc: "Format output as
|
292
|
+
desc: "Format output as plain text, a shortcut for --format plain option"
|
291
293
|
|
292
294
|
method_option :filter,
|
293
295
|
type: :string,
|
@@ -305,8 +307,7 @@ module Crowbar
|
|
305
307
|
catch_errors(e)
|
306
308
|
end
|
307
309
|
|
308
|
-
desc "database MODE",
|
309
|
-
"Initialize Crowbar database"
|
310
|
+
desc "database MODE", "Initialize Crowbar database"
|
310
311
|
|
311
312
|
long_desc <<-LONGDESC
|
312
313
|
`database MODE` will set up the Crowbar database and perform the necessary migrations
|
@@ -380,6 +381,8 @@ module Crowbar
|
|
380
381
|
catch_errors(e)
|
381
382
|
end
|
382
383
|
|
384
|
+
remove_command :database unless Config.defaults[:upgrade_versions] == "6-to-7"
|
385
|
+
|
383
386
|
desc "mode UPGRADEMODE",
|
384
387
|
"Set/Get the upgrade mode (normal|non_disruptive)"
|
385
388
|
|
@@ -36,20 +36,55 @@ module Crowbar
|
|
36
36
|
request.process do |request|
|
37
37
|
case request.code
|
38
38
|
when 200
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
39
|
+
hint = ""
|
40
|
+
if provide_format == :table
|
41
|
+
response = request.parsed_response
|
42
|
+
repos = {}
|
43
|
+
response.each do |type, type_data|
|
44
|
+
type_data["repos"].each do |repo|
|
45
|
+
next if repo.nil?
|
46
|
+
repos[repo] = { repo: repo, status: [], type: type } unless repos.key? repo
|
47
|
+
end
|
48
|
+
type_data["errors"].each do |error, error_data|
|
49
|
+
error_data.each do |arch, bad_repos|
|
50
|
+
bad_repos.each do |bad_repo|
|
51
|
+
hint = "Some repopositories are not available. " \
|
52
|
+
"Fix the problem and call the step again."
|
53
|
+
repos[bad_repo][:status] << "#{error} (#{arch})"
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
repos.values.each do |repo|
|
60
|
+
repo[:status] = repo[:status].uniq.join(", ")
|
61
|
+
repo[:status] = "available" if repo[:status].empty?
|
62
|
+
end
|
63
|
+
|
64
|
+
formatter = Formatter::Hash.new(
|
65
|
+
format: provide_format,
|
66
|
+
headings: ["Repository", "Status", "Type"],
|
67
|
+
values: Filter::Hash.new(
|
68
|
+
filter: provide_filter,
|
69
|
+
values: repos.values
|
70
|
+
).result
|
71
|
+
)
|
72
|
+
else
|
73
|
+
formatter = Formatter::Nested.new(
|
74
|
+
format: provide_format,
|
75
|
+
values: Filter::Subset.new(
|
76
|
+
filter: provide_filter,
|
77
|
+
values: request.parsed_response
|
78
|
+
).result
|
79
|
+
)
|
80
|
+
end
|
47
81
|
|
48
82
|
if formatter.empty?
|
49
83
|
err "No repochecks"
|
50
84
|
else
|
51
85
|
say formatter.result
|
52
86
|
next unless provide_format == :table
|
87
|
+
say hint unless hint.empty?
|
53
88
|
say "Next step: 'crowbarctl upgrade admin'" if args.component == "crowbar"
|
54
89
|
say "Next step: 'crowbarctl upgrade services'" if args.component == "nodes"
|
55
90
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crowbar-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Boerger
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-12-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -114,22 +114,22 @@ dependencies:
|
|
114
114
|
name: activesupport
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - "<"
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: 5.0.0
|
120
117
|
- - ">="
|
121
118
|
- !ruby/object:Gem::Version
|
122
119
|
version: 3.0.0
|
120
|
+
- - "<"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 5.0.0
|
123
123
|
type: :runtime
|
124
124
|
prerelease: false
|
125
125
|
version_requirements: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
|
-
- - "<"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: 5.0.0
|
130
127
|
- - ">="
|
131
128
|
- !ruby/object:Gem::Version
|
132
129
|
version: 3.0.0
|
130
|
+
- - "<"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 5.0.0
|
133
133
|
- !ruby/object:Gem::Dependency
|
134
134
|
name: rest-client
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,8 +214,7 @@ dependencies:
|
|
214
214
|
- - ">="
|
215
215
|
- !ruby/object:Gem::Version
|
216
216
|
version: 3.4.1
|
217
|
-
description:
|
218
|
-
Standalone commandline client for crowbar
|
217
|
+
description: " Standalone commandline client for crowbar\n"
|
219
218
|
email:
|
220
219
|
- tboerger@suse.de
|
221
220
|
- mmeister@suse.de
|
@@ -621,158 +620,158 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
621
620
|
version: '0'
|
622
621
|
requirements: []
|
623
622
|
rubyforge_project:
|
624
|
-
rubygems_version: 2.7.
|
623
|
+
rubygems_version: 2.7.8
|
625
624
|
signing_key:
|
626
625
|
specification_version: 4
|
627
626
|
summary: Crowbar commandline client
|
628
627
|
test_files:
|
628
|
+
- spec/fixtures/batch.yml
|
629
|
+
- spec/fixtures/upload.tgz
|
630
|
+
- spec/spec_helper.rb
|
631
|
+
- spec/support/command_context.rb
|
632
|
+
- spec/support/request_examples.rb
|
633
|
+
- spec/support/helper_methods.rb
|
634
|
+
- spec/support/command_examples.rb
|
629
635
|
- spec/crowbar/client/app_spec.rb
|
630
|
-
- spec/crowbar/client/command/backup/create_spec.rb
|
631
|
-
- spec/crowbar/client/command/backup/delete_spec.rb
|
632
|
-
- spec/crowbar/client/command/backup/download_spec.rb
|
633
|
-
- spec/crowbar/client/command/backup/list_spec.rb
|
634
|
-
- spec/crowbar/client/command/backup/restore_spec.rb
|
635
|
-
- spec/crowbar/client/command/backup/upload_spec.rb
|
636
|
-
- spec/crowbar/client/command/barclamp/list_spec.rb
|
637
|
-
- spec/crowbar/client/command/batch/export_spec.rb
|
638
|
-
- spec/crowbar/client/command/database/connect_spec.rb
|
639
|
-
- spec/crowbar/client/command/database/create_spec.rb
|
640
|
-
- spec/crowbar/client/command/database/test_spec.rb
|
641
|
-
- spec/crowbar/client/command/host_ip/allocate_spec.rb
|
642
|
-
- spec/crowbar/client/command/host_ip/deallocate_spec.rb
|
643
|
-
- spec/crowbar/client/command/installer/start_spec.rb
|
644
|
-
- spec/crowbar/client/command/installer/status_spec.rb
|
645
|
-
- spec/crowbar/client/command/interface/disable_spec.rb
|
646
|
-
- spec/crowbar/client/command/interface/enable_spec.rb
|
647
|
-
- spec/crowbar/client/command/node/allocate_spec.rb
|
648
|
-
- spec/crowbar/client/command/node/delete_spec.rb
|
649
|
-
- spec/crowbar/client/command/node/group_spec.rb
|
650
|
-
- spec/crowbar/client/command/node/hardware_spec.rb
|
651
|
-
- spec/crowbar/client/command/node/identify_spec.rb
|
652
|
-
- spec/crowbar/client/command/node/list_spec.rb
|
653
|
-
- spec/crowbar/client/command/node/powercycle_spec.rb
|
654
|
-
- spec/crowbar/client/command/node/poweroff_spec.rb
|
655
|
-
- spec/crowbar/client/command/node/poweron_spec.rb
|
656
|
-
- spec/crowbar/client/command/node/reboot_spec.rb
|
657
|
-
- spec/crowbar/client/command/node/reinstall_spec.rb
|
658
|
-
- spec/crowbar/client/command/node/rename_spec.rb
|
659
|
-
- spec/crowbar/client/command/node/reset_spec.rb
|
660
|
-
- spec/crowbar/client/command/node/role_spec.rb
|
661
|
-
- spec/crowbar/client/command/node/show_spec.rb
|
662
|
-
- spec/crowbar/client/command/node/shutdown_spec.rb
|
663
|
-
- spec/crowbar/client/command/node/status_spec.rb
|
664
|
-
- spec/crowbar/client/command/node/transition_spec.rb
|
665
|
-
- spec/crowbar/client/command/proposal/commit_spec.rb
|
666
|
-
- spec/crowbar/client/command/proposal/create_spec.rb
|
667
|
-
- spec/crowbar/client/command/proposal/delete_spec.rb
|
668
|
-
- spec/crowbar/client/command/proposal/dequeue_spec.rb
|
669
|
-
- spec/crowbar/client/command/proposal/edit_spec.rb
|
670
|
-
- spec/crowbar/client/command/proposal/list_spec.rb
|
671
|
-
- spec/crowbar/client/command/proposal/reset_spec.rb
|
672
|
-
- spec/crowbar/client/command/proposal/show_spec.rb
|
673
|
-
- spec/crowbar/client/command/repository/activate_all_spec.rb
|
674
|
-
- spec/crowbar/client/command/repository/activate_spec.rb
|
675
|
-
- spec/crowbar/client/command/repository/deactivate_all_spec.rb
|
676
|
-
- spec/crowbar/client/command/repository/deactivate_spec.rb
|
677
|
-
- spec/crowbar/client/command/repository/list_spec.rb
|
678
|
-
- spec/crowbar/client/command/role/list_spec.rb
|
679
|
-
- spec/crowbar/client/command/role/show_spec.rb
|
680
|
-
- spec/crowbar/client/command/server/api_spec.rb
|
681
|
-
- spec/crowbar/client/command/server/check_spec.rb
|
682
|
-
- spec/crowbar/client/command/services/clear_restart_spec.rb
|
683
|
-
- spec/crowbar/client/command/services/disable_restart_spec.rb
|
684
|
-
- spec/crowbar/client/command/services/list_restarts_spec.rb
|
685
|
-
- spec/crowbar/client/command/services/restart_flags_spec.rb
|
686
|
-
- spec/crowbar/client/command/upgrade/admin_spec.rb
|
687
|
-
- spec/crowbar/client/command/upgrade/backup_spec.rb
|
688
|
-
- spec/crowbar/client/command/upgrade/cancel_spec.rb
|
689
|
-
- spec/crowbar/client/command/upgrade/database_spec.rb
|
690
|
-
- spec/crowbar/client/command/upgrade/mode_spec.rb
|
691
|
-
- spec/crowbar/client/command/upgrade/nodes_spec.rb
|
692
|
-
- spec/crowbar/client/command/upgrade/prechecks_spec.rb
|
693
|
-
- spec/crowbar/client/command/upgrade/prepare_spec.rb
|
694
|
-
- spec/crowbar/client/command/upgrade/repocheck_spec.rb
|
695
|
-
- spec/crowbar/client/command/upgrade/services_spec.rb
|
696
|
-
- spec/crowbar/client/command/upgrade/status_spec.rb
|
697
|
-
- spec/crowbar/client/command/virtual_ip/allocate_spec.rb
|
698
|
-
- spec/crowbar/client/command/virtual_ip/deallocate_spec.rb
|
699
|
-
- spec/crowbar/client/filter/array_spec.rb
|
700
636
|
- spec/crowbar/client/filter/hash_spec.rb
|
701
637
|
- spec/crowbar/client/filter/subset_spec.rb
|
702
|
-
- spec/crowbar/client/
|
703
|
-
- spec/crowbar/client/formatter/hash_spec.rb
|
638
|
+
- spec/crowbar/client/filter/array_spec.rb
|
704
639
|
- spec/crowbar/client/formatter/nested_spec.rb
|
705
|
-
- spec/crowbar/client/
|
706
|
-
- spec/crowbar/client/
|
707
|
-
- spec/crowbar/client/
|
708
|
-
- spec/crowbar/client/
|
709
|
-
- spec/crowbar/client/request/
|
710
|
-
- spec/crowbar/client/request/
|
711
|
-
- spec/crowbar/client/request/backup/upload_spec.rb
|
712
|
-
- spec/crowbar/client/request/barclamp/list_spec.rb
|
713
|
-
- spec/crowbar/client/request/batch/export_spec.rb
|
714
|
-
- spec/crowbar/client/request/cluster/list_spec.rb
|
715
|
-
- spec/crowbar/client/request/database/connect_spec.rb
|
716
|
-
- spec/crowbar/client/request/database/create_spec.rb
|
717
|
-
- spec/crowbar/client/request/database/test_spec.rb
|
718
|
-
- spec/crowbar/client/request/host_ip/allocate_spec.rb
|
640
|
+
- spec/crowbar/client/formatter/hash_spec.rb
|
641
|
+
- spec/crowbar/client/formatter/array_spec.rb
|
642
|
+
- spec/crowbar/client/util/runner_spec.rb
|
643
|
+
- spec/crowbar/client/util/editor_spec.rb
|
644
|
+
- spec/crowbar/client/request/server/check_spec.rb
|
645
|
+
- spec/crowbar/client/request/server/api_spec.rb
|
719
646
|
- spec/crowbar/client/request/host_ip/deallocate_spec.rb
|
720
|
-
- spec/crowbar/client/request/
|
721
|
-
- spec/crowbar/client/request/
|
722
|
-
- spec/crowbar/client/request/
|
723
|
-
- spec/crowbar/client/request/
|
647
|
+
- spec/crowbar/client/request/host_ip/allocate_spec.rb
|
648
|
+
- spec/crowbar/client/request/upgrade/cancel_spec.rb
|
649
|
+
- spec/crowbar/client/request/upgrade/prepare_spec.rb
|
650
|
+
- spec/crowbar/client/request/upgrade/admin_spec.rb
|
651
|
+
- spec/crowbar/client/request/upgrade/services_spec.rb
|
652
|
+
- spec/crowbar/client/request/upgrade/mode_spec.rb
|
653
|
+
- spec/crowbar/client/request/upgrade/status_spec.rb
|
654
|
+
- spec/crowbar/client/request/upgrade/prechecks_spec.rb
|
655
|
+
- spec/crowbar/client/request/upgrade/repocheck_spec.rb
|
656
|
+
- spec/crowbar/client/request/upgrade/backup_spec.rb
|
657
|
+
- spec/crowbar/client/request/upgrade/nodes_spec.rb
|
658
|
+
- spec/crowbar/client/request/upgrade/database_spec.rb
|
659
|
+
- spec/crowbar/client/request/services/list_restarts_spec.rb
|
660
|
+
- spec/crowbar/client/request/services/clear_restart_spec.rb
|
661
|
+
- spec/crowbar/client/request/services/restart_flags_spec.rb
|
662
|
+
- spec/crowbar/client/request/services/disable_restart_spec.rb
|
663
|
+
- spec/crowbar/client/request/node/show_spec.rb
|
724
664
|
- spec/crowbar/client/request/node/action_spec.rb
|
725
665
|
- spec/crowbar/client/request/node/delete_spec.rb
|
726
666
|
- spec/crowbar/client/request/node/group_spec.rb
|
727
|
-
- spec/crowbar/client/request/node/list_spec.rb
|
728
|
-
- spec/crowbar/client/request/node/rename_spec.rb
|
729
667
|
- spec/crowbar/client/request/node/role_spec.rb
|
730
|
-
- spec/crowbar/client/request/node/show_spec.rb
|
731
668
|
- spec/crowbar/client/request/node/status_spec.rb
|
732
669
|
- spec/crowbar/client/request/node/transition_spec.rb
|
670
|
+
- spec/crowbar/client/request/node/rename_spec.rb
|
671
|
+
- spec/crowbar/client/request/node/list_spec.rb
|
672
|
+
- spec/crowbar/client/request/batch/export_spec.rb
|
673
|
+
- spec/crowbar/client/request/virtual_ip/deallocate_spec.rb
|
674
|
+
- spec/crowbar/client/request/virtual_ip/allocate_spec.rb
|
675
|
+
- spec/crowbar/client/request/proposal/dequeue_spec.rb
|
676
|
+
- spec/crowbar/client/request/proposal/show_spec.rb
|
733
677
|
- spec/crowbar/client/request/proposal/commit_spec.rb
|
734
678
|
- spec/crowbar/client/request/proposal/create_spec.rb
|
735
679
|
- spec/crowbar/client/request/proposal/delete_spec.rb
|
736
|
-
- spec/crowbar/client/request/proposal/dequeue_spec.rb
|
737
|
-
- spec/crowbar/client/request/proposal/edit_spec.rb
|
738
|
-
- spec/crowbar/client/request/proposal/list_spec.rb
|
739
680
|
- spec/crowbar/client/request/proposal/reset_spec.rb
|
740
|
-
- spec/crowbar/client/request/proposal/
|
681
|
+
- spec/crowbar/client/request/proposal/edit_spec.rb
|
741
682
|
- spec/crowbar/client/request/proposal/template_spec.rb
|
683
|
+
- spec/crowbar/client/request/proposal/list_spec.rb
|
684
|
+
- spec/crowbar/client/request/role/show_spec.rb
|
685
|
+
- spec/crowbar/client/request/role/list_spec.rb
|
686
|
+
- spec/crowbar/client/request/backup/create_spec.rb
|
687
|
+
- spec/crowbar/client/request/backup/delete_spec.rb
|
688
|
+
- spec/crowbar/client/request/backup/upload_spec.rb
|
689
|
+
- spec/crowbar/client/request/backup/restore_spec.rb
|
690
|
+
- spec/crowbar/client/request/backup/list_spec.rb
|
691
|
+
- spec/crowbar/client/request/backup/download_spec.rb
|
692
|
+
- spec/crowbar/client/request/rest_spec.rb
|
693
|
+
- spec/crowbar/client/request/database/create_spec.rb
|
694
|
+
- spec/crowbar/client/request/database/connect_spec.rb
|
695
|
+
- spec/crowbar/client/request/database/test_spec.rb
|
696
|
+
- spec/crowbar/client/request/barclamp/list_spec.rb
|
697
|
+
- spec/crowbar/client/request/repository/deactivate_all_spec.rb
|
742
698
|
- spec/crowbar/client/request/repository/activate_all_spec.rb
|
699
|
+
- spec/crowbar/client/request/repository/list_spec.rb
|
743
700
|
- spec/crowbar/client/request/repository/activate_spec.rb
|
744
|
-
- spec/crowbar/client/request/repository/deactivate_all_spec.rb
|
745
701
|
- spec/crowbar/client/request/repository/deactivate_spec.rb
|
746
|
-
- spec/crowbar/client/request/
|
747
|
-
- spec/crowbar/client/request/
|
748
|
-
- spec/crowbar/client/request/
|
749
|
-
- spec/crowbar/client/request/
|
750
|
-
- spec/crowbar/client/request/
|
751
|
-
- spec/crowbar/client/
|
752
|
-
- spec/crowbar/client/
|
753
|
-
- spec/crowbar/client/
|
754
|
-
- spec/crowbar/client/
|
755
|
-
- spec/crowbar/client/
|
756
|
-
- spec/crowbar/client/
|
757
|
-
- spec/crowbar/client/
|
758
|
-
- spec/crowbar/client/
|
759
|
-
- spec/crowbar/client/
|
760
|
-
- spec/crowbar/client/
|
761
|
-
- spec/crowbar/client/
|
762
|
-
- spec/crowbar/client/
|
763
|
-
- spec/crowbar/client/
|
764
|
-
- spec/crowbar/client/
|
765
|
-
- spec/crowbar/client/
|
766
|
-
- spec/crowbar/client/
|
767
|
-
- spec/crowbar/client/
|
768
|
-
- spec/crowbar/client/
|
769
|
-
- spec/crowbar/client/
|
770
|
-
- spec/crowbar/client/
|
702
|
+
- spec/crowbar/client/request/installer/start_spec.rb
|
703
|
+
- spec/crowbar/client/request/installer/status_spec.rb
|
704
|
+
- spec/crowbar/client/request/interface/disable_spec.rb
|
705
|
+
- spec/crowbar/client/request/interface/enable_spec.rb
|
706
|
+
- spec/crowbar/client/request/cluster/list_spec.rb
|
707
|
+
- spec/crowbar/client/command/server/check_spec.rb
|
708
|
+
- spec/crowbar/client/command/server/api_spec.rb
|
709
|
+
- spec/crowbar/client/command/host_ip/deallocate_spec.rb
|
710
|
+
- spec/crowbar/client/command/host_ip/allocate_spec.rb
|
711
|
+
- spec/crowbar/client/command/upgrade/cancel_spec.rb
|
712
|
+
- spec/crowbar/client/command/upgrade/prepare_spec.rb
|
713
|
+
- spec/crowbar/client/command/upgrade/admin_spec.rb
|
714
|
+
- spec/crowbar/client/command/upgrade/services_spec.rb
|
715
|
+
- spec/crowbar/client/command/upgrade/mode_spec.rb
|
716
|
+
- spec/crowbar/client/command/upgrade/status_spec.rb
|
717
|
+
- spec/crowbar/client/command/upgrade/prechecks_spec.rb
|
718
|
+
- spec/crowbar/client/command/upgrade/repocheck_spec.rb
|
719
|
+
- spec/crowbar/client/command/upgrade/backup_spec.rb
|
720
|
+
- spec/crowbar/client/command/upgrade/nodes_spec.rb
|
721
|
+
- spec/crowbar/client/command/upgrade/database_spec.rb
|
722
|
+
- spec/crowbar/client/command/services/list_restarts_spec.rb
|
723
|
+
- spec/crowbar/client/command/services/clear_restart_spec.rb
|
724
|
+
- spec/crowbar/client/command/services/restart_flags_spec.rb
|
725
|
+
- spec/crowbar/client/command/services/disable_restart_spec.rb
|
726
|
+
- spec/crowbar/client/command/node/identify_spec.rb
|
727
|
+
- spec/crowbar/client/command/node/powercycle_spec.rb
|
728
|
+
- spec/crowbar/client/command/node/show_spec.rb
|
729
|
+
- spec/crowbar/client/command/node/shutdown_spec.rb
|
730
|
+
- spec/crowbar/client/command/node/reinstall_spec.rb
|
731
|
+
- spec/crowbar/client/command/node/reboot_spec.rb
|
732
|
+
- spec/crowbar/client/command/node/hardware_spec.rb
|
733
|
+
- spec/crowbar/client/command/node/delete_spec.rb
|
734
|
+
- spec/crowbar/client/command/node/group_spec.rb
|
735
|
+
- spec/crowbar/client/command/node/role_spec.rb
|
736
|
+
- spec/crowbar/client/command/node/reset_spec.rb
|
737
|
+
- spec/crowbar/client/command/node/allocate_spec.rb
|
738
|
+
- spec/crowbar/client/command/node/status_spec.rb
|
739
|
+
- spec/crowbar/client/command/node/transition_spec.rb
|
740
|
+
- spec/crowbar/client/command/node/poweroff_spec.rb
|
741
|
+
- spec/crowbar/client/command/node/rename_spec.rb
|
742
|
+
- spec/crowbar/client/command/node/list_spec.rb
|
743
|
+
- spec/crowbar/client/command/node/poweron_spec.rb
|
744
|
+
- spec/crowbar/client/command/batch/export_spec.rb
|
745
|
+
- spec/crowbar/client/command/virtual_ip/deallocate_spec.rb
|
746
|
+
- spec/crowbar/client/command/virtual_ip/allocate_spec.rb
|
747
|
+
- spec/crowbar/client/command/proposal/dequeue_spec.rb
|
748
|
+
- spec/crowbar/client/command/proposal/show_spec.rb
|
749
|
+
- spec/crowbar/client/command/proposal/commit_spec.rb
|
750
|
+
- spec/crowbar/client/command/proposal/create_spec.rb
|
751
|
+
- spec/crowbar/client/command/proposal/delete_spec.rb
|
752
|
+
- spec/crowbar/client/command/proposal/reset_spec.rb
|
753
|
+
- spec/crowbar/client/command/proposal/edit_spec.rb
|
754
|
+
- spec/crowbar/client/command/proposal/list_spec.rb
|
755
|
+
- spec/crowbar/client/command/role/show_spec.rb
|
756
|
+
- spec/crowbar/client/command/role/list_spec.rb
|
757
|
+
- spec/crowbar/client/command/backup/create_spec.rb
|
758
|
+
- spec/crowbar/client/command/backup/delete_spec.rb
|
759
|
+
- spec/crowbar/client/command/backup/upload_spec.rb
|
760
|
+
- spec/crowbar/client/command/backup/restore_spec.rb
|
761
|
+
- spec/crowbar/client/command/backup/list_spec.rb
|
762
|
+
- spec/crowbar/client/command/backup/download_spec.rb
|
763
|
+
- spec/crowbar/client/command/database/create_spec.rb
|
764
|
+
- spec/crowbar/client/command/database/connect_spec.rb
|
765
|
+
- spec/crowbar/client/command/database/test_spec.rb
|
766
|
+
- spec/crowbar/client/command/barclamp/list_spec.rb
|
767
|
+
- spec/crowbar/client/command/repository/deactivate_all_spec.rb
|
768
|
+
- spec/crowbar/client/command/repository/activate_all_spec.rb
|
769
|
+
- spec/crowbar/client/command/repository/list_spec.rb
|
770
|
+
- spec/crowbar/client/command/repository/activate_spec.rb
|
771
|
+
- spec/crowbar/client/command/repository/deactivate_spec.rb
|
772
|
+
- spec/crowbar/client/command/installer/start_spec.rb
|
773
|
+
- spec/crowbar/client/command/installer/status_spec.rb
|
774
|
+
- spec/crowbar/client/command/interface/disable_spec.rb
|
775
|
+
- spec/crowbar/client/command/interface/enable_spec.rb
|
776
|
+
- spec/crowbar/client/mixin/proposal_spec.rb
|
771
777
|
- spec/crowbar/client_spec.rb
|
772
|
-
- spec/fixtures/batch.yml
|
773
|
-
- spec/fixtures/upload.tgz
|
774
|
-
- spec/spec_helper.rb
|
775
|
-
- spec/support/command_context.rb
|
776
|
-
- spec/support/command_examples.rb
|
777
|
-
- spec/support/helper_methods.rb
|
778
|
-
- spec/support/request_examples.rb
|