Viptela images isnt listed in nodes

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
Ondjultomte
Posts: 4
Joined: Sat Nov 18, 2017 8:01 pm

Viptela images isnt listed in nodes

Post by Ondjultomte » Wed Sep 25, 2019 9:49 pm

Hi! I have successfully added viptela images before, but now they just dont show up in the node list. so I need a second pari of eyes on my config.
What did I miss here?
vbondmissing.PNG
config with only vbond so far:

Code: Select all

u# cat /opt/unetlab/html/includes/config.php
<?php
// TEMPLATE MODE .missing or .hided
DEFINE('TEMPLATE_DISABLED','.hided') ;


/*   Define custom templates:
 *
 *   Create for exemple /opt/unetlab/html/templates/mytemplate.yaml and Create /opt/unetlab/html/templates/othertemplate.yaml
 *   Then uncomment lines below
 */

   $custom_templates =  Array(
        'vtbond-19.2' => 'vtBond-19.2'
   );

?>

Code: Select all

u# pwd
/opt/unetlab/qemu
root@eve-ng:/opt/unetlab/qemu# ll
totalt 24
drwxr-xr-x  6 root root 4096 sep 25 23:38 ./
drwxr-xr-x 11 root root 4096 sep 25 22:24 ../
drwxr-xr-x  2 root root 4096 sep 25 22:25 vtbond-19.2/
drwxr-xr-x  2 root root 4096 sep 25 22:26 vtedge-19.2/
drwxr-xr-x  2 root root 4096 sep 25 22:28 vtmgmt-19.2/
drwxr-xr-x  2 root root 4096 sep 25 22:27 vtsmart-19.2/

# pwd
/opt/unetlab/qemu/vtbond-19.2
root@eve-ng:/opt/unetlab/qemu/vtbond-19.2# ll
totalt 321736
drwxr-xr-x 2 root root      4096 sep 25 22:25 ./
drwxr-xr-x 6 root root      4096 sep 25 23:38 ../
-rw-r--r-- 1 root root 329449472 sep 25 22:03 hda.qcow2
root@eve-ng:/opt/unetlab/qemu/vtbond-19.2#
# pwd
/opt/unetlab/qemu/vtbond-19.2
root@eve-ng:/opt/unetlab/qemu/vtbond-19.2# ll
totalt 321736
drwxr-xr-x 2 root root      4096 sep 25 22:25 ./
drwxr-xr-x 6 root root      4096 sep 25 23:38 ../
-rw-r--r-- 1 root root 329449472 sep 25 22:03 hda.qcow2
root@eve-ng:/opt/unetlab/qemu/vtbond-19.2#



Code: Select all

s# pwd
/opt/unetlab/html/templates
root@eve-ng:/opt/unetlab/html/templates# ll vtbond-19.2.yml
-rw-r--r-- 1 root root 1869 sep 25 23:34 vtbond-19.2.yml
root@eve-ng:/opt/unetlab/html/templates# cat vtbond-19.2.yml
# Copyright (c) 2016, Andrea Dainese
# Copyright (c) 2018, Alain Degreffe
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of the UNetLab Ltd nor the name of EVE-NG Ltd nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

---
type: qemu
name: vtbond-19.2
cpulimit: 1
icon: vBond.png
cpu: 2
ram: 2048
ethernet: 2
eth_name:
- eth0
eth_format: ge0/{0}
console: telnet
shutdown: 1
qemu_arch: x86_64
qemu_version: 2.12.0
qemu_nic: virtio-net-pci
qemu_options: -machine type=pc,accel=kvm -vga std -usbdevice tablet -boot order=dc
root@eve-ng:/opt/unetlab/html/templates#
You do not have the required permissions to view the files attached to this post.

Ondjultomte
Posts: 4
Joined: Sat Nov 18, 2017 8:01 pm

Re: Viptela images isnt listed in nodes

Post by Ondjultomte » Wed Sep 25, 2019 10:18 pm

Ok ay I found out that the template has to be named vtbond.yml cant have other names.

Uldis (UD)
Posts: 5084
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Viptela images isnt listed in nodes

Post by Uldis (UD) » Thu Sep 26, 2019 6:17 am

you obviously must read how to and the cookbook
https://www.eve-ng.net/images/EVE-COMM- ... K-1.02.pdf

Correct in config.php yor template name must match.
3 values which must match:

image foldername first part like
vtbond-
must match with template name
vtbond.yml
and then this vtbond name must be in config.php

Uldis

Uldis (UD)
Posts: 5084
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Viptela images isnt listed in nodes

Post by Uldis (UD) » Thu Sep 26, 2019 6:21 am

BTW advice, use 19.1 images
19.2 vtedge is very buggy

Post Reply