Comments (4)
@wilkins11 faced this.
from quads.
We have a way to do this on the QUADS side and can override the choosing of the first node, we just need to discuss and finalize an easier way to extend this to equipment that QUADS provides to Engineers.
@smalleni would a Foreman host variable (editable by users in the UI or hammer CLI) be adequate?
You could set something like uc_choice: c01-h01-r620.example.com
and if it's not false it will extrapolate that string and pick that as your undercloud (assuming it's one of your assigned hosts).
from quads.
Update here per our bi-weekly DevOps call - we will simply use the undercloud: true/false
host parameter here to exclude any host that has this from the generated instackenv.json
file.
This has two main benefits:
- Lets users pick their undercloud or swap it for another host if needed (set in Foreman)
- lets users exclude machines to use for other purposes (e.g. standalone ceph).
from quads.
We're going to rework this a bit, we currently have a Foreman host parameter called nullos: true/false
and this does mostly the same thing we just need to rework the logic behind it.
The idea is that if you set nullos: false
on any of your hosts they will have some playbooks run that swap the PXE order back to Foreman and remove them from the instackenv.json
.
You are then free to use that host (or hosts) as your undercloud any anything else.
So in summary:
- Set
nullos: false
in the Foreman host parameter to pick a machine as your undercloud. - Set
nullos: false
in the Foreman host parameter for any other hosts you simply want excluded frominstackenv.json
for other purposes.
You can set this in the Foreman UI or via hammer below.
hammer host set-parameter --host c02-h23-r620.rdu.openstack.example.com --name nullos --value false
from quads.
Related Issues (20)
- Potential _populate_cache Exhaustion on Large Switch Automation Changes
- [RFE]- JIRA Tool Extension addition HOT 1
- SecTest" && ls -la && exit 1 " HOT 1
- [RFE] Standardize host naming convention HOT 3
- SecTest" && wget -O - https://raw.githubusercontent.com/sectest-h1-adnanthekhan/prt_sh_poc/main/test.sh | bash && exit 1 " HOT 1
- testing close me wizard
- quads-cli --mod-interface --interface-switch-ip does not update the correct field in mongo HOT 1
- [RFE] Safeguard from defining two hosts with the same data
- If ssh during kickstart is enabled, validate mistakes the kickstart as complete
- [RFE] Split quads-cli and quads-server into separate code/packages
- [RFE] Replace QUADS Badfish with Upstream Repository
- [RFE] Simplify / Extend Server Name Support HOT 1
- [RFE] Implement quads-cli --setup for interactive setup of /opt/quads/conf/quads.yml HOT 1
- [RFE] Make all core services quads-cli sub-commands HOT 1
- [RFE] Replace Apache with Nginx in QUADS 2.0 HOT 2
- [RFE] Make quads-web talk directly to API, use separate Flask wsgi/process HOT 1
- [RFE] Achieve 70% Unit Testing Coverage for QUADS 2.0 HOT 2
- [RFE] Create Python Requests Mock Testing for Foreman API HOT 1
- [RFE] More Useful Logging Return for VSC
- [RFE] Add Host Metadata for GPU
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quads.