LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-28-2017, 08:53 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Would Container technology help to satisfy multiple dependencies for a RHEL OS?


I'm helping a developer setup a RHEL 6.4 system for an application that he is building.

Unfortunately in order to get this app to work correctly, it needs a number of packages that are newer then what comes with the install ISO.

My original plan was to create a local repo and install those packages, however that won't work.

I'm not sure what the best solution would be for this? Would setting up a Container with a RHEL OS that has the correct packages, which would get build in production, however we want to do all of this testing in development, in order to get this back in production.

Would this be the correct use of a Container in this situation?

Hopefully what I'm asking makes sense.
 
Old 03-29-2017, 11:59 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,615

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by JockVSJock View Post
I'm helping a developer setup a RHEL 6.4 system for an application that he is building.

Unfortunately in order to get this app to work correctly, it needs a number of packages that are newer then what comes with the install ISO.

My original plan was to create a local repo and install those packages, however that won't work.

I'm not sure what the best solution would be for this? Would setting up a Container with a RHEL OS that has the correct packages, which would get build in production, however we want to do all of this testing in development, in order to get this back in production.

Would this be the correct use of a Container in this situation?

Hopefully what I'm asking makes sense.
I have used OpenVZ containers (host at RHEL-6 with guest container CentOS-7) for this kind of development. An LXC container should work just as well and does not require changing to OpenVZ (as LXC support is in the kernel upstream). If you mean a KVM container, while heavier and less efficient that should serve just as well. Even VirtualBox or VMWARE (although quite slow ) would work for this.

You have, in fact, MANY solutions that do not require messing with your RHEL-6 supported packages and putting your server into an unsupported state.

I would create a CentOS-7 development container to compile your packages, and test there first. Static compile might be advisable if the package must work on multiple versions/releases. (Note the advantages and disadvantages, and perhpas leave that to your developers judgment.)
Then migrate it to the test server and hammer it there before migrating it to production.

Just my $0.02 UDS worth.

Last edited by wpeckham; 03-29-2017 at 12:02 PM.
 
3 members found this post helpful.
Old 03-29-2017, 03:35 PM   #3
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190

Rep: Reputation: 51
You migth also want to consider docker.
 
Old 04-02-2017, 10:21 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by JockVSJock View Post
I'm helping a developer setup a RHEL 6.4 system for an application that he is building.

Unfortunately in order to get this app to work correctly, it needs a number of packages that are newer then what comes with the install ISO.

My original plan was to create a local repo and install those packages, however that won't work.

I'm not sure what the best solution would be for this? Would setting up a Container with a RHEL OS that has the correct packages, which would get build in production, however we want to do all of this testing in development, in order to get this back in production.

Would this be the correct use of a Container in this situation?
You've been given good advice here by wpeckham, and I concur totally with it.

RHEL 6.4 is old..the latest is 7.x, so if this is, as you say, a new RHEL system for developing an application, why on earth would you start with an old OS with old packages? And unless you're paying for RHEL, you are in for problems too. You won't get any updates/patches/bug fixes/security fixes unless you do purchase a subscription. And for development...CentOS is totally free, and IDENTICAL to RHEL, so there's no benefit to using RHEL without paying.

You could 'container' this app, sure...but then you're only going to be asking any potential end-user to install the container apps/libraries to get things to work, as opposed to just saying "here's a list of supported OS versions". Installing your package after that with any package manager (zypper, yum, apt-get), will then also shove on any missing packages from the native repositories.

Just my $0.02 worth...better to build it right to start with, than to try to shoehorn it in with 'workarounds'.

Last edited by TB0ne; 04-02-2017 at 10:22 AM.
 
2 members found this post helpful.
Old 04-02-2017, 11:07 AM   #5
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
The app currently works with RHEL 6.4. However we are testing it along with other Python 2.7 packages/libraries so that it will work a newer version of RHEL6. We have to work with the vendor on this. However I'm trying to speed up the deployment of this along with learning about Containers and what my options are for this.

RHEL 6.4 is supported till 2020 and we have a current subscription with Red hat.


Quote:
Originally Posted by TB0ne View Post

RHEL 6.4 is old..the latest is 7.x, so if this is, as you say, a new RHEL system for developing an application, why on earth would you start with an old OS with old packages? And unless you're paying for RHEL, you are in for problems too. You won't get any updates/patches/bug fixes/security fixes unless you do purchase a subscription. And for development...CentOS is totally free, and IDENTICAL to RHEL, so there's no benefit to using RHEL without paying.
 
Old 04-02-2017, 11:08 AM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,615

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by TB0ne View Post
You've been given good advice here by wpeckham, and I concur totally with it.
Thank you, I do appreciate when someone knowledgeable supports my advice.
Quote:

You could 'container' this app, sure...but then you're only going to be asking any potential end-user to install the container apps/libraries to get things to work, as opposed to just saying "here's a list of supported OS versions". Installing your package after that with any package manager (zypper, yum, apt-get), will then also shove on any missing packages from the native repositories.
I was not talking about developing his app as a container, but compiling it for RHEL7/CentOS7 IN a container. Not an app container, but a full distro container. This can be easily done using LXC and its tools, or OpenVZ and its tools, and is easier and lighter than using a full virtual using XEN, VMWARE, KVM, or Virtualbox and results in executables that will run on any RHEL7 compatible system: physical or virtual.

I apologize for not making that clear in the earlier post.
 
1 members found this post helpful.
Old 04-03-2017, 07:54 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by wpeckham View Post
Thank you, I do appreciate when someone knowledgeable supports my advice.
I was not talking about developing his app as a container, but compiling it for RHEL7/CentOS7 IN a container. Not an app container, but a full distro container. This can be easily done using LXC and its tools, or OpenVZ and its tools, and is easier and lighter than using a full virtual using XEN, VMWARE, KVM, or Virtualbox and results in executables that will run on any RHEL7 compatible system: physical or virtual.

I apologize for not making that clear in the earlier post.
No worries, you were clear, but the OP originally mentioned a container at the start. Wasn't sure which kind (VM or something like Docker) they meant.
 
Old 04-03-2017, 12:02 PM   #8
sgrlscz
Member
 
Registered: Aug 2008
Posts: 123

Rep: Reputation: 84
Quote:
Originally Posted by JockVSJock View Post
The app currently works with RHEL 6.4. However we are testing it along with other Python 2.7 packages/libraries so that it will work a newer version of RHEL6. We have to work with the vendor on this. However I'm trying to speed up the deployment of this along with learning about Containers and what my options are for this.

RHEL 6.4 is supported till 2020 and we have a current subscription with Red hat.
RHEL 6.4 is not supported til 2020. The EUS (Extended Update Support) for RHEL 6.4 ended in March, 2015.

A standard subscription entitles you to updates for the current update level. It doesn't allow you to stay on a specific update unless you purchase an EUS as an add-on. A premium subscription includes EUS, but it doesn't extend the support time frame for an EUS.

So, unless you have a special contract with Red Hat for support well beyond the EUS date, you don't have a support for that version.
 
  


Reply

Tags
container, rhel6



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Crate Raises $4M for New Container Database Technology LXer Syndicated Linux News 0 03-16-2016 12:31 AM
LXer: On new applications and use cases for container technology LXer Syndicated Linux News 0 10-01-2015 03:11 AM
[SOLVED] Pacman cannot satisfy dependencies because of missing libgl Skyer Linux - Newbie 3 12-18-2011 01:15 PM
Can't satisfy wxpython python2.4 dependencies - rpm database problem? mfurnanz Linux - Newbie 3 01-17-2007 03:46 AM
unable to satisfy dependencies ??? belkins Linux - Newbie 2 10-18-2004 03:23 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration