Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
a15b513b
Commit
a15b513b
authored
Jul 30, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM SR: disable slapmonitor.
Not stable yet.
parent
b590f835
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
20 deletions
+18
-20
software/kvm/common.cfg
software/kvm/common.cfg
+2
-2
software/kvm/instance-kvm-export.cfg.in
software/kvm/instance-kvm-export.cfg.in
+0
-2
software/kvm/instance-kvm.cfg.in
software/kvm/instance-kvm.cfg.in
+16
-16
No files found.
software/kvm/common.cfg
View file @
a15b513b
...
@@ -84,7 +84,7 @@ mode = 0644
...
@@ -84,7 +84,7 @@ mode = 0644
[template-kvm]
[template-kvm]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-kvm.cfg.in
url = ${:_profile_base_location_}/instance-kvm.cfg.in
md5sum =
6cb18eae515703c189bf5a9cf9eeb6d
5
md5sum =
1be5b4a467591c82688754c3bd4aa6e
5
output = ${buildout:directory}/template-kvm.cfg
output = ${buildout:directory}/template-kvm.cfg
mode = 0644
mode = 0644
...
@@ -118,7 +118,7 @@ mode = 0755
...
@@ -118,7 +118,7 @@ mode = 0755
[template-kvm-export]
[template-kvm-export]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-kvm-export.cfg.in
url = ${:_profile_base_location_}/instance-kvm-export.cfg.in
md5sum =
9e1dc5bd8f2c144fca4fdfe38427cb8b
md5sum =
64a1a505aff9fde52afac46240811047
output = ${buildout:directory}/template-kvm-export.cfg
output = ${buildout:directory}/template-kvm-export.cfg
mode = 0644
mode = 0644
...
...
software/kvm/instance-kvm-export.cfg.in
View file @
a15b513b
...
@@ -10,9 +10,7 @@ parts +=
...
@@ -10,9 +10,7 @@ parts +=
kvm-promise
kvm-promise
websockify-sighandler
websockify-sighandler
novnc-promise
novnc-promise
kvm-monitor
cron
cron
cron-entry-monitor
frontend-promise
frontend-promise
# Create the exporter executable, which is a simple shell script
# Create the exporter executable, which is a simple shell script
...
...
software/kvm/instance-kvm.cfg.in
View file @
a15b513b
...
@@ -10,9 +10,9 @@ parts =
...
@@ -10,9 +10,9 @@ parts =
kvm-promise
kvm-promise
websockify-sighandler
websockify-sighandler
novnc-promise
novnc-promise
kvm-monitor
#
kvm-monitor
cron
cron
cron-entry-monitor
#
cron-entry-monitor
frontend-promise
frontend-promise
eggs-directory = ${buildout:eggs-directory}
eggs-directory = ${buildout:eggs-directory}
...
@@ -129,14 +129,14 @@ hostname = $${novnc-instance:ip}
...
@@ -129,14 +129,14 @@ hostname = $${novnc-instance:ip}
port = $${novnc-instance:port}
port = $${novnc-instance:port}
[kvm-monitor]
#
[kvm-monitor]
recipe = slapos.cookbook:wrapper
#
recipe = slapos.cookbook:wrapper
wrapper-path = $${directory:services}/kvm_monitor
#
wrapper-path = $${directory:services}/kvm_monitor
command-line = ${buildout:bin-directory}/kvm.monitor.test
#
command-line = ${buildout:bin-directory}/kvm.monitor.test
$${buildout:directory}/buildout-switch-softwaretype.cfg
#
$${buildout:directory}/buildout-switch-softwaretype.cfg
$${buildout:directory}/report.xml
#
$${buildout:directory}/report.xml
-s slap-parameter
#
-s slap-parameter
-opts disk-size ram-size cpu-count
#
-opts disk-size ram-size cpu-count
...
@@ -159,12 +159,12 @@ wrapper = $${directory:bin}/cron_simplelogger
...
@@ -159,12 +159,12 @@ wrapper = $${directory:bin}/cron_simplelogger
log = $${directory:log}/crond.log
log = $${directory:log}/crond.log
[cron-entry-monitor]
#
[cron-entry-monitor]
<= cron
#
<= cron
recipe = slapos.cookbook:cron.d
#
recipe = slapos.cookbook:cron.d
name = kvm_monitor
#
name = kvm_monitor
frequency = 0 0 * * *
#
frequency = 0 0 * * *
command = $${kvm-monitor:wrapper-path}
#
command = $${kvm-monitor:wrapper-path}
[request-slave-frontend]
[request-slave-frontend]
recipe = slapos.cookbook:requestoptional
recipe = slapos.cookbook:requestoptional
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment