add veth interface on container

Discussion in 'Proxmox VE: Installation and configuration' started by udo, Oct 4, 2011.

  1. udo

    udo Well-Known Member
    Proxmox Subscriber

    Joined:
    Apr 22, 2009
    Messages:
    5,845
    Likes Received:
    159
    Hi,
    creating container work well:
    Code:
    pvectl create 420 debian-6.0-standard_6.0-4_i386.tar.gz
    
    But assigning an network interface provide an container which fail to run:
    Code:
    vzctl set 420 --netif_add eth0 --save
    vzctl start 420
    Starting container ...
    Container is mounted
    Setting CPU units: 1000
    Setting CPUs: 1
    Configure veth devices: veth420.0 
    .: 6: Can't open /etc/vz/conf/420.conf
    /usr/sbin/vznetcfg exited with error
    Container start failed (try to check kernel messages, e.g. "dmesg | tail")
    Stopping container ...
    Container was stopped
    Container is unmounted
    
    Because the old config-place of vznetcfg i do an symlink "ln -s /etc/pve/openvz/420.conf /etc/vz/conf/420.conf" and i can start the container.

    Udo
     
  2. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,640
    Likes Received:
    419
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. udo

    udo Well-Known Member
    Proxmox Subscriber

    Joined:
    Apr 22, 2009
    Messages:
    5,845
    Likes Received:
    159
    Hi,
    i must admit that i don't see thats the same error (if i found the error in the bugtracker, i think i report my error too) - but i'm sure that you are right.

    BTW. bugtracker - the accounts are complety diffrerent from forum/wiki? Just create an new one with the same name?

    Udo
     
  4. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,640
    Likes Received:
    419
    yes, we do not syncing any accounts so you need to register also for bugzilla.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice