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.
> 


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to