Hide Forgot
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
Partly this is a problem on Pulp side: see https://bugzilla.redhat.com/show_bug.cgi?id=790356
Fixed in 06fee1b52af46fab23bef907bdcf07968d6819d2
# 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