cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dag Sonstebo <Dag.Sonst...@shapeblue.com>
Subject Re: libvirtd unable to obtain pidfile
Date Thu, 09 Aug 2018 13:29:22 GMT
Hi Ugo,

I came across the same in 18.04 earlier in the week. Can you try and remove the –d option
in /etc/default/libvirt-bin?

I.e. line should be just:

libvirtd_opts='-l'

I can’t guarantee this but worth a shot. Reboot the host before retrying adding it to ACS.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 09/08/2018, 14:15, "Ugo Vasi" <ugo.vasi@procne.it.INVALID> wrote:

    Hi all,
    I'm doing a fresh installation of ACS 4.11 on Ubuntu 16.04 in a KVM test 
    environment.
    I start the zone creation wizard with advanced zone. When the management 
    try to setup the agent, it fails.
    On the host the setup.log file end with this error:
    
    
    DEBUG:root:execute:sudo /usr/sbin/service cloudstack-agent start
    DEBUG:root:Failed to execute:A dependency job for 
    cloudstack-agent.service failed. See 'journalctl -xe' for details.
    
    
    Doing 'journalctl -xe' command I see that libvirtd return an error 
    (Failed to acquire pid) so the agent setup don't work:
    
    -- Unit libvirt-bin.service has begun starting up.
    Aug 09 14:49:47 p01upsx libvirtd[5309]: libvirt version: 1.3.1, package: 
    1ubuntu10.24 (Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 23 May 
    2018 13:29:29 -0400)
    Aug 09 14:49:47 p01upsx libvirtd[5309]: hostname: p01upsx
    Aug 09 14:49:47 p01upsx libvirtd[5307]: /usr/sbin/libvirtd: error: 
    Unable to obtain pidfile. Check /var/log/messages or run without 
    --daemon for more info.
    Aug 09 14:49:47 p01upsx libvirtd[5309]: Failed to acquire pid file 
    '/var/run/libvirtd.pid': Resource temporarily unavailable
    Aug 09 14:49:47 p01upsx systemd[1]: libvirt-bin.service: Main process 
    exited, code=exited, status=1/FAILURE
    Aug 09 14:49:47 p01upsx systemd[1]: Failed to start Virtualization daemon.
    -- Subject: Unit libvirt-bin.service has failed
    
    
    I see that there is an instance of  "/usr/sbin/libvirtd -d -l" that does 
    not stop even giving the command "/etc/init.d/libvirt-bin stop".
    
    Do you have an idea of why libvirtd gives this problem?
    
    Thanks
    
    
    -- 
    
    *Ugo Vasi* / System Administrator
    ugo.vasi@procne.it <mailto:ugo.vasi@procne.it>
    
    
    
    
    *Procne S.r.l.*
    +39 0432 486 523
    via Cotonificio, 45
    33010 Tavagnacco (UD)
    www.procne.it <http://www.procne.it/>
    
    
    Le informazioni contenute nella presente comunicazione ed i relativi 
    allegati possono essere riservate e sono, comunque, destinate 
    esclusivamente alle persone od alla Società sopraindicati. La 
    diffusione, distribuzione e/o copiatura del documento trasmesso da parte 
    di qualsiasi soggetto diverso dal destinatario è proibita sia ai sensi 
    dell'art. 616 c.p., che ai sensi del Decreto Legislativo n. 196/2003 
    "Codice in materia di protezione dei dati personali". Se avete ricevuto 
    questo messaggio per errore, vi preghiamo di distruggerlo e di informare 
    immediatamente Procne S.r.l. scrivendo all' indirizzo e-mail 
    info@procne.it <mailto:info@procne.it>.
    
    


Dag.Sonstebo@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 

Mime
View raw message