Repository navigation
Conversation
Signed-off-by: SujalS27 <Sujal.Sooryavamshi@dell.com>
Signed-off-by: SujalS27 <Sujal.Sooryavamshi@dell.com>
… packages - Upgrade cryptography from 45.0.7 to 50.0.2 in all sample catalogs, telemetry_packages.yml, and master_reference_file.md to align with the version already used in requirements.txt files. - Remove aarch64 architecture entries from Kubernetes-only packages in combined catalogs (slurm_service_k8s_* and catalog_rhel.json). Only truly K8s-specific packages affected: kubeadm, kubelet, kubectl, cri-o, calico, metallb, helm, cert-manager, strimzi-operator, victoria-metrics-operator, nfs-subdir-external-provisioner, csi-powerscale, karavi-observability. - General-purpose packages (git, podman, python3, gcc-c++, papi, PyMySQL, container-selinux, fuse-overlayfs, etc.) retain their aarch64 entries unchanged. - Slurm-only catalogs are unchanged except for the cryptography bump. Closes dell#1657 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Signed-off-by: SujalS27 <sujal.sooryavamshi@dell.com>
Discovery domain:
- Extend ome_server_inventory.py to fetch physical location data (aisle/rack/rackslot)
from OME using group-level bulk API with per-device fallback
- Add generate_xname_mapping.py module with strict all-or-nothing location check
and location-based XNAME formula (x1000c{rack}s{aisle}b{rackslot}n0)
- Add generate_xname_mapping.yml task file to invoke the module
- Update ome_discovery main.yml to include xname mapping generation
- Add xname mapping messages to vars/main.yml
Orchestrator domain:
- Extend SMDIdentityResolver to accept optional xname_hints parameter
- Use hint if available and free in SMD, otherwise fall back to sequential
- Update openchami_reconcile.py to accept and pass xname_hints
- Update reconciler.py to pass through xname_hints
- Update register_nodes.yml to load xname_mapping_file.csv if exists,
build SERVICE_TAG->XNAME hints dict, and pass to reconcile
The xname mapping file is separate from PXE mapping and only generated
when all devices have valid OME location data. Orchestrator consumes
it as hints for first-time XNAME allocation, with SMD as authority.
Signed-off-by: SujalS27 <sujal.sooryavamshi@dell.com>
Secure Code ReviewAdvisory only: this check never blocks the PR. It scans the lines added by this PR against secure-coding rules derived from recent security fixes in this repository. Result: 16 passed, 1 failed (9 file(s) scanned) Checklist
Failed checks - detailsSEC-22 CSV/injection-safe output - 1 finding(s)Guideline: Neutralise leading =,+,-,@ in values written to CSV/spreadsheets; do not echo user input into logs without sanitising newlines.
Manual review focus (based on changed files)
Findings are heuristic; reviewers should confirm each one. Suppress a justified finding with a |
Compliance GateResult: 2 passed, 0 not passed (2 domain scope(s) checked; unchanged domains are skipped) Not checked (no changes in that domain): pipeline/pipeline, src/build_stream, src/image_build_manager, src/main, src/repo_manager, src/telemetry, src/utils, svt/svt, test/build_stream, test/discovery, test/image_build_manager, test/main, test/orchestrator, test/repo_manager, test/telemetry, test/utils src/discovery: PASSED
src/orchestrator: PASSED
|
PR Title
Description of the Solution
Related Issue
Changes
Component (
path/to/files)Files Changed
path/to/fileTesting
Backward Compatibility
Security Review
| quoteused? (SEC-04, SEC-05, SEC-09)include_varson operator-edited files, no unsafe Jinja lookups? (SEC-06)no_logon credential tasks, exceptions logged not swallowed? (SEC-10, SEC-11, SEC-12)secretsfor randomness, token TTL set? (SEC-21)Security Notes:
Suggested Reviewers
@reviewer-or-team