Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When trying to promote a changeset, getting:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.product
/home/inecas/Projects/RedHat/katello/src/app/models/glue/pulp/errata.rb:160:in `product_ids'
/home/inecas/Projects/RedHat/katello/src/app/models/glue/pulp/errata.rb:158:in `each'
/home/inecas/Projects/RedHat/katello/src/app/models/glue/pulp/errata.rb:158:in `product_ids'
/home/inecas/Projects/RedHat/katello/src/app/models/glue/pulp/errata.rb:107:in `index_options'
/home/inecas/Projects/RedHat/katello/src/app/models/repository.rb:108:in `index_errata'
/home/inecas/Projects/RedHat/katello/src/app/models/repository.rb:108:in `collect'
/home/inecas/Projects/RedHat/katello/src/app/models/repository.rb:108:in `index_errata'
/home/inecas/Projects/RedHat/katello/src/app/models/glue/pulp/repo.rb:152:in `promote'
/home/inecas/Projects/RedHat/katello/src/app/models/glue/pulp/repos.rb:522:in `promote_repos'
Steps to Reproduce:
1.create orv, env, provider, product
2.create and synchronize repo http://lzap.fedorapeople.org/fakerepos/zoo5/
3.delete the repo
4.create and synchronize repo with another name but the same url http://lzap.fedorapeople.org/fakerepos/zoo5/
5.promote product
Actual results:
Error
Expected results:
Successful promotion
# VERIFIED
Checking the scenario at bug description: was able to apply yum install walrus for that promoted product.
verification made on:
---
atello-0.1.300-1.el6.noarch
candlepin-0.5.22-1.el6.noarch
pulp-0.0.267-2.el6.noarch