Conversation
Putting together a few bugfixes while testing RHEL8 in cloud: * Supporting hostnames in addition to IP addresses for `--instance-ip-addr` * Disabling GPG checks on cvuqdisk (which is unsigned in the Oracle install) * Adding the CV_ASSUME_DISTID for (MOS note 2878100.1) to single-instance GI installs, as they also run CVU. Also expanding the scope to all RedHat family OSes (including RHEL) * Installing packages from both cloud and standalong Red Hat repos: in cloud, the repo has a different name; the toolkit enumerates this and this functionality used to work, but regressed at one point. Explicitly adding recognition of both repo types when installing packages
|
/test bms-toolkit-install |
1 similar comment
|
/test bms-toolkit-install |
| INSTANCE_IP_ADDR="${INSTANCE_IP_ADDR}" | ||
| INSTANCE_IP_ADDR_PARAM='^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$' | ||
| INSTANCE_IP_ADDR_PARAM="[a-z0-9][a-z0-9\-\.]*" | ||
|
|
There was a problem hiding this comment.
It will help if you leave maybe an inline comment with examples of what these Regexes evaluate to.
Also, if the new one bombed, do you think retaining the earlier one but commented out is a good idea?
There was a problem hiding this comment.
Added a descriptive comment. In addition to being simpler, this new regex is a superset of the old; it should match any 0.0.0.0 style address, with admittedly looser checks.
| line: "CV_ASSUME_DISTID=OEL7.8" | ||
| when: | ||
| - ansible_distribution == 'OracleLinux' | ||
| - ansible_os_family == 'RedHat' |
There was a problem hiding this comment.
Pardon me, I am not entirely clear on the reason for this change.
There was a problem hiding this comment.
The CV_ASSUME_DISTID change is required to install 19.3 on any RedHat-like operating system, not just Oracle Linux (MOS note 2878100.1).
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcnars, mfielding The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Putting together a few bugfixes while testing RHEL8 in cloud:
--instance-ip-addrSample output with changes applied:
https://gist.github.com/mfielding/b5b76eaafa61dddee20e94d3fd44e5b8