Skip to content

Commit

Permalink
updated psstore version
Browse files Browse the repository at this point in the history
  • Loading branch information
abbas1902 committed Aug 19, 2024
1 parent 8cbd00d commit 829ff3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ variable "node_conf" {
description = "Map of Slurm node line configuration."
type = map(any)
default = {}
validation {
condition = lookup(var.node_conf, "Sockets", null) == null
error_message = "Sockets and SocketsPerBoard are mutually exclusive parameters. The use of Sockets is now deprecated, please use SocketsPerBoard instead."
}
}

variable "node_count_static" {
Expand Down
12 changes: 6 additions & 6 deletions modules/file-system/parallelstore/scripts/install-daos-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ done
if grep -q "ID=\"rocky\"" /etc/os-release && lsb_release -rs | grep -q "8\.[0-9]"; then

# 1) Add the Parallelstore package repository
tee /etc/yum.repos.d/parallelstore-v2-4-el8.repo <<EOF
[parallelstore-v2-4-el8]
name=Parallelstore EL8 v2.4
baseurl=https://us-central1-yum.pkg.dev/projects/parallelstore-packages/v2-4-el8
tee /etc/yum.repos.d/parallelstore-v2-6-el8.repo <<EOF
[parallelstore-v2-6-el8]
name=Parallelstore EL8 v2.6
baseurl=https://us-central1-yum.pkg.dev/projects/parallelstore-packages/v2-6-el8
enabled=1
repo_gpgcheck=0
gpgcheck=0
Expand All @@ -50,7 +50,7 @@ elif (grep -q "ID=ubuntu" /etc/os-release && lsb_release -rs | grep -q "22\.04")

# 1) Add the Parallelstore package repository
curl https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg | apt-key add -
echo "deb https://us-central1-apt.pkg.dev/projects/parallelstore-packages v2-4-deb main" | tee -a /etc/apt/sources.list.d/artifact-registry.list
echo "deb https://us-central1-apt.pkg.dev/projects/parallelstore-packages v2-6-deb main" | tee -a /etc/apt/sources.list.d/artifact-registry.list

apt update

Expand All @@ -74,7 +74,7 @@ if grep -q "ID=\"rocky\"" /etc/os-release && lsb_release -rs | grep -q "8\.[0-9]
# Move agent log destination from /tmp/ (default) to /var/log/daos_agent/
mkdir -p /var/log/daos_agent
chown daos_agent:daos_agent /var/log/daos_agent
sed -i "s/#.*log_file:.*/log_file: \/var\/log\/daos_agent\/daos_agent.log/g" $daos_config
sed -i "s/#.*log_file:.*/log_file: \/var\/log\/daos_agent\/daos_agent.log/g" $daos_config
systemctl start daos_agent.service

elif (grep -q "ID=ubuntu" /etc/os-release && lsb_release -rs | grep -q "22\.04") || (grep -q "ID=debian" /etc/os-release && lsb_release -rs | grep -q "12"); then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if grep -q "ID=\"rocky\"" /etc/os-release && lsb_release -rs | grep -q "8\.[0-9]
# Move agent log destination from /tmp/ (default) to /var/log/daos_agent/
mkdir -p /var/log/daos_agent
chown daos_agent:daos_agent /var/log/daos_agent
sed -i "s/#.*log_file:.*/log_file: \/var\/log\/daos_agent\/daos_agent.log/g" $daos_config
sed -i "s/#.*log_file:.*/log_file: \/var\/log\/daos_agent\/daos_agent.log/g" $daos_config
systemctl start daos_agent.service

elif (grep -q "ID=ubuntu" /etc/os-release && lsb_release -rs | grep -q "22\.04") || (grep -q "ID=debian" /etc/os-release && lsb_release -rs | grep -q "12"); then
Expand Down

0 comments on commit 829ff3b

Please sign in to comment.