Brocade Management Software Community

Expand all | Collapse all

how to fix installing SDN controller error

  • 1.  how to fix installing SDN controller error

    Posted 12-30-2015 08:34 PM

    HI 

     

    I want test SDN and I installed SDN controller 2.2

     

    but running ./instller script with ERROR

     

    contoller start fail

     

    logs 

    ----------------------------------------------------------------------------------------------------

    Installer arguments: Namespace(i=False, j=None, n=None, s=None, zipfiles=[])
    Brocade SDN Controller Installation

    Starting @ : 2015-12-31 13:10:52.792599

    Performing prerequisite check ...
    Using discovered Java installation at /usr/lib/jvm/java-1.7.0-openjdk-i386
    JDK Check ................................ [ OK ]
    Attempting to identify default interface of host.
    ['default via 192.168.110.254 dev eth0 proto static \n', '192.168.110.0/24 dev eth0 proto kernel scope link src 192.168.110.190 metric 1 \n']
    Interface: eth0
    Attempting to find ip of default interface.
    IP Address: 192.168.110.190
    Return value: 192.168.110.190
    CPU Count Check: ......................... [ OK ]
    Memory Size Check: ....................... [ OK ]
    Added karaf option -XX:+HeapDumpOnOutOfMemoryError to the environment. Current Values:
    Added karaf option -Djava.security.properties to the environment. Current Values:
    Added karaf option -Dorg.apache.sshd.registerBouncyCastle to the environment. Current Values:
    Added karaf option -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark to the environment. Current Values:
    Running Command ['node', '--version']
    v0.10.41
    Controller stopped already .............

    Running pre-install scripts ...
    Re-Installing one or more .zip files:
    bvc-ext-utilities-packaging
    bvc-app-topologymanager-packaging
    bvc-core-ux-packaging
    bvc-ext-ovsdb-packaging

    Unpacking archives ....................... [ OK ]

    Setting up karaf container ............... [ OK ]

    Running controller pre-install scripts ...
    Running custom install script: com.brocade.bvc-bvc-core-bvc-controller.preinstall
    [WARNING] Skipping setting JAVA_MAX_MEM because it is already defined in the environment. Existing Value: 5007m
    [WARNING] Skipping -XX:+HeapDumpOnOutOfMemoryError karaf option because it is already defined in the environment. Existing Values: -XX:+HeapDumpOnOutOfMemoryError -Djava.security.properties=/opt/bvc/.lib/java.security.properties -Dorg.apache.sshd.registerBouncyCastle=false -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark
    [WARNING] Skipping -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark karaf option because it is already defined in the environment. Existing Values: -XX:+HeapDumpOnOutOfMemoryError -Djava.security.properties=/opt/bvc/.lib/java.security.properties -Dorg.apache.sshd.registerBouncyCastle=false -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark
    Running Command ['./com.brocade.bvc-bvc-core-bvc-controller.preinstall']
    HTTPS is off

    HTTPS is off

    Custom install script complete with code: 0
    **********Standard Output*******
    ['HTTPS is off\n']
    ********************************


    Configuring base features ................ [ OK ]

    Configuring all features ................. [ OK ]
    Start controller .......................[WARNING] Skipping setting JAVA_MAX_MEM because it is already defined in the environment. Existing Value: 5007m
    [WARNING] Skipping -XX:+HeapDumpOnOutOfMemoryError karaf option because it is already defined in the environment. Existing Values: -XX:+HeapDumpOnOutOfMemoryError -Djava.security.properties=/opt/bvc/.lib/java.security.properties -Dorg.apache.sshd.registerBouncyCastle=false -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark
    [WARNING] Skipping -Djava.security.properties karaf option because it is already defined in the environment. Existing Values: -XX:+HeapDumpOnOutOfMemoryError -Djava.security.properties=/opt/bvc/.lib/java.security.properties -Dorg.apache.sshd.registerBouncyCastle=false -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark

    Running Command ['/opt/bvc/controller/bin/start']
    Failed to start controler to OSError.
    Traceback (most recent call last):
    File "/opt/bvc/.lib/controller.py", line 296, in start
    safe_sleep(1)
    File "/opt/bvc/.lib/controller.py", line 1297, in safe_sleep
    select.select([], [], [], interval)
    File "/opt/bvc/.lib/controller.py", line 211, in alarm_handler
    raise OSError
    OSError

    Failed to start controller
    Traceback (most recent call last):
    File "./install", line 217, in main
    r_request = ctrl.install_extensions()
    File "/opt/bvc/.lib/controller.py", line 846, in install_extensions
    raise RuntimeError("Controller not running")
    RuntimeError: Controller not running


    #BrocadeManagementSoftwareCommunity


  • 2.  Re: how to fix installing SDN controller error

    Posted 01-06-2016 12:26 PM

    I have seen some timing-related installation issue when using low-resource machines. What are the specs of the system you're installing on?

     

    I'd also recommend asking in this forum: http://community.brocade.com/t5/Sofware-Defined-Networking/bd-p/softwarenetworkingforum - that forum is more about the SDN controller. (This one is mainly Brocade Network Advisor).


    #BrocadeManagementSoftwareCommunity