Permalink
Commits on Jun 15, 2010
  1. --print-pending is gone, replaced by --print-ctx-status which will pr…

    …int out every node, see rest of commit msg
    
    Usage:
    
    $ ./bin/cloud-client.sh --print-ctx-status --handle cluster-002
    118.135.125.1     [CTX_CHECKED_IN_PENDING]
    118.135.125.17    [CTX_CHECKED_IN_PENDING]
    118.135.125.28    [CTX_NOT_CHECKED_IN]
    
    There are two fields, you can use awk to isolate:
    
    $ ./bin/cloud-client.sh --print-ctx-status --handle cluster-002 | awk '{print $2}'
    
    Exit code will be zero only when all are OK.  Otherwise will be 6
    unless there is an issue with input or it failed to query, etc.,
    then it will be some other non-zero code.
    timf committed Jun 15, 2010
  2. Continuing to rename the option from --print-pending to --print-ctx-s…

    …tatus. The functionality will change in next commit, I swear.
    timf committed Jun 15, 2010
  3. Renamed the option from --print-pending to --print-ctx-status. The fu…

    …nctionality will change in next commit.
    timf committed Jun 15, 2010
  4. wrong prcode

    timf committed Jun 15, 2010
  5. Added --print-pending to cloud client. See the rest of this commit me…

    …ssage for information.
    
    Print IP addresses of nodes that were launched but have not registered with the broker as OK
    or ERR.  Returns 0 if all OK, returns 6 if it found such nodes, returns other non-zero if
    there is an issue.
    
    Invoke:
    
        ./bin/cloud-client.sh --print-pending --handle cluster-001
    
    Help:
    
        ./bin/cloud-client.sh --extrahelp
    
    Underlying implementation is an unadvertised option because it only really works from
    a cloud-client launch.  Here is the help information:
    
        sh ./lib/workspace.sh --ctx-pending -h
    
    Sample invocations:
    -----------------------------------------------------------------------------
    $ ./bin/cloud-client.sh --print-pending --handle error
    Problem: History directory does not exist: [etc]
    See help (-h).
    $ echo $?
    1
    -----------------------------------------------------------------------------
    $ ./bin/cloud-client.sh --print-pending --handle cluster-001
    128.135.125.21
    128.135.125.22
    128.135.125.24
    $ echo $?
    6
    -----------------------------------------------------------------------------
    $ ./bin/cloud-client.sh --print-pending --handle cluster-001
    Context broker reports that all nodes for 'cluster-001' have contextualized.
    $ echo $?
    0
    -----------------------------------------------------------------------------
    timf committed Jun 15, 2010
Commits on Jun 14, 2010
  1. Fix libvirt domain XML generation for tap driver

    When tap:aio was selected, an empty element was used without being
    closed, generating the following error:
    
    UnexpectedError: Problem creating the VM: at line 20: Opening and ending tag mismatch: driver line 17 and disk
    priteau committed with timf Jun 11, 2010
  2. Fix notify path creation

    In 4540a2e the pollScript variable
    changed from a String to a Resource.
    When constructing the notify path we need a String, so use the
    pollScriptPath variable instead.
    priteau committed with timf Jun 11, 2010
Commits on Jun 9, 2010
  1. this constant moved

    timf committed Jun 9, 2010
  2. Look for NIMBUS_HOME system property first.

    Fallback to environment variable.
    labisso committed with timf Jun 1, 2010
  3. Added NimbusXmlWebApplicationContext, for query.

    Factored out path resolving logic to NimbusHomePathResolver
    labisso committed with timf Jun 1, 2010
  4. IDEA will create this file

    timf committed Jun 1, 2010
  5. Merge branch 'relpath'

    Fix for Bug 7045: Make Nimbus services installation portable
    timf committed Jun 9, 2010
  6. removing gateway information

    timf committed Jun 9, 2010
  7. use long literals

    timf committed Jun 9, 2010
Commits on Jun 8, 2010
  1. Don't generate certificates with the same serial number as the CA

    Bug discovered using an old version of curl relying on the NSS
    library: the certificates generated by the context broker are
    rejected with error -8054: SEC_ERROR_REUSED_ISSUER_AND_SERIAL.
    
    This is because we use the same serial number as the CA in the
    generated certificates.
    
    Fixed by incrementing the serial number by one.
    
    (cherry picked from commit b7e3a0d40e5d4a9f20080f2a67858da1fe72fc72)
    (Fix for Bug 7042)
    priteau committed with timf Jun 8, 2010
  2. -Added getResourcePoolEntryImproved which is an improved version of g…

    …etResourcepoolEntry that moves some processing down to SQL
    
    -Related modifications
    (cherry picked from commit 3189e9bce71b9ce3883700a50ed9b57eba1bfd8c)
    pauloricardomg committed with timf Jun 3, 2010
  3. copyright pedantry

    timf committed Jun 8, 2010
Commits on Jun 1, 2010
  1. Look for NIMBUS_HOME system property first.

    Fallback to environment variable.
    labisso committed Jun 1, 2010
  2. Added NimbusXmlWebApplicationContext, for query.

    Factored out path resolving logic to NimbusHomePathResolver
    labisso committed Jun 1, 2010
  3. IDEA will create this file

    timf committed Jun 1, 2010
  4. destroy the test vm

    timf committed Jun 1, 2010