Your message dated Thu, 25 Mar 2021 18:03:43 +0000
with message-id <[email protected]>
and subject line Bug#982682: fixed in ansible 2.10.7-2
has caused the Debian Bug report #982682,
regarding ansible: some syntax errors appear in the installation
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
982682: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982682
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ansible
Version: 2.10.7-1
Severity: normal
Dear Maintainer,
I installed the ansible package into my Debian box, and I got errors as
follows,
---------------cut--here----------------------
$ env LANG=C sudo apt install ansible
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
cowsay sshpass
The following NEW packages will be installed:
ansible
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.8 MB of archives.
After this operation, 198 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 ansible all 2.10.7-1
[16.8 MB]
Fetched 16.8 MB in 12s (1389 kB/s)
Selecting previously unselected package ansible.
(Reading database ... 349484 files and directories currently
installed.)
Preparing to unpack .../ansible_2.10.7-1_all.deb ...
Unpacking ansible (2.10.7-1) ...
Setting up ansible (2.10.7-1) ...
/usr/lib/python3/dist-
packages/ansible_collections/azure/azcollection/plugins/modules/azure_r
m_registrationassignment.py:233: SyntaxWarning: "is" with a literal.
Did you mean "=="?
if self.state is 'present':
/usr/lib/python3/dist-
packages/ansible_collections/cyberark/pas/plugins/modules/
cyberark_account.py:532: SyntaxWarning: 'str' object is not callable;
perhaps you missed a comma?
("child_module_parm_value: %s "
/usr/lib/python3/dist-
packages/ansible_collections/cyberark/pas/plugins/modules/
cyberark_account.py:573: SyntaxWarning: 'str' object is not callable;
perhaps you missed a comma?
"parameter_name=%s value=%s existing=%s"
/usr/lib/python3/dist-
packages/ansible_collections/cyberark/pas/plugins/modules/
cyberark_account.py:634: SyntaxWarning: 'str' object is not callable;
perhaps you missed a comma?
"parameter_name=%s value=%s existing=%s"
Scanning processes...
Scanning processor microcode...
Scanning linux images...
-------------------cut-here------------------
Then,
Then,
Q1.I attach the patch in this mail to fix this problem.
Could you apply this?
Q2. I'm looking for source code of upstream related to this error. Does
someone know where is upstream of the following two source code?
- ansible_collections/azure/azcollection/plugins/mo
dules/azure_rm_registrationassignment.py
- ansible_collections/cyberark/pas/plugins/modules/
cyberark_account.py
I tried to find out the upstreams of these codes, but I don't find them
yet.
I really appreciate any help you can provide.
Takahide Nojima
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500,
'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8),
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ansible depends on:
ii ansible-base 2.10.5+dfsg-1
ii openssh-client 1:8.4p1-3
ii python3 3.9.1-1
ii python3-distutils 3.9.1-2
ii python3-dnspython 2.0.0-1
ii python3-httplib2 0.18.1-3
ii python3-jinja2 2.11.2-1
ii python3-netaddr 0.7.19-4
ii python3-yaml 5.3.1-3+b1
Versions of packages ansible recommends:
ii python3-argcomplete 1.8.1-1.4
ii python3-cryptography 3.3.2-1
ii python3-jmespath 0.10.0-1
ii python3-kerberos 1.1.14-3.1+b3
ii python3-libcloud 3.2.0-2
ii python3-selinux 3.1-3
ii python3-winrm 0.3.0-2
ii python3-xmltodict 0.12.0-2
Versions of packages ansible suggests:
pn cowsay <none>
pn sshpass <none>
-- no debconf information
diff -uNr org/debian/changelog new/debian/changelog
--- org/debian/changelog 2021-02-10 08:44:56.000000000 +0900
+++ new/debian/changelog 2021-02-13 17:01:55.768549872 +0900
@@ -1,3 +1,10 @@
+ansible (2.10.7-1.1) UNRELEASED; urgency=medium
+
+ * fix some syntax errors in azure_rm_registrationassignment.py
+ * fix some syntax errors in cyberark_account.py
+
+ -- Takahide Nojima <[email protected]> Sat, 13 Feb 2021 16:59:58 +0900
+
ansible (2.10.7-1) unstable; urgency=medium
* New upstream release.
diff -uNr org/debian/patches/fix-subttle-syntax-errors.patch new/debian/patches/fix-subttle-syntax-errors.patch
--- org/debian/patches/fix-subttle-syntax-errors.patch 1970-01-01 09:00:00.000000000 +0900
+++ new/debian/patches/fix-subttle-syntax-errors.patch 2021-02-13 16:38:43.110158396 +0900
@@ -0,0 +1,40 @@
+--- a/ansible_collections/azure/azcollection/plugins/modules/azure_rm_registrationassignment.py
++++ b/ansible_collections/azure/azcollection/plugins/modules/azure_rm_registrationassignment.py
+@@ -230,7 +230,7 @@
+ response = old_response
+ self.results['state'] = response
+
+- if self.state is 'present':
++ if self.state == 'present':
+ if self.results['state'].get('properties', None) is not None:
+ registration_definition_id = self.results['state']['properties']['registration_definition_id']
+ self.results['state']['properties'].clear()
+--- a/ansible_collections/cyberark/pas/plugins/modules/cyberark_account.py
++++ b/ansible_collections/cyberark/pas/plugins/modules/cyberark_account.py
+@@ -530,7 +530,7 @@
+ if child_existing_account_value is not None:
+ logging.debug(
+ ("child_module_parm_value: %s "
+- "child_existing_account_value=%s path=%s")
++ "child_existing_account_value=%s path=%s") %
+ (
+ child_module_parm_value,
+ child_existing_account_value,
+@@ -570,7 +570,7 @@
+ }
+ )
+ logging.debug(
+- "parameter_name=%s value=%s existing=%s"
++ "parameter_name=%s value=%s existing=%s" %
+ (
+ path_value,
+ child_module_parm_value,
+@@ -631,7 +631,7 @@
+ }
+ )
+ logging.debug(
+- "parameter_name=%s value=%s existing=%s"
++ "parameter_name=%s value=%s existing=%s" %
+ (
+ parameter_name, module_parm_value,
+ existing_account_value
diff -uNr org/debian/patches/series new/debian/patches/series
--- org/debian/patches/series 2021-02-10 04:57:57.000000000 +0900
+++ new/debian/patches/series 2021-02-13 16:32:00.418722965 +0900
@@ -0,0 +1 @@
+fix-subttle-syntax-errors.patch
--- End Message ---
--- Begin Message ---
Source: ansible
Source-Version: 2.10.7-2
Done: Lee Garrett <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ansible, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Lee Garrett <[email protected]> (supplier of updated ansible package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 25 Mar 2021 18:09:54 +0100
Source: ansible
Architecture: source
Version: 2.10.7-2
Distribution: experimental
Urgency: medium
Maintainer: Lee Garrett <[email protected]>
Changed-By: Lee Garrett <[email protected]>
Closes: 982682
Changes:
ansible (2.10.7-2) experimental; urgency=medium
.
* Enable autopkgtests.
* Fix SyntaxWarnings (Closes: #982682)
Checksums-Sha1:
85c71a49283ec5c47e44d8334008500710b3c675 2893 ansible_2.10.7-2.dsc
9c1c0f7c27ecc151e1e2aa213c34cc7ee0a11d19 22852 ansible_2.10.7-2.debian.tar.xz
2b38295e41ac33e5663164bc6537b78112ec09a4 7604 ansible_2.10.7-2_amd64.buildinfo
Checksums-Sha256:
b09af5011c88f7fca64a88b14c6b106311859d3031de8264d7f52effe52fa5c6 2893
ansible_2.10.7-2.dsc
8276102b72c2923c6ae82f428ad3093ab009d8897657138b7867ec782f25e6da 22852
ansible_2.10.7-2.debian.tar.xz
22a257ef180759bc10e10bfd64b1051c0780adc9bb30f5909d42e5629cd66168 7604
ansible_2.10.7-2_amd64.buildinfo
Files:
2716401285c7f5db62d1aa24deb07770 2893 admin optional ansible_2.10.7-2.dsc
3a8d184264c54cc3ef2c8b19356a8ce2 22852 admin optional
ansible_2.10.7-2.debian.tar.xz
3fd87e294479ed4479d82ae227014e92 7604 admin optional
ansible_2.10.7-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQQzBAEBCgAdFiEE2EfGJRCpwv8kLOAs1gShxII+4PgFAmBcypUACgkQ1gShxII+
4PhUaB//RFhNxNTAM0nmHjb16qi3eZCRM4c8OrarKLOTZxulWafwGLrO2dBvJfqh
EVObQoF6nZF10zUBb/qq+BbfR2pkCHZTv1oVigLUCbdTS2YLw3vQneJ3D2MtEMxq
HhV/Kf5No++fmYnQorM/bW7qsiN+EyhmWdXnms2tw6snjBuMzhJ24DgveKSQUCI1
0KhAJEkBdQmIJ0I80Wc6ovSbyAxFfQaoHxBRY3p4uFYO4pQeUWtFLX+BoaZ08BSb
x/I4H/eMfVXkGj/R1tN8Qoc485n6gzJpk6lDDzOGIu+RqS7minnTf92aCTpB1JFb
a4VgUY4WZFhKU2kMCwvgnijz238iWCGQrWOR8vTFb1c7IS0Tgv5eU7I4v5GZsD+v
vbJwtSzRBFV4uEEvvVYvp0gk8/5k+jVBkUdDIWfrVKIilJuiWlWTmrt/EGSfWV8x
QgT6kEe+xWYbM5UF7V5VqreplC57SDUOMqLeqvbAZ7kVq61rMP9zf9klKDlWg4EF
SThZzFQhMqdBkHMfyszCYwjXD3kwbpolLgYBavnbmFjLaJ6I9SxxEwSJiO5mVsDk
Pk+yfPZrbzvAfBZqOUixdw/ebq4E+R2uW4LtWaPiM5LR2sci740S396gt0pv+4HO
n49A3zMDHXp1CDY2/a98sty2P8YQcrArIYWJ84Ag2slasBMzLIu1k+0nF0PzfNVY
FwV8tdGgbbrYzaN8Rpdawr52fmHqFK/PBReMIrKb4XVmZ163mUqAS/0dFFvIsFjs
sn5GK2QVKqeCXoOC5Xya/lrjs260flMB4gkLci78x4C44T1//kDNI0/6CPIyiVPV
bIpRuY9uhyqcD+gZu0ADGR018PSghzrUgN+e0kH+22XIxlgfOqOvXJ8YxIv27duA
QHiA35RmaW0VnSZnXHToA+3YBc5VKtD+y4iwjuacy5yYWp6vlieAqwdiGkb0VKcP
Y4RqliaiSuiUOAywrQyAD8h4U+oCIMU09qFg/45qIVycv0e651rmXHzn27HkulEk
kMhOc+WL16OyevWkcYeMftP3ERVIOF26zR6bEDj7M6nNh08bRU/umCL16s71/MBR
VlwC1WC+NfyfCRiNEB0Y8x2KQ04pGDmXq9QKf6CeTMm5pr5C0wtdlza69nl5W6x1
04EKm+AXFaFpcJO4AjQZzObr5/tvjmtEX8Mt9z075PS31wUZmdzQ6QvNpDOXUGcx
/IAOVpLg+hNicatvN8nlyhQlfJAA7AfKKfzA26pjmQYv1ue8njs3TXYqEe+flL2L
XlSjOEqToU2mDBjx3dEXbKtDatm2jm/mNDVEQ++s4gERU3P7ZJZeI2c5NQFCuV27
sLT9mzPLkw7bEavdtI0TOHh+h/izAw==
=0hYb
-----END PGP SIGNATURE-----
--- End Message ---