ValueError: Old and New apt format defined with unequal values True vs False @ apt_preserve_sources_list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Low
|
Andres Rodriguez | ||
2.3 |
Won't Fix
|
Low
|
Unassigned | ||
cloud-init |
Invalid
|
Undecided
|
Unassigned | ||
curtin |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
All nodes have these same failed events:
Node post-installation failure - 'cloudinit' running modules for config
Node post-installation failure - 'cloudinit' running config-
Experiencing odd issues with the squid proxy not being reachable.
From a deployed node that had the event errors.
$ sudo cat /var/log/
$ sudo cat /var/log/
ubuntu@
sudo: unable to resolve host os-util-00
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
htop
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 76.4 kB of archives.
After this operation, 215 kB of additional disk space will be used.
Err:1 http://
Could not connect to 10.10.0.110:8000 (10.10.0.110). - connect (113: No route to host)
E: Failed to fetch http://
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Not sure if these things are related (the proxy not being reachable, and the node event errors) .... something is not right.
Related branches
- Server Team CI bot: Approve (continuous-integration)
- Chad Smith: Approve
-
Diff: 241 lines (+140/-35)3 files modifiedcurtin/commands/apt_config.py (+22/-6)
doc/topics/apt_source.rst (+57/-0)
tests/unittests/test_apt_custom_sources_list.py (+61/-29)
- Lee Trager (community): Approve
- MAAS Lander: Approve
-
Diff: 145 lines (+24/-21)3 files modifiedsrc/maasserver/compose_preseed.py (+15/-14)
src/maasserver/preseed.py (+2/-2)
src/maasserver/tests/test_compose_preseed.py (+7/-5)
summary: |
- failed events, borked nodes - ValueError: Old and New apt format defined - with unequal values True vs False @ apt_preserve_sources_list + ValueError: Old and New apt format defined with unequal values True vs + False @ apt_preserve_sources_list |
Changed in maas: | |
milestone: | 2.4.0alpha1 → 2.4.0alpha2 |
Changed in maas: | |
milestone: | 2.4.0alpha2 → 2.4.0beta1 |
Changed in maas: | |
importance: | Critical → Low |
Changed in maas: | |
milestone: | 2.4.0beta1 → 2.4.0beta2 |
Changed in maas: | |
milestone: | 2.4.0beta2 → 2.4.0beta3 |
Changed in maas: | |
milestone: | 2.4.0beta3 → 2.4.0beta4 |
Changed in maas: | |
milestone: | 2.4.0beta4 → 2.4.x |
Changed in maas: | |
milestone: | 2.4.x → 2.5.0beta2 |
Changed in maas: | |
milestone: | 2.5.0beta2 → 2.5.0rc1 |
Changed in maas: | |
milestone: | 2.5.0rc1 → 2.5.x |
Changed in maas: | |
assignee: | nobody → Andres Rodriguez (andreserl) |
milestone: | 2.5.x → 2.5.0rc1 |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 2.5.0rc1 → 2.5.0beta4 |
status: | Fix Committed → Fix Released |
oooh found it!
Traceback (most recent call last): python3/ dist-packages/ cloudinit/ stages. py", line 793, in _run_modules python3/ dist-packages/ cloudinit/ cloud.py" , line 54, in run run(name, functor, args, freq, clear_on_fail) python3/ dist-packages/ cloudinit/ helpers. py", line 187, in run python3/ dist-packages/ cloudinit/ config/ cc_apt_ configure. py", line 274, in handle to_v3_apt_ format( ocfg) python3/ dist-packages/ cloudinit/ config/ cc_apt_ configure. py", line 758, in convert_ to_v3_apt_ format v2_to_v3_ apt_format( cfg) python3/ dist-packages/ cloudinit/ config/ cc_apt_ configure. py", line 724, in convert_ v2_to_v3_ apt_format
File "/usr/lib/
freq=freq)
File "/usr/lib/
return self._runners.
File "/usr/lib/
results = functor(*args)
File "/usr/lib/
ocfg = convert_
File "/usr/lib/
cfg = convert_
File "/usr/lib/
oldkey))