I recently upgraded our lab from 2.6.0 to 2.7.7. I am not sure about your 
upgrade path, but during my upgrade, I tried to directly upgrade to 2.7.7 using 
2.7.7 packages but it failed and complained missing elements of 2.6.2 and some 
other libraries. So I tried to install packages from 2.6.2 rpm packages and I 
still got the errors for missing 2.6.1 elements and other libs. So I need to 
first upgrade to 2.6.1, then to 2.6.2 and then to 2.7.7. Maybe part of your 
problem is because of this. From my experience, ISC team did a very good job 
that the only external dependencies we need is liblog4cplus and maybe there’s 
another I cannot recall, but I do remember I also needed to upgrade 
liblog4cplus to newer version as well.

One useful command I found is: yum localinstall  <package_name>




On Apr 30, 2025, at 1:51 PM, Scott Rakow <srs...@gmail.com> wrote:

Hey Darren,
  Thanks for your reply.

I have rebuilt my server to a patched RedHat 9.5 VM, created an repo for Kea, 
which includes the 2.6.2 RPM's for isc-kea-common, isc-kea-ctrl-agent, 
isc-kea-dhcp4, isc-kea-doc, and isc-kea-hooks.

When running the install I am getting told that "nothing provides" 
libboost_system.so.1.66.0 and liblog4cplus-1.2.so.5. I get this error for all 
four of the app RPM's I am trying to install.

In a short search I was able to install libboost_system via the boost-system 
RPM, which is 1.75.0-8.el9.

When retrying the install I am getting the same error. Are you specific to the 
1.66 so library?

Or am I still missing something?

Thanks,
Scott

On Sat, Apr 26, 2025 at 10:58 AM Darren Ankney 
<darren.ank...@gmail.com<mailto:darren.ank...@gmail.com>> wrote:
Hi Scott,

I suggest you have a look at using the ISC Cloudsmith repository for
install with "yum" or "dnf".
- See here: https://cloudsmith.io/~isc/repos/kea-2-6/setup/#formats-rpm
- and here: https://kb.isc.org/docs/isc-kea-packages
- Please note that it will be unlikely that you can "upgrade" from 2.4
and will rather require a fresh install unless the source of 2.4 was
also Cloudsmith.
Having this repository installed will make it easy for you to update
to new point releases.  Additionally, when upgrading beyond 2.6.2 (to
3.0.0, for example), it will be a simple matter of installing the new
repository and executing `dnf upgrade`.

As far as things to be aware of when upgrading from 2.4 to 2.6, there
are a few sources of information.
- Here: 
https://kb.isc.org/docs/changes-to-be-aware-of-when-migrating-to-kea-2-6-0
- and here: 
https://gitlab.isc.org/isc-projects/kea/-/wikis/Release-Notes/release-notes-2.6.0
- and 2.6.1: 
https://gitlab.isc.org/isc-projects/kea/-/wikis/Release-Notes/release-notes-2.6.1
- and finally 2.6.2:
https://gitlab.isc.org/isc-projects/kea/-/wikis/Release-Notes/release-notes-2.6.2

As for your question about whether HA will function with one server on
2.4 and one on 2.6, the answer is: it might.  2.6 has a new failover
mode (hub and spoke) and some new messaging that is introduced.  The
unknown messages will be ignored by the server that doesn't understand
them (2.4) but this could potentially cause some problems for the
server sending them (2.6).  If the 2.6 server is your standby (in a
hot-standby relationship), and no failover events occur, you'll
probably be ok.  It is best to not let this situation persist for
long.

Also note that if you are using database storage at all, Kea will
refuse to start if the database schema is not updated.  See here:
https://kea.readthedocs.io/en/kea-2.4.1/arm/admin.html#upgrading-a-mysql-database-from-an-earlier-version-of-kea
(MySQL) or here:
https://kea.readthedocs.io/en/kea-2.4.1/arm/admin.html#upgrading-a-postgresql-database-from-an-earlier-version-of-kea
(PostgreSQL).

Thank you,
Darren Ankney

On Fri, Apr 25, 2025 at 5:49 PM Scott Rakow 
<srs...@gmail.com<mailto:srs...@gmail.com>> wrote:
>
> Kea List,
>
>   I have been running Kea-DHCP4 2.4 in my environment for over a year and a 
> half on Rocky 9. As it will be EoL in June I am looking to upgrade to 2.6.2.
>
>
>
> I have two options for install. Using the EPEL RPM’s or use the packages from 
> the ISC repository (which I have downloaded).
>
>
>
> For testing I have two VM’s that are in a HA configuration that I have cloned 
> and moved to a test environment. I also have a few test clients pulling DHCP 
> requests, to verify there will be no issues with the upgrade.
>
>
>
> In trying to do the upgrade, I have put the failover server in maintenance 
> mode, stopped the kea-dhcp4 process, and have tried to run an install, which 
> fails.
>
>
>
> The message I get is informing me the kea-2.6.2 package from the EPEL repo 
> requires libkea-asiolink.so.71 and none of the providers can be installed. 
> This happens using either the EPEL repository or trying to install the RPM’s 
> individually.
>
>
>
> Is there something I am missing?
>
>
>
> alternatively I do have a third option, wiping the secondary server and 
> installing on a clean server. Then reversing the process to build the primary.
>
>
>
> My question for this is will the HA work with one server being 2.4 and the 
> other on 2.6, or are there issues?
>
>
>
> Thanks,
>
> Scott
>
>
> --
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> Kea-users@lists.isc.org<mailto:Kea-users@lists.isc.org>
> https://lists.isc.org/mailman/listinfo/kea-users
--
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org<mailto:Kea-users@lists.isc.org>
https://lists.isc.org/mailman/listinfo/kea-users
--
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to