machine pending allocating image download

Mathias Strufe (DFKI) mathias.strufe at dfki.de
Mon May 8 08:56:20 UTC 2017


Dear Peter, thanks for your answer.

Yes since I'm waiting for additional HW I created meanwhile two VMs to 
have 4 machines in total in MAAS for provisioning.

Please find attached machine log and lxd log from the machine that 
stuck.

Do not wonder thats now machine 3 ... tried a bit with different 
machines and no its machine 3 thats stuck 20% ...
The VM itself is not stucked ...

Thanks a lot! Mathias.



On 2017-05-08 09:36, Peter Sabaini wrote:
> On 07.05.17 13:39, Mathias Strufe (DFKI) wrote:
>> Dear all,
>> 
>> I'm new in juju and facing currently following problem ...
>> my machines stuck very very often in pending allocating state ...
>> If I run show-machine on such a stucked machine I got follow output:
>> 
>> 
>> machines:
>> “0”:
>> juju-status:
>> current: started
>> since: 06 May 2017 21:17:21+02:00
>> version: 2.1.2
>> dns-name: 10.100.0.112
>> ip-addresses:
>> – 10.100.0.112
>> – 10.50.0.112
>> – 10.250.0.112
>> – 10.30.0.112
>> – 10.14.0.112
>> – 10.150.0.112
>> – 10.200.0.112
>> – 10.14.3.112
>> instance-id: r67qgw
>> machine-status:
>> current: running
>> message: Deployed
>> since: 06 May 2017 21:17:23+02:00
>> series: xenial
>> containers:
>> 0/lxd/0:
>> juju-status:
>> current: pending
>> since: 06 May 2017 21:17:58+02:00
>> instance-id: pending
>> machine-status:
>> current: pending
>> since: 06 May 2017 21:17:58+02:00
>> series: xenial
>> 0/lxd/1:
>> juju-status:
>> current: pending
>> since: 06 May 2017 21:17:59+02:00
>> instance-id: pending
>> machine-status:
>> current: allocating
>> message: ‘copying image for juju/xenial/amd64 from
>> https://cloud-images.ubuntu.com/daily:
>> 39% (10.18MB/s)’
>> since: 06 May 2017 21:22:39+02:00
>> series: xenial
>> 0/lxd/2:
>> juju-status:
>> current: pending
>> since: 06 May 2017 21:18:00+02:00
>> instance-id: pending
>> machine-status:
>> current: pending
>> since: 06 May 2017 21:18:00+02:00
>> series: xenial
>> constraints: mem=3584M
>> hardware: arch=amd64 cores=8 mem=32000M tags=virtual
>> availability-zone=Zone1_DC-Core
>> controller-member-status: has-vote
>> 
>> 
>> I figured out that the machine changes from try to try and always 
>> stuck
>> at different percentage stage while copying image ...
>> any idea about that ...
>> I had only two or three times that all machines finished that process
>> ... I don't know what to do? any ideas?
> 
> Just for clarity -- you seem to be using a VM which hosts LXD
> containers, right? Are the containers stuck or the VM itself?
> 
> The log messages from LXD and the log from machine 0 (juju ssh 0 ; sudo
> less /var/log/juju/machine-0.log or so) should have more info on what's
> going wrong.
> 
> HTH
> peter.
> 
>> 
>> thanks in advance!
>> 
>> Mathias.
>> 

-- 
Vielen Dank und Gruß Mathias.
Many Thanks and kind regards, Mathias.

--
Dipl.-Ing. (FH) Mathias Strufe
Wissenschaftlicher Mitarbeiter / Researcher
Intelligente Netze / Intelligent Networks

Phone: +49 (0) 631 205 75 - 1826
Fax:   +49 (0) 631 205 75 – 4400

E-Mail: Mathias.Strufe at dfki.de
WWW: http://www.dfki.de/web/forschung/in

WWW: https://selfnet-5g.eu/

--------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122
D-67663 Kaiserslautern, Germany

Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter 
Olthoff

Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes

Amtsgericht Kaiserslautern, HRB 2313
VAT-ID:  DE 148 646 973
--------------------------------------------------------------

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lxd.log
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170508/f835cc2d/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: machine-3.log
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170508/f835cc2d/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: showmachine3
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170508/f835cc2d/attachment-0002.ksh>


More information about the Juju mailing list