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
18710e62
Verified
Commit
18710e62
authored
4 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
regroup known issues
parent
58d516ec
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/ganeti.md
+21
-20
21 additions, 20 deletions
howto/ganeti.md
with
21 additions
and
20 deletions
howto/ganeti.md
+
21
−
20
View file @
18710e62
...
...
@@ -38,9 +38,6 @@ See also the more extensive [glossary in the Ganeti documentation](http://docs.g
## Adding a new instance
WARNING: this creates a machine with usrmerge! See
[
bug 34115
](
https://bugs.torproject.org/34115
)
before proceeding.
This command creates a new guest, or "instance" in Ganeti's
vocabulary:
...
...
@@ -57,12 +54,6 @@ vocabulary:
--backend-parameters memory=8g,vcpus=2 \
test-01.torproject.org
WARNING: there is a bug in
`ganeti-instance-debootstrap`
which
misconfigures
`ping`
(among other things), see
[
bug #31781
](
https://bugs.torproject.org/31781
)
. It's
currently patched in our version of the Debian package, but that patch
might disappear if Debian upgrade the package without
[
shipping our
patch
](
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944538
)
.
### What that does
This configures the following:
...
...
@@ -100,20 +91,30 @@ Also set reverse DNS for both IPv4 and IPv6 in [hetzner's robot](https://robot.y
Then follow
[
howto/new-machine
](
howto/new-machine
)
.
### When the allocator fails
### Known issues
*
**usrmerge**
: that procedure creates a machine with usrmerge! See
[
bug 34115
](
https://bugs.torproject.org/34115
)
before proceeding.
Note that you may need to use the
`--node`
parameter to pick on which
machines you want the machine to end up,
otherwise Ganeti will choose
for you (and may fail). Use, for
example,
`--node fsn-node-01:fsn-node-02`
to use
`node-01`
as primary and
`node-02`
as secondary. It might be better to
let the Ganeti allocator do its job since it will, eventually do thi
s
during cluster rebalancing. The allocator can sometimes fail if the
allocator is upset about something in the cluster, for
example:
*
**allocator failures**
:
Note that you may need to use the
`--node`
parameter to pick on which
machines you want the machine to end up,
otherwise Ganeti will choose
for you (and may fail). Use, for
example,
`--node fsn-node-01:fsn-node-02`
to use
`node-01`
as
primary and
`node-02`
as secondary. The allocator can sometime
s
fail if the allocator is upset about something in the cluster, for
example:
Can's find primary node using iallocator hail: Request failed: No valid allocation solutions, failure reasons: FailMem: 2, FailN1: 2
Can's find primary node using iallocator hail: Request failed: No valid allocation solutions, failure reasons: FailMem: 2, FailN1: 2
This situation is covered by
[
ticket 33785
](
https://bugs.torproject.org/33785
)
. If this problem
occurs, it might be worth
[
rebalancing the cluster
](
#Rebalancing-a-cluster
)
.
*
**ping failure**
: there is a bug in
`ganeti-instance-debootstrap`
which misconfigures
`ping`
(among other things), see
[
bug
31781
](
https://bugs.torproject.org/31781
)
. It's currently patched in our version of the Debian
package, but that patch might disappear if Debian upgrade the
package without
[
shipping our patch
](
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944538
)
.
This situation is covered by
[
ticket 33785
](
https://bugs.torproject.org/33785
)
. If this problem
occurs, it might be worth
[
rebalancing the cluster
](
#Rebalancing-a-cluster
)
.
## Modifying an instance
...
...
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