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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0722a3c91c3e74512eecedbbf30bf2f9e1d281f2
4
- data.tar.gz: 54c23d3e7de6c26893f63ee02a78f3b2e9373e5c
3
+ metadata.gz: 12b75b05d53ce6381a5810cf567cc7973939dffb
4
+ data.tar.gz: 675f6cda669d071688634aadbd821843da944300
5
5
  SHA512:
6
- metadata.gz: 4df8660e8ca9ae7ba3db2a821abcb74a684a0ba7c7797bad1840ea9ed1df97f674774a861941b742de842510c96857aa69fd16078308b90c373a5538ac19a515
7
- data.tar.gz: 04b0e7101905a5cb651d9978a5f6ae701bdfe6caefac2c813931a4fd56a6f28eca6c50df134353240edba7a3217213d30bd35cb5f32394de6a27b50c6ee1fa3c
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
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '1.41.0'
6
+ STRING = '1.41.1'
7
7
  end
8
8
 
9
9
  end
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.0
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-20 00:00:00.000000000 Z
11
+ date: 2018-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec