Project

General

Profile

Bug #32380

Error performing CreatePulpDiskSpaceNotifications NameError (undefined local variable or method `percentage' for Katello::UINotifications::Pulp::ProxyDiskSpace:Class)

Added by Justin Sherrill about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Notifications
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

introduced by 31506

2021-04-21T20:01:08 [E|app|0aca6ec6] Error performing CreatePulpDiskSpaceNotifications (Job ID: cec2e901-d425-4eb1-ad67-f83939c3ba0a) from Dynflow(default) in 101.92ms: NameError (undefined local variable or method `percentage' for Katello::UINotifications::Pulp::ProxyDiskSpace:Class):
 0aca6ec6 | /home/vagrant/git/katello/app/services/katello/ui_notifications/pulp/proxy_disk_space.rb:8:in `block in deliver!'
 0aca6ec6 | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-6.0.3.6/lib/active_record/relation/delegation.rb:87:in `each'
 0aca6ec6 | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-6.0.3.6/lib/active_record/relation/delegation.rb:87:in `each'
 0aca6ec6 | /home/vagrant/git/katello/app/services/katello/ui_notifications/pulp/proxy_disk_space.rb:7:in `deliver!'
 0aca6ec6 | /home/vagrant/git/katello/app/jobs/create_pulp_disk_space_notifications.rb:3:in `perform'
 0aca6ec6 | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activejob-6.0.3.6/lib/active_job/execution.rb:40:in `block in perform_now'
 0aca6ec6 | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-6.0.3.6/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
 0aca6ec6 | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/i18n-1.8.9/lib/i18n.rb:314:in `with_locale'
 0aca6ec6 | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activejob-6.0.3.6/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
 0aca6ec6 | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-6.0.3.6/lib/active_support/callbacks.rb:121:in `instance_exec'
 0aca6ec6 | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-6.0.3.6/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
 0aca6ec6 | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-6.0.3.6/lib/active_support/core_ext/time/zones.rb:66:in `u

Related issues

Related to Katello - Bug #31506: support disk space widget when pulp3 is on the smart proxy (and when both pulp2 and pulp3 are there)Closed
Has duplicate Katello - Bug #32730: Pulp3 disk space notification fails "undefined local variable or method `percentage'"Duplicate

Associated revisions

Revision 83a12701 (diff)
Added by Chris Roberts 12 months ago

Fixes #32380 - Set correct variable for pulp disk space check

History

#1 Updated by Justin Sherrill about 1 year ago

  • Related to Bug #31506: support disk space widget when pulp3 is on the smart proxy (and when both pulp2 and pulp3 are there) added

#2 Updated by James Jeffers about 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.0.1

#3 Updated by Chris Roberts about 1 year ago

  • Assignee set to Chris Roberts
  • Status changed from New to Assigned

#4 Updated by James Jeffers 12 months ago

  • Target version changed from Katello 4.0.1 to Katello 4.0.2

#5 Updated by The Foreman Bot 12 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9382 added

#6 Updated by The Foreman Bot 12 months ago

  • Fixed in Releases Katello 4.2.0 added

#7 Updated by Chris Roberts 12 months ago

  • Status changed from Ready For Testing to Closed

#8 Updated by Adam Ruzicka 12 months ago

  • Has duplicate Bug #32730: Pulp3 disk space notification fails "undefined local variable or method `percentage'" added

Also available in: Atom PDF