Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
a42f966d
Commit
a42f966d
authored
Jan 31, 2025
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos.cookbook: fix re6stManageToken after python3
The registry is sending bytes. This is a fixup of
9f0b1c97
.
parent
c8178fa3
Pipeline
#39437
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/recipe/re6stnet/re6stnet.py
slapos/recipe/re6stnet/re6stnet.py
+2
-2
No files found.
slapos/recipe/re6stnet/re6stnet.py
View file @
a42f966d
...
...
@@ -151,14 +151,14 @@ def checkService(client, token_base_path, token_json, computer_partition):
email
=
'%s@slapos'
%
slave_reference
.
lower
()
if
status
==
'TOKEN_USED'
:
try
:
ipv6
=
client
.
getIPv6Address
(
str
(
email
))
ipv6
=
client
.
getIPv6Address
(
str
(
email
))
.
decode
()
except
Exception
:
log
.
info
(
'Error for dump ipv6 for %s...
\
n
%s'
%
(
slave_reference
,
traceback
.
format_exc
()))
log
.
info
(
"%s, IPV6 = %s"
%
(
slave_reference
,
ipv6
))
try
:
ipv4
=
client
.
getIPv4Information
(
str
(
email
))
or
"0.0.0.0"
ipv4
=
client
.
getIPv4Information
(
str
(
email
))
.
decode
()
or
"0.0.0.0"
except
Exception
:
log
.
info
(
'Error for dump ipv4 for %s...
\
n
%s'
%
(
slave_reference
,
traceback
.
format_exc
()))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment