Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
07a24c3b
Verified
Commit
07a24c3b
authored
1 year ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
add renumbering procedure for openstack VMs
parent
8afece7a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/openstack.md
+37
-1
37 additions, 1 deletion
howto/openstack.md
with
37 additions
and
1 deletion
howto/openstack.md
+
37
−
1
View file @
07a24c3b
...
...
@@ -32,7 +32,7 @@ notes:
we could also have used existing flavor size if we needed a larger
disk
7.
click "Next" to go to the "Networks" tab
8.
click on the arrow on the
"iaas.torproject.org"
line
8.
click on the arrow on the
`sunet.se-public`
line
9.
go to the "Security groups" tab and pick "anything"
10.
add the anarcat keypair, create a new one for you if missing, but
add it too
...
...
@@ -214,6 +214,42 @@ allocate a floating IP and route it to the instance.
openstack server add floating ip build-arm-10.torproject.org 213.146.141.28
## Renumbering a server
To renumber a server in Openstack, you need to first create a port,
associate it with the server, remove the old port, and renumber IP
elsewhere.
Those steps were followed for
`ns5`
:
0.
Make sure you have access to the server through the web console first.
1.
add the new port:
openstack port create --network sunet.se-public ns5.torproject.org
2.
assign it in the right security group:
openstack port set --security-group anything ns5.torproject.org
3.
attach the port to the instance:
openstack server add port ns5.torproject.org ns5.torproject.org
4.
remove the old port from the instance:
openstack server remove port ns5.torproject.org dcae4137-03cd-47ae-9b58-de49fb8eecea
5.
in the console, change the IP in
`/etc/network/interfaces`
...
6.
up the new interface:
ifup -a
7.
renumber the instance, see the
`ganeti.renumber-instance`
fabric
job for tips, typically it involves grepping around in all git
repositories and changing LDAP
# References
*
[
How to launch an instance
](
https://docs.openstack.org/install-guide/launch-instance.html
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment