Hi Saju, All,

 

If it can help:

I have the same error for same context: starlingx iso (build 2018-Nov-11) in simplex mode.

 

Regards,

 

Lionel

 

cid:image001.png@01D480F0.B7C8E610

Lionel Fiat

IoT Architect

SL Big Data & Security – MCS ISS

Mob: +33 6 12 45 89 11

lionel.fiat@atos.net

1 Rue de Provence

BP 208

38130 ECHIROLLES

atos.net

cid:image002.gif@01D480F0.B7C8E610

 

From: Saju M <sajuptpm@gmail.com>
Sent: Tuesday, November 20, 2018 3:32 PM
To: starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss] Simplex mode : config_controller Failed to execute bootstrap manifest

 

Hi,

 

Is this is the reason of bootstrap failure ?

 

localhost:~$
localhost:~$
localhost:~$ cat /usr/share/puppet/modules/platform/lib/facter/platform_res_mem.rb
Facter.add(:platform_res_mem) do
  setcode "memtop | awk 'FNR == 3 {a=$13+$14} END {print a}'"
end
localhost:~$
localhost:~$
localhost:~$ sudo memtop | awk 'FNR == 3 {a=$13+$14} END {print a}'
Cannot open file: /sys/devices/system/node/node1/meminfo (No such file or directory) at /usr/bin/memtop line 257.

localhost:~$
localhost:~$

 

 

Regards
Saju Madhavan
+91 09535134654

 

 

On Tue, Nov 20, 2018 at 7:36 PM Saju M <sajuptpm@gmail.com> wrote:

HI,

 

I am using below starlingx iso (build 2018-Nov-11)
http://mirror.starlingx.cengn.ca/mirror/starlingx/centos/2018.10/20181110/outputs/iso/bootimage.iso

1)
“sudo config_controller” failed with following error message (Selected Simplex mode)

02/08 Applying bootstrap manifest … Failed to execute bootstrap manifest

2)
I run it again, but this time it failed with different error.
Configuration Failed: Configuration has already been done and cannot be repeated

I think, I have to delete “/tmp/config/cgcs_config” to re-run “sudo config_controller”.
Please let me know the procedure to re-run “sudo config_controller”.

3)
Let me go back to bootstrap error.


I have checked “puppet.log” and seen now error there, my be that is the reason of bootstrap failure.

localhost:~$
localhost:~$ sudo vim /var/log/puppet/latest/puppet.log
localhost:~$
2018-11-20T12:27:05.851 ^[[0;36mDebug: 2018-11-20 12:27:04 +0000 hiera(): Found platform::params::security_feature in global^[[0m
2018-11-20T12:27:05.856 ^[[1;31mError: 2018-11-20 12:27:04 +0000 Evaluation Error: Unknown variable: '::platform_res_mem'. at /usr/share/puppet/modules/platform/manifests/params.pp:37:23 on node localhost
2018-11-20T12:27:05.862 /usr/share/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:39:in `optionally_fail'
2018-11-20T12:27:05.867 /usr/share/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:99:in `get_variable_value'
localhost:~$
localhost:~$

 

Regards
Saju Madhavan
+91 09535134654