2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-08-04 00:17:01 +00:00
Commit Graph

6366 Commits

Author SHA1 Message Date
Markus Hilger 125b5b3ba2 Extend nodeattrib net.* documentation 2026-07-01 18:21:40 +02:00
Jarrod Johnson 3a6887b4b4 Provide nicer message when requested VM does not exist 2026-07-01 09:55:15 -04:00
Jarrod Johnson d761c7e6da Slow down reconnect attempts to powered down Proxmox VMs and better handle closed websockets. 2026-07-01 09:30:28 -04:00
Jarrod Johnson 45b392932d Handle unreachable proxmox host more friendly 2026-07-01 09:14:07 -04:00
Jarrod Johnson 33c67db3c4 Further mitigate potential XML misbehavior
Since it turns out we already incurred lxml dependency, use lxml etree instead of xml and mitigate risky xml features beyond blocking the word '!entity'
2026-07-01 08:28:25 -04:00
Jarrod Johnson fbec09c073 Fix behavior with IPMI bad user/password 2026-06-30 15:17:45 -04:00
Jarrod Johnson 5abd080ba2 Restore some sanity to redfish error handling 2026-06-30 13:56:34 -04:00
Jarrod Johnson 9ec7100042 Merge pull request #216 from Obihoernchen/dnsmasqdhcp
Implement confluent2dnsmasq
2026-06-30 08:25:49 -04:00
Jarrod Johnson 0383115446 Merge pull request #217 from Obihoernchen/hwplugins
Add missing validvalues to attributes.py
2026-06-30 08:13:21 -04:00
Jarrod Johnson 622e8e696a Merge pull request #218 from gosforthcross/eureka-chassis-support
Add MEGWARE Eureka Chassis support + Small change for how IPs/Hostnames are handled in the redfish hardwaremanagement plugin
2026-06-30 08:08:37 -04:00
gosforthcross 6505810833 Improve handling of IPs with colon notation with seperate IPv4 and IPv6 paths, as well as whitespace stripping 2026-06-30 13:05:22 +02:00
gosforthcross fbb79de786 Include EUREKA in necessary files for loading and handling redfish and autodiscovery 2026-06-30 11:30:24 +02:00
gosforthcross 6ab7d573da Add EUREKA discovery handler 2026-06-30 11:29:19 +02:00
gosforthcross 5435acd23e Add redfish OEM implementation for EUREKA Chassis 2026-06-30 11:28:45 +02:00
gosforthcross cacfce214f Add fallback for generic redfish and add specific MEGWARE code path for EUREKA 2026-06-30 11:25:11 +02:00
gosforthcross b4882692ea Add port discovery via colon notation 2026-06-30 11:22:30 +02:00
Markus Hilger aed0bf0bea Add valid_values to hardwaremanagement.method 2026-06-30 04:26:48 +02:00
Markus Hilger ecaa75d967 Fix validvalues typo
valid_values is never checked and is a typo. Use validvalues instead.

Note: This can break existing scripts if invalid values are used.
2026-06-30 04:21:16 +02:00
Markus Hilger 1129089307 Rename confluent2dnsmasqdhcp -> confluent2dnsmasq 2026-06-30 02:59:12 +02:00
Markus Hilger 6a12b6c977 Use ip route for listen-address and detect missing /prefixlen 2026-06-30 02:55:52 +02:00
Markus Hilger 007b374c73 Implement confluent2dnsmasqdhcp
confleunt2dnsmasqdhcp creates static DHCP entries for dnsmasq
for nodes with defined net.*.hwaddr.
2026-06-30 02:55:23 +02:00
Jarrod Johnson 99405aa6c4 Merge pull request #215 from qisback/add-missing-man-pages
doc/man: add man pages for previously undocumented client commands
2026-06-29 12:33:21 -04:00
Jarrod Johnson a2d4285ee9 Merge remote-tracking branch 'xcat/master' 2026-06-29 11:33:23 -04:00
Jarrod Johnson 3ce0988f5a Fix -s on certutil 2026-06-29 11:30:49 -04:00
Markus Hilger 8a655be794 Update download link in README 2026-06-29 01:57:34 +02:00
Markus Hilger 6308703a10 Use new documentation url in README 2026-06-29 01:56:16 +02:00
Laurence 00a772785d doc/man: add man pages for previously undocumented client commands
These commands ship in confluent_client/bin but had no .ronn man page, so
they did not appear in the generated documentation. Add man pages matching
the existing style, with synopsis and options taken from each command's
argument parser:

- confluent2ansible: export node inventory to an Ansible hosts file
- confluent2lxca: export nodes to a Lenovo XClarity Administrator bulk import CSV
- confluent2xcat: export nodes to an xCAT stanza definition (and optional macs.csv)
- dir2img: build a FAT image from a directory for nodemedia upload
- nodecertutil: manage BMC CA certificates and sign BMC certificates
- nodegrouprename: rename a node group
- noderename: rename nodes
2026-06-28 19:22:34 +01:00
Jarrod Johnson 2c669358b3 Restore ability for certutil to run as standalone script
Also make days an argument
2026-06-26 12:12:25 -04:00
Jarrod Johnson 97e0f4d253 Rework autoconsole logic
Match autocons

Skip unless EFI x86_64.

If SPCR, trust it and use that unconditionally.

Otherwise, if only one can respond to TIOCMGET, then use that one.

If multiple can respond, but exactly one shows carrier, use that.
2026-06-25 16:41:14 -04:00
Jarrod Johnson 9462de42ac Fix setboot when network not in bootorder 2026-06-25 15:56:11 -04:00
Jarrod Johnson e748a97eae Only count copernicus replies that have OK status 2026-06-25 15:08:23 -04:00
Jarrod Johnson c1eea55610 When possible, check confluent user access to file
If a confluent user is a system user, do not allow them to
upload paths that their user would not have access to otherwise.

For non-system users, continue with the path based banned behavior.
2026-06-25 12:14:54 -04:00
Jarrod Johnson d59652e0fd Prevent staging of files from indicating path traversal 2026-06-25 10:09:28 -04:00
Jarrod Johnson 46fbc11a93 Other than skipauth type users (unix domain socket root/confluent), no longer allow confluent user addition/manipulation. 2026-06-25 09:55:09 -04:00
Jarrod Johnson 78ffd509c9 Have messages force normalizing the incoming filenames
This avoids downstream code that may expect specific locations from being confused.
2026-06-25 09:48:11 -04:00
Jarrod Johnson 7845376eaf Fix debian deployment on slow network link up
When network link was slow to establish, it would fall right through
the network initilalization code.

Now keep working it until a result is acheived.
2026-06-25 08:36:37 -04:00
Jarrod Johnson 8fdf3a9abe Do not set 0.0.0.0 gateway 2026-06-24 15:58:45 -04:00
Jarrod Johnson 1449eee4f4 Fix to more reliably default to 47 2026-06-23 09:55:29 -04:00
Jarrod Johnson cf7f2f434d Add function for nodes to request a TLS certificate from confluent
Also, make certificate lifetime default configurable as attribute, with 47 as explicit default.
2026-06-23 09:39:16 -04:00
Jarrod Johnson 1068be423a Remove some python2 considerations 2026-06-23 08:30:21 -04:00
Jarrod Johnson d3f3242eea Draft attempt at a tlscert self api 2026-06-22 16:40:45 -04:00
Jarrod Johnson 701a9a7268 Adjustments for Suse 16.1 beta 2026-06-22 09:59:40 -04:00
Jarrod Johnson a117aace05 Fix suse16 firstboot behavior 2026-06-16 16:37:31 -04:00
Jarrod Johnson b89cba1643 Fix non-bonding configuration of ubuntu 2026-06-16 12:41:30 -04:00
Jarrod Johnson 4aef4ac6d3 Bring XCC3 raid config workaround forward 2026-06-16 10:49:31 -04:00
Jarrod Johnson 8f2b044cc9 Make SUSE16 support adaptive to SLES/Leap 2026-06-16 10:49:14 -04:00
Jarrod Johnson 1afba4ecaa Add initprofile for suse profiles 2026-06-15 14:13:09 -04:00
Jarrod Johnson 0b6e5fa63e More work on SUSE16 deployment 2026-06-15 14:04:35 -04:00
Jarrod Johnson fc1a16e77f Fix prepfish for XCC3
XCC3 does not do SSDP over the USB host interface.

Workaround by assuming a 'mac - 1' could work.
2026-06-15 10:23:26 -04:00
Jarrod Johnson af84c6c45b Further implement SUSE16 deployment 2026-06-12 16:51:46 -04:00