Problems with SRE-V Install

Version 1
    This document was generated from CDN thread

    Created by: Geoff Yates on 20-11-2010 01:34:01 AM
    HI Guys,
     
    I seem to get to this point
     
    Router#service-module sm 1/0 status
    Service Module is Cisco SM1/0
    Service Module supports session via TTY line 67
    Service Module is in Steady state
    Service Module heartbeat-reset is enabled
    Getting status from the Service Module, please wait..
    Cisco Foundation Software 1.0
    FNDN Running on SM
    Install of ftp://64.104.230.153/sre-v-k9.smv.1.0.0.35.pkg in progress
    Install status : File sre-v-k9.smv.1.0.0.35.pkg.install.sre requested
     
    Than what happens is teh process stops:
     
    Router#service-module sm 1/0 status
    Service Module is Cisco SM1/0
    Service Module supports session via TTY line 67
    Service Module is trying to recover from error
    Service Module heartbeat-reset is enabled
    Service Module status is not available
    No install/uninstall in progress

    No local partition
     
    Can see in my FTP logs
     
    New connection from 10.66.236.41
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12862]: (?@10.66.236.41)  Anonymous user logged in
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12862]: (ftp@10.66.236.41)  /Users/gyates/sre-v.beta.install-1.1.0.0.35//sre-v-k9.smv.1.0.0.35.pkg.install.sre downloaded  (1692 bytes, 10862.75KB/sec)
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12862]: (ftp@10.66.236.41)  Logout.
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12863]: (?@10.66.236.41)  New connection from 10.66.236.41
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12863]: (?@10.66.236.41)  Anonymous user logged in
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12863]: (ftp@10.66.236.41)  /Users/gyates/sre-v.beta.install-1.1.0.0.35//sre-v-k9.smv.1.0.0.35.pkg.install.sre downloaded  (1692 bytes, 10862.75KB/sec)
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12863]: (ftp@10.66.236.41)  Logout.
     
    All I get when sessioning to the SRE-V
     
    Initializing memory. Please wait...
    4,290,379,776 bytes of system memory tested OK

    Channel 0 Master : Hitachi HTE545050B9A300                
    Channel 1 Master : Hitachi HTE545050B9A300                
    DDR Memory 4096 MB detected
    Intel(R) Core(TM)2 Duo CPU     L9400  @ 1.86GHz
    BIOS SM 2.4,  BIOS Build date: 11/04/2009

    Intel(R) Core(TM)2 Duo CPU     L9400  @ 1.86GHz
    BIOS SM 2.4,  BIOS Build date: 11/04/2009
    System now booting...

     
    Please wait... 

    Please press P to select Primary Boot Loader ...  
              or S to select Secondary Boot Loader ...  
              or wait to boot from default configuration ...  

    .......................................................................................................
    SRE module get located and run....  

    Now booting from secondary boot loader....  


    Authenticating boot loader....  


    Secondary Boot Loader authenticated - booting....  



    Please enter '***' to change boot configuration:

    Detect and Initialze network device


    Backup current platform configurations....

    SRE step 1 - SM registration...

    Response - no installation needed (len: 422)

    SRE Installation Not Needed
    Loading disk:/bzImage ... done.
    Unable to load image
    ?nable to boot image



    Initializing memory. Please wait...

    Any help is appreciated.
    Cheers,
    Geoff

    Subject: RE: New Message from Geoff Yates in Service Ready Engine Virtualization - S
    Replied by: Radhika Miriyala on 20-11-2010 01:34:01 AM
    Hi Geoff,

    From the information you provided it looks like the install failed but the logs below do not provide complete information to say why. Can you please do the following:

    1)      Make sure you have all files from both (1 and 2) the tar files in the ftp directory. 

    2)      Make sure your service-module status displays ¿no Install in progress¿

    3)      Issue the install cli again from the IOS

    4)      Once you see that resource check is passes on the IOS session into the module (service-module sm 1/0 session)

    5)      If the install fails again please cut and paste all the console log and send it to us.



    Thanks,

    Radhika



    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Monday, September 27, 2010 8:19 PM
    To: cdicuser@developer.cisco.com
    Subject: New Message from Geoff Yates in Service Ready Engine Virtualization - SRE-V Beta Testing: Problems with SRE-V Install



    Geoff Yates has created a new message in the forum "SRE-V Beta Testing":
    --------------------------------------------------------------
    HI Guys,

    I seem to get to this point

    Router#service-module sm 1/0 status
    Service Module is Cisco SM1/0
    Service Module supports session via TTY line 67
    Service Module is in Steady state
    Service Module heartbeat-reset is enabled
    Getting status from the Service Module, please wait..
    Cisco Foundation Software 1.0
    FNDN Running on SM
    Install of ftp://64.104.230.153/sre-v-k9.smv.1.0.0.35.pkg in progress
    Install status : File sre-v-k9.smv.1.0.0.35.pkg.install.sre requested

    Than what happens is teh process stops:

    Router#service-module sm 1/0 status
    Service Module is Cisco SM1/0
    Service Module supports session via TTY line 67
    Service Module is trying to recover from error
    Service Module heartbeat-reset is enabled
    Service Module status is not available
    No install/uninstall in progress

    No local partition

    Can see in my FTP logs

    New connection from 10.66.236.41
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12862]: (?@10.66.236.41)  Anonymous user logged in
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12862]: (ftp@10.66.236.41)  /Users/gyates/sre-v.beta.install-1.1.0.0.35//sre-v-k9.smv.1.0.0.35.pkg.install.sre downloaded  (1692 bytes, 10862.75KB/sec)
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12862]: (ftp@10.66.236.41)  Logout.
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12863]: (?@10.66.236.41)  New connection from 10.66.236.41
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12863]: (?@10.66.236.41)  Anonymous user logged in
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12863]: (ftp@10.66.236.41)  /Users/gyates/sre-v.beta.install-1.1.0.0.35//sre-v-k9.smv.1.0.0.35.pkg.install.sre downloaded  (1692 bytes, 10862.75KB/sec)
    Sep 28 13:10:12 dhcp-64-104-230-153 pure-ftpd[12863]: (ftp@10.66.236.41)  Logout.

    All I get when sessioning to the SRE-V

    Initializing memory. Please wait...
    4,290,379,776 bytes of system memory tested OK

    Channel 0 Master : Hitachi HTE545050B9A300                
    Channel 1 Master : Hitachi HTE545050B9A300                
    DDR Memory 4096 MB detected
    Intel(R) Core(TM)2 Duo CPU     L9400  @ 1.86GHz
    BIOS SM 2.4,  BIOS Build date: 11/04/2009

    Intel(R) Core(TM)2 Duo CPU     L9400  @ 1.86GHz
    BIOS SM 2.4,  BIOS Build date: 11/04/2009
    System now booting...


    Please wait... 

    Please press P to select Primary Boot Loader ...  
              or S to select Secondary Boot Loader ...  
              or wait to boot from default configuration ...  

    .......................................................................................................
    SRE module get located and run....  

    Now booting from secondary boot loader....  


    Authenticating boot loader....  


    Secondary Boot Loader authenticated - booting....  



    Please enter '***' to change boot configuration:

    Detect and Initialze network device


    Backup current platform configurations....

    SRE step 1 - SM registration...

    Response - no installation needed (len: 422)

    SRE Installation Not Needed
    Loading disk:/bzImage ... done.
    Unable to load image
    ?nable to boot image



    Initializing memory. Please wait...

    Any help is appreciated.
    Cheers,
    Geoff
    --
    To respond to this post, please click the following link:
    <http://developer.cisco.com/group/srev/forums/-/message_boards/message/2579929>
    or simply reply to this email.

    Subject: RE: Problems with SRE-V Install
    Replied by: Geoff Yates on 20-11-2010 01:34:01 AM
    Ok, watching the session log it seems the files cannot be fetched.
     
    What is a RBIP frame?
     
    SRE step 1 - SM registration...

    SRE step 2 - SM requests key file info...

    !!! Opcode Error - Get a wrong RBIP frame !!!

    SRE step 3 - SM stores registration info...
    SRE configuration keeps the same. No flash update needed!

    SRE step 4 - SM downloads key-file...
    Writing keyfile to flash Size 916
    writing complete.

    SRE step 5 - SM requests installer info...

    !!! Opcode Error - Get a wrong RBIP frame !!!

    SRE step 6 - SM stores installer info...

    Updating flash with bootloader configuration.
    Please wait ................ done.

    SRE step 7 - SM now downloads installer
    done.

    SRE step 8 - SM requests tcl header file info...

    !!! Opcode Error - Get a wrong RBIP frame !!!

    SRE step 9 - SM now downloads the tcl header file
    TCL header file downloaded completely size: 698

    SRE step 10 - SM requests tcl file info...

    !!! Opcode Error - Get a wrong RBIP frame !!!

    SRE step 11 - SM now downloads the tcl file
    TCL file downloaded completely size: 1692

    SRE step 12 - SM now boots Installer
    Verifying ... done.
    Starting Kernel.

    Platform: sm
    INIT: version 2.86 booting
    mounting proc fs ...
    mounting sys fs ...
    mounting /dev/shm tmpfs ...
    kernel.sem = 1900 4000 32 100
    vm.overcommit_memory = 1


            Welcome to Cisco Service Engine

    Setting the system time from hardware clock

    ********** rc.aesop ****************
    Populating resource values from /etc/sm_rsrc_file
    Populating resource values from /etc/default_rsrc_file
    Populating resource values from /usr/etc/products/galactica/default_rsrc_file
    Populating resource values from /usr/etc/products/galactica/sm_rsrc_file
    ==> Management interface is eth0
    ==> Management interface is eth0
    IOS IP Address Registration complete.

    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    192.168.20.0    *               255.255.255.0   U         0 0          0 eth1
    192.168.10.0    *               255.255.255.0   U         0 0          0 eth0
    default         192.168.10.100  0.0.0.0         UG        0 0          0 eth0
    INIT: Entering runlevel: 2
    ********** rc.post_install ****************

    Changing owners and file permissions.
    Change owners and permissions complete.
    INIT: Switching to runlevel: 4
    INIT: Sending processes the TERM signal
    STARTED: dwnldr_startup.sh
    sre_type=  1
        Welcome to Cisco Systems Service Engine Helper Software

    Downloading ftp sre-v-k9.smv.1.0.0.35.pkg


    Error: Download error 
     Can not download sre-v-k9.smv.1.0.0.35.pkg
    error code 0 : error type 'couldn't connect to host'
    Unable to install. Please try again

    Subject: RE: New Message from Geoff Yates in Service Ready Engine Virtualization - S
    Replied by: Radhika Miriyala on 20-11-2010 01:34:01 AM
    Geoff,

    RBIP is a protocol used between the router and SM during installation. It is Cisco proprietary protocol. You can ignore the opcode errors you are seeing.



    But The error with not being able to download the pkg files is the real issue. This could be because your SM is not able reach your ftp server (router was able to but SM is not able to)

    1)       Have you configured the interface sm 1/0 interface as per the user guide? Please provide ¿show running ¿config¿ from the router

    2)      Please try to ping the IP address assigned to the Sm from the router. Make sure you are able to ping.

    3)      After step 2 passes. Make sure you are able to ping the SM from the ftp server.



    Thanks,

    Radhika





    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Monday, September 27, 2010 9:16 PM
    To: cdicuser@developer.cisco.com
    Subject: New Message from Geoff Yates in Service Ready Engine Virtualization - SRE-V Beta Testing: RE: Problems with SRE-V Install



    Geoff Yates has created a new message in the forum "SRE-V Beta Testing":
    --------------------------------------------------------------
    Ok, watching the session log it seems the files cannot be fetched.

    What is a RBIP frame?

    SRE step 1 - SM registration...

    SRE step 2 - SM requests key file info...

    !!! Opcode Error - Get a wrong RBIP frame !!!

    SRE step 3 - SM stores registration info...
    SRE configuration keeps the same. No flash update needed!

    SRE step 4 - SM downloads key-file...
    Writing keyfile to flash Size 916
    writing complete.

    SRE step 5 - SM requests installer info...

    !!! Opcode Error - Get a wrong RBIP frame !!!

    SRE step 6 - SM stores installer info...

    Updating flash with bootloader configuration.
    Please wait ................ done.

    SRE step 7 - SM now downloads installer
    done.

    SRE step 8 - SM requests tcl header file info...

    !!! Opcode Error - Get a wrong RBIP frame !!!

    SRE step 9 - SM now downloads the tcl header file
    TCL header file downloaded completely size: 698

    SRE step 10 - SM requests tcl file info...

    !!! Opcode Error - Get a wrong RBIP frame !!!

    SRE step 11 - SM now downloads the tcl file
    TCL file downloaded completely size: 1692

    SRE step 12 - SM now boots Installer
    Verifying ... done.
    Starting Kernel.

    Platform: sm
    INIT: version 2.86 booting
    mounting proc fs ...
    mounting sys fs ...
    mounting /dev/shm tmpfs ...
    kernel.sem = 1900 4000 32 100
    vm.overcommit_memory = 1


            Welcome to Cisco Service Engine

    Setting the system time from hardware clock

    ********** rc.aesop ****************
    Populating resource values from /etc/sm_rsrc_file
    Populating resource values from /etc/default_rsrc_file
    Populating resource values from /usr/etc/products/galactica/default_rsrc_file
    Populating resource values from /usr/etc/products/galactica/sm_rsrc_file
    ==> Management interface is eth0
    ==> Management interface is eth0
    IOS IP Address Registration complete.

    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    192.168.20.0    *               255.255.255.0   U         0 0          0 eth1
    192.168.10.0    *               255.255.255.0   U         0 0          0 eth0
    default         192.168.10.100  0.0.0.0         UG        0 0          0 eth0
    INIT: Entering runlevel: 2
    ********** rc.post_install ****************

    Changing owners and file permissions.
    Change owners and permissions complete.
    INIT: Switching to runlevel: 4
    INIT: Sending processes the TERM signal
    STARTED: dwnldr_startup.sh
    sre_type=  1
        Welcome to Cisco Systems Service Engine Helper Software

    Downloading ftp sre-v-k9.smv.1.0.0.35.pkg


    Error: Download error 
    Can not download sre-v-k9.smv.1.0.0.35.pkg
    error code 0 : error type 'couldn't connect to host'
    Unable to install. Please try again
    --
    To respond to this post, please click the following link:
    <http://developer.cisco.com/group/srev/forums/-/message_boards/message/2579987>
    or simply reply to this email.

    Subject: RE: Problems with SRE-V Install
    Replied by: Geoff Yates on 20-11-2010 01:34:01 AM
    Hi Radhika,
     
    Thanks for the tips.
     
    For the record it was a routing 101 issue whilst the router's ip address is on a routable subnet to corporate (i.e. my mac is running the ftp server from 64.104.250.153) the SM 1/0 is a private address range (192.168.20.x) in the lab.
     
    I know have the SRE-V software up and running now.
     
    Router#service-module sm 1/0 status
    Service Module is Cisco SM1/0
    Service Module supports session via TTY line 67
    Service Module is in Steady state
    Service Module heartbeat-reset is enabled
    Getting status from the Service Module, please wait..
    Cisco SRE-V Software 1.0.0.35
    SRE-V Running on SMV
    No install/uninstall in progress

    No local partition

    Thanks again for your support.
     
    Next trick is getting it talking to VCentre.
     
    Cheers,
     
    Geoff