Re: [qubes-users] Update problem with a 'debian-12-minimal' based template

2023-10-01 Thread Viktor Ransmayr
Hello Andrew,

Viktor Ransmayr schrieb am Mittwoch, 27. September 2023 um 20:56:59 UTC+2:

Am Mi., 27. Sept. 2023 um 08:23 Uhr schrieb Andrew David Wong <
a...@qubes-os.org>:

On 9/26/23 10:29 PM, Viktor Ransmayr wrote:

> ...
> Since I have not worked at all with Salt (yet) - and -  also have not 
> 'touched' dom-0 at all, I'd be very grateful for any advice on how to 
> resolve this probem.

It sounds like you might be hitting this bug:

https://github.com/QubesOS/qubes-issues/issues/8440


Thanks a lot for this info. - I'll 'monitor' the progress on this issue.


Just to confirm, that the update of  'debian-12-minimal' based template is 
working on my system now as well.

Thanks a lot for your support.

With kind regards,

Viktor

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/da7a9772-24f1-4e54-b504-4513a4d4ecebn%40googlegroups.com.


Re: [qubes-users] Update problem with a 'debian-12-minimal' based template

2023-09-27 Thread Viktor Ransmayr
Hello Andrew

Am Mi., 27. Sept. 2023 um 08:23 Uhr schrieb Andrew David Wong <
a...@qubes-os.org>:

> On 9/26/23 10:29 PM, Viktor Ransmayr wrote:
> > ...
> >
> > Since I have not worked at all with Salt (yet) - and -  also have not
> > 'touched' dom-0 at all, I'd be very grateful for any advice on how to
> > resolve this probem.
>
> It sounds like you might be hitting this bug:
>
> https://github.com/QubesOS/qubes-issues/issues/8440


Thanks a lot for this info. - I'll 'monitor' the progress on this issue.

With kind regards,

Viktor

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAAeSrGJ2oih64Zx6acOkVNK9VwVY1uU0kVdEv7pW992TyXqntA%40mail.gmail.com.


Re: [qubes-users] Update problem with a 'debian-12-minimal' based template

2023-09-27 Thread Andrew David Wong
On 9/26/23 10:29 PM, Viktor Ransmayr wrote:
> Hello community,
> 
> I've started to update my Debian-based VMs from 11 to 12.
> 
> As part of this exercise, I also switched from 'debian-11' to 
> 'debian-12-minimal' as the initial template to clone from.
> 
> In general I'm quite happy with the results in one working Test-VM. - 
> However, when the system tries to update the new template, I consistently 
> get the following error:
> 
> 
> 
> Updating debian-12-vrsq
> 
> Error on updating debian-12-vrsq: Command '['sudo', 'qubesctl', 
> '--skip-dom0', '--targets=debian-12-vrsq', '--show-output', 'state.sls', 
> 'update.qubes-vm']' returned non-zero exit status 20.
> debian-12-vrsq:
>   --
>   _error:
>   Failed to return clean data
>   retcode:
>   1
>   stderr:
>   Traceback (most recent call last):
> File "/var/tmp/.root_dd8a91_salt/salt-call", line 27, in 
> 
>   salt_call()
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/scripts.py", line 
> 437, in salt_call
>   import salt.cli.call
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/call.py", line 
> 3, in 
>   import salt.cli.caller
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/caller.py", 
> line 12, in 
>   import salt.channel.client
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/channel/client.py", 
> line 13, in 
>   import salt.crypt
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/crypt.py", line 26, 
> in 
>   import salt.payload
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/payload.py", line 
> 12, in 
>   import salt.loader.context
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/loader/__init__.py", line 15, in 
> 
>   import salt.config
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/config/__init__.py", line 107, in 
> 
>   _DFLT_IPC_WBUFFER = int(_gather_buffer_space() * 0.5)
>   ^^
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/config/__init__.py", line 95, in 
> _gather_buffer_space
>   import salt.grains.core
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/grains/core.py", 
> line 30, in 
>   import salt.modules.cmdmod
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/modules/cmdmod.py", 
> line 32, in 
>   import salt.utils.templates
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/utils/templates.py", line 21, in 
> 
>   import salt.utils.http
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/utils/http.py", 
> line 27, in 
>   import salt.ext.tornado.simple_httpclient
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/ext/tornado/simple_httpclient.py", 
> line 9, in 
>   from salt.ext.tornado.http1connection import HTTP1Connection, 
> HTTP1ConnectionParameters
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/ext/tornado/http1connection.py", 
> line 31, in 
>   from salt.ext.tornado import iostream
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/ext/tornado/iostream.py", line 42, 
> in 
>   import urllib3.util.ssl_match_hostname
>   ModuleNotFoundError: No module named 'urllib3'
>   [ERROR   ] An un-handled exception was caught by Salt's global 
> exception handler:
>   ModuleNotFoundError: No module named 'urllib3'
>   Traceback (most recent call last):
> File "/var/tmp/.root_dd8a91_salt/salt-call", line 27, in 
> 
>   salt_call()
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/scripts.py", line 
> 437, in salt_call
>   import salt.cli.call
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/call.py", line 
> 3, in 
>   import salt.cli.caller
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/caller.py", 
> line 12, in 
>   import salt.channel.client
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/channel/client.py", 
> line 13, in 
>   import salt.crypt
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/crypt.py", line 26, 
> in 
>   import salt.payload
> File "/var/tmp/.root_dd8a91_salt/pyall/salt/payload.py", line 
> 12, in 
>   import salt.loader.context
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/loader/__init__.py", line 15, in 
> 
>   import salt.config
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/config/__init__.py", line 107, in 
> 
>   _DFLT_IPC_WBUFFER = int(_gather_buffer_space() * 0.5)
>   ^^
> File 
> "/var/tmp/.root_dd8a91_salt/pyall/salt/config/__init__.py", line 95, in 
> _gather_buffer_space
>   import 

[qubes-users] Update problem with a 'debian-12-minimal' based template

2023-09-26 Thread Viktor Ransmayr
Hello community,

I've started to update my Debian-based VMs from 11 to 12.

As part of this exercise, I also switched from 'debian-11' to 
'debian-12-minimal' as the initial template to clone from.

In general I'm quite happy with the results in one working Test-VM. - 
However, when the system tries to update the new template, I consistently 
get the following error:



Updating debian-12-vrsq

Error on updating debian-12-vrsq: Command '['sudo', 'qubesctl', 
'--skip-dom0', '--targets=debian-12-vrsq', '--show-output', 'state.sls', 
'update.qubes-vm']' returned non-zero exit status 20.
debian-12-vrsq:
  --
  _error:
  Failed to return clean data
  retcode:
  1
  stderr:
  Traceback (most recent call last):
File "/var/tmp/.root_dd8a91_salt/salt-call", line 27, in 

  salt_call()
File "/var/tmp/.root_dd8a91_salt/pyall/salt/scripts.py", line 
437, in salt_call
  import salt.cli.call
File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/call.py", line 
3, in 
  import salt.cli.caller
File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/caller.py", 
line 12, in 
  import salt.channel.client
File "/var/tmp/.root_dd8a91_salt/pyall/salt/channel/client.py", 
line 13, in 
  import salt.crypt
File "/var/tmp/.root_dd8a91_salt/pyall/salt/crypt.py", line 26, 
in 
  import salt.payload
File "/var/tmp/.root_dd8a91_salt/pyall/salt/payload.py", line 
12, in 
  import salt.loader.context
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/loader/__init__.py", line 15, in 

  import salt.config
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/config/__init__.py", line 107, in 

  _DFLT_IPC_WBUFFER = int(_gather_buffer_space() * 0.5)
  ^^
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/config/__init__.py", line 95, in 
_gather_buffer_space
  import salt.grains.core
File "/var/tmp/.root_dd8a91_salt/pyall/salt/grains/core.py", 
line 30, in 
  import salt.modules.cmdmod
File "/var/tmp/.root_dd8a91_salt/pyall/salt/modules/cmdmod.py", 
line 32, in 
  import salt.utils.templates
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/utils/templates.py", line 21, in 

  import salt.utils.http
File "/var/tmp/.root_dd8a91_salt/pyall/salt/utils/http.py", 
line 27, in 
  import salt.ext.tornado.simple_httpclient
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/ext/tornado/simple_httpclient.py", 
line 9, in 
  from salt.ext.tornado.http1connection import HTTP1Connection, 
HTTP1ConnectionParameters
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/ext/tornado/http1connection.py", 
line 31, in 
  from salt.ext.tornado import iostream
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/ext/tornado/iostream.py", line 42, 
in 
  import urllib3.util.ssl_match_hostname
  ModuleNotFoundError: No module named 'urllib3'
  [ERROR   ] An un-handled exception was caught by Salt's global 
exception handler:
  ModuleNotFoundError: No module named 'urllib3'
  Traceback (most recent call last):
File "/var/tmp/.root_dd8a91_salt/salt-call", line 27, in 

  salt_call()
File "/var/tmp/.root_dd8a91_salt/pyall/salt/scripts.py", line 
437, in salt_call
  import salt.cli.call
File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/call.py", line 
3, in 
  import salt.cli.caller
File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/caller.py", 
line 12, in 
  import salt.channel.client
File "/var/tmp/.root_dd8a91_salt/pyall/salt/channel/client.py", 
line 13, in 
  import salt.crypt
File "/var/tmp/.root_dd8a91_salt/pyall/salt/crypt.py", line 26, 
in 
  import salt.payload
File "/var/tmp/.root_dd8a91_salt/pyall/salt/payload.py", line 
12, in 
  import salt.loader.context
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/loader/__init__.py", line 15, in 

  import salt.config
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/config/__init__.py", line 107, in 

  _DFLT_IPC_WBUFFER = int(_gather_buffer_space() * 0.5)
  ^^
File 
"/var/tmp/.root_dd8a91_salt/pyall/salt/config/__init__.py", line 95, in 
_gather_buffer_space
  import salt.grains.core
File "/var/tmp/.root_dd8a91_salt/pyall/salt/grains/core.py", 
line 30, in 
  import salt.modules.cmdmod
File "/var/tmp/.root_dd8a91_salt/pyall/salt/modules/cmdmod.py", 
line 32, in 
  import salt.utils.templates
File