Bug 1275152
Summary: | Exception: undefined method `[]' for nil:NilClass when upgrading from 6.0.8 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | jnikolak | ||||||
Component: | Upgrades | Assignee: | satellite6-bugs <satellite6-bugs> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Katello QA List <katello-qa-list> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.1.0 | ||||||||
Target Milestone: | Unspecified | ||||||||
Target Release: | Unused | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-10-26 07:31:01 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 1086388 [details]
foreman_debug
|
Created attachment 1086387 [details] reindex The following errors were found when customer upgraded their satellite from Satellite 6.0.8 They can also be reproduced by running # foreman-rake katello:reindex 2015-10-26 02:23:43 [I] Object: #<Katello::ContentViewPuppetEnvironment id: 20, content_view_version_id: 48, environment_id: 2, name: "Cloud-v1.0", pulp_id: "IaaS-Library-Cloud-v1_0", created_at: "2015-05-07 09:56:35", updated_at: "2015-10-15 09:15:01", puppet_environment_id: 10> 2015-10-26 02:23:43 [E] Exception: undefined method `[]' for nil:NilClass 2015-10-26 02:23:43 [E] Stack Trace: /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/models/katello/glue/pulp/repo.rb:34:in `block (2 levels) in included' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/katello/lazy_accessor.rb:175:in `instance_eval' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/katello/lazy_accessor.rb:175:in `run_initializer' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/katello/lazy_accessor.rb:154:in `lazy_attribute_get' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/katello/lazy_accessor.rb:74:in `block (2 levels) in lazy_accessor' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/models/katello/ext/indexed_model.rb:175:in `block in to_indexed_json' ..... /opt/rh/ruby193/root/usr/share/gems/gems/tire-0.6.2/lib/tire/index.rb:273:in `bulk_store' /opt/rh/ruby193/root/usr/share/gems/gems/tire-0.6.2/lib/tire/index.rb:300:in `import' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/lib/katello/tasks/reindex.rake:123:in `block (3 levels) in <top (required The upgrade completed but they are getting a new issue, with not being able to delete, refresh or upload new manifest. With the following error: Runtime Error query did not return a unique result: 2 at org.hibernate.internal.AbstractQueryImpl.uniqueElement:918