About cloud-init template and deploy

Discussion in 'Proxmox VE: Installation and configuration' started by TND, Jun 11, 2019.

  1. TND

    TND New Member

    Joined:
    May 19, 2019
    Messages:
    5
    Likes Received:
    0
    Dear Proxmox,

    I'm using proxmox module from Module Gardens for WHMCS.

    My Cluster: 3 Node, CEPH, Proxmox 5.4

    When trying to create a template Centos

    I Was
    1. Deploy CentOS 7
    2. yum install cloud-init
    3. Add Cloudinitdrive
    4. Convert to template
    when trying to deploy VM from this template (in WHMCS) using CEPH. I got this problem in Proxmox

    rbd: create error: (17) File exists
    TASK ERROR: error with cfs lock 'mypoolname': rbd create vm-102-cloudinit' error: rbd: create error: (17) File exists

    do you have any idea?

    Can you fix this?

    Thank you
     
  2. mira

    mira Proxmox Staff Member
    Staff Member

    Joined:
    Feb 25, 2019
    Messages:
    137
    Likes Received:
    10
    Please update your nodes. This issue has been fixed in qemu-server 5.0-52.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. TND

    TND New Member

    Joined:
    May 19, 2019
    Messages:
    5
    Likes Received:
    0
    Thank you, Mira

    How can I run upgrade this patch?

    Thank you
     
  4. mira

    mira Proxmox Staff Member
    Staff Member

    Joined:
    Feb 25, 2019
    Messages:
    137
    Likes Received:
    10
    Just update your nodes via 'apt update && apt full-upgrade'. As long as you have either the enterprise or the no-subscription repository configured you should have that package available.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. TND

    TND New Member

    Joined:
    May 19, 2019
    Messages:
    5
    Likes Received:
    0
    Hi Mira

    I was run

    Code:
    root@pve:~# apt update && apt full-upgrade
    Hit:1 http://security.debian.org stretch/updates InRelease
    Ign:2 http://ftp.debian.org/debian stretch InRelease                                                      
    Hit:3 http://ftp.debian.org/debian stretch-updates InRelease                                              
    Hit:4 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
    Hit:5 http://ftp.debian.org/debian stretch Release
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    All packages are up to date.
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    but my package still


    Code:
    proxmox-ve: 5.4-1 (running kernel: 4.15.18-12-pve)
    pve-manager: 5.4-3 (running version: 5.4-3/0a6eaa62)
    pve-kernel-4.15: 5.3-3
    pve-kernel-4.15.18-12-pve: 4.15.18-35
    ceph: 12.2.12-pve1
    corosync: 2.4.4-pve1
    criu: 2.11.1-1~bpo90
    glusterfs-client: 3.8.8-1
    ksm-control-daemon: 1.2-2
    libjs-extjs: 6.0.1-2
    libpve-access-control: 5.1-8
    libpve-apiclient-perl: 2.0-5
    libpve-common-perl: 5.0-50
    libpve-guest-common-perl: 2.0-20
    libpve-http-server-perl: 2.0-13
    libpve-storage-perl: 5.0-41
    libqb0: 1.0.3-1~bpo9
    lvm2: 2.02.168-pve6
    lxc-pve: 3.1.0-3
    lxcfs: 3.0.3-pve1
    novnc-pve: 1.0.0-3
    proxmox-widget-toolkit: 1.0-25
    pve-cluster: 5.0-36
    pve-container: 2.0-37
    pve-docs: 5.4-2
    pve-edk2-firmware: 1.20190312-1
    pve-firewall: 3.0-19
    pve-firmware: 2.0-6
    pve-ha-manager: 2.0-9
    pve-i18n: 1.1-4
    pve-libspice-server1: 0.14.1-2
    pve-qemu-kvm: 2.12.1-3
    pve-xtermjs: 3.12.0-1
    qemu-server: 5.0-50
    smartmontools: 6.5+svn4324-1
    spiceterm: 3.0-5
    vncterm: 1.5-3
    zfsutils-linux: 0.7.13-pve1~bpo2
    any idea?

    Thank you
     
  6. mira

    mira Proxmox Staff Member
    Staff Member

    Joined:
    Feb 25, 2019
    Messages:
    137
    Likes Received:
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. TND

    TND New Member

    Joined:
    May 19, 2019
    Messages:
    5
    Likes Received:
    0
  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