katello 3.13.3 → 3.13.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of katello might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ed82fcf9fa41985a6c9803c9f8e44c06e67dd75fdf1f23c217f157d5a234c00
4
- data.tar.gz: a2e84eac33cbfa82b5905e5d3cb05c5bbf2f5ff18e1048274135746dd5c6149e
3
+ metadata.gz: 1f766a3017d31408f1d870da14183242e914597a31783a07257a5df741330e6d
4
+ data.tar.gz: f0abe55e1bd1cf6148ae02eaa02ab068e49f6c3909af80624c9b578cb1f84a1f
5
5
  SHA512:
6
- metadata.gz: 1fa0ebaa815d61c43df9dc1764554f0311950211d368c6287e56a81ea92b0ec4210088c8e3dba820ac673f0631eb88edff19e8abd76fac75aae4c4831c075be8
7
- data.tar.gz: a1034ffcf1051573a484db297d435811ab5c441202260501fc66992c6fea6e18a9166775d6abebb286370b721efc8655ab2449648378fe7fdfb9299833d244ac
6
+ metadata.gz: 712836c8cd4ba4a476650ad3fd04f3e04be29be3cc615c5be137d289578048f98a06ae8e2a31f6653e082f198e865df87bc608864f98aa77a2e7ebcc0d95a667
7
+ data.tar.gz: 0fbec392523232e91c577f7e0df9ca2080d60f828e8e9397d5c0ef6a4b2b5e7ad4d275a3a09ec92fa9c67b34a36e09305d1e57551e5c0af8d072aa00483a671b
@@ -72,8 +72,12 @@ module Katello
72
72
 
73
73
  def create_unlimited_subscription(owner_key, product_id, start_date)
74
74
  start_date ||= Time.now
75
- # End it 100 years from now
76
- end_date ||= start_date + 10_950.days
75
+
76
+ # Subscription-manager (python-rhsm) can't read the certificate with end date beyond
77
+ # 2049 year correctly. Refer the links below for more details:
78
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1789654
79
+ # https://github.com/candlepin/candlepin/blob/5b87865f304555c112982af4fbc83a1c463d37b2/server/src/main/java/org/candlepin/model/UeberCertificateGenerator.java#L247
80
+ end_date = Time.parse('2049-12-01 00:00:00 +0000')
77
81
 
78
82
  pool = {
79
83
  'startDate' => start_date,
@@ -262,7 +262,7 @@ npm WARN unmet dependency /usr/lib/node_modules/block-stream requires inherits@'
262
262
  npm WARN unmet dependency undefined
263
263
  ```
264
264
 
265
- Running `sudo npm update -g phantomjs bower grunt-cli` should fix the issue.
265
+ Running `sudo npm update -g bower grunt-cli` should fix the issue.
266
266
 
267
267
  #### Fixing Dependency Errors ####
268
268
 
@@ -277,7 +277,7 @@ version of a component has been bumped.
277
277
  [See also *Installing a New Dependency*](#installing-a-new-dependency) as well as the related section
278
278
  [*Updating a New Dependency*](#updating-a-new-dependency)
279
279
 
280
- - `sudo npm update -g phantomjs bower grunt-cli`
280
+ - `sudo npm update -g bower grunt-cli`
281
281
  - `npm install`
282
282
  - `grunt bower:dev`
283
283
 
@@ -1,3 +1,3 @@
1
1
  module Katello
2
- VERSION = "3.13.3".freeze
2
+ VERSION = "3.13.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katello
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.3
4
+ version: 3.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - N/A
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-05 00:00:00.000000000 Z
11
+ date: 2020-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails