Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File conflicts when installing Warewulf Node Health Check (NHC) tool #135

Closed
eshelman opened this issue Dec 19, 2015 · 6 comments
Closed

Comments

@eshelman
Copy link

I'm afraid there's trouble when trying to install the OpenHPC build of the NHC tool. Here's what I'm getting on a fresh install attempt:

[root@head ~]# yum -y install --installroot /opt/ohpc/admin/images/centos-7/ warewulf-nhc-ohpc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.netnitco.net
 * epel: mirror.cogentco.com
 * extras: mirror.vcu.edu
 * updates: mirror.netdepot.com
Resolving Dependencies
--> Running transaction check
---> Package warewulf-nhc-ohpc.noarch 0:1.4.1-2.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================================================
 Package                                                  Arch                                          Version                                            Repository                                          Size
====================================================================================================================================================================================================================
Installing:
 warewulf-nhc-ohpc                                        noarch                                        1.4.1-2.1                                          OpenHPC_1.0                                         61 k

Transaction Summary
====================================================================================================================================================================================================================
Install  1 Package

Total size: 61 k
Installed size: 252 k
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /opt/ohpc/pub from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package slurm-ohpc-15.08.1-4.1.x86_64
  file /opt/ohpc/pub/doc from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package slurm-ohpc-15.08.1-4.1.x86_64
  file /opt/ohpc/pub/doc/contrib from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package slurm-ohpc-15.08.1-4.1.x86_64
  file /opt/ohpc/pub from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package lmod-ohpc-6.0.10-2.2.x86_64
  file /opt/ohpc/pub/doc from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package lmod-ohpc-6.0.10-2.2.x86_64
  file /opt/ohpc/pub/doc/contrib from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package lmod-ohpc-6.0.10-2.2.x86_64

Error Summary
-------------

@JohnWestlund
Copy link
Member

Good catch. I’ll commit a fix internally shortly and we’ll have the updated RPMs available when the updates repo goes live.

From: Eliot Eshelman [mailto:[email protected]]
Sent: Friday, December 18, 2015 5:30 PM
To: openhpc/ohpc
Subject: [ohpc] File conflicts when installing Warewulf Node Health Check (NHC) tool (#135)

I'm afraid there's trouble when trying to install the OpenHPC build of the NHC tool. Here's what I'm getting on a fresh install attempt:

[root@head ~]# yum -y install --installroot /opt/ohpc/admin/images/centos-7/ warewulf-nhc-ohpc

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

  • base: centos.netnitco.net
  • epel: mirror.cogentco.com
  • extras: mirror.vcu.edu
  • updates: mirror.netdepot.com

Resolving Dependencies

--> Running transaction check

---> Package warewulf-nhc-ohpc.noarch 0:1.4.1-2.1 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size

Installing:

warewulf-nhc-ohpc noarch 1.4.1-2.1 OpenHPC_1.0 61 k

Transaction Summary

Install 1 Package

Total size: 61 k

Installed size: 252 k

Downloading packages:

Running transaction check

Running transaction test

Transaction check error:

file /opt/ohpc/pub from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package slurm-ohpc-15.08.1-4.1.x86_64

file /opt/ohpc/pub/doc from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package slurm-ohpc-15.08.1-4.1.x86_64

file /opt/ohpc/pub/doc/contrib from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package slurm-ohpc-15.08.1-4.1.x86_64

file /opt/ohpc/pub from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package lmod-ohpc-6.0.10-2.2.x86_64

file /opt/ohpc/pub/doc from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package lmod-ohpc-6.0.10-2.2.x86_64

file /opt/ohpc/pub/doc/contrib from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package lmod-ohpc-6.0.10-2.2.x86_64

Error Summary



Reply to this email directly or view it on GitHubhttps://github.com//issues/135.

@koomie koomie added the bug label Jan 19, 2016
@koomie koomie added this to the 1.0.1 milestone Jan 19, 2016
@koomie
Copy link
Contributor

koomie commented Jan 20, 2016

@crbaird, warewulf-nhc has been added to the 1.0.1 project area in OBS. Can you update to resolve the file conflict error?

crbaird pushed a commit that referenced this issue Jan 20, 2016
@crbaird
Copy link
Member

crbaird commented Jan 20, 2016

installing from Updates now succeeds

@crbaird
Copy link
Member

crbaird commented Jan 22, 2016

Hi @eshelman, we think we've gotten our update strategy sorted out and warewulf-nhc should install correctly from there. Though the 1.0.1 release isn't official yet, you can test it by enabling the following repo:

http://build.openhpc.community/OpenHPC:/1.0:/Update1:/Factory/CentOS_7.1/OpenHPC:1.0:Update1:Factory.repo

@eshelman
Copy link
Author

eshelman commented May 5, 2016

Hi Folks,

This bug found it's way back into v1.1 and v1.1.1 (though the fix does appear to be in the v1.0.1 branch).

Thanks!

@JohnWestlund
Copy link
Member

The issue is that the nhc rpm changes the umask before the make install and
doesn't set it back. So directories in this rpm have different perms then
those in just about every other OHPC rpm.

A umask 0022 after the make install will resolve the problem.

John

On Friday, December 18, 2015, Eliot Eshelman [email protected]
wrote:

I'm afraid there's trouble when trying to install the OpenHPC build of the
NHC tool. Here's what I'm getting on a fresh install attempt:

[root@head ~]# yum -y install --installroot /opt/ohpc/admin/images/centos-7/ warewulf-nhc-ohpc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: centos.netnitco.net
  • epel: mirror.cogentco.com
  • extras: mirror.vcu.edu
  • updates: mirror.netdepot.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package warewulf-nhc-ohpc.noarch 0:1.4.1-2.1 will be installed
    --> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size

Installing:
warewulf-nhc-ohpc noarch 1.4.1-2.1 OpenHPC_1.0 61 k

Transaction Summary

Install 1 Package

Total size: 61 k
Installed size: 252 k
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
file /opt/ohpc/pub from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package slurm-ohpc-15.08.1-4.1.x86_64
file /opt/ohpc/pub/doc from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package slurm-ohpc-15.08.1-4.1.x86_64
file /opt/ohpc/pub/doc/contrib from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package slurm-ohpc-15.08.1-4.1.x86_64
file /opt/ohpc/pub from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package lmod-ohpc-6.0.10-2.2.x86_64
file /opt/ohpc/pub/doc from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package lmod-ohpc-6.0.10-2.2.x86_64
file /opt/ohpc/pub/doc/contrib from install of warewulf-nhc-ohpc-1.4.1-2.1.noarch conflicts with file from package lmod-ohpc-6.0.10-2.2.x86_64

Error Summary


Reply to this email directly or view it on GitHub
#135.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants