Error deleting repository in katello-2.4

Hi All,

As mentioned in the subject I get an error namely:

2016-02-09 12:12:38 [foreman-tasks/action] [E] undefined method `repoids' for #<Katello::PuppetModule:0x0000000fa60270> (NoMethodError)

I'll attach the backtrace to the mail.

I have added a Product (puppetmodules) and added a repository which get
all modules nicely from the puppetforge, added a second repository
(Test) which should get a couple of local puppet modules prepared via
pulp-puppet-module-builder. This works OK.
Now I wanted to split this Product in 2 and started with removing the
Test repo and got the above mentioned error.
Didn't find anything in the issue tracker.

Regards,

Joop

production.log.gz (12.6 KB)

I just hit this same problem too, using custom modules.

··· On Tuesday, February 9, 2016 at 6:27:25 AM UTC-5, jvandewege wrote: > > Hi All, > > As mentioned in the subject I get an error namely: > > 2016-02-09 12:12:38 [foreman-tasks/action] [E] undefined method `repoids' > for # (NoMethodError) > > I'll attach the backtrace to the mail. > > I have added a Product (puppetmodules) and added a repository which get > all modules nicely from the puppetforge, added a second repository > (Test) which should get a couple of local puppet modules prepared via > pulp-puppet-module-builder. This works OK. > Now I wanted to split this Product in 2 and started with removing the > Test repo and got the above mentioned error. > Didn't find anything in the issue tracker. > > Regards, > > Joop > > > >

I can confirm repo deletion issue as well. Using forge, and custom modules
loaded as product via pulp-puppet-module-builder.

··· On Wednesday, February 17, 2016 at 7:19:53 AM UTC-8, ron wrote: > > I just hit this same problem too, using custom modules. > > On Tuesday, February 9, 2016 at 6:27:25 AM UTC-5, jvandewege wrote: >> >> Hi All, >> >> As mentioned in the subject I get an error namely: >> >> 2016-02-09 12:12:38 [foreman-tasks/action] [E] undefined method `repoids' >> for # (NoMethodError) >> >> I'll attach the backtrace to the mail. >> >> I have added a Product (puppetmodules) and added a repository which get >> all modules nicely from the puppetforge, added a second repository >> (Test) which should get a couple of local puppet modules prepared via >> pulp-puppet-module-builder. This works OK. >> Now I wanted to split this Product in 2 and started with removing the >> Test repo and got the above mentioned error. >> Didn't find anything in the issue tracker. >> >> Regards, >> >> Joop >> >> >> >>