Candlepin 2.0 merged

Hi All,

Candlepin 2.0 has been merged to katello master and available in
nightly. Sadly after we merged we found an issue that prevents
upgrading with all your data in the devel environment. Until this is
fixed you'll have to do a full reset:

  1. systemctl stop tomcat

  2. yum update
    http://koji.katello.org/packages/candlepin/2.0.24/1.el7/noarch/candlepin-2.0.24-1.el7.noarch.rpm
    http://koji.katello.org/packages/candlepin/2.0.24/1.el7/noarch/candlepin-selinux-2.0.24-1.el7.noarch.rpm

  3. systemctl start tomcat

  4. rake katello:reset (in your foreman checkout)

If you don't want to do a full reset you'll need to wait until a newer
candlepin is available. I'll send out instructions when a fixed build
is available. You can stay at commit
3256117f51f558aa9fd531259cad01200e2576cf and stay on candlepin 0.9.54
for now.

If you see any issues please reach out on #theforeman-dev, reply to this
email, or open an issue.

Thanks,

-Justin

For visibility:

Bug #18424: [candlepin-2.0] import manifest after delete gives: Runtime Error Index: 0, Size: 0 at java.util.ArrayList.rangeCheck:653 - Katello - Foreman - [candlepin-2.0] import
manifest after delete gives: Runtime Error Index: 0, Size: 0 at
java.util.ArrayList.rangeCheck:653

Error trying to re-import manifest after a deletion

··· On Tue, Feb 7, 2017 at 6:43 PM, Justin Sherrill wrote:

Hi All,

Candlepin 2.0 has been merged to katello master and available in nightly.
Sadly after we merged we found an issue that prevents upgrading with all
your data in the devel environment. Until this is fixed you’ll have to do
a full reset:

  1. systemctl stop tomcat

  2. yum update http://koji.katello.org/packages/candlepin/2.0.24/1.
    el7/noarch/candlepin-2.0.24-1.el7.noarch.rpm http://koji.katello.org/
    packages/candlepin/2.0.24/1.el7/noarch/candlepin-selinux-
    2.0.24-1.el7.noarch.rpm

  3. systemctl start tomcat

  4. rake katello:reset (in your foreman checkout)

If you don’t want to do a full reset you’ll need to wait until a newer
candlepin is available. I’ll send out instructions when a fixed build is
available. You can stay at commit 3256117f51f558aa9fd531259cad01200e2576cf
and stay on candlepin 0.9.54 for now.

If you see any issues please reach out on #theforeman-dev, reply to this
email, or open an issue.

Thanks,

-Justin


You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

A new version of candlepin is now available that fixes the upgrade issue
as well as the manifest reimport issue.

  1. service tomcat stop

  2. yum update
    http://koji.katello.org/packages/candlepin/2.0.25/1.el7/noarch/candlepin-2.0.25-1.el7.noarch.rpm
    http://koji.katello.org/packages/candlepin/2.0.25/1.el7/noarch/candlepin-selinux-2.0.25-1.el7.noarch.rpm

  3. /usr/share/candlepin/cpdb --update

  4. service tomcat start

  5. update your git checkout to the latest katello master

-Justin

··· -------- Forwarded Message -------- Subject: Re: [foreman-dev] candlepin 2.0 merged Date: Wed, 8 Feb 2017 10:11:47 -0500 From: Tom McKay Reply-To: foreman-dev@googlegroups.com To: foreman-dev@googlegroups.com

For visibility:

Bug #18424: [candlepin-2.0] import manifest after delete gives: Runtime Error Index: 0, Size: 0 at java.util.ArrayList.rangeCheck:653 - Katello - Foreman - [candlepin-2.0] import
manifest after delete gives: Runtime Error Index: 0, Size: 0 at
java.util.ArrayList.rangeCheck:653

Error trying to re-import manifest after a deletion

On Tue, Feb 7, 2017 at 6:43 PM, Justin Sherrill <jsherril@redhat.com mailto:jsherril@redhat.com> wrote:

Hi All,

Candlepin 2.0 has been merged to katello master and available in
nightly.  Sadly after we merged we found an issue that prevents
upgrading with all your data in the devel environment.  Until this
is fixed you'll have to do a full reset:

1.  systemctl stop tomcat

2. yum update
http://koji.katello.org/packages/candlepin/2.0.24/1.el7/noarch/candlepin-2.0.24-1.el7.noarch.rpm
<http://koji.katello.org/packages/candlepin/2.0.24/1.el7/noarch/candlepin-2.0.24-1.el7.noarch.rpm>
http://koji.katello.org/packages/candlepin/2.0.24/1.el7/noarch/candlepin-selinux-2.0.24-1.el7.noarch.rpm
<http://koji.katello.org/packages/candlepin/2.0.24/1.el7/noarch/candlepin-selinux-2.0.24-1.el7.noarch.rpm>

3.  systemctl start tomcat

4. rake katello:reset   (in your foreman checkout)

If you don't want to do a full reset you'll need to wait until a
newer candlepin is available.  I'll send out instructions when a
fixed build is available. You can stay at commit
3256117f51f558aa9fd531259cad01200e2576cf and stay on candlepin
0.9.54 for now.

If you see any issues please reach out on #theforeman-dev, reply to
this email, or open an issue.

Thanks,

-Justin

-- 
You received this message because you are subscribed to the Google
Groups "foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to foreman-dev+unsubscribe@googlegroups.com
<mailto:foreman-dev+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


You received this message because you are subscribed to the Google
Groups “foreman-dev” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-dev+unsubscribe@googlegroups.com
mailto:foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.