Project

General

Profile

Bug #23003

traceback during rake tasks around pulp_disk_space check

Added by Justin Sherrill over 3 years ago. Updated about 3 years ago.

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

Description

I got this while running ' rake katello:correct_puppet_environments '

but wasn't able to see the issue again after it ran correctly (i think i'd have to wait 12 hours?)

Associated revisions

Revision 72a59ae8 (diff)
Added by Justin Sherrill over 3 years ago

Fixes #23003 - Fix pulp_disk_space update

History

#1 Updated by The Foreman Bot over 3 years ago

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

#2 Updated by Justin Sherrill over 3 years ago

2018-03-26T18:24:15  [app] [E] Error performing CreatePulpDiskSpaceNotifications (Job ID: 2ca673c7-0f8a-4d8e-a088-0b0bf5a4691e) from Dynflow(default) in 203.4ms: NoMethodError (undefined method `update_attributes' for #<Notification::ActiveRecord_AssociationRelation:0x0000000721c120>
 | Did you mean?  update_all):
 | /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/relation/delegation.rb:125:in `method_missing'
 | /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/relation/delegation.rb:95:in `method_missing'
 | /home/vagrant/git/katello/app/services/katello/ui_notifications/pulp/proxy_disk_space.rb:38:in `update_notifications'
 | /home/vagrant/git/katello/app/services/katello/ui_notifications/pulp/proxy_disk_space.rb:13:in `block in deliver!'
 | /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/relation/delegation.rb:39:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/relation/delegation.rb:39:in `each'
 | /home/vagrant/git/katello/app/services/katello/ui_notifications/pulp/proxy_disk_space.rb:7:in `deliver!'
 | /home/vagrant/git/katello/app/jobs/create_pulp_disk_space_notifications.rb:7:in `perform'
 | /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activejob-5.1.4/lib/active_job/execution.rb:37:in `block in perform_now'
 | /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_

#3 Updated by John Mitsch over 3 years ago

  • Legacy Backlogs Release (now unused) set to 338

#4 Updated by Justin Sherrill over 3 years ago

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

#5 Updated by Stephen Benjamin about 3 years ago

  • Bugzilla link set to 1599278
  • Triaged set to No

Also available in: Atom PDF