Activity log for bug #1921658

Date Who What changed Old value New value Message
2021-03-29 01:05:33 Seyeong Kim bug added bug
2021-03-29 01:10:04 Seyeong Kim description I can't compose kvm host on maas 2.8.4 ( bionic) I upgraded twisted and related component with pip but the symptom is the same. MaaS 2.9.x in Focal works fine. Any advice for this issue? Thanks. Reproducer is below.[1] [1] 1) Create file to be used as loopback device sudo dd if=/dev/zero of=lvm bs=16000 count=1M 2) sudo losetup /dev/loop39 lvm 3) sudo pvcreate /dev/loop39 4) sudo vgcreate maas_data_vg /dev/loop39 5) Save below xml: <pool type='logical'> <name>maas_guest_lvm_vg</name> <source> <name>maas_data_vg</name> <format type='lvm2'/> </source> <target> <path>/dev/maas_data_vg</path> </target> </pool> 6) virsh pool-create maas_guest_lvm_vg.xml 7) Add KVM host in MaaS 8) Attempt to compose a POD using storage pool maas_guest_lvm_vg 9) GUI will fail with: Pod unable to compose machine: Unable to compose machine because: Failed talking to pod: Start tag expected, '<' not found, line 1, column 1 (<string>, line 1) I can't compose kvm host on maas 2.8.4 ( bionic) I upgraded twisted and related component with pip but the symptom is the same. MaaS 2.9.x in Focal works fine. in 2.8.x, pexpect virsh vol-path should return [2] but returns [3] [2] /dev/maas_data_vg/8d4e8b04-4031-4a1b-b5f2-a8306192db11 [3] 2021-03-17 20:43:34 stderr: [error] Message: 'this is the result...\n' 2021-03-17 20:43:34 stderr: [error] Arguments: ([' ', '<3ef-46ca-87c8-19171950592f --pool maas_guest_lvm_vg', "error: command 'attach-disk' doesn't support option --pool"],) Command line virsh vol-path works fine. Any advice for this issue? Thanks. Reproducer is below.[1] [1] 1) Create file to be used as loopback device sudo dd if=/dev/zero of=lvm bs=16000 count=1M 2) sudo losetup /dev/loop39 lvm 3) sudo pvcreate /dev/loop39 4) sudo vgcreate maas_data_vg /dev/loop39 5) Save below xml: <pool type='logical'> <name>maas_guest_lvm_vg</name> <source> <name>maas_data_vg</name> <format type='lvm2'/> </source> <target> <path>/dev/maas_data_vg</path> </target> </pool> 6) virsh pool-create maas_guest_lvm_vg.xml 7) Add KVM host in MaaS 8) Attempt to compose a POD using storage pool maas_guest_lvm_vg 9) GUI will fail with: Pod unable to compose machine: Unable to compose machine because: Failed talking to pod: Start tag expected, '<' not found, line 1, column 1 (<string>, line 1)
2021-03-29 01:20:34 Seyeong Kim description I can't compose kvm host on maas 2.8.4 ( bionic) I upgraded twisted and related component with pip but the symptom is the same. MaaS 2.9.x in Focal works fine. in 2.8.x, pexpect virsh vol-path should return [2] but returns [3] [2] /dev/maas_data_vg/8d4e8b04-4031-4a1b-b5f2-a8306192db11 [3] 2021-03-17 20:43:34 stderr: [error] Message: 'this is the result...\n' 2021-03-17 20:43:34 stderr: [error] Arguments: ([' ', '<3ef-46ca-87c8-19171950592f --pool maas_guest_lvm_vg', "error: command 'attach-disk' doesn't support option --pool"],) Command line virsh vol-path works fine. Any advice for this issue? Thanks. Reproducer is below.[1] [1] 1) Create file to be used as loopback device sudo dd if=/dev/zero of=lvm bs=16000 count=1M 2) sudo losetup /dev/loop39 lvm 3) sudo pvcreate /dev/loop39 4) sudo vgcreate maas_data_vg /dev/loop39 5) Save below xml: <pool type='logical'> <name>maas_guest_lvm_vg</name> <source> <name>maas_data_vg</name> <format type='lvm2'/> </source> <target> <path>/dev/maas_data_vg</path> </target> </pool> 6) virsh pool-create maas_guest_lvm_vg.xml 7) Add KVM host in MaaS 8) Attempt to compose a POD using storage pool maas_guest_lvm_vg 9) GUI will fail with: Pod unable to compose machine: Unable to compose machine because: Failed talking to pod: Start tag expected, '<' not found, line 1, column 1 (<string>, line 1) I can't compose kvm host on maas 2.8.4 ( bionic) I upgraded twisted and related component with pip but the symptom is the same. MaaS 2.9.x in Focal works fine. in 2.8.x, pexpect virsh vol-path should return [2] but returns [3] [2] /dev/maas_data_vg/8d4e8b04-4031-4a1b-b5f2-a8306192db11 [3] 2021-03-17 20:43:34 stderr: [error] Message: 'this is the result...\n' 2021-03-17 20:43:34 stderr: [error] Arguments: ([' ', '<3ef-46ca-87c8-19171950592f --pool maas_guest_lvm_vg', "error: command 'attach-disk' doesn't support option --pool"],) sometimes it fails in def get_volume_path(self, pool, volume): """Return the path to the file from `pool` and `volume`.""" output = self.run(["vol-path", volume, "--pool", pool]) return output.strip() sometimes failes in def get_machine_xml(self, machine): # Check if we have a cached version of the XML. # This is a short-lived object, so we don't need to worry about # expiring objects in the cache. if machine in self.xml: return self.xml[machine] # Grab the XML from virsh if we don't have it already. output = self.run(["dumpxml", machine]).strip() if output.startswith("error:"): maaslog.error("%s: Failed to get XML for machine", machine) return None # Cache the XML, since we'll need it later to reconfigure the VM. self.xml[machine] = output return output I assume that run function has issue. Command line virsh vol-path and simple pepect python code works fine. Any advice for this issue? Thanks. Reproducer is below.[1] [1] 1) Create file to be used as loopback device sudo dd if=/dev/zero of=lvm bs=16000 count=1M 2) sudo losetup /dev/loop39 lvm 3) sudo pvcreate /dev/loop39 4) sudo vgcreate maas_data_vg /dev/loop39 5) Save below xml: <pool type='logical'> <name>maas_guest_lvm_vg</name> <source> <name>maas_data_vg</name> <format type='lvm2'/> </source> <target> <path>/dev/maas_data_vg</path> </target> </pool> 6) virsh pool-create maas_guest_lvm_vg.xml 7) Add KVM host in MaaS 8) Attempt to compose a POD using storage pool maas_guest_lvm_vg 9) GUI will fail with: Pod unable to compose machine: Unable to compose machine because: Failed talking to pod: Start tag expected, '<' not found, line 1, column 1 (<string>, line 1)
2021-05-19 10:25:29 Alberto Donato maas: status New Incomplete
2021-05-28 00:06:55 Seyeong Kim tags sts
2021-05-28 00:07:09 Seyeong Kim maas: status Incomplete New
2021-05-28 00:26:45 Dominique Poulain bug added subscriber Dominique Poulain
2021-05-28 14:41:47 Björn Tillenius maas: status New Incomplete
2021-06-01 05:39:21 Seyeong Kim maas: status Incomplete In Progress
2021-06-01 07:18:42 Alberto Donato maas: status In Progress New
2021-06-28 07:19:16 Alberto Donato maas: status New Triaged
2021-06-28 07:19:18 Alberto Donato maas: importance Undecided Medium
2021-06-28 07:19:26 Alberto Donato maas: milestone 2.8.x
2021-08-13 06:13:10 Seyeong Kim bug task added readline (Ubuntu)
2021-08-13 06:13:21 Seyeong Kim nominated for series Ubuntu Bionic
2021-08-13 06:13:21 Seyeong Kim bug task added readline (Ubuntu Bionic)
2021-08-13 06:14:30 Seyeong Kim readline (Ubuntu): status New Fix Released
2021-08-13 06:14:33 Seyeong Kim readline (Ubuntu Bionic): status New In Progress
2021-08-13 06:14:37 Seyeong Kim readline (Ubuntu Bionic): assignee Seyeong Kim (seyeongkim)
2021-08-13 06:15:03 Seyeong Kim attachment added lp1921658_bionic.debdiff https://bugs.launchpad.net/ubuntu/+source/readline/+bug/1921658/+attachment/5517702/+files/lp1921658_bionic.debdiff
2021-08-13 06:15:35 Seyeong Kim bug added subscriber Ubuntu Sponsors Team
2021-08-16 20:36:12 Dan Streetman bug added subscriber Dan Streetman
2021-08-19 01:09:12 Mathew Hodson readline (Ubuntu): importance Undecided Medium
2021-08-19 01:09:14 Mathew Hodson readline (Ubuntu Bionic): importance Undecided Medium
2021-08-19 16:54:22 Dan Streetman bug added subscriber STS Sponsors
2021-08-24 08:16:39 Seyeong Kim description I can't compose kvm host on maas 2.8.4 ( bionic) I upgraded twisted and related component with pip but the symptom is the same. MaaS 2.9.x in Focal works fine. in 2.8.x, pexpect virsh vol-path should return [2] but returns [3] [2] /dev/maas_data_vg/8d4e8b04-4031-4a1b-b5f2-a8306192db11 [3] 2021-03-17 20:43:34 stderr: [error] Message: 'this is the result...\n' 2021-03-17 20:43:34 stderr: [error] Arguments: ([' ', '<3ef-46ca-87c8-19171950592f --pool maas_guest_lvm_vg', "error: command 'attach-disk' doesn't support option --pool"],) sometimes it fails in def get_volume_path(self, pool, volume): """Return the path to the file from `pool` and `volume`.""" output = self.run(["vol-path", volume, "--pool", pool]) return output.strip() sometimes failes in def get_machine_xml(self, machine): # Check if we have a cached version of the XML. # This is a short-lived object, so we don't need to worry about # expiring objects in the cache. if machine in self.xml: return self.xml[machine] # Grab the XML from virsh if we don't have it already. output = self.run(["dumpxml", machine]).strip() if output.startswith("error:"): maaslog.error("%s: Failed to get XML for machine", machine) return None # Cache the XML, since we'll need it later to reconfigure the VM. self.xml[machine] = output return output I assume that run function has issue. Command line virsh vol-path and simple pepect python code works fine. Any advice for this issue? Thanks. Reproducer is below.[1] [1] 1) Create file to be used as loopback device sudo dd if=/dev/zero of=lvm bs=16000 count=1M 2) sudo losetup /dev/loop39 lvm 3) sudo pvcreate /dev/loop39 4) sudo vgcreate maas_data_vg /dev/loop39 5) Save below xml: <pool type='logical'> <name>maas_guest_lvm_vg</name> <source> <name>maas_data_vg</name> <format type='lvm2'/> </source> <target> <path>/dev/maas_data_vg</path> </target> </pool> 6) virsh pool-create maas_guest_lvm_vg.xml 7) Add KVM host in MaaS 8) Attempt to compose a POD using storage pool maas_guest_lvm_vg 9) GUI will fail with: Pod unable to compose machine: Unable to compose machine because: Failed talking to pod: Start tag expected, '<' not found, line 1, column 1 (<string>, line 1) [Impact] I can't compose kvm host on maas 2.8.4 ( bionic) I upgraded twisted and related component with pip but the symptom is the same. MaaS 2.9.x in Focal works fine. in 2.8.x, pexpect virsh vol-path should return [2] but returns [3] [2] /dev/maas_data_vg/8d4e8b04-4031-4a1b-b5f2-a8306192db11 [3] 2021-03-17 20:43:34 stderr: [error] Message: 'this is the result...\n' 2021-03-17 20:43:34 stderr: [error] Arguments: ([' ', '<3ef-46ca-87c8-19171950592f --pool maas_guest_lvm_vg', "error: command 'attach-disk' doesn't support option --pool"],) sometimes it fails in     def get_volume_path(self, pool, volume):         """Return the path to the file from `pool` and `volume`."""         output = self.run(["vol-path", volume, "--pool", pool])         return output.strip() sometimes failes in     def get_machine_xml(self, machine):         # Check if we have a cached version of the XML.         # This is a short-lived object, so we don't need to worry about         # expiring objects in the cache.         if machine in self.xml:             return self.xml[machine]         # Grab the XML from virsh if we don't have it already.         output = self.run(["dumpxml", machine]).strip()         if output.startswith("error:"):             maaslog.error("%s: Failed to get XML for machine", machine)             return None         # Cache the XML, since we'll need it later to reconfigure the VM.         self.xml[machine] = output         return output I assume that run function has issue. Command line virsh vol-path and simple pepect python code works fine. Any advice for this issue? Thanks. [Test Plan] 0) deploy Bionic and MAAS 2.8 1) Create file to be used as loopback device sudo dd if=/dev/zero of=lvm bs=16000 count=1M 2) sudo losetup /dev/loop39 lvm 3) sudo pvcreate /dev/loop39 4) sudo vgcreate maas_data_vg /dev/loop39 5) Save below xml: <pool type='logical'> <name>maas_guest_lvm_vg</name> <source> <name>maas_data_vg</name> <format type='lvm2'/> </source> <target> <path>/dev/maas_data_vg</path> </target> </pool> 6) virsh pool-create maas_guest_lvm_vg.xml 7) Add KVM host in MaaS 8) Attempt to compose a POD using storage pool maas_guest_lvm_vg 9) GUI will fail with: Pod unable to compose machine: Unable to compose machine because: Failed talking to pod: Start tag expected, '<' not found, line 1, column 1 (<string>, line 1) [Where problems could occer] This patch is small peice of huge commit. I tested by compiling test pkg with this patch. but actually it is kind of underlying library ( libreadline ), so It could affect to any application using libreadline. e.g running command inside application by code can be affected. [Other Info]
2021-09-01 09:05:11 Robie Basak readline (Ubuntu Bionic): status In Progress Incomplete
2021-09-09 14:46:54 Dan Streetman tags sts sts sts-sponsor-ddstreet
2021-09-27 13:52:01 Dan Streetman tags sts sts-sponsor-ddstreet sts sts-sponsor-dgadomski
2021-10-20 18:52:52 Dan Streetman removed subscriber Ubuntu Sponsors Team
2022-09-22 08:43:51 Jerzy Husakowski maas: milestone 2.8.x
2022-09-22 08:44:26 Jerzy Husakowski maas: status Triaged Won't Fix
2022-09-22 12:03:13 Dan Streetman removed subscriber Dan Streetman
2023-03-01 17:17:50 Mauricio Faria de Oliveira removed subscriber SE ("STS") Sponsors