We should find a way to make it more obvious in the logs but the exception you point out to should not be the reason for your error-commands to be triggered.
On the other hand, the `apt-get update` command failed and stopped the install (this is something we want to improve going forward) probably because the network was not up?
Traceback (most recent call last):
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/controllers/shutdown.py", line 77, in _wait_install
await self.app.controllers.Install.install_task
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/controllers/cmdlist.py", line 104, in _run
await Install.install_task
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/context.py", line 148, in decorated_async
return await meth(self, **kw)
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/controllers/install.py", line 160, in install
for_install_path = await self.configure_apt(context=context)
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/context.py", line 148, in decorated_async
return await meth(self, **kw)
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/controllers/install.py", line 131, in configure_apt
return await configurer.configure_for_install(context)
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/apt.py", line 225, in configure_for_install
await run_curtin_command(
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/curtin.py", line 181, in run_curtin_command
return await cmd.wait()
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/curtin.py", line 118, in wait
result = await self.runner.wait(self.proc)
File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/runner.py", line 81, in wait
raise subprocess.CalledProcessError(proc.returncode, proc.args)
subprocess.CalledProcessError: Command '['systemd-run', '--wait', '--same-dir', '--property', 'SyslogIdentifier=subiquity_log.2204', '--property', 'PrivateMounts=yes', '--setenv', 'PATH=/snap/subiquity/3698/bin:/snap/subiquity/3698/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/subiquity/3698/bin', '--setenv', 'PYTHONPATH=:/snap/subiquity/3698/lib/python3.8/site-packages', '--setenv', 'PYTHON=/snap/subiquity/3698/usr/bin/python3.8', '--setenv', 'SNAP=/snap/subiquity/3698', '--', '/snap/subiquity/3698/usr/bin/python3.8', '-m', 'curtin', '--showtrace', '-vvv', '--set', 'json:reporting={"subiquity": {"type": "journald", "identifier": "curtin_event.2204.2"}}', 'in-target', '-t', '/tmp/tmphza7l5jb/mount', '--', 'apt-get', 'update']' returned non-zero exit status 100.
2022-12-08 01:20:20,664 ERROR root:39 finish: subiquity/Install/install/configure_apt/cmd-in-target: FAIL: curtin command in-target
We should find a way to make it more obvious in the logs but the exception you point out to should not be the reason for your error-commands to be triggered.
On the other hand, the `apt-get update` command failed and stopped the install (this is something we want to improve going forward) probably because the network was not up?
Traceback (most recent call last): subiquity/ 3698/lib/ python3. 8/site- packages/ subiquity/ server/ controllers/ shutdown. py", line 77, in _wait_install controllers. Install. install_ task subiquity/ 3698/lib/ python3. 8/site- packages/ subiquity/ server/ controllers/ cmdlist. py", line 104, in _run install_ task subiquity/ 3698/lib/ python3. 8/site- packages/ subiquitycore/ context. py", line 148, in decorated_async subiquity/ 3698/lib/ python3. 8/site- packages/ subiquity/ server/ controllers/ install. py", line 160, in install install_ path = await self.configure_ apt(context= context) subiquity/ 3698/lib/ python3. 8/site- packages/ subiquitycore/ context. py", line 148, in decorated_async subiquity/ 3698/lib/ python3. 8/site- packages/ subiquity/ server/ controllers/ install. py", line 131, in configure_apt configure_ for_install( context) subiquity/ 3698/lib/ python3. 8/site- packages/ subiquity/ server/ apt.py" , line 225, in configure_ for_install subiquity/ 3698/lib/ python3. 8/site- packages/ subiquity/ server/ curtin. py", line 181, in run_curtin_command subiquity/ 3698/lib/ python3. 8/site- packages/ subiquity/ server/ curtin. py", line 118, in wait wait(self. proc) subiquity/ 3698/lib/ python3. 8/site- packages/ subiquity/ server/ runner. py", line 81, in wait CalledProcessEr ror(proc. returncode, proc.args) CalledProcessEr ror: Command '['systemd-run', '--wait', '--same-dir', '--property', 'SyslogIdentifi er=subiquity_ log.2204' , '--property', 'PrivateMounts= yes', '--setenv', 'PATH=/ snap/subiquity/ 3698/bin: /snap/subiquity /3698/usr/ bin:/usr/ local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/usr/ games:/ usr/local/ games:/ snap/bin: /snap/subiquity /3698/bin' , '--setenv', 'PYTHONPATH= :/snap/ subiquity/ 3698/lib/ python3. 8/site- packages' , '--setenv', 'PYTHON= /snap/subiquity /3698/usr/ bin/python3. 8', '--setenv', 'SNAP=/ snap/subiquity/ 3698', '--', '/snap/ subiquity/ 3698/usr/ bin/python3. 8', '-m', 'curtin', '--showtrace', '-vvv', '--set', 'json:reporting ={"subiquity" : {"type": "journald", "identifier": "curtin_ event.2204. 2"}}', 'in-target', '-t', '/tmp/tmphza7l5 jb/mount' , '--', 'apt-get', 'update']' returned non-zero exit status 100. Install/ install/ configure_ apt/cmd- in-target: FAIL: curtin command in-target
File "/snap/
await self.app.
File "/snap/
await Install.
File "/snap/
return await meth(self, **kw)
File "/snap/
for_
File "/snap/
return await meth(self, **kw)
File "/snap/
return await configurer.
File "/snap/
await run_curtin_command(
File "/snap/
return await cmd.wait()
File "/snap/
result = await self.runner.
File "/snap/
raise subprocess.
subprocess.
2022-12-08 01:20:20,664 ERROR root:39 finish: subiquity/