8103932f23
doc: Initial documentation for the MultisitePostgreSQL module
2025-12-10 13:12:53 -05:00
9617e1cfde
Merge pull request 'adr: Higher order topologies' ( #197 ) from adr/015-higher-order-topologies into master
...
Compile and package harmony_composer / package_harmony_composer (push) Failing after 2m54s
Run Check Script / check (push) Successful in 1m47s
Reviewed-on: #197
2025-12-10 18:12:23 +00:00
50bd5c5bba
feat(OKDInstallation): Implemented bootstrap of okd worker node, added features to allow both control plane and worker node to use the same bootstrap_okd_node score
Run Check Script / check (pull_request) Successful in 1m46s
2025-12-10 12:15:07 -05:00
a953284386
doc: Add note about counter-intuitive behavior of nmstate
Run Check Script / check (push) Successful in 1m33s
Compile and package harmony_composer / package_harmony_composer (push) Failing after 2m28s
2025-12-09 23:04:15 -05:00
bfde5f58ed
adr: Higher order topologies
...
Run Check Script / check (pull_request) Successful in 1m33s
These types of Topologies will orchestrate behavior in regular Topologies.
For example, a FailoverTopology is a Higher Order, it will orchestrate its capabilities between a primary and a replica topology. A great use case for this is a database deployment. The FailoverTopology will deploy both instances, connect them, and the able to execute the appropriate actions to promote de replica to primary and revert back to original state.
Other use cases are ShardedTopology, DecentralizedTopology, etc.
2025-12-09 11:23:30 -05:00
43a17811cc
fix formatting
Run Check Script / check (pull_request) Failing after 1m49s
2025-11-14 12:53:43 -05:00
93ac89157a
feat: added score to enable snmp_server on brocade switch and a working example
Run Check Script / check (pull_request) Successful in 2m4s
2025-11-14 12:49:00 -05:00
29c82db70d
fix: added fields missing for haproxy after most recent update
Run Check Script / check (pull_request) Failing after 49s
2025-11-12 13:21:55 -05:00
8ee3f8a4ad
chore: Update harmony-inventory-agent binary as some fixes were introduced : port is 25000 now and nbd devices wont make the inventory crash
Run Check Script / check (pull_request) Failing after 40s
2025-11-11 11:32:42 -05:00
d3634a6313
fix(types): Switch port location failed on port channel interfaces
2025-11-11 09:53:59 -05:00
83c1cc82b6
fix(host_network): remove extra fields from bond config to prevent clashes ( #186 )
...
Run Check Script / check (push) Successful in 1m36s
Compile and package harmony_composer / package_harmony_composer (push) Successful in 8m16s
Also alias `port` to support both `port` and `ports` as per the nmstate spec.
Reviewed-on: #186
2025-11-11 14:12:56 +00:00
a0a8d5277c
fix: opnsense definitions more accurate for various resources such as ProxyGeneral, System, StaticMap, Job, etc. Also fixed brocade crate export and some warnings
2025-11-11 09:06:36 -05:00
43b04edbae
feat(brocade): Add feature and example to remove port channel and configure switchport
2025-11-10 22:59:37 -05:00
755a4b7749
feat(inventory-agent): Discover algorithm by scanning a subnet of ips, slower than mdns but more reliable and versatile
2025-11-10 22:15:31 -05:00
5953bc58f4
feat: added function to enable snmp-server for brocade switches
2025-11-10 14:57:22 -05:00
51a5afbb6d
fix: added some extra details
Run Check Script / check (pull_request) Successful in 1m4s
2025-11-07 09:04:27 -05:00
66d346a10c
fix(host_network): skip configuration for host with only 1 interface/port ( #185 )
...
Run Check Script / check (push) Successful in 1m11s
Compile and package harmony_composer / package_harmony_composer (push) Successful in 8m11s
Reviewed-on: #185
Reviewed-by: johnride <jg@nationtech.io >
2025-11-06 00:07:20 +00:00
06a004a65d
refactor(host_network): extract NetworkManager as a reusable component ( #183 )
...
Run Check Script / check (push) Successful in 1m12s
Compile and package harmony_composer / package_harmony_composer (push) Has been cancelled
The NetworkManager logic was implemented directly into the `HaClusterTopology`, which wasn't directly its concern and prevented us from being able to reuse that NetworkManaager implementations in the future for a different Topology.
* Extract a `NetworkManager` trait
* Implement a `OpenShiftNmStateNetworkManager` for `NetworkManager`
* Dynamically instantiate the NetworkManager in the Topology to delegate calls to it
Reviewed-on: #183
Reviewed-by: johnride <jg@nationtech.io >
2025-11-06 00:02:52 +00:00
9d4e6acac0
fix(host_network): retrieve proper hostname and next available bond id ( #182 )
...
Run Check Script / check (push) Successful in 1m9s
Compile and package harmony_composer / package_harmony_composer (push) Failing after 2m24s
In order to query the current network state `NodeNetworkState` and to apply a `NodeNetworkConfigurationPolicy` for a given node, we first needed to find its hostname. As all we had was the UUID of a node.
We had different options available (e.g. updating the Harmony Inventory Agent to retrieve it, store it in the OKD installation pipeline on assignation, etc.). But for the sake of simplicity and for better flexibility (e.g. being able to run this score on a cluster that wasn't setup with Harmony), the `hostname` was retrieved directly in the cluster by running the equivalent of `kubectl get nodes -o yaml` and matching the nodes with the system UUID.
### Other changes
* Find the next available bond id for a node
* Apply a network config policy for a node (configuring a bond in our case)
* Adjust the CRDs for NMState
Note: to see a quick demo, watch the recording in #183
Reviewed-on: #182
Reviewed-by: johnride <jg@nationtech.io >
2025-11-05 23:38:24 +00:00
4ff57062ae
Merge pull request 'feat(kube): Convert kube_openapi Resource to DynamicObject' ( #180 ) from feat/kube_convert_dynamic_resource into master
...
Run Check Script / check (push) Successful in 1m19s
Compile and package harmony_composer / package_harmony_composer (push) Failing after 2m23s
Reviewed-on: #180
Reviewed-by: Ian Letourneau <ian@noma.to >
2025-11-05 21:48:32 +00:00
50ce54ea66
Merge pull request 'fix(opnsense-config): mark Interface::enable as optional' ( #181 ) from fix-opnsense-config into master
...
Run Check Script / check (push) Successful in 1m12s
Compile and package harmony_composer / package_harmony_composer (push) Failing after 2m27s
Reviewed-on: #181
2025-11-05 17:13:29 +00:00
Ian Letourneau
827a49e56b
fix(opnsense-config): mark Interface::enable as optional
Run Check Script / check (pull_request) Successful in 1m11s
2025-11-04 17:25:30 -05:00
95cfc03518
feat(kube): Utility function to convert kube_openapi Resource to DynamicObject. This will allow initializing resources strongly typed and then bundle various types into a list of DynamicObject
Run Check Script / check (pull_request) Successful in 1m18s
2025-10-29 17:24:35 -04:00
c2fa4f1869
fix:cargo fmt
Run Check Script / check (pull_request) Successful in 1m21s
2025-10-29 13:53:58 -04:00
ee278ac817
Merge remote-tracking branch 'origin/master' into feat/install_opnsense_node_exporter
Run Check Script / check (pull_request) Failing after 25s
2025-10-29 13:49:56 -04:00
09a06f136e
Merge remote-tracking branch 'origin/master' into feat/install_opnsense_node_exporter
Run Check Script / check (pull_request) Successful in 1m21s
2025-10-29 13:42:12 -04:00
5f147fa672
fix: opnsense-config reload_config() returns live config.xml rather than dropping it, allows function is_package_installed() to read live state after package installation rather than old config before installation
Run Check Script / check (pull_request) Successful in 1m17s
2025-10-29 13:25:37 -04:00
c80ede706b
fix(host_network): adjust bond & port-channel configuration (partial) ( #175 )
...
Run Check Script / check (push) Successful in 1m20s
Compile and package harmony_composer / package_harmony_composer (push) Failing after 2m21s
## Description
* Replace the CatalogSource approach to install the OperatorHub.io catalog by a more simple & straightforward way to install NMState
* Improve logging
* Add report summarizing the host network configuration that was applied (which host, bonds, port-channels)
* Fix command to find next available port channel id
## Extra info
Using the `apply_url` approach to install the NMState operator isn't the best approach: it's harder to maintain and upgrade. But it helps us achieve waht we wanted for now: install the NMState Operator to configure bonds on a host.
The preferred approach, installing an operator from the OperatorHub.io catalog, didn't work for now. We had a timeout error with DeadlineExceeded probably caused by an insufficient CPU/Memory allocation to query such a big catalog, even though we tweaked the RAM allocation (we couldn't find a way to do it for CPU).
Spent too much time on this so we stopped these efforts for now. It would be good to get back to it when we need to install something else from a custom catalog.
Reviewed-on: #175
2025-10-29 17:09:16 +00:00
9ba939bde1
wip: cargo fmt
Run Check Script / check (pull_request) Successful in 1m16s
2025-10-28 15:45:02 -04:00
44bf21718c
wip: example score with impl topolgy for opnsense topology
2025-10-28 14:41:15 -04:00
b2825ec1ef
Merge pull request 'feat/impl_installable_crd_prometheus' ( #170 ) from feat/impl_installable_crd_prometheus into master
...
Run Check Script / check (push) Successful in 1m25s
Compile and package harmony_composer / package_harmony_composer (push) Failing after 2m20s
Reviewed-on: #170
2025-10-24 16:42:54 +00:00
609d7acb5d
feat: impl clone_box for ScrapeTarget<CRDPrometheus>
Run Check Script / check (pull_request) Successful in 1m25s
2025-10-24 12:05:54 -04:00
de761cf538
Merge branch 'master' into feat/impl_installable_crd_prometheus
2025-10-24 11:23:56 -04:00
5e1580e5c1
Merge branch 'master' into doc/clone
2025-10-23 19:32:26 +00:00
1802b10ddf
fix:translated documentaion notes into English
2025-10-23 15:31:45 -04:00
008b03f979
fix: changed documentation language to english
2025-10-23 14:56:07 -04:00
9f7b90d182
feat(argocd): Can now detect argocd instance when already installed and write crd accordingly. One major caveat though is that crd versions are not managed properly yet
Run Check Script / check (pull_request) Failing after 39s
2025-10-23 13:12:38 -04:00
dc70266b5a
wip: install argocd app depending on how argocd is already installed in the cluster
2025-10-23 13:11:39 -04:00
8fb755cda1
wip: argocd discovery
2025-10-23 13:10:35 -04:00
cb7a64b160
feat: Support tls enabled by default on rust web app
2025-10-23 13:10:35 -04:00
afdd511a6d
feat(application): Webapp feature with production dns
2025-10-23 13:10:35 -04:00
c069207f12
Merge pull request 'refactor(ha_cluster): inject switch client for better testability' ( #174 ) from switch-client into master
...
Run Check Script / check (push) Successful in 1m44s
Compile and package harmony_composer / package_harmony_composer (push) Failing after 2m43s
Reviewed-on: #174
2025-10-23 15:05:17 +00:00
Ian Letourneau
7368184917
fix(ha_cluster): inject switch client for better testability
Run Check Script / check (pull_request) Successful in 1m30s
2025-10-22 15:12:53 -04:00
5ab58f0253
fix: added impl node exporter for hacluster topology and dummy infra
Run Check Script / check (pull_request) Successful in 1m26s
2025-10-22 14:39:12 -04:00
5af13800b7
fix: removed unimplemnted marco and returned Err instead
...
Run Check Script / check (pull_request) Failing after 29s
some formatting error
2025-10-22 11:51:22 -04:00
05205f4ac1
Merge pull request 'feat: scrape targets to be able to get snmp alerts from machines to prometheus' ( #171 ) from feat/scrape_target into master
...
Run Check Script / check (push) Waiting to run
Compile and package harmony_composer / package_harmony_composer (push) Waiting to run
Reviewed-on: #171
2025-10-22 15:33:24 +00:00
3174645c97
Merge branch 'master' into feat/scrape_target
Run Check Script / check (pull_request) Successful in 1m32s
2025-10-22 15:33:01 +00:00
8126b233d8
feat: implementation for opnsense os-node_exporter
Run Check Script / check (pull_request) Failing after 41s
2025-10-22 11:27:28 -04:00
7536f4ec4b
Merge pull request 'fix: fixed merge error that somehow got missed' ( #172 ) from fix/merge_error into master
...
Run Check Script / check (push) Waiting to run
Compile and package harmony_composer / package_harmony_composer (push) Waiting to run
Reviewed-on: #172
2025-10-21 16:02:39 +00:00
464347d3e5
fix: fixed merge error that somehow got missed
Run Check Script / check (pull_request) Has been cancelled
2025-10-21 12:01:31 -04:00