Bug #21213

not view certs in puppetca on smart proxy

Added by anton anton 7 months ago. Updated 7 months ago.

Status:Closed
Priority:Normal
Assigned To:Marek Hulán
Category:PuppetCA
Target version:Foreman - Team Marek Iteration 21
Difficulty: Bugzilla link:
Found in release:1.16.0 Pull request:https://github.com/theforeman/foreman/pull/4899
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto

Description

Oops, we're sorry but something went wrong Object must be a Date, DateTime or Time object. nil given.

Full trace

I18n::ArgumentError
Object must be a Date, DateTime or Time object. nil given.
/opt/rh/sclo-ror42/root/usr/share/gems/gems/i18n-0.7.0/lib/i18n/backend/base.rb:53:in `localize'
/opt/theforeman/tfm/root/usr/share/gems/gems/gettext_i18n_rails-1.2.1/lib/gettext_i18n_rails/backend.rb:30:in `method_missing'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/i18n-0.7.0/lib/i18n.rb:247:in `localize'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionview-4.2.5.1/lib/action_view/helpers/translation_helper.rb:88:in `localize'
/usr/share/foreman/app/helpers/application_helper.rb:71:in `date_time_absolute_value'
/usr/share/foreman/app/helpers/application_helper.rb:65:in `date_time_relative'
/usr/share/foreman/app/views/puppetca/_list.html.erb:20:in `block in _3013bca85535b6399b78f7ef086ac224'
/usr/share/foreman/app/views/puppetca/_list.html.erb:16:in `each'
/usr/share/foreman/app/views/puppetca/_list.html.erb:16:in `_3013bca85535b6399b78f7ef086ac224'

(shortened)


Related issues

Related to Foreman - Feature #19047: Unify the way how we display dates Closed 03/28/2017

Associated revisions

Revision 41df65ee
Added by Marek Hulán 7 months ago

Fixes #21213 - don't fail on nil time stamps

Revision 2104bc38
Added by Marek Hulán 7 months ago

Fixes #21213 - don't fail on nil time stamps

History

#1 Updated by Al Man 7 months ago

Hello.
Do you see that trace in web-intereface?
Did you try sign node manually and then check it in web-interface?

#2 Updated by Marek Hulán 7 months ago

  • Assigned To set to Marek Hulán
  • Priority changed from High to Normal
  • Target version set to Foreman - Team Marek Iteration 21
  • Release deleted (1.16.0)

This happens in case certificate does not have any valid from date.

#3 Updated by Marek Hulán 7 months ago

#4 Updated by Marek Hulán 7 months ago

  • Description updated (diff)

#5 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4899 added

#6 Updated by Marek Hulán 7 months ago

  • Release set to 1.16.0
  • Difficulty deleted (hard)

re-setting 1.16 release as it is a regression in 1.16

#7 Updated by Anonymous 7 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF