Skip to content

Commit

Permalink
doc: repurpose validate bug docs.
Browse files Browse the repository at this point in the history
* While we fixed the replaced host pre-release bug
  that caused validate not to be set on an assignment the
  postgres docs are still useful so let's keep them around.

Change-Id: I590faea29f67cd3254344bce3344c5fd50aef082
  • Loading branch information
sadsfae committed Dec 5, 2024
1 parent 20c5139 commit 53ba971
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ QUADS automates the future scheduling, end-to-end provisioning and delivery of b
* [Skipping Past Network and Systems Validation per Host](#skipping-past-network-and-systems-validation-per-host)
* [Validate Only a Specific Cloud](#validate-only-a-specific-cloud)
* [Mapping Internal VLAN Interfaces to Problem Hosts](#mapping-internal-vlan-interfaces-to-problem-hosts)
* [Validating after Removing Hosts](#validating-after-removing-hosts)
* [Dealing with the Postgres Database](#dealing-with-the-postgres-database)
* [Contact QUADS Developers](#contact-quads-developers)
* [QUADS Talks and Media](#quads-talks-and-media)

Expand Down Expand Up @@ -1421,9 +1421,10 @@ The _first two octets_ here can be substituted by the _first two octets of your

This mapping feeds into our [VLAN network validation code](https://github.com/redhat-performance/quads/blob/latest/src/quads/tools/validate_env.py#L276)

### Validating after Removing Hosts
* There is currently a corner-case [bug](https://github.com/redhat-performance/quads/issues/361) where removing host(s) prior to the assignment being released may make `quads --validate-env` do nothing.
* You'll need to workaround this in the Postgres database:
### Dealing with the Postgres Database
* Everything QUADS does is done inside the PostgreSQL database, occasionally you may want to adjust settings here.
* Below is a working example of manually setting the `validated` flag at the cloud level to force `--validate-env` to process it.
* Doing this is rare if at all needed but keeping this here for reference and posterity.

- Connect to postgres
```
Expand Down

0 comments on commit 53ba971

Please sign in to comment.