search for: nodenam

Displaying 20 results from an estimated 327 matches for "nodenam".

Did you mean: nodename
2013 Sep 05
16
[PATCH] minios: Fix xenbus_rm() calls in frontend drivers
From: Ben Cressey <bcressey@amazon.com> The commit "minios: refactor xenbus state machine" caused "/state" to be appended to the local value of nodename. Previously the nodename variable pointed to dev->nodename. The xenbus_rm() calls were not updated to reflect this change, and refer to paths that do not exist. For example, shutdown_blkfront() for vbd 2049 would issue these calls: xenbus_rm(XBT_NIL, "device/vbd/2049/state/ring-ref&q...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...efinition=\n${definition}" + sudo bash -c "printf \"${definition}\" > $pxedefault" +} + +# Starts a simple instance of dnsmasq. +# $1 - the iface on which dnsmasq works +# $2 - the root for tftp files +# $3 - the mac address for the node (ignored if blank) +# $4 - the nodename +start_dnsmasq () { + local iface=$1 + local tftproot=$2 + local macaddress=$3 + local nodename=$4 + local pidfile=$2/dnsmasq.pid + + stop_dnsmasq + debug "Starting dnsmasq" + dns_startup="sudo /usr/sbin/dnsmasq --read-ethers + --dhcp-range=...
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...} debug() { if $debugging; then log "[DEBUG] %s" "$*"; fi } @@ -140,7 +141,7 @@ start_dnsmasq () { --dhcp-boot=tftpboot/pxelinux.0 --enable-tftp --tftp-root=${tftproot} - --log-facility=/tmp/dnsmasq-${nodename}.log + --log-facility=$WORKDIR/dnsmasq-${nodename}.log --log-queries --log-dhcp --pid-file=${pidfile}" @@ -180,7 +181,7 @@ start_networking () { local workdir=$5 local definition="" local ne...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...--except-interface=lo - --dhcp-boot=tftpboot/pxelinux.0 - --enable-tftp - --tftp-root=${tftproot} - --log-facility=/tmp/dnsmasq-${nodename}.log - --log-queries - --log-dhcp - --pid-file=${pidfile}" + --dhcp-range=${NETWORK}.100,${NETWORK}.254,255.255.255.0,24h + --conf-file= + --interface=${iface} +...
2020 Jul 23
5
Off Topic bash question
I have a simple script: #!/bin/bash # index=0 total=0 names=() ip=() while read -r LINE do NODENAME=` echo $LINE | cut -f 1 -d ','` IP=` echo $LINE | cut -f 2 -d ','` names[index]="$NODENAME" ip[index]="$IP" index=`expr index+1` total=`expr total+1` done <<< $(cat list.txt) simple file: more list.txt name1,ip1 name2,ip2 name3,ip3 output wh...
2009 Jul 16
1
[PATCH node-image] Removes the explicit setting of the emulator for testing.
...ulator=$(which qemu-kvm) local serial="true" local vncport="-1" local bootdev='hd' @@ -281,7 +280,7 @@ define_node () { if [ -n "$options" ]; then eval "$options"; fi debug "define_node ()" - for var in filename nodename memory harddrive cddrive bridge options arch emulator serial vncport bootdev; do + for var in filename nodename memory harddrive cddrive bridge options arch serial vncport bootdev; do eval debug "::$var: \$$var" done @@ -305,7 +304,6 @@ eval debug "::$var: \$$var"...
2008 Oct 13
3
errors on getaddrinfo(): nodename nor servname provided, or not known
Hello openssh developers, I had built openssh-4.7p1 on arm-apple-darwin9 platform, but I get this error when I load sshd using launchd: root# launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist errors on getaddrinfo(): nodename nor servname provided, or not known When I execute sshd directly, I don't get any warnings or error messages, but the sshd is not listening on the intended port, and it's not running. I didn't change anything significant on the code, except disabling the use of utmp.h and util.h. Ca...
2006 Apr 04
1
Mpirun with R CMD scripts
...on for Statistical Computing Version 2.2.0 (2005-10-06 r35749) ISBN 3-900051-07-0 > library(snow) > c1<-makeCluster(3, type="MPI") Loading required package: Rmpi 3 slaves are spawned successfully. 0 failed. > > > > clusterCall(c1,function() Sys.info()[c("nodename","machine")]) [[1]] nodename machine "cheaha.ac.uab.edu" "x86_64" [[2]] nodename machine "compute-0-12.local" "x86_64" [[3]] nodename machine &qu...
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
Hello All, So I finally got around to start to cut over node definitions from standard flat files to external nodes (foreman), and getting error message: "Error 400 on SERVER: Could not find node ''nodename''; cannot compile" - So basically it can''t pick up the node from the external node config. When I test the fetching of the yaml file it seems to work as I get a result back: i.g: curl -k https://foreman/node/nodename?format=yml --- parameters: puppetmaster: puppet classe...
2008 Jul 03
3
[PATCH 2/4] pvSCSI : Fix many points of backend/frontend driver
Please refer following Mr. Steven''s mail posted on June 24th. Message-ID: <20080624131313.GB18379@weybridge.uk.xensource.com> Message-ID: <20080624131256.GA18379@weybridge.uk.xensource.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com> Signed-off-by: Jun Kamada <kama@jp.fujitsu.com> ----- Jun Kamada
2010 Jan 12
1
[PATCH] Adds the qemu log to the autotest output.
...;; exit 1; } +die() { warn "$*"; show_libvirt_log; exit 1; } debug() { if $debugging; then log "[DEBUG] %s" "$*"; fi } trap '__st=$?; cleanup_after_testing; exit $__st' 1 2 3 13 15 @@ -69,6 +70,15 @@ Usage: $ME [-n test_name] [LOGFILE] EOF } +# $1 - the nodename +show_libvirt_log () { + local logfile=/var/log/libvirt/qemu/$1.log + + printf "\n[${logfile}]\n" + sudo cat $logfile + printf "[${logfile}]\n\n" +} + # $1 - the test function to call execute_test () { local testname=$1 @@ -404,6 +414,8 @@ destroy_node () {...
2009 Nov 11
1
getaddrinfo: nodename nor servname provided, or not known
...nt.rb I have: ActionMailer::Base.delivery_method = :sendmail and at the top of the same file I have: ENV[''RAILS_ENV''] ||= ''production'' When I try and enter an email address into the form: I tget an error back: SocketError in EmailController#remind getaddrinfo: nodename nor servname provided, or not known Has anyone else experienced this, and how do you get it up and running? Many Thanks
2009 Jul 21
2
[PATCH node-image] Adds a preserve option for autotest VMs.
...fi + # exit if preserve was enabled + if $preserve_vm; then return; fi + if [ -n "${networkname}" ]; then debug "Destroying network interface: ${networkname}" check=$(sudo virsh net-list --all) @@ -388,6 +391,9 @@ destroy_node () { local nodename=$1 local undefine=${2-true} + # if preserving nodes then exit + if $preserve_vm; then return; fi + if [ -n "${nodename}" ]; then check=$(sudo virsh list --all) if [[ "${check}" =~ "${nodename}" ]]; then @@ -670,6 +676,7 @@ setup_for...
2007 Mar 29
7
Refering to node name (or part of node name) in a class / function
Hi, I was wondering if it is possible to gain access to the nodename as a variable, in order to refer to the name or part of it inside a class. Eg: I have a lot of sites that essentially have the same configuration, except they are in different domains and have different requirements for things like resolv.conf. I can manage this by creating a node definition for...
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...put (default: disabled) + -t: change the timeout between markers (in ms, default: 120) -v: enable tracing (default: disabled) -w: launch virt-viewer for each VM (default: no window shown) -h: display this help and exit @@ -484,7 +485,7 @@ test_stateless_pxe () { boot_with_pxe "${nodename}" "standalone firstboot=no" "${workdir}" expect -c ' -set timeout 120 +set timeout '${timeout_period}' log_file -noappend stateless-pxe.log @@ -526,7 +527,7 @@ test_stateless_pxe_with_nohd () { boot_with_pxe "${nodename}" "firstb...
2009 May 11
1
[PATCH] xen/blkfront: remove driver_data direct access of struct device
...-blkfront.c index 8f90508..ff09809 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -755,12 +755,12 @@ static int blkfront_probe(struct xenbus_device *dev, /* Front end dir is a number, which is used as the id. */ info->handle = simple_strtoul(strrchr(dev->nodename, '/')+1, NULL, 0); - dev->dev.driver_data = info; + dev_set_drvdata(&dev->dev, info); err = talk_to_backend(dev, info); if (err) { kfree(info); - dev->dev.driver_data = NULL; + dev_set_drvdata(&dev->dev, NULL); return err; } @@ -845,7 +845,7 @@ static...
2009 May 11
1
[PATCH] xen/blkfront: remove driver_data direct access of struct device
...-blkfront.c index 8f90508..ff09809 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -755,12 +755,12 @@ static int blkfront_probe(struct xenbus_device *dev, /* Front end dir is a number, which is used as the id. */ info->handle = simple_strtoul(strrchr(dev->nodename, '/')+1, NULL, 0); - dev->dev.driver_data = info; + dev_set_drvdata(&dev->dev, info); err = talk_to_backend(dev, info); if (err) { kfree(info); - dev->dev.driver_data = NULL; + dev_set_drvdata(&dev->dev, NULL); return err; } @@ -845,7 +845,7 @@ static...
2009 May 11
1
[PATCH] xen/blkfront: remove driver_data direct access of struct device
...-blkfront.c index 8f90508..ff09809 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -755,12 +755,12 @@ static int blkfront_probe(struct xenbus_device *dev, /* Front end dir is a number, which is used as the id. */ info->handle = simple_strtoul(strrchr(dev->nodename, '/')+1, NULL, 0); - dev->dev.driver_data = info; + dev_set_drvdata(&dev->dev, info); err = talk_to_backend(dev, info); if (err) { kfree(info); - dev->dev.driver_data = NULL; + dev_set_drvdata(&dev->dev, NULL); return err; } @@ -845,7 +845,7 @@ static...
2015 Jan 12
1
SIMPLE TINC template example
...BEFORE starting TINC VPN, put a number of entries to configure your VPN: sh ./templatewriter.sh LAN LOSI101 8540 255.255.255.0 0.0.0.0 10.99.0.11 10.98.0.11 ConnectTo=LOSI102 ConnectTo= ConnectTo= **PUT MORE ENTRIES HERE FOR MORE COMPLEX VPN setups ######Templatewriter.sh #!/bin/bash SDIR=$1 NODENAME=$2 PORT=$3 MASK=$4 LISTIP=$5 OPNIP=$6 VPNIP=$7 CONN1=$8 CONN2=$9 CONN3=${10} #READING IN THE RSA AND 25519 KEYS CAUSES ALL SORTS OF HEADACHES WITH SED #JUST KEEP THEM IN THE TEMPLATES AS IS #RSAKEY=$(cat "/tinc/rsa_key.pub") #ED25519KEY=$(cat "/tinc/ed25519_key.pub") echo &qu...
2007 Oct 13
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c test/trace
...d: true @@ -301,7 +301,7 @@ nextSibling: undefined previousSibling: TAG(1): 'empty_element' childNodes: 0: --- -attributes: 1: entities%5Fattribute=%3C%20%3E%20%22%20%27%20%26 +attributes: 1: entities%5Fattribute=%3C%20%3E%20%22%20%27%20%26%20%C2%A0 localName: entities namespaceURI: nodeName: entities @@ -309,18 +309,18 @@ nodeType: 1 nodeValue: null prefix: parentNode: TAG(1): 'null' -firstChild: TEXT(3): '%0A%20%20%3C%20%3E%20%22%20%27%20%26%0A' -lastChild: TEXT(3): '%0A%20%20%3C%20%3E%20%22%20%27%20%26%0A' +firstChild: TEXT(3): '%0A%20%20%3C%20%3E%20...