Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-ganeti
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
itminedu
snf-ganeti
Commits
4a7ff493
Commit
4a7ff493
authored
17 years ago
by
Guido Trotter
Browse files
Options
Downloads
Patches
Plain Diff
burnin: remove created exports
Make burnin remove exports after importing the instance back. Reviewed-by: iustinp
parent
9ac99fda
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/burnin
+4
-0
4 additions, 0 deletions
tools/burnin
with
4 additions
and
0 deletions
tools/burnin
+
4
−
0
View file @
4a7ff493
...
...
@@ -299,6 +299,7 @@ class Burner(object):
ip_check
=
True
,
wait_for_sync
=
True
,
mac
=
"
auto
"
)
erem_op
=
opcodes
.
OpRemoveExport
(
instance_name
=
instance
)
Log
(
"
- Export instance %s to node %s
"
%
(
instance
,
enode
))
self
.
ExecOp
(
exp_op
)
...
...
@@ -308,6 +309,9 @@ class Burner(object):
Log
(
"
- Import instance %s from node %s to node %s
"
%
(
instance
,
enode
,
pnode
))
self
.
ExecOp
(
imp_op
)
Log
(
"
- Remove export of instance %s
"
%
(
instance
))
self
.
ExecOp
(
erem_op
)
self
.
to_rem
.
append
(
instance
)
def
StopInstance
(
self
,
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