[Bug 2044556] Re: 64x64@2 icons aren't getting mirrored

2024-04-12 Thread Heather Lemon
@yamiyukisenpai - sorry for the spam but it looks like github apt-mirror repo 
is looking for new maintainers and the code PR's are on hold for now.  
 
https://github.com/apt-mirror/apt-mirror/issues/139

debian upstream link: https://salsa.debian.org/debian/apt-mirror

** Bug watch added: github.com/apt-mirror/apt-mirror/issues #139
   https://github.com/apt-mirror/apt-mirror/issues/139

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2044556

Title:
  64x64@2 icons aren't getting mirrored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/2044556/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2044556] Re: 64x64@2 icons aren't getting mirrored

2024-04-12 Thread Heather Lemon
I assume you're referring to this github commit 
https://github.com/apt-mirror/apt-mirror/commit/36255f35e9a8698c46ce20d06412e8bc16f821fc
 

Need to be looking at the upstream commits - 
https://github.com/apt-mirror/apt-mirror/pull/103
https://github.com/apt-mirror/apt-mirror/pull/103/commits/7353ae0dfd1e26446f0edeb058cb583d95a80ee3

Related upstream github issue 
https://github.com/apt-mirror/apt-mirror/issues/102


** Changed in: apt-mirror (Ubuntu)
   Importance: Undecided => Medium

** Also affects: apt-mirror (Ubuntu Noble)
   Importance: Medium
 Assignee: Heather Lemon (hypothetical-lemon)
   Status: Confirmed

** Also affects: apt-mirror (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: apt-mirror (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: apt-mirror (Ubuntu Focal)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2044556

Title:
  64x64@2 icons aren't getting mirrored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/2044556/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2044556] Re: 64x64@2 icons aren't getting mirrored

2024-04-12 Thread Heather Lemon
@yamiyukisenpai please update the bug description as best as you can from this 
sru template doc - 
https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template 

Thanks,
Heather Lemon

** Bug watch added: github.com/apt-mirror/apt-mirror/issues #102
   https://github.com/apt-mirror/apt-mirror/issues/102

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2044556

Title:
  64x64@2 icons aren't getting mirrored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/2044556/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2044556] Re: 64x64@2 icons aren't getting mirrored

2024-04-11 Thread Heather Lemon
@yamiyukisenpai is there a way to reproduce the issue? Thanks!

** Changed in: apt-mirror (Ubuntu)
 Assignee: (unassigned) => Heather Lemon (hypothetical-lemon)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2044556

Title:
  64x64@2 icons aren't getting mirrored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/2044556/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-04-11 Thread Heather Lemon
@yamiyukisenpai I can take a look at the code next week.

Cheers,
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-04-08 Thread Heather Lemon
** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-03-28 Thread Heather Lemon
great thanks Andreas, I'll start Focal soon. Cheers

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-03-27 Thread Heather Lemon
*In a Jammy lxc container

I setup an apache server with these instructions [0]

edited /etc/apt/mirror.list

deb https://ftp.uni-stuttgart.de/ubuntu/ jammy multiverse

pulled latest with apt-mirror 
--
apt-mirror
Downloading 14 index files using 14 threads...
Begin time: Wed Mar 27 13:21:19 2024
[14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... 
[4]... [3]... [2]... [1]... [0]... 
End time: Wed Mar 27 13:21:26 2024

Processing translation indexes: [T]

Downloading 105 translation files using 20 threads...
Begin time: Wed Mar 27 13:21:26 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Wed Mar 27 13:21:30 2024

Processing DEP-11 indexes: [D]

Downloading 8 dep11 files using 8 threads...
Begin time: Wed Mar 27 13:21:30 2024
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Wed Mar 27 13:21:31 2024

Processing cnf indexes: [C]

Downloading 2 cnf files using 2 threads...
Begin time: Wed Mar 27 13:21:32 2024
[2]... [1]... [0]... 
End time: Wed Mar 27 13:21:32 2024

Processing indexes: [P]

5.4 GiB will be downloaded into archive.
Downloading 589 archive files using 20 threads...
Begin time: Wed Mar 27 13:21:32 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Wed Mar 27 13:27:25 2024

6.7 GiB in 1000 files and 562 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/var/spool/apt-mirror/var/postmirror.sh)


Post Mirror script has completed. See above output for any possible errors.

-

double checked that we had something in /var/spool 
/var/spool/apt-mirror/mirror/ftp.uni-stuttgart.de/ubuntu/dists/jammy

create symbolic link in apache - /var/
cd /var/www 
ls
ubuntu_de -> /var/spool/apt-mirror/mirror/ftp.uni-stuttgart.de/ubuntu//

edited /etc/apt/sources.list to get our apache hosted files
* only use this line in our sources.list, for readability 

deb http://localhost/ubuntu_de/ jammy multiverse

# run apt-get update
root@jammy-list-mirror:/etc/apt# sudo apt-get update
Get:1 http://localhost/ubuntu_de jammy InRelease [270 kB]
Ign:2 http://localhost/ubuntu_de jammy/multiverse amd64 Packages
Ign:3 http://localhost/ubuntu_de jammy/multiverse Translation-en
Ign:4 http://localhost/ubuntu_de jammy/multiverse amd64 c-n-f Metadata
Get:2 http://localhost/ubuntu_de jammy/multiverse amd64 Packages [217 kB]
Get:3 http://localhost/ubuntu_de jammy/multiverse Translation-en [112 kB]
Get:4 http://localhost/ubuntu_de jammy/multiverse amd64 c-n-f Metadata [8372 B]

We can see our apache-hosted symlink works as expected with packages from our 
mirror.list pointed to our upstream repo 
(https://ftp.uni-stuttgart.de/ubuntu/). 

[0] https://blog.programster.org/set-up-a-local-ubuntu-mirror-with-apt-
mirror


Thanks,
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2056802] Re: crypttab does not honor `x-initrd.attach` option

2024-03-22 Thread Heather Lemon
ack, thanks I will mark as invalid.

systemd brings its own crypttab implementation. We try to cover the
   differences between the systemd and our implementation in this manpage,

https://manpages.ubuntu.com/manpages/noble/en/man5/crypttab.5.html#on%20different%20crypttab%20formats

** Changed in: systemd (Ubuntu Focal)
   Status: Incomplete => Invalid

** Changed in: systemd (Ubuntu Jammy)
   Status: Incomplete => Invalid

** Changed in: systemd (Ubuntu Mantic)
   Status: Incomplete => Invalid

** Changed in: systemd (Ubuntu Noble)
   Status: Incomplete => Invalid

** Changed in: systemd (Ubuntu Noble)
     Assignee: Heather Lemon (hypothetical-lemon) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056802

Title:
  crypttab does not honor `x-initrd.attach` option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2056802/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1972664] Re: networkd-dispatcher[1079401]: ERROR:Unknown interface index 88 seen even after reload

2024-03-19 Thread Heather Lemon
** Also affects: networkd-dispatcher (Ubuntu Focal)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972664

Title:
  networkd-dispatcher[1079401]: ERROR:Unknown interface index 88 seen
  even after reload

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/networkd-dispatcher/+bug/1972664/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-03-14 Thread Heather Lemon
Ah okay, I was thinking something like this where they setup apache, but
if I can get away with ftp / python server I can try that.

https://blog.programster.org/set-up-a-local-ubuntu-mirror-with-apt-
mirror

Thanks,
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2056802] [NEW] crypttab does not honor `x-initrd.attach` option

2024-03-11 Thread Heather Lemon
Public bug reported:

From systemd version 245+ an option was added x-initrd.attach

-

Setup this encrypted block device in the initrd, similarly to
systemd.mount(5) units marked with x-initrd.mount.

 Although it's not necessary to mark the mount entry for the root file
system with x-initrd.mount, x-initrd.attach is still recommended with
the encrypted block device containing the root file system as otherwise
systemd will attempt to detach the device during the regular system
shutdown while it's still in use. With this option the device will still
be detached but later after the root file system is unmounted.

All other encrypted block devices that contain file systems mounted in
the initrd should use this option.

 Added in version 245. [0]

-

release: noble
systemd version: 253.5-1ubuntu6

Install noble to a vm with virt-manager and encrypt the lvm during subiquity 
install.
After successful install,
Modify /etc/crypttab to include the parameter in the 4th column
example:
sda6_crypt UUID=099aae4a-b11b-49a6-a6c4-62939eddf7a0 none luks,x-initrd.attach

update-initramfs -u -k all

During boot or shutdown the logs show
cryptsetup: WARNING: dm_crypt-0: ignoring unknown option x-initrd.attach

There are two separate problems
1. crypttab doesn't recognize x-initrd.attach option in /etc/crypttab file.
 cryptsetup: WARNING: dm_crypt-0: ignoring unknown option x-initrd.attach
2. this error happens on shutdown/restart
  [systemd-cryptsetup]: Device dm-crypt-0 is still in use.
  [systemd-cryptsetup]: Failed to deactivate: Device or resource busy.
The vm does eventually shutdown after throwing the above warnings.

[0]
https://www.freedesktop.org/software/systemd/man/latest/crypttab.html#x-initrd.attach

These patches look like they could fix the issue, The last one might not be 
needed.
git format-patch -1 8ce02b87cece09797c1030c778db4180e1e2ce2e
https://github.com/systemd/systemd/commit/8ce02b87cece09797c1030c778db4180e1e2ce2e

git format-patch -1 1dc85eff1d0dff18aaeaae530c91bf53f34b726e
https://github.com/systemd/systemd/commit/1dc85eff1d0dff18aaeaae530c91bf53f34b726e

git format-patch -1 bf1484c70a24cf04c145a9509c8124ffd7fb0879
https://github.com/systemd/systemd/commit/bf1484c70a24cf04c145a9509c8124ffd7fb0879

** Affects: systemd (Ubuntu)
 Importance: Undecided
 Assignee: Heather Lemon (hypothetical-lemon)
 Status: New

** Affects: systemd (Ubuntu Bionic)
 Importance: Undecided
 Status: Won't Fix

** Affects: systemd (Ubuntu Focal)
 Importance: Undecided
 Status: New

** Affects: systemd (Ubuntu Jammy)
 Importance: Undecided
 Status: New

** Affects: systemd (Ubuntu Mantic)
 Importance: Undecided
 Status: New

** Affects: systemd (Ubuntu Noble)
 Importance: Undecided
 Assignee: Heather Lemon (hypothetical-lemon)
 Status: New

** Changed in: systemd (Ubuntu)
 Assignee: (unassigned) => Heather Lemon (hypothetical-lemon)

** Also affects: systemd (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: systemd (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: systemd (Ubuntu Noble)
   Importance: Undecided
 Assignee: Heather Lemon (hypothetical-lemon)
   Status: New

** Also affects: systemd (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Also affects: systemd (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Description changed:

  From systemd version 245+ an option was added x-initrd.attach, which
  
  Setup this encrypted block device in the initrd, similarly to
  systemd.mount(5) units marked with x-initrd.mount.
  
-  Although it's not necessary to mark the mount entry for the root file
+  Although it's not necessary to mark the mount entry for the root file
  system with x-initrd.mount, x-initrd.attach is still recommended with
  the encrypted block device containing the root file system as otherwise
  systemd will attempt to detach the device during the regular system
  shutdown while it's still in use. With this option the device will still
  be detached but later after the root file system is unmounted.
  
  All other encrypted block devices that contain file systems mounted in
  the initrd should use this option.
  
-  Added in version 245. [0]
+  Added in version 245. [0]
  
  -
  
- release: noble 
+ release: noble
  systemd version: 253.5-1ubuntu6
  
  Install noble to a vm with virt-manager and encrypt the lvm during subiquity 
install.
  After successful install,
- Modify /etc/crypttab to include the parameter in the 4th column 
+ Modify /etc/crypttab to include the parameter in the 4th column
  example:
  sda6_crypt UUID=099aae4a-b11b-49a6-a6c4-62939eddf7a0 none luks,x-initrd.attach
  
  update-initramfs -u -k all
  
- During boot or shutdown the logs show 
+ During boot or shutdown the logs show
  cryptsetup: WARNING: dm_crypt-0: ignoring unknown option x-initrd.attach
  
- There are 

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-03-11 Thread Heather Lemon
g 8 dep11 files using 8 threads...
Begin time: Mon Mar 11 14:56:13 2024
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Mon Mar 11 14:56:15 2024

Processing cnf indexes: [C]

Downloading 2 cnf files using 2 threads...
Begin time: Mon Mar 11 14:56:15 2024
[2]... [1]... [0]... 
End time: Mon Mar 11 14:56:15 2024

Processing indexes: [P]

5.3 GiB will be downloaded into archive.
Downloading 813 archive files using 20 threads...
Begin time: Mon Mar 11 14:56:15 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... 
[0]... 
End time: Mon Mar 11 15:04:50 2024

6.7 GiB in 1000 files and 562 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/var/spool/apt-mirror/var/postmirror.sh)

Post Mirror script has completed. See above output for any possible errors.
---

I edited the sources.list again to include the other mirror
https://ftp.uni-stuttgart.de/ubuntu 
then ran apt-get update
---
apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:3 https://ftp.uni-stuttgart.de/ubuntu focal InRelease [265 kB]
Get:4 https://ftp.uni-stuttgart.de/ubuntu focal/multiverse amd64 Packages [144 
kB]
Get:5 https://ftp.uni-stuttgart.de/ubuntu focal/multiverse Translation-en [104 
kB]
Get:6 https://ftp.uni-stuttgart.de/ubuntu focal/multiverse amd64 c-n-f Metadata 
[9136 B]
Fetched 523 kB in 3s (181 kB/s) 
Reading package lists... Done

-

Seems to be what is expected please let me know of any other testing.

Thanks,
Heather Lemon

### JAMMY VERIFICATION-DONE #2 ###

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1987663] Re: cinder-volume: "Failed to re-export volume, setting to ERROR" with "tgtadm: failed to send request hdr to tgt daemon, Transport endpoint is not connected" on service startup

2024-03-08 Thread Heather Lemon
The only one I can confirm fixes the issue is Mantic. 
I tried testing Noble series, but ran into issues executing Openstack commands 
with the steps above (500).

Thanks,
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1987663

Title:
  cinder-volume: "Failed to re-export volume, setting to ERROR" with
  "tgtadm: failed to send request hdr to tgt daemon, Transport endpoint
  is not connected" on service startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1987663/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-02-26 Thread Heather Lemon
### FOCAL VERIFICATION-DONE  ###

previous apt-mirror version: 0.5.4-1
sudo apt-get install apt-mirror 
vim /etc/apt/mirror.list
deb http://archive.ubuntu.com/ubuntu eoan-updates main restricted universe 
multiverse
./apt-mirror
...
apt-mirror: can't open index 
archive.ubuntu.com/ubuntu//dists/artful-updates/main/source/Sources in 
process_index at /usr/bin/apt-mirror line 800.
 

** note we do not see any cnf files listed here in the output of apt-
mirror.

# enabled proposed pocket
new apt-mirror version: 0.5.4-1ubuntu1.20.04.1
apt-get install --only-upgrade apt-mirror

# edit /etc/apt/mirror.list to use only multiverse
deb http://archive.ubuntu.com/ubuntu focal main multiverse

Downloading 22 index files using 20 threads...
Begin time: Mon Feb 26 17:16:45 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Mon Feb 26 17:16:47 2024

Processing translation indexes: [T]

Downloading 252 translation files using 20 threads...
Begin time: Mon Feb 26 17:16:47 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Mon Feb 26 17:16:49 2024

Processing DEP-11 indexes: [D]

Downloading 16 dep11 files using 16 threads...
Begin time: Mon Feb 26 17:16:49 2024
[16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... 
[6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Mon Feb 26 17:16:50 2024

Processing cnf indexes: [C]

Downloading 4 cnf files using 4 threads...
Begin time: Mon Feb 26 17:16:50 2024
[4]... [3]... [2]... [1]... [0]... 
End time: Mon Feb 26 17:16:50 2024

Processing indexes: [P]

11.6 GiB will be downloaded into archive.
Downloading 6903 archive files using 20 threads...
Begin time: Mon Feb 26 17:16:51 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Mon Feb 26 17:23:38 2024

0 bytes in 0 files and 0 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/var/spool/apt-mirror/var/postmirror.sh)


Post Mirror script has completed. See above output for any possible errors.

# checking apt-get update
apt-get update
Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]

Thanks,
Heather Lemon 

### FOCAL VERIFICATION-DONE ###

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-02-26 Thread Heather Lemon
** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-02-26 Thread Heather Lemon
I forgot to mention, I saw c-n-f files in apt-update as well 
Get:5 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 c-n-f 
Metadata [1464 B]

*will re-test with just multiverse turned on just because the repos are
so huge.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825755] Re: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files

2024-02-26 Thread Heather Lemon
### JAMMY VERIFICATION  ###

Install a lxc jammy container
previous apt-mirror version: 0.5.4-1
sudo apt-get install apt-mirror 
vim /etc/apt/mirror.list
deb http://archive.ubuntu.com/ubuntu eoan-updates main restricted universe 
multiverse
./apt-mirror
...
Failed to open Release file from 
http://archive.ubuntu.com/ubuntu/dists/eoan-updates/Release at 
/usr/bin/apt-mirror line 653.
 

** Running apt-mirror never successfully finishes and errors out **

### Proposed
- enable Proposed pocket
new apt-mirror version: 0.5.4-1ubuntu0.22.04.1

# show mirror.list
vim /etc/apt/mirror.list

# run apt-mirror without bug line 
apt-mirror 
Downloading 162 index files using 20 threads...
Begin time: Mon Feb 26 14:03:44 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Mon Feb 26 14:03:48 2024

Processing translation indexes: [TTT]

Downloading 558 translation files using 20 threads...
Begin time: Mon Feb 26 14:03:48 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Mon Feb 26 14:03:54 2024

Processing DEP-11 indexes: [DDD]

Downloading 64 dep11 files using 20 threads...
Begin time: Mon Feb 26 14:03:54 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Mon Feb 26 14:03:56 2024

Processing cnf indexes: [CCC]

Downloading 24 cnf files using 20 threads...
Begin time: Mon Feb 26 14:03:56 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... 
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Mon Feb 26 14:03:56 2024

Processing indexes: [SSSPPP]

425.7 GiB will be downloaded into archive.
Downloading 195380 archive files using 20 threads...
Begin time: Mon Feb 26 14:04:19 2024
[20]... ^C

425.7 GiB will be downloaded into archive. <--- this line is concerning,
is this the correct behavior? *Note - we do see the new cnf files being
collected and added.

Thanks,
Heather Lemon

### JAMMY VERIFICATION ###

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825755

Title:
  apt-mirror in all versions (including disco and last from github)
  doesn't mirror Commands-* files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-05-20 Thread Heather Lemon
### VERIFICATION DONE KINETIC ###

# create lxc 
lxc launch images:ubuntu/kinetic etcdkinetic

# Previous package 
package name: python-etcd3gw
package version:  python-etcd3gw_0.2.5-1ubuntu2
series: Kinetic

python2 -c "print(b'hello_world'.decode().decode('utf-8'))"
hello_world
root@etcdkinetic:~/python-etcd3gw-0.2.5# python3 -c 
"print(b'hello_world'.decode().decode('utf-8'))"
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?


apt build-dep .
debuild -us -uc 
All unit tests passed. 

#start etcd server in new shell
etcd 

# open new shell, add a watch on foo

etcdctl watch foo -f

# run etcdctl commands 
etcdctl set foo bar
etcdctl update foo foodbarbar
etcdctl rm foo
etcdctl mk foo foobarbar

The watch is working and responsive to etcdctl commands 
the etcdctl watch command is working as intended shown in seperate terminal

etcdctl watch foo -f
bar
bar
foodbarbar
PrevNode.Value: foodbarbar
foobarbar

etcdctl  --debug cluster-health
Cluster-Endpoints: http://127.0.0.1:4001, http://127.0.0.1:2379
cURL Command: curl -X GET http://127.0.0.1:4001/v2/members
cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
member 8e9e05c52164694d is healthy: got healthy result from 
http://localhost:2379
cluster is healthy

* Note should you run with etcd enabled and run debuild -us -uc for any 
python-etcd3gw package from source
==
FAIL: etcd3gw.tests.test_etcd3gw.TestEtcd3Gateway.test_client_locks
etcd3gw.tests.test_etcd3gw.TestEtcd3Gateway.test_client_locks
--
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/root/python-etcd3gw-0.2.5/etcd3gw/tests/test_etcd3gw.py", line 351, in 
test_client_locks
lock = self.client.lock(id='xyz-%s' % time.clock(), ttl=60)
AttributeError: module 'time' has no attribute 'clock'

### VERIFICATION DONE KINETIC ###

** Tags removed: verification-needed-kinetic
** Tags added: verification-done-kinetic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-05-20 Thread Heather Lemon
### VERIFICATION DONE BIONIC ###

# Previous package 
package name: python-etcd3gw
package version:  python-etcd3gw_0.2.1-1ubuntu0.18.04.1
series: Focal

# Before enabling proposed 
pull-lp-source python-etcd3gw bionic-updates

python2 -c "print(b'hello_world'.decode().decode('utf-8'))"
hello_world
root@etcdbionic:~/old/python-etcd3gw-0.2.1# python3 -c 
"print(b'hello_world'.decode().decode('utf-8'))"
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'str' object has no attribute 'decode'


apt build-dep .
debuild -us -uc 
All unit tests passed. 

#start etcd server in new shell
etcd 

# open new shell, add a watch on foo

etcdctl watch foo -f

# run etcdctl commands 
etcdctl set foo bar
etcdctl update foo foodbarbar
etcdctl rm foo
etcdctl mk foo foobarbar

The watch is working and responsive to etcdctl commands 
the etcdctl watch command is working as intended shown in seperate terminal

root@etcdfocal:~# etcdctl watch foo -f
bar
bar
foodbarbar
PrevNode.Value: foodbarbar
foobarbar

upgrade to proposed 
- 
ubuntu-bionic-proposed.list

# enable proposed
cat 

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-05-19 Thread Heather Lemon
### VERIFICATION DONE FOCAL ###

# Previous package 
package name: python-etcd3gw
package version: python-etcd3gw focal-updates
series: Focal

# Before enabling proposed 
pull-lp-source python-etcd3gw focal-updates

python2 -c "print(b'hello_world'.decode().decode('utf-8'))"
hello_world
python3 -c "print(b'hello_world'.decode().decode('utf-8'))"
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?


apt build-dep .
debuild -us -uc 
All unit tests passed. 

#start etcd server in new shell
etcd 

# open new shell, add a watch on foo

etcdctl watch foo -f

# run etcdctl commands 
etcdctl set foo bar
etcdctl update foo foodbarbar
etcdctl rm foo
etcdctl mk foo foobarbar

The watch is working and responsive to etcdctl commands 
the etcdctl watch command is working as intended shown in seperate terminal

root@etcdfocal:~# etcdctl watch foo -f
bar
bar
foodbarbar
PrevNode.Value: foodbarbar
foobarbar

upgrade to proposed 
- 
ubuntu-focal-proposed.list

# enable proposed 
deb http://archive.ubuntu.com/ubuntu/ focal-proposed restricted main multiverse 
universe 

sudo apt-get update
output:
Hit:3 http://archive.ubuntu.com/ubuntu focal-proposed InRelease

apt-get install python3-etcd3gw/focal-proposed

# Proposed package Info 
package name: python-etcd3gw
package version: python-etcd3gw_0.2.1-3ubuntu1.20.04.2
series: focal

pull-lp-source python3-etcd3gw focal
debuild -us -uc

All unit tests pass. Building from source passes.

#start etcd server 
etcd 

# open new shell, add a watch on foo

etcdctl watch foo -f

# run etcdctl commands 
etcdctl set foo bar
etcdctl update foo foodbarbar
etcdctl rm foo
etcdctl mk foo foobarbar

the etcdctl watch command is working as intended shown in seperate
terminal

etcdctl  --debug cluster-health
Cluster-Endpoints: http://127.0.0.1:2379, http://127.0.0.1:4001
cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
member 8e9e05c52164694d is healthy: got healthy result from 
http://localhost:2379
cluster is healthy

* Note should you run with etcd enabled and run debuild -us -uc for any 
python-etcd3gw package from source
There will be failing unit tests
etcd3gw.tests.test_etcd3gw.TestEtcd3Gateway.test_watch_prefix ... Exception in 
thread update_key_prefix:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
  File "/root/new/python-etcd3gw-0.2.1/etcd3gw/tests/test_etcd3gw.py", line 
266, in update_key
update_etcd('0')
  File "/root/new/python-etcd3gw-0.2.1/etcd3gw/tests/test_etcd3gw.py", line 
261, in update_etcd
self.assertEqual([v], out)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 415, in 
assertEqual
self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 502, in 
assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: ['0'] != [b'0']
FAIL


### VERIFICATION DONE FOCAL ### 


** Tags removed: verification-done-impish verification-needed-focal
** Tags added: verification-done-focal verification-needed-impish

** Tags removed: verification-needed-impish
** Tags added: verification-done-impish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-05-18 Thread Heather Lemon
### VERIFICATION DONE IMPISH ###

# Previous package 
package name: python-etcd3gw
package version: 0.2.5-1ubuntu1
series: Impish 

# Before enabling proposed 
pull-lp-source python-etcd3gw impish 0.2.5-1ubuntu1

python2 -c "print(b'hello_world'.decode().decode('utf-8'))"
hello_world
python3 -c "print(b'hello_world'.decode().decode('utf-8'))"
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?
~/etcd-old/python-etcd3gw-0.2.5# 


apt build-dep .
debuild -us -uc 
All unit tests passed. 

#start etcd server 
etcd 

# open new shell, add a watch on foo

etcdctl watch foo -f

# run etcdctl commands 
etcdctl set foo bar
etcdctl update foo foodbarbar
etcdctl rm foo
etcdctl mk foo foobarbar

The watch is working and responsive to etcdctl commands 
the etcdctl watch command is working as intended shown in seperate terminal

upgrade to proposed 
- 
ubuntu-impish-proposed.list

# enable proposed 
deb http://archive.ubuntu.com/ubuntu/ impish-proposed restricted main 
multiverse universe 

sudo apt-get update
output:
Hit:3 http://archive.ubuntu.com/ubuntu impish-proposed InRelease

apt-get install python3-etcd3gw/impish-proposed

# Proposed package Info 
package name: python-etcd3gw
package version: python-etcd3gw_0.2.5-1ubuntu1.21.10.1
series: impish

pull-lp-source python3-etcd3gw impish
debuild -us -uc

All unit tests pass.

#start etcd server 
etcd 

# open new shell, add a watch on foo

etcdctl watch foo -f

# run etcdctl commands 
etcdctl set foo bar
etcdctl update foo foodbarbar
etcdctl rm foo
etcdctl mk foo foobarbar

the etcdctl watch command is working as intended shown in seperate
terminal

etcdctl  --debug cluster-health
Cluster-Endpoints: http://127.0.0.1:2379, http://127.0.0.1:4001
cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
member 8e9e05c52164694d is healthy: got healthy result from 
http://localhost:2379
cluster is healthy

* Note should you run with etcd enabled and run debuild -us -uc for any 
python-etcd3gw package from source
There will be failing unit tests
==
FAIL: etcd3gw.tests.test_etcd3gw.TestEtcd3Gateway.test_client_locks
etcd3gw.tests.test_etcd3gw.TestEtcd3Gateway.test_client_locks
--
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/root/etcdimpish/python-etcd3gw-0.2.5/etcd3gw/tests/test_etcd3gw.py", 
line 382, in test_client_locks
lock = self.client.lock(id='xyz-%s' % time.clock(), ttl=60)
AttributeError: module 'time' has no attribute 'clock'

### VERIFICATION DONE IMPISH ###


** Tags removed: verification-needed-impish
** Tags added: verification-done-impish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-05-18 Thread Heather Lemon
I am asking for more detailed reproducer steps there doesn't seem to be
any difference in the etcdctl watch function in etcd. I'm not sure how
that works with the python-etcd3gw package.

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-05-18 Thread Heather Lemon
### VERIFICATION DONE JAMMY ###

# Previous package 
package name: python-etcd3gw
package version: python-etcd3gw_0.2.5-1ubuntu1
series: Jammy 

Before enabling proposed 
root@etcdjammy:~/etcd-old/python-etcd3gw-0.2.5# python2 -c 
"print(b'hello_world'.decode().decode('utf-8'))"
hello_world
root@etcdjammy:~/etcd-old/python-etcd3gw-0.2.5# python3 -c 
"print(b'hello_world'.decode().decode('utf-8'))"
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?
root@etcdjammy:~/etcd-old/python-etcd3gw-0.2.5# 

All unit tests passed.

#start etcd server 
etcd 

# open new shell, add a watch on foo

etcdctl watch foo -f

# run etcdctl commands 
etcdctl set foo bar
etcdctl update foo foodbarbar
etcdctl rm foo
etcdctl mk foo foobarbar

The watch is working and responsive to etcdctl commands 
the etcdctl watch command is working as intended shown in separate terminal

upgrade to proposed 
- 
root@etcdjammy:/etc/apt/sources.list.d# ls
ubuntu-jammy-proposed.list

# enable proposed 
deb http://archive.ubuntu.com/ubuntu/ jammy-proposed restricted main multiverse 
universe 

sudo apt-get update
output:
Hit:3 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease

apt-get install python3-etcd3gw/jammy-proposed

# Proposed package Info 
package name: python-etcd3gw
package version: python-etcd3gw_0.2.5-1ubuntu1.22.04.1
series: Jammy

#start etcd server 
etcd 

# open new shell, add a watch on foo

etcdctl watch foo -f

# run etcdctl commands 
etcdctl set foo bar
etcdctl update foo foodbarbar
etcdctl rm foo
etcdctl mk foo foobarbar

the etcdctl watch command is working as intended shown in separate
terminal

etcdctl  --debug cluster-health
Cluster-Endpoints: http://127.0.0.1:2379, http://127.0.0.1:4001
cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
member 8e9e05c52164694d is healthy: got healthy result from 
http://localhost:2379
cluster is healthy

* Note should you run with etcd enabled and run debuild -us -uc for any 
python-etcd3gw package from source
There will be failing unit tests
==
FAIL: etcd3gw.tests.test_etcd3gw.TestEtcd3Gateway.test_client_locks
etcd3gw.tests.test_etcd3gw.TestEtcd3Gateway.test_client_locks
--
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/root/etcdjammy/python-etcd3gw-0.2.5/etcd3gw/tests/test_etcd3gw.py", 
line 382, in test_client_locks
lock = self.client.lock(id='xyz-%s' % time.clock(), ttl=60)
AttributeError: module 'time' has no attribute 'clock'

### VERIFICATION DONE JAMMY ###

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-05-03 Thread Heather Lemon
May 03, 2022 kinetic debdiff

** Patch added: "lp1965325-kinetic.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+attachment/5586321/+files/lp1965325-kinetic.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-05-03 Thread Heather Lemon
** Also affects: python-etcd3gw (Ubuntu Kinetic)
   Importance: High
 Assignee: Heather Lemon (hypothetical-lemon)
   Status: In Progress

** Tags added: verification-needed-kinetic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-04-19 Thread Heather Lemon
ready for sru review

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-04-19 Thread Heather Lemon
updated the bionic patch to fix failing Python27 unit tests.

** Patch added: "lp1965325-bionic.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+attachment/5581483/+files/lp1965325-bionic.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-03-31 Thread Heather Lemon
** Description changed:

  [Impact]
+ We cannot decode payloads sent to etcd in Python3. 
+ Which means key, value pairs can not longer be accessed. 
+ 
  Both iter_content and the first line of the loop in the
  etcd3gw watch code were decoding the chunk received.
  
  Thus, etcd3gw's watch is broken in python3.  This commit
  fixes it by only decoding the line once.
  
  [Test Plan]
+ Run unittests, ensure success 
+ 
+ 
  In python2, this works fine:
  ```
  $ python2 -c "print(b'hello_world'.decode().decode('utf-8'))"
  hello_world
  ```
  
  In python3, it raises an AttributeError:
  ```
  $ python3 -c "print(b'hello_world'.decode().decode('utf-8'))"
  Traceback (most recent call last):
    File "", line 1, in 
  AttributeError: 'str' object has no attribute 'decode'
  ```
  
  [Regression potential]
+ unit test failure, 
+ Which means key, value pairs can not longer be accessed. 
+ 
  In bionic patch, applying the patch fails the unit tests in Python27.
  This is fixed by fixing the imports to:
  +-from unittest import mock
  ++from mock import patch, MagicMock
  
  [Other Info]
  Link to upstream patch: 
https://opendev.org/openstack/etcd3gw/commit/ed899b34e464862525f76fff2377a2cceeb65af7
  
  python-etcd3gw-0.2.5 (focal)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-03-23 Thread Heather Lemon
** Description changed:

+ [Impact]
  Both iter_content and the first line of the loop in the
  etcd3gw watch code were decoding the chunk received.
  
+ Thus, etcd3gw's watch is broken in python3.  This commit
+ fixes it by only decoding the line once.
+ 
+ [Test Plan]
  In python2, this works fine:
  ```
  $ python2 -c "print(b'hello_world'.decode().decode('utf-8'))"
  hello_world
  ```
  
  In python3, it raises an AttributeError:
  ```
  $ python3 -c "print(b'hello_world'.decode().decode('utf-8'))"
  Traceback (most recent call last):
-   File "", line 1, in 
+   File "", line 1, in 
  AttributeError: 'str' object has no attribute 'decode'
  ```
- Link to patch: 
https://opendev.org/openstack/etcd3gw/commit/ed899b34e464862525f76fff2377a2cceeb65af7
 
+ 
+ [Regression potential]
+ In bionic patch, apply the patch fails the unit tests in Python27. 
+ This is fixed by fixing the imports to:
+ +-from unittest import mock
+ ++from mock import patch, MagicMock 
+ 
+ 
+ [Other Info]
+ Link to upstream patch: 
https://opendev.org/openstack/etcd3gw/commit/ed899b34e464862525f76fff2377a2cceeb65af7
  
  python-etcd3gw-0.2.5 (focal)

** Description changed:

  [Impact]
  Both iter_content and the first line of the loop in the
  etcd3gw watch code were decoding the chunk received.
  
  Thus, etcd3gw's watch is broken in python3.  This commit
  fixes it by only decoding the line once.
  
  [Test Plan]
  In python2, this works fine:
  ```
  $ python2 -c "print(b'hello_world'.decode().decode('utf-8'))"
  hello_world
  ```
  
  In python3, it raises an AttributeError:
  ```
  $ python3 -c "print(b'hello_world'.decode().decode('utf-8'))"
  Traceback (most recent call last):
    File "", line 1, in 
  AttributeError: 'str' object has no attribute 'decode'
  ```
  
  [Regression potential]
- In bionic patch, apply the patch fails the unit tests in Python27. 
+ In bionic patch, applying the patch fails the unit tests in Python27.
  This is fixed by fixing the imports to:
  +-from unittest import mock
- ++from mock import patch, MagicMock 
- 
+ ++from mock import patch, MagicMock
  
  [Other Info]
  Link to upstream patch: 
https://opendev.org/openstack/etcd3gw/commit/ed899b34e464862525f76fff2377a2cceeb65af7
  
  python-etcd3gw-0.2.5 (focal)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-03-23 Thread Heather Lemon
bionic patch march 23, 2022.

There are additional pyc files in the debdiff due to the failing
python27 unit tests after applying the upstream patch.

** Patch added: "fix-lp1965325-bionic.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+attachment/5572200/+files/fix-lp1965325-bionic.debdiff

** Tags added: verification-needed-bionic verification-needed-focal
verification-needed-impish verification-needed-jammy

** Tags added: sts-sponsor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-03-23 Thread Heather Lemon
jammy patch - march 23, 2022

** Patch added: "fix-lp1965325-jammy.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+attachment/5572198/+files/fix-lp1965325-jammy.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-03-21 Thread Heather Lemon
impish debdiff upload march 21, 2022.

** Patch added: "fix-lp1965325-impish.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+attachment/5571373/+files/fix-lp1965325-impish.debdiff

** Also affects: python-etcd3gw (Ubuntu Impish)
   Importance: Undecided
   Status: New

** Changed in: python-etcd3gw (Ubuntu Impish)
   Importance: Undecided => High

** Changed in: python-etcd3gw (Ubuntu Impish)
   Status: New => In Progress

** Changed in: python-etcd3gw (Ubuntu Impish)
 Assignee: (unassigned) => Heather Lemon (hypothetical-lemon)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-03-21 Thread Heather Lemon
I have no idea why it uploaded 2x ><

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-03-21 Thread Heather Lemon
focal debdiff upload march 21, 2022.

** Patch added: "fix-lp1965325-focal.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+attachment/5571349/+files/fix-lp1965325-focal.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-03-21 Thread Heather Lemon
focal debdiff upload march 21, 2022.

** Attachment added: "fix-lp1965325-focal.debiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+attachment/5571348/+files/fix-lp1965325-focal.debiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] Re: upstream patch from opendev - double encoding-decoding

2022-03-17 Thread Heather Lemon
** Changed in: python-etcd3gw (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: python-etcd3gw (Ubuntu Bionic)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1965325] [NEW] upstream patch from opendev - double encoding-decoding

2022-03-17 Thread Heather Lemon
Public bug reported:

Both iter_content and the first line of the loop in the
etcd3gw watch code were decoding the chunk received.

In python2, this works fine:
```
$ python2 -c "print(b'hello_world'.decode().decode('utf-8'))"
hello_world
```

In python3, it raises an AttributeError:
```
$ python3 -c "print(b'hello_world'.decode().decode('utf-8'))"
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'str' object has no attribute 'decode'
```
Link to patch: 
https://opendev.org/openstack/etcd3gw/commit/ed899b34e464862525f76fff2377a2cceeb65af7
 

python-etcd3gw-0.2.5 (focal)

** Affects: python-etcd3gw (Ubuntu)
 Importance: High
 Assignee: Heather Lemon (hypothetical-lemon)
 Status: In Progress

** Affects: python-etcd3gw (Ubuntu Bionic)
 Importance: Undecided
 Assignee: Heather Lemon (hypothetical-lemon)
 Status: In Progress

** Affects: python-etcd3gw (Ubuntu Focal)
 Importance: Undecided
 Assignee: Heather Lemon (hypothetical-lemon)
 Status: In Progress

** Affects: python-etcd3gw (Ubuntu Jammy)
 Importance: High
 Assignee: Heather Lemon (hypothetical-lemon)
 Status: In Progress

** Attachment added: "original patch file"
   
https://bugs.launchpad.net/bugs/1965325/+attachment/5570107/+files/0001-watch-Avoid-double-decoding-in-python3.patch

** Changed in: python-etcd3gw (Ubuntu)
 Assignee: (unassigned) => Heather Lemon (hypothetical-lemon)

** Changed in: python-etcd3gw (Ubuntu)
   Importance: Undecided => High

** Changed in: python-etcd3gw (Ubuntu)
   Status: New => In Progress

** Also affects: python-etcd3gw (Ubuntu Jammy)
   Importance: High
 Assignee: Heather Lemon (hypothetical-lemon)
   Status: In Progress

** Also affects: python-etcd3gw (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: python-etcd3gw (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Changed in: python-etcd3gw (Ubuntu Focal)
   Status: New => In Progress

** Changed in: python-etcd3gw (Ubuntu Bionic)
   Status: New => In Progress

** Changed in: python-etcd3gw (Ubuntu Focal)
 Assignee: (unassigned) => Heather Lemon (hypothetical-lemon)

** Changed in: python-etcd3gw (Ubuntu Bionic)
 Assignee: (unassigned) => Heather Lemon (hypothetical-lemon)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965325

Title:
  upstream patch from opendev - double encoding-decoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1965325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-11-24 Thread Heather Lemon
** Tags removed: verification-needed-focal
** Tags added: verification-done-bionic verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-11-23 Thread Heather Lemon
## 1900617 gateway error detail is not passed along in raised exception
# TEST CASE BIONIC 
Version tested - 0.2.1-1ubuntu0.18.04.1

1. use Bionic series lxc container
2. Enable proposed repo in /etc/apt/sources.list
3. deb http://archive.ubuntu.com/ubuntu focal-proposed main universe
4. sudo apt-get update
5. apt install etcd-client
6. apt-get install python-etcd3gw
7. wget 
https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gz
8. tar -xvf etcd-v3.3.13-linux-amd64.tar.gz
9. openssl req -x509 -keyout localhost.key -newkey rsa:4096 -nodes -sha256 -out 
localhost.crt
10. ./etcd --name infra0 --data-dir infra0 --cert-file=/root/localhost.crt 
--key-file=/root/localhost.key --advertise-client-urls=https://127.0.0.1:2379 
--listen-client-urls=https://127.0.0.1:2379 --debug=true
11. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key --debug --output extended 
user add root
12. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key --debug --output extended 
auth enable
13. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key --debug --output extended 
member list
14. root@bionic:~# etcdctl --endpoints https://127.0.0.1:2379 
--ca-file=localhost.crt --cert-file=localhost.crt --key-file=localhost.key 
--debug --output extended member remove 8e9e05c52164694d
start to sync cluster using endpoints(https://127.0.0.1:2379)
cURL Command: curl -X GET https://127.0.0.1:2379/v2/members
got endpoints(https://127.0.0.1:2379) after sync
Cluster-Endpoints: https://127.0.0.1:2379
cURL Command: curl -X GET https://127.0.0.1:2379/v2/members
cURL Command: curl -X DELETE https://127.0.0.1:2379/v2/members/8e9e05c52164694d
Received an error trying to remove member 8e9e05c52164694d: unexpected status 
code 401

The status code is what is being checked and send back to the console from code 
client.py
```
if resp.status_code != requests.codes['ok']:
raise exceptions.Etcd3Exception(resp.reason, resp.text)
```
If we're not a 200 response, then post the Exception to console.


VERIFICATION DONE
Exception response codes are posted to console.


Troubleshooting -
cURL Command: curl -X GET https://127.0.0.1:2379/v2/auth/roles/admin
cURL Command: curl -X PUT https://127.0.0.1:2379/v2/auth/roles/admin -d 
"{\"role\":\"admin\",\"permissions\":{\"kv\":{\"read\":null,\"write\":null}}}"
client: etcd cluster is unavailable or misconfigured; error #0: x509: cannot 
validate certificate for 127.0.0.1 because it doesn't contain any IP SANs

### add this to /etc/ssl/openssl.cnf
[ v3_ca ]
subjectAltName=IP:127.0.0.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-11-23 Thread Heather Lemon
## 1900617 gateway error detail is not passed along in raised exception
# TEST CASE FOCAL
1. use focal series lxc container
2. Enable proposed repo in /etc/apt/sources.list
3. deb http://archive.ubuntu.com/ubuntu focal-proposed main universe
4. sudo apt-get update
5. apt install etcd-client
6. apt-get install python3-etcd3gw
7. wget 
https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gz
8. tar -xvf etcd-v3.3.13-linux-amd64.tar.gz
9. openssl req -x509 -keyout localhost.key -newkey rsa:4096 -nodes -sha256 -out 
localhost.crt
10. ./etcd --name infra0 --data-dir infra0 --cert-file=/root/localhost.crt 
--key-file=/root/localhost.key --advertise-client-urls=https://127.0.0.1:2379 
--listen-client-urls=https://127.0.0.1:2379 --debug=true
11. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key  --debug  --output extended 
user add root
12. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key  --debug  --output extended 
auth enable
13. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key  --debug  --output extended 
member list
14. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key  --debug  --output extended 
member remove 8e9e05c52164694d
start to sync cluster using endpoints(https://127.0.0.1:2379)
cURL Command: curl -X GET https://127.0.0.1:2379/v2/members
got endpoints(https://127.0.0.1:2379) after sync
Cluster-Endpoints: https://127.0.0.1:2379
cURL Command: curl -X GET https://127.0.0.1:2379/v2/members
cURL Command: curl -X DELETE https://127.0.0.1:2379/v2/members/8e9e05c52164694d
Received an error trying to remove member 8e9e05c52164694d: unexpected status 
code 401

The status code is what is being checked and send back to the console from code 
client.py
```
if resp.status_code != requests.codes['ok']:
  raise exceptions.Etcd3Exception(resp.reason, resp.text)
```
If we're not a 200 response, then post the Exception to console. 


VERIFICATION DONE
Exception response codes are posted to console. 
 
Troubleshooting - 
cURL Command: curl -X GET https://127.0.0.1:2379/v2/auth/roles/admin
cURL Command: curl -X PUT https://127.0.0.1:2379/v2/auth/roles/admin -d 
"{\"role\":\"admin\",\"permissions\":{\"kv\":{\"read\":null,\"write\":null}}}"
client: etcd cluster is unavailable or misconfigured; error #0: x509: cannot 
validate certificate for 127.0.0.1 because it doesn't contain any IP SANs

### add this to /etc/ssl/openssl.cnf
[ v3_ca ]
subjectAltName=IP:127.0.0.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-11-23 Thread Heather Lemon
https://bugs.launchpad.net/ubuntu/focal/+source/python-
etcd3gw/+bug/1900617/comments/17

But I am still trying to confirm if this touched the modified code in
the client.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-11-22 Thread Heather Lemon
I made a few attempts at running the unit tests from binary but no luck.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-11-19 Thread Heather Lemon
Hello,

I am currently still working on trying to get a good test around this.

## 1900617   gateway error detail is not passed along in raised exception 
# TEST CASE 
1. use focal series lxc container 
2. Enable proposed repo in /etc/apt/sources.list 
3. deb http://archive.ubuntu.com/ubuntu focal-proposed main universe
4. sudo apt-get update 
5. apt install etcd-client
6. apt-get install python3-etcd3gw 
7. wget 
https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gz
8. tar -xvf etcd-v3.3.13-linux-amd64.tar.gz
9. openssl req -x509 -keyout localhost.key -newkey rsa:4096 -nodes -sha256 -out 
localhost.crt
10. ./etcd --name infra0 --data-dir infra0 --cert-file=/root/localhost.crt 
--key-file=/root/localhost.key --advertise-client-urls=https://127.0.0.1:2379 
--listen-client-urls=https://127.0.0.1:2379
The first test is from the code with auth enabled, and a response+status code 
is returned which i believe is the expected result. I am still trying to 
confirm this by just using the the default etcd server setup locally. The 
second output is from etcd server without python3-etcd3gw.

root@focal:~# etcdctl --endpoints https://127.0.0.1:2379 
--ca-file=localhost.crt --cert-file=localhost.crt --key-file=localhost.key  
--debug  --output extended role list
start to sync cluster using endpoints(https://127.0.0.1:2379)
cURL Command: curl -X GET https://127.0.0.1:2379/v2/members
got endpoints(https://127.0.0.1:2379) after sync
Cluster-Endpoints: https://127.0.0.1:2379
Cluster-Endpoints: https://127.0.0.1:2379
cURL Command: curl -X GET https://127.0.0.1:2379/v2/auth/roles
unexpected status code 401


heather@:~$ etcdctl --endpoints http://127.0.0.1:2379 --debug  role list
start to sync cluster using endpoints(http://127.0.0.1:2379)
cURL Command: curl -X GET http://127.0.0.1:2379/v2/members
got endpoints(http://localhost:2379) after sync
Cluster-Endpoints: http://localhost:2379
Cluster-Endpoints: http://localhost:2379
cURL Command: curl -X GET http://localhost:2379/v2/auth/roles
root

Thanks,
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-11-12 Thread Heather Lemon
TEST CASE: 
1. use focal series lxc container 
2. Enable proposed repo in /etc/apt/sources.list 
3. deb http://archive.ubuntu.com/ubuntu focal-proposed main universe
4. sudo apt-get update 
5. apt install etcd-client
6. apt-get install python3-etcd3gw#Focal has renamed this package with 
python3-etcd3gw
7. wget 
https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gz
8. tar -xvf etcd-v3.3.13-linux-amd64.tar.gz
9. openssl req -x509 -keyout localhost.key -newkey rsa:4096 -nodes -sha256 -out 
localhost.crt
10. ./etcd --name infra0 --data-dir infra0 
--cert-file=/root/python-etcd3gw-0.2.1/localhost.crt 
--key-file=/root/python-etcd3gw-0.2.1/localhost.key 
--advertise-client-urls=https://127.0.0.1:2379 
--listen-client-urls=https://127.0.0.1:2379
11. curl --cacert localhost.crt --key localhost.key --cert localhost.crt 
https://127.0.0.1:2379/health
response - {"health":"true"}
12. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key member list
response = 8e9e05c52164694d: name=infra0 peerURLs=http://localhost:2380 
clientURLs=https://127.0.0.1:2379 isLeader=true
13. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key set foo bar
response - bar 

VERIFICATION DONE
you can connect to the etcd server with certificate information provided

TROUBLESHOOTING 
** See above troubleshooting steps

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-11-10 Thread Heather Lemon
TEST CASE:
1. Use Bionic series lxc container 
2. Enable proposed repo in /etc/apt/sources.list 
3. deb http://archive.ubuntu.com/ubuntu bionic-proposed main universe
4. sudo apt-get update 
5. apt-get install python-etcd3gw=0.2.1-1ubuntu0.18.04.1
6. openssl req -x509 -keyout localhost.key -newkey rsa:4096 -nodes -sha256 -out 
localhost.crt
7. ./etcd --name infra0 --data-dir infra0 
--cert-file=/root/python-etcd3gw-0.2.1/localhost.crt 
--key-file=/root/python-etcd3gw-0.2.1/localhost.key 
--advertise-client-urls=https://127.0.0.1:2379 
--listen-client-urls=https://127.0.0.1:2379
8. apt-get install etcd-client
9.  etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key member list
10. response - 8e9e05c52164694d: name=infra0 peerURLs=http://localhost:2380 
clientURLs=https://127.0.0.1:2379 isLeader=true  
11. extra testing - attempt to connect without certs gives 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial 
tcp 127.0.0.1:4001: connect: connection refused
; error #1: net/http: HTTP/1.x transport connection broken: malformed HTTP 
response "\x15\x03\x01\x00\x02\x02"
12. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key set foo bar
13. etcdctl --endpoints https://127.0.0.1:2379 --ca-file=localhost.crt 
--cert-file=localhost.crt --key-file=localhost.key get foo
response = bar

VERIFICATION DONE
you can connect to the etcd server with certificate infomation provided 
8e9e05c52164694d: name=infra0 peerURLs=http://localhost:2380 
clientURLs=https://127.0.0.1:2379 isLeader=true




Troubleshooting 

1. if you have this error 140647060033984:error:2406F079:random number 
generator:RAND_load_file:Cannot open 
file:../crypto/rand/randfile.c:88:Filename=/root/.rnd 
# comment out the RANDFILE at the top of /etc/ssl/openssl.cnf
RANDFILE   = $ENV::HOME/.rnd

2. If you have this error client: etcd cluster is unavailable or misconfigured; 
error #0: x509: cannot validate certificate for 127.0.0.1 because it doesn't 
contain any IP SANs
# under /etc/ssl/openssl.cnf add your IP for your cert
[ v3_ca ]
subjectAltName = IP:127.0.0.1

# also note, you can update ca-certificates
cp localhost.crt /usr/share/ca-certificates/
sudo update-ca-certificates
sudo dpkg-reconfigure ca-certificates

3. Try rebooting openssl service after making changes or container

4. make sure etcd is running 
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial 
tcp 127.0.0.1:2379: connect: connection refused
error #0: dial tcp 127.0.0.1:2379: connect: connection refused

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-11-09 Thread Heather Lemon
Commenting out the __init__.py inside line 25/26. 
where it checks the version with PBR
#__version__ = pbr.version.VersionInfo(
#'etcd3gw').version_string()

commenting this line out and running ./test.py 
my response is success. 


# testing steps for bionic 
version - 0.2.1-1ubuntu0.18.04.1 
python3 version - 3.6.9
python2 version - 2.7.17

mkdir 1820083-verification-testing 
cd 1820083-verification-testing
pull-lp-source python-etcd3gw bionic 

apt install python3-pip
pip3 install -r requirements.txt
pip3 install -r test-requirements.txt

# generate certs in python-etcd3gw folder
openssl req -x509 -keyout localhost.key -newkey rsa:4096 -nodes -sha256 -out 
localhost.crt


#download etcd binaries & launch etcd locally with TLS enabled
wget 
https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gz

tar -zxvf etcd-v3.3.14-linux-amd64.tar.gz

cd etcd-v3.3.14-linux-amd64/

#spin up etcd server
./etcd --name infra0 --data-dir infra0 
--cert-file=/python-etcd3gw/localhost.crt 
--key-file=/python-etcd3gw/localhost.key 
--advertise-client-urls=https://127.0.0.1:2379 
--listen-client-urls=https://127.0.0.1:2379

# test cert connection endpoint
curl --cacert localhost.crt --key localhost.key --cert localhost.crt 
https://127.0.0.1:2379/health

response
{"health":"true"}

modify test.py to your config setup for etcd

#run test
./test.py

response
success!

# code for test.py
touch test.py
chmod +rwx test.py

gedit test.py
#!/usr/bin/python3

from etcd3gw import Etcd3Client

c = Etcd3Client(host="127.0.0.1", protocol="https", cert_key="localhost.key", 
cert_cert="localhost.crt", ca_cert="localhost.crt", timeout=10)
c.put('test', 'success!')
resp = c.get('test')
print(b''.join(resp).decode())

#also feel free to run unit tests with 
python3 -m unittest


** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-11-09 Thread Heather Lemon
I am getting a PBR error when testing this with bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-11-09 Thread Heather Lemon
#testing steps for python-etcd3gw focal

version tested - python-etcd3gw 0.2.1-3ubuntu1.20.04.1

pull-lp-source python-etcd3gw focal

# generate certs in python-etcd3gw folder
openssl req -x509 -keyout localhost.key -newkey rsa:4096 -nodes -sha256 -out 
localhost.crt


#download etcd binaries & launch etcd locally with TLS enabled
wget 
https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gz

tar -zxvf etcd-v3.3.14-linux-amd64.tar.gz

cd etcd-v3.3.14-linux-amd64/

#spin up etcd server 
./etcd --name infra0 --data-dir infra0 
--cert-file=/python-etcd3gw/localhost.crt 
--key-file=/python-etcd3gw/localhost.key 
--advertise-client-urls=https://127.0.0.1:2379 
--listen-client-urls=https://127.0.0.1:2379


# test cert connection endpoint 
curl --cacert localhost.crt --key localhost.key --cert localhost.crt 
https://127.0.0.1:2379/health

response
{"health":"true"}

modify test.py to your config setup for etcd

#run test
./test.py 

response 
success! 

# code for test.py 
touch test.py
chmod +rwx test.py 

gedit test.py 
#!/usr/bin/python3

from etcd3gw import Etcd3Client

c = Etcd3Client(host="localhost", protocol="https", cert_key="localhost.key", 
cert_cert="localhost.crt", ca_cert="localhost.crt", timeout=10)
c.put('test', 'success!')
resp = c.get('test')
print(b''.join(resp).decode())


** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-28 Thread Heather Lemon
Ah I should have been more explict, my only question was around renaming
of the github repo to opendev.

Also, there is another LP that's supposed to go with this one:
https://bugs.launchpad.net/ubuntu/focal/+source/python-
etcd3gw/+bug/1900617

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-27 Thread Heather Lemon
Revised focal patch addressing comments

** Patch added: "lp1820083-tls-params-focal.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+attachment/5536538/+files/lp1820083-tls-params-focal.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-27 Thread Heather Lemon
Revised bionic patch addressing comments the only change I didn't apply
was changing the github to opendev source. Can I ask why we're making
this change? Thanks

** Patch added: "lp1820083-tls-params-bionic.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+attachment/5536537/+files/lp1820083-tls-params-bionic.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-27 Thread Heather Lemon
For the record this is the proposed unit test to be added. Since the
pastebin is set to expire after one year.

# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

import os
from socket import gethostname

# from OpenSSL import crypto
from etcd3gw.client import Etcd3Client
from etcd3gw.tests import base


def create_self_signed_cert():
# create a key pair
pub_key = crypto.PKey()
pub_key.generate_key(crypto.TYPE_RSA, 2048)

# create a csr
csr = crypto.X509Req()
csr.get_subject().C = "US"
csr.get_subject().ST = "Boston"
csr.get_subject().L = "Boston"
csr.get_subject().O = "Test Company Ltd"
csr.get_subject().OU = "Test Company Ltd"
csr.get_subject().CN = gethostname()
csr.set_pubkey(pub_key)
csr.sign(pub_key, "sha256")

# create a self-signed cert
cert = crypto.X509()
cert.get_subject().C = "US"
cert.get_subject().ST = "Boston"
cert.get_subject().L = "Boston"
cert.get_subject().O = "Test Company Ltd"
cert.get_subject().OU = "Test Company Ltd"
cert.get_subject().CN = gethostname()
cert.set_serial_number(1000)
cert.gmtime_adj_notBefore(0)
cert.gmtime_adj_notAfter(10 * 365 * 24 * 60 * 60)
cert.set_issuer(cert.get_subject())
cert.set_pubkey(pub_key)
cert.sign(pub_key, "sha256")

with open('cert.crt', 'w') as crt:
if crt is not None:
crt.write(crypto.dump_certificate(crypto.FILETYPE_PEM, 
cert).decode("utf-8"))
with open('test.key', 'w') as key:
if key is not None:
key.write(crypto.dump_privatekey(crypto.FILETYPE_PEM, 
pub_key).decode("utf-8"))
with open('test.ca', 'w') as ca:
if ca is not None:
ca.write(crypto.dump_certificate_request(crypto.FILETYPE_PEM, 
csr).decode("utf-8"))

crt.close()
key.close()
ca.close()


class TestEtcd3Gateway(base.TestCase):

def test_client_default(self):
client = Etcd3Client()
self.assertEqual("http://localhost:2379/v3alpha/lease/grant;,
 client.get_url("/lease/grant"))

def test_client_ipv4(self):
client = Etcd3Client(host="127.0.0.1")
self.assertEqual("http://127.0.0.1:2379/v3alpha/lease/grant;,
 client.get_url("/lease/grant"))

def test_client_ipv6(self):
client = Etcd3Client(host="::1")
self.assertEqual("http://[::1]:2379/v3alpha/lease/grant;,
 client.get_url("/lease/grant"))

def test_client_tls(self):
create_self_signed_cert()
with open('cert.crt', 'r') as crt_file, \
open('test.key', 'r') as key_file, \
open('test.ca', 'r') as ca_file:
client = Etcd3Client(host="127.0.0.1", protocol="https", 
ca_cert=ca_file, cert_key=key_file,
 cert_cert=crt_file, timeout=10)
self.assertEqual(client.session.cert, (crt_file, key_file))
self.assertEqual(client.session.verify, ca_file)
os.remove("cert.crt")
os.remove("test.key")
os.remove("test.ca")

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-27 Thread Heather Lemon
pastebin of proposed code changes

https://pastebin.canonical.com/p/45jWbygmSV/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-27 Thread Heather Lemon
adds attachment patch file Set-transport-options-on-requests

** Patch added: "lp1820083-Set-transport-options-on-requests-session.patch"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+attachment/5536494/+files/lp1820083-Set-transport-options-on-requests-session.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-10-27 Thread Heather Lemon
patch file Include-resp.text-as-detail-in-all-etcd-exceptions.patch

** Patch added: 
"0003-lp1900617-Include-resp.text-as-detail-in-all-etcd-exceptions.patch"
   
https://bugs.launchpad.net/ubuntu/bionic/+source/python-etcd3gw/+bug/1900617/+attachment/5536492/+files/0003-lp1900617-Include-resp.text-as-detail-in-all-etcd-exceptions.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-10-27 Thread Heather Lemon
patch file Fix-exception-signature.patch


** Patch added: "0004-lp1900617-Fix-exception-signature.patch"
   
https://bugs.launchpad.net/ubuntu/bionic/+source/python-etcd3gw/+bug/1900617/+attachment/5536493/+files/0004-lp1900617-Fix-exception-signature.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-10-27 Thread Heather Lemon
patch file for 0001-When-gateway-sends-failure-response-include-text-
in-.patch


** Patch added: 
"0002-lp1900617-When-gateway-sends-failure-response-include-text-in-.patch"
   
https://bugs.launchpad.net/ubuntu/bionic/+source/python-etcd3gw/+bug/1900617/+attachment/5536491/+files/0002-lp1900617-When-gateway-sends-failure-response-include-text-in-.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-27 Thread Heather Lemon
revised debdiff without added unit tests, bionic

** Patch removed: "lp1820083-tls-params-bionic.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+attachment/5471977/+files/lp1820083-tls-params-bionic.debdiff

** Patch added: "lp1820083-tls-params.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+attachment/5536490/+files/lp1820083-tls-params.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-27 Thread Heather Lemon
Revised patch for tls-params removed added unit testing coverage for
certs - focal

** Patch removed: "lp1820083-tls-params-focal.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+attachment/5471981/+files/lp1820083-tls-params-focal.debdiff

** Patch removed: "lp1820083-tls-params-groovy.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+attachment/5471978/+files/lp1820083-tls-params-groovy.debdiff

** Patch added: "lp1820083-tls-params-focal.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+attachment/5536483/+files/lp1820083-tls-params-focal.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-27 Thread Heather Lemon
Hi Eric,

I had added a unit test for better code coverage and a requirement of
another LP#1900617 whose unittests were failing, but that might not be
needed now. I am still investigating this, Currently launchpad is down
so I will be working on this tomorrow as well.


Thanks, 
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-10-27 Thread Heather Lemon
pastebin of added code https://pastebin.canonical.com/p/45jWbygmSV/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1820083] Re: TLS params not set for session

2021-10-26 Thread Heather Lemon
Hi Eric,

I had added a unit test for better code coverage and a requirement of
another LP#1900617 whose unittests were failing, but that might not be
needed now. I am still investigating this, Currently launchpad is down
so I will be working on this tomorrow as well.


Thanks, 
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820083

Title:
  TLS params not set for session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-10-20 Thread Heather Lemon
t.TestEtcd3Gateway.test_client_tls

self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 
(_ssl.c:852)


I'll clean this up and post more soon. 

Thanks,
Heather Lemon 

** Bug watch added: github.com/urllib3/urllib3/issues #497
   https://github.com/urllib3/urllib3/issues/497

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-10-20 Thread Heather Lemon
error from executing pytest command python-etcd3gw

** Attachment added: "Screenshot from 2020-12-04 13-11-00.png"
   
https://bugs.launchpad.net/ubuntu/bionic/+source/python-etcd3gw/+bug/1900617/+attachment/5534664/+files/Screenshot%20from%202020-12-04%2013-11-00.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-10-20 Thread Heather Lemon
** Description changed:

  [impact]
  
  when the gateway reports an error, it is not passed along in the
  exception raised by python-etcd3gw
  
  [test case]
  
  Upstream added unit tests for this bug, which are included in the
  backport, so a successful package build (which runs the unit tests at
  build time) is enough to verify the fix.
  
  [regression potential]
  
  any regression would likely occur in handling errors sent from the
  gateway to python-etcd3gw, or in handling or later processing the
  exception(s) generated from the gateway error(s).
  
  [scope]
  
  three commits are needed for b/f/g, and one commit is needed in h.
  
  this is fixed upstream with commits:
  483a37e28a59e29239dcae7eeabf6f24c1f0b440
  19abd85b710682b326702e2290a30d084fb0af71
  which are included in v2.5, and commit:
  5a3157a122368c2314c7a961f61722e47355f981
  which is included in v2.6
  
  Debian currently has v2.5, and MR to add the last commit needed is:
  
https://salsa.debian.org/openstack-team/python/python-etcd3gw/-/merge_requests/1
+ 
+ 
+ Linking to related LP 
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1820083

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900617] Re: gateway error detail is not passed along in raised exception

2021-10-15 Thread Heather Lemon
** Tags added: sts-sponsor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900617

Title:
  gateway error detail is not passed along in raised exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-etcd3gw/+bug/1900617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-10-04 Thread Heather Lemon
We've decided to drop this issue while testing for the vulnerability and
was unable to recreate the issue. The product team is also not willing
to update the package on the basis that there is no way to exploit the
vulnerability within Horizon.

If we do find an exploit we would be happy to repopen the issue.

** Changed in: python-xstatic-bootstrap-scss (Ubuntu)
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-09-10 Thread Heather Lemon
Hello,

I've made several attempts at exploiting the XSS in horizon without the updated 
version. 
I will attach a video for one of those attempts. To me this seems like horizon 
it's using the scanned code at all, unless I've missed something so this could 
be a false positive in my opinion. 

Thank You,
Heather Lemon

** Attachment added: "xsshorizon-2021-09-10_11.30.01"
   
https://bugs.launchpad.net/horizon/+bug/1940450/+attachment/5524434/+files/xsshorizon-2021-09-10_11.30.01

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-09-10 Thread Heather Lemon
Oh please use VLC to see video ;)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-09-10 Thread Heather Lemon
Hello,

I've made several attempts at exploiting the XSS in horizon without the updated 
version. 
I will attach a video for one of those attempts. To me this seems like horizon 
it's using the scanned code at all, unless I've missed something so this could 
be a false positive in my opinion. 

Thank You,
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-09-01 Thread Heather Lemon
I take back my earlier comment, backporting the commit from upstream 
https://github.com/twbs/bootstrap/pull/28236/commits/5efa9b531d25927b907e3fa24b818608bc38a2f0
 
to both bionic and then xenial(if supported) with debian/changelog etc added is 
the correct way.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-09-01 Thread Heather Lemon
** Tags added: cloud-archive

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-09-01 Thread Heather Lemon
Yes, it's sufficient to upgrade the requirements.txt because it does not
require code changes, but package upgrades. The debian/changelog does
not track the requirements.txt file changes but need to be done
manually. I'll try adding a patch this week.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-09-01 Thread Heather Lemon
Attached screenshot showing difference between Bootstrap versions with
missing sanitize functions

** Attachment added: "Screenshot from 2021-08-23 15-55-14.png"
   
https://bugs.launchpad.net/horizon/+bug/1940450/+attachment/5522304/+files/Screenshot%20from%202021-08-23%2015-55-14.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-08-27 Thread Heather Lemon
Upgrading the package to the fixed version shows the sanitize functions
like "sanitizeHtml" in
~/horizon/xstatic/pkg/bootstrap_scss/data/js/bootstrap.js, however since
this is a security fix, I'll have to let the security team handle it.

test branch with package upgrades
https://code.launchpad.net/~hypothetical-lemon/+git/horizon/+ref/lp1940450-cve-2019-8331

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1940450] Re: XSS The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

2021-08-26 Thread Heather Lemon
** Tags added: horizon-core

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940450

Title:
  XSS The data-template attribute of the tooltip and popover plugins
  lacks input sanitization and may allow attacker to execute arbitrary
  JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940450/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1934147] Re: systemd leaks abandoned session scopes

2021-08-24 Thread Heather Lemon
** Changed in: systemd (Ubuntu Bionic)
 Assignee: Heather Lemon (hypothetical-lemon) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Focal)
 Assignee: Heather Lemon (hypothetical-lemon) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Hirsute)
 Assignee: Heather Lemon (hypothetical-lemon) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Impish)
 Assignee: Heather Lemon (hypothetical-lemon) => Dan Streetman (ddstreet)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1934147

Title:
  systemd leaks abandoned session scopes

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1934147/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1934147] Re: systemd leaks abandoned session scopes

2021-08-23 Thread Heather Lemon
** Merge proposal linked:
   
https://code.launchpad.net/~hypothetical-lemon/ubuntu/+source/systemd/+git/systemd/+merge/407551

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1934147

Title:
  systemd leaks abandoned session scopes

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1934147/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1938259] Re: Add ACCEL_LOCATION=base property for Dell clamshell models

2021-08-23 Thread Heather Lemon
** Merge proposal unlinked:
   
https://code.launchpad.net/~hypothetical-lemon/ubuntu/+source/systemd/+git/systemd/+merge/407551

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938259

Title:
  Add ACCEL_LOCATION=base property for Dell clamshell models

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1938259/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1938259] Re: Add ACCEL_LOCATION=base property for Dell clamshell models

2021-08-23 Thread Heather Lemon
** Merge proposal unlinked:
   
https://code.launchpad.net/~hypothetical-lemon/ubuntu/+source/systemd/+git/systemd/+merge/407548

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938259

Title:
  Add ACCEL_LOCATION=base property for Dell clamshell models

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1938259/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1936419] [NEW] API does not support limits parameter

2021-07-15 Thread Heather Lemon
Public bug reported:

The API only supports a list_all for networks.

"""Fetches a list of all networks for a project."""
# Pass filters in "params" argument to do_request
return self.list('networks', self.networks_path, retrieve_all,
 **_params)

Needs additional function with acceptable limit params.
If I have 100 networks, all 100 networks are returned.
This affects both horizon and the cli.

openstack network list -f json --limit 1

usage: openstack network list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] 
[--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width ] 
[--fit-width] [--print-empty][--sort-column SORT_COLUMN] [--external | 
--internal] [--long] [--name ] [--enable | --disable] [--project 
][--project-domain ] [--share | --no-share] [--status 
] [--provider-network-type 
][--provider-physical-network 
] [--provider-segment ] [--agent 
] [--tags [,,...]][--any-tags [,,...]] 
[--not-tags [,,...]] [--not-any-tags [,,...]]
openstack network list: error: unrecognized arguments: --limit 1

** Affects: python-openstackclient (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1936419

Title:
  API does not support limits parameter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1936419/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

2021-07-15 Thread Heather Lemon
I've reached out to Dimitri recently to get some more information about
the build and run time dependencies.

I think there are a couple of options.

1. Pursue dropping python-requests from debian/control for build dependencies. 
*Note I think just the testing would be broken, but at least mongodb would be 
usable and in a workable state. (quick fix/low effort)

2. Upgrade everything from Python2 to Python3. Which is probably the
best option for long-term maintenance. (medium effort)

3. Sergio's 2nd option - 
- Reintroduce python-requests to the archive. While this would guarantee that 
mongodb (and possibly other packages that B-D on python-requests) builds fine, 
it would also mean going through a more extensive SRU process, I think.
(I don't have a good estimate on how long this would take) 

Thanks,
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

2021-07-14 Thread Heather Lemon
I've reached out to Dimitri recently to get some more information about
the build and run time dependencies.

I think there are a couple of options.

1. Pursue dropping python-requests from debian/control for build dependencies. 
*Note I think just the testing would be broken, but at least mongodb would be 
usable and in a workable state. (quick fix/low effort)

2. Upgrade everything from Python2 to Python3. Which is probably the
best option for long-term maintenance. (medium effort)

3. Sergio's 2nd option - 
- Reintroduce python-requests to the archive. While this would guarantee that 
mongodb (and possibly other packages that B-D on python-requests) builds fine, 
it would also mean going through a more extensive SRU process, I think.
(I don't have a good estimate on how long this would take) 

Thanks,
Heather Lemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933520] Re: message decompressor to incorrectly allocate memory

2021-07-13 Thread Heather Lemon
** Patch removed: "CVE-2019-20925-focal-20210706.debdiff"
   
https://bugs.launchpad.net/ubuntu/bionic/+source/mongodb/+bug/1933520/+attachment/5509446/+files/CVE-2019-20925-focal-20210706.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933520

Title:
  message decompressor to incorrectly allocate memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1934518] Re: improper invalidation of authorization sessions

2021-07-13 Thread Heather Lemon
** Patch removed: "CVE-2019-2386-focal-20210702.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1934518/+attachment/5508666/+files/CVE-2019-2386-focal-20210702.debdiff

** Patch removed: "CVE-2019-2386-focal-20210706.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1934518/+attachment/5509445/+files/CVE-2019-2386-focal-20210706.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1934518

Title:
   improper invalidation of authorization sessions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1934518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

2021-07-08 Thread Heather Lemon
** Patch removed: "mongodb-server-core-focal-build-1933378-20210707.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+attachment/5509682/+files/mongodb-server-core-focal-build-1933378-20210707.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

2021-07-08 Thread Heather Lemon
unfortunately mongo was dropped and hasn't had a successful build since
Focal

https://launchpad.net/ubuntu/+source/mongodb/1:3.6.9+really3.6.8+90
~g8e540c0b6d-0ubuntu6

** Also affects: mongodb (Ubuntu Focal)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

2021-07-08 Thread Heather Lemon
** Also affects: mongodb (Ubuntu Impish)
   Importance: High
 Assignee: Heather Lemon (hypothetical-lemon)
   Status: Confirmed

** Also affects: requests (Ubuntu Impish)
   Importance: Undecided
   Status: Confirmed

** Also affects: mongodb (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Also affects: requests (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Also affects: mongodb (Ubuntu Hirsute)
   Importance: Undecided
   Status: New

** Also affects: requests (Ubuntu Hirsute)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

2021-07-08 Thread Heather Lemon
Hirsute and Impish do not have a mongodb-server-core package available
as of yet.

https://launchpad.net/ubuntu/impish/+source/mongodb
https://launchpad.net/ubuntu/hirsute/+source/mongodb

But I would assume that they would also be affected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

2021-07-07 Thread Heather Lemon
I'm not sure how to remove the requests package from the "affects" but
I'll attach the debdiff with the removal of python-requests.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

2021-07-07 Thread Heather Lemon
removes python-requests from d/control, build-dependencies list.

** Patch added: "mongodb-server-core-focal-build-1933378-20210707.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+attachment/5509682/+files/mongodb-server-core-focal-build-1933378-20210707.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

2021-07-07 Thread Heather Lemon
I can go ahead and pick this up.

I like @Sergio's first solution. Drop `python-requests` from build-
dependencies.

Thanks,
Heather Lemon

** Changed in: mongodb (Ubuntu)
 Assignee: (unassigned) => Heather Lemon (hypothetical-lemon)

** Changed in: mongodb (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1934518] Re: improper invalidation of authorization sessions

2021-07-06 Thread Heather Lemon
redo patch for bionic add CVE tags updated dch and quilt patch headers

** Patch added: "CVE-2019-2386-bionic-20210706.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1934518/+attachment/5509448/+files/CVE-2019-2386-bionic-20210706.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1934518

Title:
   improper invalidation of authorization sessions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1934518/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933520] Re: message decompressor to incorrectly allocate memory

2021-07-06 Thread Heather Lemon
redo patch add CVE tag and update dch and quilt header

** Patch added: "CVE-2019-20925-bionic-20210706.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+attachment/5509447/+files/CVE-2019-20925-bionic-20210706.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933520

Title:
  message decompressor to incorrectly allocate memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933520] Re: message decompressor to incorrectly allocate memory

2021-07-06 Thread Heather Lemon
focal decompressor security fix, reattched for updated quilt header and
changelog

** Patch added: "CVE-2019-20925-focal-20210706.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+attachment/5509446/+files/CVE-2019-20925-focal-20210706.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933520

Title:
  message decompressor to incorrectly allocate memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1934518] Re: improper invalidation of authorization sessions

2021-07-06 Thread Heather Lemon
updated changelog and quilt headers to add CVE#

** Patch added: "CVE-2019-2386-focal-20210706.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1934518/+attachment/5509445/+files/CVE-2019-2386-focal-20210706.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1934518

Title:
   improper invalidation of authorization sessions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1934518/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933520] Re: message decompressor to incorrectly allocate memory

2021-07-06 Thread Heather Lemon
reattaching corrected debdiffs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933520

Title:
  message decompressor to incorrectly allocate memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933520] Re: message decompressor to incorrectly allocate memory

2021-07-06 Thread Heather Lemon
** Patch removed: "CVE-2019-20925-focal-20210702.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+attachment/5508662/+files/CVE-2019-20925-focal-20210702.debdiff

** Patch removed: "CVE-2019-20925-bionic-20210702.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+attachment/5508661/+files/CVE-2019-20925-bionic-20210702.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933520

Title:
  message decompressor to incorrectly allocate memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1933520] Re: message decompressor to incorrectly allocate memory

2021-07-06 Thread Heather Lemon
** Tags added: bug security

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933520

Title:
  message decompressor to incorrectly allocate memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933520/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

  1   2   3   >