Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 15, 2010
  1. @timf

    --print-pending is gone, replaced by --print-ctx-status which will pr…

    timf authored
    …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.
  2. @timf

    Continuing to rename the option from --print-pending to --print-ctx-s…

    timf authored
    …tatus. The functionality will change in next commit, I swear.
  3. @timf

    Renamed the option from --print-pending to --print-ctx-status. The fu…

    timf authored
    …nctionality will change in next commit.
  4. @timf

    wrong prcode

    timf authored
  5. @timf

    Added --print-pending to cloud client. See the rest of this commit me…

    timf authored
    …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
    -----------------------------------------------------------------------------
Commits on Jun 14, 2010
  1. @priteau @timf

    Fix libvirt domain XML generation for tap driver

    priteau authored timf committed
    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
  2. @priteau @timf

    Fix notify path creation

    priteau authored timf committed
    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.
Commits on Jun 9, 2010
  1. @timf

    this constant moved

    timf authored
  2. @timf
  3. @labisso @timf

    nimbus-configure won't ask for hostname everytime

    labisso authored timf committed
  4. @labisso @timf

    Write db properties file in nimbus-configure

    labisso authored timf committed
  5. @labisso @timf

    Look for NIMBUS_HOME system property first.

    labisso authored timf committed
    Fallback to environment variable.
  6. @labisso @timf

    Added NimbusXmlWebApplicationContext, for query.

    labisso authored timf committed
    Factored out path resolving logic to NimbusHomePathResolver
  7. @timf

    IDEA will create this file

    timf authored
  8. @timf

    Merge branch 'relpath'

    timf authored
    Fix for Bug 7045: Make Nimbus services installation portable
  9. @timf
  10. @timf
  11. @timf
  12. @timf

    removing gateway information

    timf authored
  13. @timf
  14. @timf
  15. @timf

    use long literals

    timf authored
Commits on Jun 8, 2010
  1. @priteau @timf

    Don't generate certificates with the same serial number as the CA

    priteau authored timf committed
    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)
  2. @timf
  3. @timf
  4. @timf
  5. @pauloricardomg @timf

    -Added getResourcePoolEntryImproved which is an improved version of g…

    pauloricardomg authored timf committed
    …etResourcepoolEntry that moves some processing down to SQL
    
    -Related modifications
    (cherry picked from commit 3189e9bce71b9ce3883700a50ed9b57eba1bfd8c)
  6. @timf
  7. @timf

    copyright pedantry

    timf authored
Commits on Jun 1, 2010
  1. @labisso
  2. @labisso
  3. @labisso

    Look for NIMBUS_HOME system property first.

    labisso authored
    Fallback to environment variable.
  4. @labisso

    Added NimbusXmlWebApplicationContext, for query.

    labisso authored
    Factored out path resolving logic to NimbusHomePathResolver
  5. @timf

    IDEA will create this file

    timf authored
  6. @timf

    destroy the test vm

    timf authored
Something went wrong with that request. Please try again.