Displaying 5 results from an estimated 5 matches for "ovirt_startup".
Did you mean:
ovirt_start
2010 Mar 16
1
[PATCH] ovirt-awake improvements
...+. /usr/libexec/ovirt-functions
+
send_text () {
local text=${1}
@@ -113,6 +115,7 @@ start_ovirt_awake () {
log "Node is operating in unmanaged mode."
;;
"ovirt")
+ log "Node is operating in ovirt mode."
ovirt_startup
RC=$?
;;
@@ -146,7 +149,7 @@ case "$1" in
echo -n "Starting ovirt-awake: "
[ -f "$VAR_SUBSYS_NODECONFIG" ] && exit 0
{
- start
+ start_ovirt_awake
RETVAL=$?
log...
2010 Mar 09
1
Bugs with ovirt-awake
...0;31mFAILED^[[0;39m]^MMar 08 17:07:53 ovirt-awake failed
[...]
l 71 : it's a problem with the net redirection in bash
my little fix :
diff --git a/scripts/ovirt-awake b/scripts/ovirt-awake
index c6a6902..8983ef1 100755
--- a/scripts/ovirt-awake
+++ b/scripts/ovirt-awake
@@ -68,7 +68,7 @@ ovirt_startup () {
if [[ -n "${mgmthost}" ]] && [[ -n "${mgmtport}" ]]; then
# log "Notifying oVirt management server: ${mgmthost}:${mgmtport}"
- exec 3<> /dev/tcp/$mgmthost:$mgmtport
+ exec 3<>/dev/tcp/$mgmthost/$mgmtport
c...
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...;;
stop)
- rm -f /var/lock/subsys/ovirt
+ stop_ovirt
;;
*)
echo "Usage: ovirt {start}"
diff --git a/scripts/ovirt-awake b/scripts/ovirt-awake
index bd50ffd..d5865c5 100755
--- a/scripts/ovirt-awake
+++ b/scripts/ovirt-awake
@@ -103,7 +103,7 @@ ovirt_startup () {
# Override this method to provide support for notifying a management
# system that the node has started and will be available after
# system initialization
-start () {
+start_ovirt_awake () {
local RC=0
touch $VAR_SUBSYS_NODECONFIG
@@ -131,6 +131,16 @@ start () {
return $RC...
2010 Feb 10
1
RFC: First pass at making the node generic...
I'm looking for feedback on this first patch. The node has been pushed
towards a more generic boot process. With this patch the node can now
boot up and execute a few specifically-named scripts that reside in
/etc/node.d/ at key points during the startup.
After this goes upstream, the next step will be to define in more detail
the remote interfaces for the "managed" runtime
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...40..938670a 100755
--- a/scripts/ovirt-awake
+++ b/scripts/ovirt-awake
@@ -33,7 +33,6 @@
. /etc/init.d/ovirt-functions
prog=ovirt-early
-NODE_CONFIG=/etc/sysconfig/node-config
VAR_SUBSYS_NODECONFIG=/var/lock/subsys/node-config
# load the configuration file
@@ -57,8 +56,8 @@ error () {
}
ovirt_startup () {
- local mgmthost=${OVIRT_MANAGEMENT_SERVER}
- local mgmtport=${OVIRT_MANAGEMENT_PORT}
+ local mgmthost=${NODE_MANAGEMENT_SERVER}
+ local mgmtport=${NODE_MANAGEMENT_PORT}
if [[ -z "${mgmthost}" ]] || [[ -z "${mgmtport}" ]]; then
find_srv identify...