IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28446 for trunk/Nebulous


Ignore:
Timestamp:
Jun 23, 2010, 5:51:46 PM (16 years ago)
Author:
watersc1
Message:

Updates to add neb-migrate code, and to fix repeated "can't find device info" bug in nebdiskd.

Location:
trunk/Nebulous
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/Build.PL

    r26019 r28446  
    113113        bin/neb-locate
    114114        bin/neb-ls
     115        bin/neb-migrate
    115116        bin/neb-mv
    116117        bin/neb-replicate
    117118        bin/neb-rm
     119        bin/neb-shift
    118120        bin/neb-stat
    119121        bin/neb-swap
  • trunk/Nebulous/MANIFEST

    r26022 r28446  
    1414bin/neb-insert
    1515bin/neb-ls
     16bin/neb-migrate
    1617bin/neb-mv
    1718bin/neb-replicate
    1819bin/neb-rm
     20bin/neb-shift
    1921bin/neb-stat
    2022bin/neb-swap
  • trunk/Nebulous/lib/Nebulous/Client.pm

    r26333 r28446  
    790790}
    791791
     792sub find_ext_id_by_volume
     793{
     794    my $self = shift;
     795    my ($vol_name, $limit) = validate_pos( @_,
     796                                           {
     797                                               type => SCALAR,
     798                                           },
     799                                           {
     800                                               type => SCALAR|UNDEF,
     801                                               optional => 1,
     802                                           },
     803        );
     804   
     805    $log->debug( "entered - @_" );
     806
     807    my $response = $self->{ 'server' }->find_ext_id_by_volume( $vol_name, $limit);
     808    if ( $response->fault ) {
     809        $self->set_err($response->faultstring);
     810        if ($response->faultstring =~ /no instances on storage volume/) {
     811            $log->debug( "leaving" );
     812            return;
     813        }
     814
     815        $log->logdie("unhandled fault - ", $self->err);
     816    }
     817
     818    my $ext_ids = $response->result;
     819   
     820    $log->debug( "server found @$ext_ids" );
     821    $log->debug( "leaving" );
     822   
     823    return($ext_ids);
     824}
     825
    792826sub find_instances_for_cull
    793827{
Note: See TracChangeset for help on using the changeset viewer.