pbs_mom not coming up after powering on the compute node on mom installation on ICE

Description

Can be reproduced on a ICE machine while using Rhel7
Install pbs_mom on to an image in chroot environment.
Power off the compute node
Push the image
Power on the compute node .

pbs_mom will not start on compute node boot.

Acceptance Criteria

None

Activity

Show:
Vishesh Hadimane
October 24, 2017, 4:04 PM

PBS post install runs these commands to create the pbs.service symlink and register the service but fails in chroot environement.

systemctl daemon-reload && systemctl enable pbs
Failed to get D-Bus connection: Operation not permitted

But if we run only systemctl enable pbs
We will be able to create a symlink even in chroot environment.

systemctl enable pbs
Created symlink /etc/systemd/system/multi-user.target.wants/pbs.service, pointing to /usr/lib/systemd/system/pbs.service.

Vishesh Hadimane
October 24, 2017, 4:06 PM

If we install by creating a repo on ICE , we wont face this issue .

Copy pbspro-execution rpm to /tftpboot/pbs/pbs-el7-18.1.0
crepo --add /tftpboot/pbs/pbs-el7-18.2.0 --custom pbs-el7-18.1.0
crepo --select pbs-el7-18.1.0
cinstallman --create-image --clone --source ice-rhel7.3 --image 18.1.0_repo_testing
cinstallman --yum-image --image 18.1.0_repo_testing install pbspro-execution
for n in `cnodes --ice-compute`; do cpower node off $n; done
chroot /var/lib/systemimager/images/18.1.0_repo_testing/ /bin/sh
edit pbs.conf and mom_priv/config to modify server name
cimage --push-rack 18.1.0_repo_testing r1*
for n in `cnodes --ice-compute`; do cpower node on $n; done

nithin johnson
April 4, 2018, 8:03 AM

PTL is not supported for ICE setup.

Assignee

nithin johnson

Reporter

Vishesh Hadimane

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Fix versions

Affects versions

Priority

Low
Configure