ID | Description | Project | / | / | ||||||
---|---|---|---|---|---|---|---|---|---|---|
31364 | In verify_sdp.sh, added checks to ensure defined P4USER exists, is a super, and has a lon...g-term ticket. If the users does not exist or does not have super access, and error is generated. If the ticket duration is too short, a warning is given. « | perforce-software-sdp:dev | 4 days ago | 4 days ago | 0 | 0 / 0 | ||||
31356 | Added '-v server=1 -v track=1' to PROXY_V_FLAGS. | perforce-software-sdp:dev | 4 days ago | 4 days ago | 0 | 0 / 0 | ||||
31351 | Refine cchech.sh and config file to allow specification of 'Unset' to be required, in whi...ch case we pass the check if the value is unset regardless of the default value. We already allow checking the default value and consider it to comply if the default value matches expected. This new change will support some values being defined as required to be unset. Add examples and descriptive text in configurables.cfg. Fix ShellCheck compliance issues. Changed '-v' so required values having expected values show as GREAT rather than GOOD. Recommended values having expected values still show as GOOD. For values *not* matching expectations, required values show as BAD, while recommended values now show as WARN. The word FAIL is now used only in the summary, and appears only if there are any BAD indications (required values not matching) or else any system errors checking configurables. « | perforce-software-sdp:dev | 5 days ago | 5 days ago | 0 | 0 / 0 | ||||
31330 | Added summary of errors and warnings at the end. This summary is displayed by default. A... '-skip_summary' option has been added to suppress the summary. Added checks for existence of statepullL and statefailover files in P4ROOT on p4d servers. A warning is reported if these files exist, advising the user to remove these failover remnant files. Addressed some issues reported by shellcheck. #review @robert_cowham « | perforce-software-sdp:dev | 16 days ago | 16 days ago | 0 | 0 / 0 | ||||
31312 | Updated run_if_*.sh scripts: * Fixed bug in run_if_broker.sh. * Normalized command line v...erification. * Removed 'set -e' from run_if_*.sh scripts to improve reliability. * Made ShellCheck compliant. « | perforce-software-sdp:dev | about a month ago | about a month ago | 0 | 0 / 0 | ||||
31286 | Fix so MASTER_ID value written into mkdirs.N.cfg file is correct. This fixes an issue whe...re p4_N.vars files are generated with an incorrect P4MASTER_ID value. With this change, passsing the ServerID from install_sdp.sh to called mkdirs.sh will no longer require the '-s <ServerID>' nor the '-t <ServerType>' command line options. Also change text in generated config file to indicate that it is OK to set the ServerID of a commit/master server if you have a desired ServerID that is different from the SDP-default (currently master.N). Adjusted terminology to prefer 'p4d_commit' over 'p4d_master', but preserve p4d_master as a synonym for backward compatibility with older config giles. « | perforce-software-sdp:dev | about a month ago | about a month ago | 0 | 0 / 0 | ||||
31211 | Fixed issue with case-sensitivty of server spec name in configurable values. For example,... if the server spec name is p4d_edge_SITEX and is case-insensitive, the configurables displayed with p4d -cshow can look like P4D_EDGE_sitex and still be valid. An example of an issue this fixes that an edge server being migrated from Windows to Linux could have the run_if_edge.sh script fail to determine that the server is an edge server; a daily_checkpoint.sh would run fine interactively but would fail to execute from the crontab, due to the run_if_edge.sh not detecting it was an edge. The situation that could cause this would be that a ServerID could be p4d_edge_SYD but the lbr.replication configurable could be set as P4D_EDGE_SYD#lbr.replication=readonly « | perforce-software-sdp:dev | 2 months ago | 2 months ago | 0 | 0 / 0 | ||||
31186 | Added more detailed information on The Site Directory (/p4/common/site). Adapted Makefi...le to generate HTML from Markdown for this special case where the /p4/common/site/ReadMe.md file deployed with the SDP in a runtime environment in the site folder generates an HTML elsewhere, in the SDP doc folder. Fixes SDP-722. « | perforce-software-sdp:dev | 2 months ago | 2 months ago | 0 | 0 / 0 | ||||
31172 | Fixed p4login bug for case-insensitive servers checking for SERVERID using case case-sens...itive check. Fixes SDP-1189 (Bug): p4login is wrongly sensitive to case of ServerID on case-insensitive server. « | perforce-software-sdp:dev | 2 months ago | 2 months ago | 0 | 0 / 0 | ||||
31171 | In verify_sdp.sh, added '-extra' to specify tests not normally run by default, but which... can be called on request. Two additional tests added are: * commit_defined * server_type_known Fixes: * SDP-1187 * SDP-1188 « | perforce-software-sdp:dev | 2 months ago | 2 months ago | 2 | 0 / 0 | ||||
31159 | This is a change to unreleased new behaviour to handle the clients.readonly.dir data as p...art of the database swap handling. Added a disk space safety check, so the refresh_P4ROOT_from_offline_db will safely abort early if there's not enough disk space to safely complete the rsync of the readonly.clients.dir folder to the offline_db prior to the database swap orchestrated by refresh_P4ROOT_from_offline_db.sh. Renamed the copy function for improved clarity, and added a new rsync_with_preflight function to improve modularity. « | perforce-software-sdp:dev | 2 months ago | 2 months ago | 0 | 0 / 0 | ||||
31153 | Added feature to preserve client.readonly.dir during a database swap. Refined tmp file... cleanup logic to search only for tmp files owned by the defined OSUSER. #review @robert_cowham « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 0 | 0 / 0 | ||||
31140 | Modified through swarm. | 3 months ago | 3 months ago | 0 | 0 / 0 | |||||
31102 | Fixed bug where a case-insensitive server is sensitive to the case of a server spec in th...e server.id file. If the instance is case-sensitive, then a grep for the ServerID in dumped db.server output should also be case-insensitive. An impact of the bug is that the run_if_*.sh scripts, e.g. run_if_edge.sh, will not work if the case of the ServerID in the $P4ROOT/server.id file doesn't match what shows in 'p4 servers'. The case must match if the data set is case- sensitive, but is not required to match if it is insensitive (but due to the bug, is must match). Without this code change in SDP, an easy workaround for this issue is simply to adjust the case of the ServerID value in the $P4ROOT/server.id file match what appears in the output of 'p4 servers'. This bug may be more likely to appear in a Windows to Linux migration. Fixes SDP-1184. #review @leif.johnson « | perforce-software-sdp:dev | 3 months ago | 2 months ago | 1 | 1 / 0 | ||||
31053 | Added script to back SDP OS Package Structure. Modified sdp_upgrade.sh to install a sys...temd oneshot service to call this script if operating on a system using the SDP OS Package Structure (i.e. a systemd where /opt/perforce/helix-sdp exists). « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 1 | 0 / 0 | ||||
31042 | daily_checkpoint.sh on edge skips checkpoint dump if journal rotation needed. Prior beh...avior was to fail with an error. However, this situation comes up routinely after seeding or reseeding an edge server, and is not reallly an error condition. With the new logic, the iteration of the checkpoint dump is simply skipped. The next call made after a journal rotation on the commit will succeed. If the checkpoint dump is skipped, calls to recreate_offline_db_files(), remove_old_checkpoints_and_journals(), remove_old_logs() all just display a message indicating they do nothing because the checkpoint dump was skipped. « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 0 | 0 / 0 | ||||
31024 | The live_checkpoint.sh script now works on replicas and edges. TO DO: * Review docs fo...r any needed updates. * Add test suite coverage. Fixes SDP-1079. #review @d_benedict « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 0 | 0 / 0 | ||||
31019 | Renamed unreleased new script, check_dir_perms.sh -> check_dir_ownership.sh. Fixed exi...t code in this new script. Modified p4d_base to call this script as a preflight check when starting p4d (regular start only, not force_start). It will refuse to start p4d if there are any files in P4ROOT owned by a user other than the defined OSUSER. This should be helpful in finding things like a root-owned state.xu file. This description applies to change 31019 and 31020 together. Fixes SDP-1119. « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 1 | 0 / 0 | ||||
30985 | Enhanced sdp_upgrade.sh to work with both the new Package Structure /opt/perforce/helix-s...dp and the legacy SDP structure when doing upgrades of /p4/common and /p4/sdp. If the Package Structure is already used, this will continue using it. If the legacy strucutre is in use, it will continue using that. As the helix-sdp package is not yet available, the Package Structure will exist only if the new install_sdp.sh script was used for the install (or if the customer is one of a few early adopters of the new structure). This version, to be released with SDP 2024.2, will NOT migrate from the legacy structure to the Package structure. Doing so requires running as root; that change is targeted for release in SDP 2025.1. Also removed the dependency on perl from sdp_upgrade.sh. Addressed suggestions from newer version of ShellCheck. « | perforce-software-sdp:dev | 4 months ago | 4 months ago | 0 | 0 / 0 | ||||
30980 | Eliminated buildup of temp dirs, e.g. /tmp/tmp.XXXXXXXXXX. Added remove_jd_tables() fu...nction and calls to it to prevent buildup of new cruft. Modified remove_old_logs() to cleanup cruft created previously. #review @robert_cowham « | perforce-software-sdp:dev | 4 months ago | 4 months ago | 0 | 0 / 0 | ||||
30934 | Added check for proper ownership of all files in P4ROOT. Added separate utility for che...cking ownership (and optionally group) of all files in a given path. Fixes SDP-1119. « | perforce-software-sdp:dev | 4 months ago | 4 months ago | 0 | 0 / 0 | ||||
30810 | Code drop with newer versions of Extensions. Thanks to @jason_gibon. #review @jabson..._gibson « | perforce_software-extensions:main | 4 months ago | 4 months ago | 0 | 0 / 0 | ||||
Processing |
ID | Description | Project | / | / | ||||||
---|---|---|---|---|---|---|---|---|---|---|
31256 | Added default P4ALIASES for perforce OS user to SDP. | perforce-software-sdp:dev | 2 months ago | 13 days ago | 0 | 0 / 0 | ||||
31137 | Added content to cover scenario where P4JOURNAL is set in db.config. This addresses SDP...-737 (Doc): In SDP Legacy Upgrade Guide, advise p4d -cunset P4JOURNAL if needed. Also updated URL for list of configurables due to change in Perforce web site layout, with docs moved from somewhere under www.perforce.com to somewhere under help.perforce.com. For example: Old URL for configurables: https://www.perforce.com/manuals/cmdref/Content/CmdRef/configurables.alphabetical.html New URL for configurables: https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/configurables.alphabetical.html « | perforce-software-sdp:dev | 3 months ago | 2 months ago | 1 | 1 / 0 | ||||
31134 | Fixed bug detecting whether SELinux is enabled or not. | perforce-software-sdp:dev | 3 months ago | 2 months ago | 1 | 1 / 0 | ||||
30803 | Added sdp_info.sh script to the SDP. It appends contents of /p4/sdp/Version to 'p4 info'... output. If that file does not exist, a message is displayed indicating it is missing. It also displays the contents of an optional Message of the Day file. « | perforce-software-sdp:dev | 4 months ago | 3 months ago | 2 | 0 / 0 | ||||
30801 | Values that are correct per p4d default are now accepted. This changes addresses an iss...ue where a value that is not explicitly set to the expected value will fail even when the p4d default is the correct value. Previously values with an expected value matched only if they were explicitly set ala 'p4 configure set' or 'p4d -cset'. « | perforce-software-sdp:dev | 4 months ago | 3 months ago | 0 | 0 / 0 | ||||
30783 | Added new install_sdp.sh script and supporting documentation. The new install_sdp.sh ma...kes SDP independent of the separate Helix Installer software (the reset_sdp.sh script). The new script greatly improves the installation experience for new server machines. It is ground up rewrite of the reset_sdp.sh script. The new script preserves the desired behaviors of the original Helix Installer script, but is focused on the use case of a fresh install on a new server machine. With this focus, the scripts does not have any "reset" logic, making it completely safe. Added various files and functionalityfrom Helix Installer into SDP. * Added firewalld templates to SDP, and added ufw support. * Improved sudoers generation. * Added bash shell templates. This script also installs in the coming SDP Package structure. New installs use a modified SDP structure that makes it so the /p4/sdp and /p4/common now point to folders on the local OS volume rather than the /hxepots volume. The /hxdepots volume, which is often NFS mounted, is still used for depots and checkpoints, and for backups. The new structure uses a new /opt/perforce/helix-sdp structure under which /p4/sdp and /p4/common point. This structure also contains the expaneded SDP tarball, downloads, helix_binaries, etc. This change represents the first of 3-phase rollout of the new package structure. In this first phase, the "silent beta" phase, the new structure is used for new installations only. This phase requires no changes to released SDP scripts except for mkdirs.sh, and even that script remains backward-compatible with the old structure if used independently of install_sdp.sh. If used with install_sdp.sh, the new structure is used. In the second phase (targeted for SPD 2024.2 release), the sdp_upgrade.sh script will convert existing installations to the new structure. In the third phase (targeted for SDP 2025.x), this script will be incorporated into OS pacakge installations for the helix-sdp package. Perforce internal wikis have more detail on this change. « | perforce-software-sdp:dev | 5 months ago | 3 months ago | 0 | 0 / 0 | ||||
30753 | Added sample doc for setting up sotrage. | perforce-software-sdp:dev | 5 months ago | 4 months ago | 1 | 1 / 0 | ||||
30685 | This replaces the prior change in @30682. Added undoc '-K' option to preserve original... P4ROOT database files for analysis after the swap. This is specifically for the scenario where the P4ROOT databases have some kind of corruption to be analyed, but all checkpoints and journals are known to be healthy, and also the offline_db is known to be in a good state. @review @d_benedict « | perforce-software-sdp:dev | 5 months ago | 3 months ago | 1 | 0 / 0 | ||||
30683 | Added undoc '-rebuild_offline_db' option to rebuild offline_db from checkpoints and journ...al rather than doing a dump of the former P4ROOT directory. This is specifically for the scenario where the P4ROOT databases have some kind of corruption, but all checkpoints and journals are known to be healthy, and also the offline_db is known to be in a good state. #review @d_benedict « | perforce-software-sdp:dev | 5 months ago | 5 months ago | 0 | 0 / 0 | ||||
30670 | First step toward making ccheck.sh useful on hosts other than the commit server. A...dded logic to mirror p4d logic of applying 'any' as a global default that can be overridden by a value specific to the current ServerID. This won't be noted in the release notes; we'll wait until full support for operation on servers other than the commit is complete, including documentation. (Adding full support will require changes to the format of the configurables.cfg file, which is a bigger change). « | perforce-software-sdp:dev | 5 months ago | 4 months ago | 0 | 1 / 0 | ||||
30655 | Revised logic replaying checkpoints to select the most recent checkpoint regardless of wh...ether it is parallel or not. This logic now applies consistently across scripts (even some not in this changelist that call functions in backup_functions.sh), such as sync_replica.sh, sync_replica.sh, load_checkpoint.sh, recover_edge.sh, etc. The edge_dump.sh script now creates parallel checkpoints if parallel checkpoints are configured. The load_checkpoint.sh now reliably detects the most recent checkpoint when '-latest' is used reliably, serial or parallel. This script now also finds checkpoints for a standby of an edge. Also fixed bug cleaning up old *.OK files from earlier parallel checkpoints. The recover_edge.sh script similarly detects the latest checkpoint correctly, serial or parallel. This chagne was tested with a new regression test suite that operates in a Battle School Lab environment, allowing for more sophisticated testing of sequences of operations. « | perforce-software-sdp:dev | 6 months ago | 3 months ago | 7 | 0 / 0 | ||||
30637 | Incrementally improved log handling in edge_dump.sh, recover_edge.sh, and recreate_offlin...e_db.sh, to use the mechanism pioneered in ccheck.sh. This is a precursor to a coming standardation of log handling in SDP. As before, each script creates a log in $LOGS named <script_log>.<timestamp>.log. With this change, symlinks in the LOGS directory are created so that <script_log>.log (.e. sans the timestamp) points to the timestampped log file. So $LOGS/recover_edge.log points to $LOGS/recover_edge.<most_recent_timestamp>.log. Each run of the script creates a new timestamped log, and updates the symlink very early in proccessing. This change is better for users and also simplifies automated testing. « | perforce-software-sdp:dev | 6 months ago | 4 months ago | 1 | 1 / 0 | ||||
30632 | Corrected one message indicating why a second journal rotation was skipped. Added a sec...ond message for a different reason that second journal rotations can be skipped, i.e if not running on commit server. This change does not change processing functionality or workflows; it affects output displayed. « | perforce-software-sdp:dev | 6 months ago | 4 months ago | 0 | 1 / 0 | ||||
30611 | New best practice configurable: Set rt.monitorfile. | perforce-software-sdp:dev | 6 months ago | 6 months ago | 0 | 0 / 0 | ||||
30607 | Updated content related to to perforce-p4python3 package. | perforce-software-sdp:dev | 6 months ago | 6 months ago | 0 | 0 / 0 | ||||
30603 | Added gen_sudoers.sh script to generate a sudoers file for perforce OSUSER. This genera...tes a more secure limited sudoers file. Previously, adding a sudoers entry for the OSUSER (usually 'perforce') was done only by the Helix Installer. In the Helix Installer variant, a single "one-size-filts-all" sudoers file was used, with the following characteristics: * The instances for Helix Core services were referenced with a '*' wildcard to match all SDP instances, which has since been determined to introduce a vulnerability. In this new script, the wildcard is replaced with separate entries for each SDP instance. * There were entries for all known paths of utilities like lslocks, setcap, and getcap. This new script generates the correct path valid for the current machine. With this change, the functionality will be available in the SDP directly. This new gen_sudoers.sh script can be called by mkdirs.sh directly to update the sudoers file each time a new SDP instance is added, if the new '-fs' (full sudo) or '-ls' (limited sudoers) entries are used. There is no change to the default behavior of mkdirs.sh; only a change if new options are utilized. This script comes with docs and examples for the new script as well as doc changes for mkdirs.sh. (Also added missing documentation for the '-no_enable' option). Further changes needed: * Add doc reference in SDP_Guide.Unix.adoc « | perforce-software-sdp:dev | 6 months ago | 5 months ago | 0 | 0 / 0 | ||||
30587 | Added AmbientCapabilities=CAP_SYS_RESOURCE to p4d's systemd unit file. Per: SDP-1142 (B...ug): Enable CAP_SYS_RESOURCE capability using systemd rather than setcap. « | perforce-software-sdp:dev | 7 months ago | 6 months ago | 0 | 0 / 0 | ||||
30559 | Fixed issue with '-no_cron' behavious not exactly matching the doc. Desired behaviour i...s that crontab is always generated and always moved to the correct location in the SDP structure, regardless of the '-no_cron' option. The only thing affected by the -no_cron option is now whether the crontab file is loaded to become active. « | perforce_software-helix-installer:dev | 7 months ago | 4 months ago | 0 | 0 / 0 | ||||
30520 | Modified through swarm to change DOS line endings to Unix line endings. | perforce-software-sdp:dev | 8 months ago | 8 months ago | 0 | 1 / 0 | ||||
30424 | Modified through swarm. #review Major changes. Effectively a new approach. Significant... performance improvements. Specifically: * Change from time-last-modified to time-last-accessed. * Replace perl based find code with effectively equivalent shell code. Operates at least 7 times faster with smaller resource footprint than the perl code. * Threshold parameters can be specified as percentage of total disk space. * Enhanced parameter validation. * Enhanced log information for better performance tracking and debug support. * Added check so that a new run does not interrupt a run in progress. * Updated help information to reflect new technologies and capabilities. * Added internal algorithm related comments to aid future support/ enhancements. * Minor code consistency changes. Mostly adding support functions to standardize. « | perforce-software-sdp:dev | 9 months ago | 9 months ago | 0 | 1 / 0 | ||||
Processing |