Skip to content

Commit e5b5ef3

Browse files
Merge branch 'nutmeg' into 'master'
Merge nutmeg release branch into main See merge request sassoftware/viya-ark!370
2 parents 2d77d08 + f8f5608 commit e5b5ef3

File tree

6 files changed

+50
-12
lines changed

6 files changed

+50
-12
lines changed

CHANGELOG.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
# Changelog for SAS Viya ARK
22

33
<!-- LATEST RELEASE START -->
4+
## Viya35-ark-1.15 - August 23, 2022
5+
- **Sumary**:
6+
Changes related to Viya 3.5 support for new range of Ansible versions and new minimum Python version. Addressed GitHub issue.
7+
- Issues addressed:
8+
- SAS Viya Pre-Installation Playbook
9+
- VIYAARK-244 - Support Ansible 2.11 (4.0) in Viya ARK Pre-Install Playbook
10+
- VIYAARK-263 - Pre-Install: Update the playbook to support Ansible 2.12
11+
- VIYAARK-264 - Update Ansible and Python support range
12+
- VIYAARK-269 - Pre-Install Playbook tasks/pre.third_party_check.yml logic flawed
13+
- SAS Multi-Machine Service Utilties
14+
- VIYAARK-260 - Address GitHub issue [#86](https://github.com/sassoftware/viya-ark/issues/86)
15+
- SAS Viya Upgrade Tasks Playbooks
16+
- VIYAARK-265 - Merge playbook: Support Ansible 2.12
17+
- Ansible Support: Ansible 2.10 - Ansible 2.12
18+
<!-- LATEST RELEASE END -->
19+
420
## Viya35-ark-1.14 - June 4, 2021
521
- **Sumary**:
622
Enhancement of RHEL8 compatibility libraries installation. Dropping unused feature. README updates.
@@ -10,7 +26,7 @@
1026
- VIYAARK-241 - Install missing RHEL8 compatibility libraries
1127
- SAS LDAP Validator
1228
- VIYAARK-185 - Address GitHub issue [#20](https://github.com/sassoftware/viya-ark/issues/20) - anonymousBind usage update
13-
<!-- LATEST RELEASE END -->
29+
- Ansible Support: Ansible 2.8 - Ansible 2.10
1430

1531
## Viya35-ark-1.13 - March 23, 2021
1632
- **Sumary**:
@@ -23,6 +39,7 @@
2339
- VIYAARK-204 - Make yum cachedir path customizable.
2440
- SAS Viya Deployment Report
2541
- VIYAARK-242 - Deployment Report not reporting the status of "not ready" services.
42+
- Ansible Support: Ansible 2.8 - Ansible 2.10
2643

2744
## Viya35-ark-1.12 - February 16, 2021
2845
- **Summary**:

playbooks/merge-playbook/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The differences between the current and newer inventory files are written to ```
1010
The playbook will copy the default inventory.ini and vars.yml from the playbook root directory to a time-stamped folder and then update them with the merged information included so that they are ready to use. If your inventory file and vars.yml include a new host group value ```? choose-target-host```, you must manually replace that value to avoid Ansible warnings and failures.
1111

1212
## Requirements for running the Playbook
13-
* Install "ruamel.yaml" in your Python installation by running `pip install ruamel.yaml`
13+
* Install "ruamel.yaml and six" in your Python installation by running `pip install ruamel.yaml six`
1414
* The Merge SAS Viya Deployment Files playbooks must be placed under a new generated sas_viya_playbook directory where SAS Viya will be deployed, separate from the sas_viya_playbook directory that was previously deployed from.
1515
The directory structure of this project must be preserved. For example: ```sas_viya_playbook/viya-ark/playbooks/merge-playboook/```
1616
* The following SAS Viya configuration files that were used in the previous deployment must exist in the ```sas_viya_playbook``` directory:

playbooks/merge-playbook/library/merge_viya_deployment_files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def merge_inventory_ini(current_inventory, new_inventory, merge_default_host):
322322
# save the current hosts for the commandline section
323323
if 'CommandLine' == section:
324324
for option in current_inventory.options(section):
325-
if cmdline_hosts is not '':
325+
if type(cmdline_hosts) is not str:
326326
cmdline_hosts = cmdline_hosts + '\n' + option.split(' ', 1)[0]
327327
else:
328328
cmdline_hosts = option.split(' ', 1)[0]

playbooks/pre-install-playbook/roles/viya-ark.preinstall/defaults/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2019-2021, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
2+
# Copyright (c) 2019-2022, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
33
# SPDX-License-Identifier: Apache-2.0
44
#
55
---
@@ -195,10 +195,10 @@ sas_yum_urls:
195195

196196

197197
## third-party software requirements
198-
required_ansible_min_version: "2.8"
199-
required_ansible_max_version: "2.10"
200-
ansible_version_compare_max_version: "2.11" # Must be set one major version above required_ansible_max_version
201-
required_python_min_version: "2.6"
198+
required_ansible_min_version: "2.10"
199+
required_ansible_max_version: "2.12"
200+
ansible_version_compare_max_version: "2.13" # Must be set one minor version above required_ansible_max_version
201+
required_python_min_version: "3.5"
202202

203203

204204

playbooks/pre-install-playbook/roles/viya-ark.preinstall/tasks/pre.third_party_check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
2+
# Copyright (c) 2019-2022, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
33
# SPDX-License-Identifier: Apache-2.0
44
#
55
---
@@ -29,7 +29,7 @@
2929
- name: Assert at least the minimum version of Python is used.
3030
assert:
3131
that:
32-
- ansible_python_version is version(required_python_min_version, '>')
32+
- ansible_python_version is version(required_python_min_version, '>=')
3333
msg:
3434
"It looks like you are using Python {{ansible_python_version}} but SAS deployment requires Python {{required_python_min_version}}."
3535
tags:

playbooks/viya-mmsu/README.md

+23-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# SAS Viya Administration Resource Kit (SAS Viya ARK) - SAS Viya Multi-Machine Services Utilities (MMSU) Playbooks
22

33
## Introduction
4+
45
The SAS Viya Multi-Machine Services Utilities repository contains a set of playbooks to start or stop the SAS Viya services gracefully across the 1 - n machines that are identified in the inventory.ini file.
56

67
## Requirements for Running the MMSU Playbooks
8+
79
* All services must have an Up status after the deployment has completed.
810
See "Running the Playbooks" for instructions on listing the status of SAS Viya services.
911
* The MMSU playbooks must be placed under the sas_viya_playbook directory where SAS Viya was deployed.
@@ -13,15 +15,18 @@ The SAS Viya Multi-Machine Services Utilities repository contains a set of playb
1315
* sas-viya-all-services script should not be run manually on any machines when using MMSU playbooks.
1416

1517
## Supported deployment of MMSU Playbooks
18+
1619
* Single-machine deployment
1720
* Multi-machines deployment
1821
* Multi-tenant deployment
1922
* Clustered database deployment
2023

21-
## UnSupported Viya deployment
24+
## Unsupported Viya Deployment
25+
2226
* Programming-only deployment
2327

2428
## Running the Playbooks
29+
2530
To list the status of all SAS Viya services and URLs, execute:
2631
```
2732
ansible-playbook viya-ark/playbooks/viya-mmsu/viya-services-status.yml
@@ -43,7 +48,23 @@ To restart all services gracefully, execute:
4348
ansible-playbook viya-ark/playbooks/viya-mmsu/viya-services-restart.yml
4449
```
4550

51+
## Notes about the systemctl status Command
52+
53+
The SAS Viya MMSU tool uses SAS Viya Postgres HA (high availability) to start the SAS Infrastructure Data Server services. It does not use systemctl. Hence, the command systemctl status may not report correctly for the following services:
54+
55+
```
56+
sas-viya-sasdatasvrc-postgres-nodeX
57+
sas-viya-sasdatasvrc-postgres-nodeX-consul-template-operation_node
58+
sas-viya-sasdatasvrc-postgres-nodeX-consul-template-pg_hba
59+
sas-viya-sasdatasvrc-postgres-pgpoolX
60+
sas-viya-sasdatasvrc-postgres-pgpoolX-consul-template-operation_node
61+
sas-viya-sasdatasvrc-postgres-pgpoolX-consul-template-pool_hba
62+
```
63+
64+
IMPORTANT The systemctl command does not provide a status of a service that it did not start.
65+
4666
## Tips
67+
4768
* When running playbook viya-services-stop.yml and seeing sas stray processes:
4869
```
4970
"msg": [
@@ -83,5 +104,5 @@ ansible-playbook viya-ark/playbooks/viya-mmsu/viya-services-restart.yml
83104
```
84105
Note: if an order contains Common Planning Service (CPS), you will not be able to use the alternative method.
85106

86-
Copyright (c) 2019-2021, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
107+
Copyright (c) 2019-2022, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
87108
SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)