Wrong access right in /etc/pve

Discussion in 'Proxmox VE: Installation and configuration' started by MichaelA, Apr 11, 2012.

  1. MichaelA

    MichaelA New Member

    Joined:
    Jan 4, 2012
    Messages:
    13
    Likes Received:
    0
    Hello, folk.


    I've got issue when Proxmox hasn't access to the configs from Web-GUI.

    When I look at file system I see 440 instead of 640 as expected:

    Code:
    root@node1a /etc/pve/nodes/node1a/qemu-server # ls -l
    total 6.5K
    -r--r----- 1 root www-data 202 Jan  5 11:43 100.conf
    -r--r----- 1 root www-data 201 Jan  5 11:42 101.conf
    -r--r----- 1 root www-data 200 Jan  5 11:44 102.conf
    -r--r----- 1 root www-data 201 Jan  5 11:44 103.conf
    -r--r----- 1 root www-data 201 Jan  7 20:20 104.conf
    -r--r----- 1 root www-data 208 Jan  8 18:29 105.conf
    -r--r----- 1 root www-data 200 Jan  5 11:47 106.conf
    -r--r----- 1 root www-data 204 Apr  9 09:12 107.conf
    -r--r----- 1 root www-data 281 Apr  9 13:33 131.conf
    -r--r----- 1 root www-data 244 Mar  4 08:22 149.conf
    -r--r----- 1 root www-data 196 Jan  5 12:07 150.conf
    -r--r----- 1 root www-data 227 Jan  1 20:50 151.conf
    -r--r----- 1 root www-data 227 Dec 27 12:12 200.conf

    This is the mount:
    Code:
    root@node1a ~ # mount | grep pve
    /dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,default_permissions,allow_other)
    An here is is a PVE-version:
    Code:
    pve-manager: 2.0-57 (pve-manager/2.0/ff6cd700)
    running kernel: 2.6.32-11-pve
    proxmox-ve-2.6.32: 2.0-65
    pve-kernel-2.6.32-11-pve: 2.6.32-65
    lvm2: 2.02.88-2pve2
    clvm: 2.02.88-2pve2
    corosync-pve: 1.4.1-1
    openais-pve: 1.1.4-2
    libqb: 0.10.1-2
    redhat-cluster-pve: 3.1.8-3
    resource-agents-pve: 3.9.2-3
    fence-agents-pve: 3.1.7-2
    pve-cluster: 1.0-26
    qemu-server: 2.0-37
    pve-firmware: 1.0-15
    libpve-common-perl: 1.0-25
    libpve-access-control: 1.0-17
    libpve-storage-perl: 2.0-17
    vncterm: 1.0-2
    vzctl: 3.0.30-2pve2
    vzprocps: 2.0.11-2
    vzquota: 3.0.12-3
    pve-qemu-kvm: 1.0-9
    ksm-control-daemon: 1.1-1

    Restarting pve-cluster doesn't help
     
    #1 MichaelA, Apr 11, 2012
    Last edited: Apr 11, 2012
  2. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,523
    Likes Received:
    402
    if you loose quorum, write access is denied.

    check your cluster status.

    and dig deeper why you got these warnings:

    vzprocps: not correctly installed ksm-control-daemon: not correctly installed
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MichaelA

    MichaelA New Member

    Joined:
    Jan 4, 2012
    Messages:
    13
    Likes Received:
    0
    Yes, you right:
    Code:
    root@node1a ~ # pvecm status
    Version: 6.2.0
    Config Version: 6
    Cluster Name: nodesquad
    Cluster Id: 55506
    Cluster Member: Yes
    Cluster Generation: 52
    Membership state: Cluster-Member
    Nodes: 1
    Expected votes: 2
    Total votes: 1
    Node votes: 1
    [B]Quorum: 2 Activity blocked[/B]
    Active subsystems: 1
    Flags:
    Ports Bound: 0
    Node name: node1a
    Node ID: 1
    Multicast addresses: 239.192.216.171
    Node addresses: 213.239.205.99
    
    
    
    root@node1a ~ # pvecm nodes
    Node  Sts   Inc   Joined               Name
       1   M     52   2012-04-11 09:18:17  node1a
       2   X      0                        node1b
    
    
    root@node1a ~ # pvecm delnode 2
    cluster not ready - no quorum?
    This is probably because many time ago I tried to add second node to cluster. How can I remove this trash and leave just one node1a in cluster?

    Fixed. Corrected info in initial post. Thank you!
     
    #3 MichaelA, Apr 11, 2012
    Last edited: Apr 11, 2012
  4. MichaelA

    MichaelA New Member

    Joined:
    Jan 4, 2012
    Messages:
    13
    Likes Received:
    0
    I catched the quorum and got a result:

    Code:
    root@node1a ~ # pvecm expected 1
    
    root@node1a ~ # pvecm status
    Version: 6.2.0
    Config Version: 6
    Cluster Name: nodesquad
    Cluster Id: 55506
    Cluster Member: Yes
    Cluster Generation: 52
    Membership state: Cluster-Member
    Nodes: 1
    Expected votes: 1
    Total votes: 1
    Node votes: 1
    Quorum: 1
    Active subsystems: 1
    Flags:
    Ports Bound: 0
    Node name: node1a
    Node ID: 1
    Multicast addresses: 239.192.216.171
    Node addresses: 213.239.205.99
    
    
    root@node1a ~ # pvecm delnode node1b
    
    
    root@node1a ~ # pvecm nodes
    Node  Sts   Inc   Joined               Name
       1   M     52   2012-04-11 09:18:17  node1a
    
    
    root@node1a ~ # ls -l /etc/pve/nodes/node1a/qemu-server/
    total 6.5K
    -rw-r----- 1 root www-data 202 Jan  5 11:43 100.conf
    -rw-r----- 1 root www-data 201 Jan  5 11:42 101.conf
    -rw-r----- 1 root www-data 200 Jan  5 11:44 102.conf
    -rw-r----- 1 root www-data 201 Jan  5 11:44 103.conf
    -rw-r----- 1 root www-data 201 Jan  7 20:20 104.conf
    -rw-r----- 1 root www-data 208 Jan  8 18:29 105.conf
    -rw-r----- 1 root www-data 200 Jan  5 11:47 106.conf
    -rw-r----- 1 root www-data 204 Apr  9 09:12 107.conf
    -rw-r----- 1 root www-data 281 Apr  9 13:33 131.conf
    -rw-r----- 1 root www-data 244 Mar  4 08:22 149.conf
    -rw-r----- 1 root www-data 196 Jan  5 12:07 150.conf
    -rw-r----- 1 root www-data 227 Jan  1 20:50 151.conf
    -rw-r----- 1 root www-data 227 Dec 27 12:12 200.conf
    
    

    Thank you for assitance, Tom! :D
     
  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