-
Notifications
You must be signed in to change notification settings - Fork 29
Add prerequisites doc #376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
WizardBit
wants to merge
1
commit into
canonical:main
Choose a base branch
from
WizardBit:create-prereq
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+60
−28
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| Prerequisites | ||
| ============= | ||
|
|
||
| These are the general prerequisites required to follow along with the tutorials. | ||
|
|
||
| Juju controller | ||
| --------------- | ||
|
|
||
| Get a juju controller on ``Serverstack`` (the undercloud). | ||
|
|
||
| 1. source your ``serverstack`` ``novarc`` | ||
| 2. ``juju add-cloud`` and follow the prompts; they should be auto-filled with info from the environment after sourcing the ``Serverstack`` ``novarc`` | ||
| 3. ``juju autoload-credentials --client`` | ||
| 4. ``juju bootstrap serverstack serverstack --bootstrap-constraints="allocate-public-ip=true"`` | ||
|
|
||
| We want a public (floating) IP here so we can use the controller instance as a jump host for accessing other instances (e.g. the units for charmed OpenStack). | ||
| We can't deploy all units with a public IP because we will reach the quota for floating IPs on ``Serverstack``. | ||
|
|
||
| Tunnel into the undercloud network | ||
| ---------------------------------- | ||
|
|
||
| You will need access to the internal subnet available to you on ``Serverstack`` (all instances created via juju will have an address on this subnet). | ||
| This is so you can do things like juju ssh to the instances, unseal the vault using the ``stsstack-bundles`` scripts, access the cloud using the openstack CLI, etc. | ||
| If you are running these steps from inside a bastion instance on ``Serverstack``, you may skip this step. | ||
|
|
||
| Otherwise, set up a tunnel into your ``Serverstack`` private subnet. This can be done via ``sshuttle`` to the juju controller instance | ||
| (which was deployed with a public floating IP), or any other instance with a public floating IP (e.g. if you already have a bastion instance). | ||
| ``10.5.0.0/16`` is used as an example; your subnet may be different. | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| sshuttle -r <IP_OF_JUJU_CONTROLLER> 10.5.0.0/16 | ||
|
|
||
| .. toctree:: | ||
|
WizardBit marked this conversation as resolved.
|
||
| :hidden: | ||
| :maxdepth: 2 | ||
|
|
||
| usage | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is serverstack still up? I like the refactoring of the instructions, but we should follow up with updating where to deploy. Most of us are probably using PS7 now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought serverstack was just referencing any server as this repo is public.