vMX

Expand all | Collapse all

vMX Installation failure (Still)

Jump to Best Answer
  • 1.  vMX Installation failure (Still)

     
    Posted 03-07-2018 08:06

    Hi,

     

    I am sorry to bother you guys..... I have tried extensive searches on Google to no avail.....

     

    I commit the command:

    sudo ./vmx.sh -lv --install

     

    It all goes really well until the very end where I then get the following:

    Assign Management MAC d0:67:e5:ed:eb:90...........[OK]
    Add default gw 10.100.7.254.......................[OK]
    Create br-int-vmx1................................[OK]
    Start br-int-vmx1.................................[OK]
    [Failed]
    Log file........................................../juniper/vmx/build/vmx1/logs/vmx_1520437727.log
    ==================================================
    Aborted!. 1 error(s) and 0 warning(s)

     

    The log files shows the following:

    [Command] virsh net-start default
    error: Failed to start network default
    error: internal error: Network is already in use by interface virbr0

     

    I'm almost there.... has anyone seen this before please?



  • 2.  RE: vMX Installation failure (Still)
    Best Answer

    Posted 03-07-2018 08:12
    Did you check the documentation:
    https://www.juniper.net/documentation/en_US/vmx17.4/topics/task/installation/vmx-install-preparing.html

    Note: If you cannot deploy vMX after upgrading libvirt, bring down the virbr0 bridge with the ifconfig virbr0 down command and delete the bridge with the brctl delbr virbr0 command.


  • 3.  RE: vMX Installation failure (Still)

     
    Posted 03-07-2018 08:19

    I will say great  minds think alike....... I came across this document and apllied before coming back here and it was successful.

     

    Thank you for your time 🙂

     



  • 4.  RE: vMX Installation failure (Still)

     
    Posted 03-07-2018 08:36

    Apologies. I am not going to disturb people with a "simple" new quesiton when it can be related to this issue (kind of)....

     

    If I have configured ge-0/0/0 in the config files, is there a reason why this interface will not show up when I type "run show interfaces terse"?

     

    Thanks



  • 5.  RE: vMX Installation failure (Still)

     
    Posted 03-07-2018 08:54

    Why is there no way of deleting asking stupid questions before thinking....... 

     

    Ignore the above question. I am really sorry for disturbing you....

     

     

     



  • 6.  RE: vMX Installation failure (Still)

     
    Posted 03-08-2018 01:29

    It would appear that maybe it's not such a stupid question:

     

    I have installed the 60 day license successfully (hence why I thought it was a silly question) and have configred the conf files as per the day one document and also as per another user has configured and still I have no ge-0/0/0 showing under interfaces terse.

     

    vmx.conf 

    HOST:
    identifier : vmx1 # Maximum 6 characters
    host-management-interface : em1
    routing-engine-image : "/juniper/vmx/images/junos-vmx-x86-64-17.4R1.16.qcow2"
    routing-engine-hdd : "/juniper/vmx/images/vmxhdd.img"
    forwarding-engine-image : "/juniper/vmx/images/vFPC-20171213.img"

     

    And "run show interfaces terse"

    cbp0 up up
    demux0 up up
    dsc up up
    em1 up up
    em1.0 up up inet 10.0.0.4/8
    128.0.0.1/2
    128.0.0.4/2
    inet6 fe80::5254:ff:fe9b:5273/64
    fec0::a:0:0:4/64
    tnp 0x4
    esi up up
    fxp0 up up
    fxp0.0 up up inet 192.168.10.20/24
    gre up up
    ipip up up
    irb up up
    jsrv up up
    jsrv.1 up up inet 128.0.0.127/2
    lo0 up up
    lo0.16384 up up inet 127.0.0.1 --> 0/0
    lo0.16385 up up inet
    lsi up up
    mtun up up
    pimd up up
    pime up up
    pip0 up up
    pp0 up up
    rbeb up up
    tap up up
    vtep up up

    CONTROL_PLANE:
    vcpus : 1
    memory-mb : 2048
    console_port: 8601

    interfaces :
    - type : static
    ipaddr : 10.102.144.94
    macaddr : "0A:00:DD:C0:DE:0E"

    FORWARDING_PLANE:
    memory-mb : 8192
    vcpus : 4
    console_port: 8602
    device-type : virtio

    interfaces :
    - type : static
    ipaddr : 10.102.144.98
    macaddr : "0A:00:DD:C0:DE:10"

     

    JUNOS_DEVICES:
    - interface : ge-0/0/0
    mac-address : "02:06:0A:0E:FF:F0"
    description : "ge-0/0/0 interface"

     

    And - vmx-junosdev.conf

    interfaces :

    - link_name : vmx_link
    mtu : 1500
    endpoint_1 :
    - type : junos_dev
    vm_name : vmx1
    dev_name : ge-0/0/0
    endpoint_2 :
    - type : host_dev
    dev_name : em1

     

    I don't think there is anything wrong here .... Has anyone else had this issue please?



  • 7.  RE: vMX Installation failure (Still)

     
    Posted 03-08-2018 02:07

    As an add on, when I run the following command:

     

    sudo ./vmx.sh --bind-dev

     

    I get this output:

    Warning! Numa node for em1 is unavailable, hence skipping CPU pinning.
    [OK]

     

    And then when I run  "brctl show", I get the following output:

    bridge name              bridge id                            STP enabled                  interfaces
    br-ext                    8000.d067e5edeb90                 yes                              br-ext-nic
                                                                                                                            em1
                                                                                                                            vcp-ext-vmx1
                                                                                                                            vfp-ext-vmx1
    br-int-vmx1         8000.52540036b379                  yes                             br-int-vmx1-nic
                                                                                                                            vcp-int-vmx1
                                                                                                                            vfp-int-vmx1
    virbr0                   8000.525400e5c85a                   yes                              virbr0-nic
    vmx_link1           8000.fe060a0efff0                       no                               ge-0.0.0-vmx1

     

    This should work, but yet I still have no ge-0/0/0 interface when running show interfaces terse

     

     

     



  • 8.  RE: vMX Installation failure (Still)

     
    Posted 03-08-2018 03:53

    Okay. I have managed to find a configuration error in the "vmx-junosdev.conf" file where "dev_name : em1" is not possible as it is already being used by "br-ext".... so I have changed this to "dev_name : em3" (also tried em2) .... restarted the vMX, also completed the "sudo ./vmx.sh --bind-dev" command and then completed the "brctl show" command, which gave the following output:

     

    bridge name                            bridge id                          STP enabled                          interfaces
    br-ext                                      8000.d067e5edeb90          yes                                      br-ext-nic
                                                                                                                                                 em1
                                                                                                                                                vcp-ext-vmx1
                                                                                                                                                vfp-ext-vmx1
    br-int-vmx1                            8000.525400014f8c            yes                                      br-int-vmx1-nic
                                                                                                                                                vcp-int-vmx1
                                                                                                                                                vfp-int-vmx1
    virbr0                                       8000.525400e5c85a            yes                                     virbr0-nic
    vmx_link1                               8000.d067e5edeb92            no                                       em2
                                                                                                                                                  em3
                                                                                                                                                  ge-0.0.0-vmx1

     

     

    Still no ge-0/0/0 interface in "show interfaces terse"

     

     



  • 9.  RE: vMX Installation failure (Still)

     
    Posted 03-08-2018 05:18

    I would like to open this to say "I know what I did".... but in all honesty I don't know.... all I did was restart the bind-dev and suddenly I have all the ge interfaces showing (although only 0/0/0 is up as it's the only one I have configured)....

     

    Apologies that I cannot give a more technical update but that's it.

     

    Thank you.