beaker-pe 1.41.0 → 1.41.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/beaker-pe/install/pe_utils.rb +19 -0
- data/lib/beaker-pe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12b75b05d53ce6381a5810cf567cc7973939dffb
|
4
|
+
data.tar.gz: 675f6cda669d071688634aadbd821843da944300
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96a79cf29765bcd56b98fa83c2335cec9234c9f42b904fced03b86a479ff7e9d78d97f9e0db10e83644b5fa85ca78ab38834f58a4669fac763bf05a74336780f
|
7
|
+
data.tar.gz: f447d2fcf412bbf4cf9e24e363d2f3b5efe41a2df6cf0741eafc00f55715186afebc71f82be695d4ed742ab565c5d1f955a42e928ebada78ba4b9de18469507e
|
@@ -501,6 +501,24 @@ module Beaker
|
|
501
501
|
end
|
502
502
|
end
|
503
503
|
|
504
|
+
# Check system resources, so that we might be able to find correlations
|
505
|
+
# between absurd load levels and transients.
|
506
|
+
# @param [Array<Host>] hosts
|
507
|
+
#
|
508
|
+
# @example
|
509
|
+
# verify_vm_resources(hosts)
|
510
|
+
#
|
511
|
+
# @return nil
|
512
|
+
#
|
513
|
+
# @api private
|
514
|
+
def verify_vm_resources(hosts)
|
515
|
+
logger.notify("Checking the status of system (CPU/Mem) resources on PE Infrastructure nodes.")
|
516
|
+
pe_infrastructure = select_hosts({:roles => ['master', 'compile_master', 'dashboard', 'database']}, hosts)
|
517
|
+
pe_infrastructure.each do |host|
|
518
|
+
on host, "top -bn1", :accept_all_exit_codes => true
|
519
|
+
end
|
520
|
+
end
|
521
|
+
|
504
522
|
#Perform a Puppet Enterprise upgrade or install
|
505
523
|
# @param [Array<Host>] hosts The hosts to install or upgrade PE on
|
506
524
|
# @param [Hash{Symbol=>Symbol, String}] opts The options
|
@@ -534,6 +552,7 @@ module Beaker
|
|
534
552
|
# detect the kind of install we're doing
|
535
553
|
install_type = determine_install_type(hosts, opts)
|
536
554
|
verify_network_resources(hosts, options[:net_diag_hosts])
|
555
|
+
verify_vm_resources(hosts)
|
537
556
|
if opts[:use_proxy]
|
538
557
|
config_master_for_proxy_access
|
539
558
|
end
|
data/lib/beaker-pe/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-pe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.41.
|
4
|
+
version: 1.41.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|