Paste #582397

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
On MAAS 2.0 on Xenial [JUJU with MAAS]
--------------------------------------

$ juju bootstrap testmass-juju-controller testmaas

failed deployment. Curtin failed. Because of 1) Hash sum mismatch issue and some index files are not included. it was giving standard error. 

->Hash sum mismatch (apt-get issue).ERROR:Some failes not able to download.Some files not included. 
https://imagebin.ca/v/2vozu3EaJ8Lp
https://imagebin.ca/v/2vp1VeHaimg8

Curtin installation failed on the node where maas cloud bootstrapping is going on
----------------------------------------------------------------------------------
https://imagebin.ca/v/2vp3HrUFPhZF

Failed node deployment
-----------------------
https://imagebin.ca/v/2vp2UqM9xdqI

We tried to resolve this. But still facing the same issue.
https://imagebin.ca/v/2vp4lLEvyDQi

and While bootstrapping process going on, we ssh into that machine and under /etc/apt/apt.conf.d  we added Acquire::CompressionTypes::Order:: "gz";  to avoid hash sum mismatch issue. But curtin script is very fast and change is not reflecting. Now what i need to do?


Node powered off	Wed, 21 Sep. 2016 17:23:59
Node changed status - From 'Releasing' to 'Ready'	Wed, 21 Sep. 2016 17:23:59
Powering node off	Wed, 21 Sep. 2016 17:23:54
User releasing node - (admin) - Released by Juju MAAS provider	Wed, 21 Sep. 2016 17:23:54
Queried node's BMC - Power state queried: on	Wed, 21 Sep. 2016 17:09:11
Node changed status - From 'Deploying' to 'Failed deployment'	wed, 21 Sep. 2016 17:23:54
Marking node failed - Installation failed (refer to the installation log for more information).	wed, 21 Sep. 2016 17:22:44
Node installation failure - 'curtin' failed: curtin command install	wed, 21 Sep. 2016 17:22:12
Node installation failure - 'curtin' failed: configuring installed system	wed, 21 Sep. 2016 17:21:54
Node installation failure - 'curtin' failed: running 'curtin curthooks'	wed, 21 Sep. 2016 17:21:50
Node installation failure - 'curtin' failed: curtin command curthooks
Node installation failure - 'curtin' failed: installing kernel


maas.log
--------

Sep 20 21:28:48 maas-server maas.node: [INFO] node243: Status transition from READY to ALLOCATED
Sep 20 21:28:48 maas-server maas.node: [INFO] node243: allocated to user admin
Sep 20 21:28:49 maas-server maas.interface: [INFO] Allocated automatic IP address 192.168.10.3 for enp1s0f1 (physical) on node243.
Sep 20 21:28:49 maas-server maas.node: [INFO] node243: Status transition from ALLOCATED to DEPLOYING
Sep 20 21:28:49 maas-server maas.power: [INFO] Changing power state (on) of node: node243 (4y3h7q)
Sep 20 21:28:54 maas-server maas.power: [INFO] Changed power state (on) of node: node243 (4y3h7q)
Sep 20 21:29:51 maas-server maas.import-images: [INFO] Started importing boot images.
Sep 20 21:29:51 maas-server maas.import-images: [INFO] Downloading image descriptions from http://localhost:5240/MAAS/images-stream/streams/v1/index.json
Sep 20 21:29:51 maas-server maas.import-images: [INFO] Finished importing boot images, the region does not have any new images.
Sep 20 21:32:49 maas-server maas.node: [INFO] node243: Status transition from DEPLOYING to FAILED_DEPLOYMENT
Sep 20 21:32:49 maas-server maas.node: [ERROR] node243: Marking node failed: Installation failed (refer to the installation log for more information).