[virt-tools-list] GSoC 2019 student introduction

2019-05-17 Thread Athina Plaskasoviti
Hello, My name is Athina Plaskasoviti. I am studying Electrical and Computer Engineering at the National Technical University of Athens, Greece. I am currently doing my thesis in the field of Telecommunication Systems and Computer Networks, specifically working on testing and benchmarking MQTT

[virt-tools-list] [virt-manager PATCH v2] cli: Add --memballoon autodeflate

2019-05-27 Thread Athina Plaskasoviti
XML Mapping: Signed-off-by: Athina Plaskasoviti --- .../cli-test-xml/compare/virt-install-singleton-config-2.xml | 4 ++-- tests/clitest.py | 2 +- virtinst/cli.py | 1 + virtinst/devices/memballoon.py

[virt-tools-list] [virt-manager PATCH] cli: Add --iothreads

2019-06-03 Thread Athina Plaskasoviti
XML Mapping: ... X ... Signed-off-by: Athina Plaskasoviti --- .../virt-install-singleton-config-2.xml | 2 ++ tests/clitest.py | 1 + virtinst/cli.py | 21 +++ virtinst/guest.py

[virt-tools-list] [virt-manager PATCH v2] cli: Fix Add --iothreads

2019-06-03 Thread Athina Plaskasoviti
XML Mapping: ... X ... Signed-off-by: Athina Plaskasoviti --- .../virt-install-singleton-config-2.xml | 2 ++ tests/clitest.py | 1 + virtinst/cli.py | 20 +++ virtinst/guest.py

[virt-tools-list] [virt-install PATCH] cli: Add --iothreads iothreadids.iothread[0-9]*.id

2019-06-04 Thread Athina Plaskasoviti
XML Mapping: ... ... ... Signed-off-by: Athina Plaskasoviti --- .../compare/virt-install-singleton-config-2.xml | 12 ++-- tests/clitest.py | 2 +- virtinst/cli.py | 8 virtinst/guest.py

[virt-tools-list] [virt-manager PATCH] cli: Fix --memballoon autodeflate

2019-05-28 Thread Athina Plaskasoviti
Fixing commit ebf21998757b863475a57519a830f5c20b0bb978 XML Mapping: Signed-off-by: Athina Plaskasoviti --- .../compare/virt-install-singleton-config-2.xml | 8 ++-- virtinst/devices/memballoon.py| 2 +- 2 files changed, 3 insertions(+), 7 deletions

[virt-tools-list] [virt-manager PATCH v3] cli: Add --iothreads

2019-06-04 Thread Athina Plaskasoviti
XML Mapping: ... X ... Signed-off-by: Athina Plaskasoviti --- Moved up ParserIOThreads, re-added remove_first and removed stub_none. .../virt-install-singleton-config-2.xml | 2 ++ tests/clitest.py | 1 + virtinst/cli.py

[virt-tools-list] [virt-manager PATCH] cli: Add --memballoon period

2019-05-27 Thread Athina Plaskasoviti
XML Mapping ... X Signed-off-by: Athina Plaskasoviti --- tests/cli-test-xml/compare/virt-install-singleton-config-2.xml | 2 ++ tests/clitest.py | 2 +- virtinst/cli.py| 1 + virtinst/devices

[virt-tools-list] [virt-manager PATCH v2] cli: Fix add --memballoon stats.period

2019-05-28 Thread Athina Plaskasoviti
XML Mapping Signed-off-by: Athina Plaskasoviti --- .../compare/virt-install-singleton-config-2.xml | 8 ++-- tests/clitest.py | 2 +- virtinst/cli.py | 1 + virtinst/devices/memballoon.py

[virt-tools-list] [virt-manager PATCH] cli: Add --numatune memory.placement

2019-06-09 Thread Athina Plaskasoviti
XML Mapping: ... ... --- .../cli-test-xml/compare/virt-install-singleton-config-2.xml | 4 ++-- tests/clitest.py | 4 ++-- virtinst/cli.py | 2 ++ virtinst/domain/numatune.py

[virt-tools-list] [virt-manager PATCH] cli: Add --numatune options memnode[0-9]*.cellid, memnode[0-9]*.mode, memnode[0-9]*.nodeset

2019-06-17 Thread Athina Plaskasoviti
XML Mapping: ... ... Signed-off-by: Athina Plaskasoviti --- .../compare/virt-install-singleton-config-2.xml | 2 ++ tests/clitest.py | 3 ++- virtinst/cli.py | 13 + virtinst/domain/numatune.py

[virt-tools-list] [virt-manager PATCH][RFC] Introduction of cloud-init configuration in virt-install

2019-06-19 Thread Athina Plaskasoviti
For now, virt-install responds to the --install is_cloud=yes,no_install=yes to initiate cloud image installation. Signed-off-by: Athina Plaskasoviti --- virt-install| 4 +++- virtinst/cli.py | 2 ++ virtinst/install/cloudinit.py | 29

[virt-tools-list] [virt-manager PATCH][RFC] Introduction of cloud-init configuration in virt-install

2019-06-19 Thread Athina Plaskasoviti
. This is work in progess, I am looking for feedback and comments on how to change/proceed with the implementation. Thanks, Athina Plaskasoviti ___ virt-tools-list mailing list virt-tools-list@redhat.com https://www.redhat.com/mailman/listinfo/virt-tools-list

[virt-tools-list] [virt-manager PATCH][v2][RFC] Introduction of cloud-init configuration in virt-install

2019-06-21 Thread Athina Plaskasoviti
I am sending a v2 of the patch for cloud init basic configuration during cloud image installation, applying previous suggestions. Fixed: -the way the installation is triggered (no_install is no longer required): --install is_cloud=yes ... --import -added tmpfile for the files that are

[virt-tools-list] [virt-manager PATCH][v2][RFC] Introduction of cloud-init configuration in virt-install

2019-06-21 Thread Athina Plaskasoviti
Triggered by: --install is_cloud=yes ... --import Signed-off-by: Athina Plaskasoviti --- virt-install| 9 --- virtinst/cli.py | 2 ++ virtinst/install/cloudinit.py | 41 + virtinst/install/installer.py

[virt-tools-list] [virt-manager PATCH] cli: Add --memballoon autodeflate

2019-05-23 Thread Athina Plaskasoviti
XML Mapping: on Signed-off-by: Athina Plaskasoviti --- .../compare/virt-install-singleton-config-2.xml | 8 ++-- tests/clitest.py | 2 +- virtinst/cli.py | 2 +- virtinst/devices/memballoon.py

[virt-tools-list] [virt-manager PATCH v2] cli: Add --disk rawio

2019-05-20 Thread Athina Plaskasoviti
XML mapping: ... Signed-off-by: Athina Plaskasoviti --- tests/cli-test-xml/compare/virt-install-many-devices.xml | 2 +- tests/clitest.py | 2 +- tests/xmlparse-xml/change-disk-out.xml | 2 +- tests/xmlparse.py

[virt-tools-list] [virt-manager PATCH] cli: Add --disk rawio

2019-05-20 Thread Athina Plaskasoviti
XML mapping: ... Signed-off-by: Athina Plaskasoviti --- tests/cli-test-xml/compare/virt-install-many-devices.xml | 2 +- tests/clitest.py | 2 +- tests/testdriver.xml | 2 +- tests/xmlparse-xml/change-disk-out.xml

[virt-tools-list] [virt-manager PATCH] cloudinit: Clean up create_metadata and create_userdata functions from unused/unwanted arguments

2019-07-02 Thread Athina Plaskasoviti
Signed-off-by: Athina Plaskasoviti --- virtinst/install/cloudinit.py | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/virtinst/install/cloudinit.py b/virtinst/install/cloudinit.py index 3cb13484..8041cc86 100644 --- a/virtinst/install/cloudinit.py +++ b

[virt-tools-list] [virt-manager PATCH] cloudinit: Add disable=yes|no

2019-07-03 Thread Athina Plaskasoviti
Cli option to permanently disable cloud-init after first boot by user request. Handled so that bare --cloud-init defaults to --cloud-init root-password=generate,disable=yes. Signed-off-by: Athina Plaskasoviti --- virtinst/cli.py | 4 +++- virtinst/install/cloudinit.py | 7

[virt-tools-list] [virt-manager PATCH] cloudinit: Add basic testing for cli option --cloud-init

2019-07-10 Thread Athina Plaskasoviti
Tests now cover default --cloud-init behavior, and root-password=(generate and given password),disable=no. Signed-off-by: Athina Plaskasoviti --- .../virt-install-cloud-init-default.xml | 51 +++ .../virt-install-cloud-init-options.xml | 51 +++ tests

[virt-tools-list] [virt-manager PATCH] cloudinit: Move password generation inside class CloudInitData

2019-07-13 Thread Athina Plaskasoviti
Function generate_password() provides random 16 digit password and get_root_password() handling root_password assignment. Signed-off-by: Athina Plaskasoviti --- virtinst/install/cloudinit.py | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/virtinst

[virt-tools-list] [virt-manager PATCH] cli: Add --clock timer[0-9]*.track, timer[0-9]*.mode, timer[0-9]*.frequency options

2019-07-14 Thread Athina Plaskasoviti
XML Mapping: ... ... Signed-off-by: Athina Plaskasoviti --- .../compare/virt-install-singleton-config-2.xml | 6 ++ tests/clitest.py| 2 +- virtinst/cli.py | 6 ++ virtinst/domain

[virt-tools-list] [virt-manager PATCH] cloudinit: Change iso suffix for cloud image installations

2019-07-08 Thread Athina Plaskasoviti
Generated iso now called ...-cloudinit.iso. Signed-off-by: Athina Plaskasoviti --- virtinst/install/installerinject.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/virtinst/install/installerinject.py b/virtinst/install/installerinject.py index 812f9829..ca4237e1

[virt-tools-list] [vort-manager PATCH v2] cloudinit: Add cli option root-password-file=/path/to/file

2019-07-16 Thread Athina Plaskasoviti
Signed-off-by: Athina Plaskasoviti --- tests/clitest.py | 3 ++- virtinst/cli.py | 1 + virtinst/install/cloudinit.py | 7 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/clitest.py b/tests/clitest.py index 38a6805e..36844573 100644

[virt-tools-list] [virt-manager PATCH] cloudinit: Add root-password-generate=yes|no instead of root-password=xxxx

2019-07-16 Thread Athina Plaskasoviti
Now --cloud-init defaults to root-password-generate=yes,disable=yes. Option for plaintext password given through the cli is completely removed. Signed-off-by: Athina Plaskasoviti --- tests/clitest.py | 5 ++--- virtinst/cli.py | 6 +++--- virtinst/install/cloudinit.py

[virt-tools-list] [virt-manager PATCH] cloudinit: Add cli option root-password-file=/path/to/file.txt

2019-07-15 Thread Athina Plaskasoviti
Signed-off-by: Athina Plaskasoviti --- tests/cli-test-xml/root-password.txt | 1 + tests/clitest.py | 4 +++- virtinst/cli.py | 1 + virtinst/install/cloudinit.py| 7 +++ 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644

[virt-tools-list] [virt-manager PATCH] cli: Add --boot initdir, inituser, initgroup options

2019-08-02 Thread athina . plaskasoviti
From: Athina Plaskasoviti XML Mapping: ... X X X ... Signed-off-by: Athina Plaskasoviti --- .../compare/virt-install-singleton-config-2.xml | 6 ++ tests/clitest.py| 2 +- virtinst/cli.py

[virt-tools-list] [virt-manager PATCH v2] cloudinit: Move random password printing and sleeping to virt-install

2019-08-14 Thread athina . plaskasoviti
From: Athina Plaskasoviti Fixed: - Added a do_log flag to print_stdout(), to avoid logging of printed random password. - Excluded timeout in virt-install from testing Signed-off-by: Athina Plaskasoviti --- virt-install | 10 ++ virtinst/cli.py | 7

[virt-tools-list] [virt-manager PATCH] cli: Add --cputune memorytune options

2019-08-14 Thread athina . plaskasoviti
From: Athina Plaskasoviti --memorytune[0-9]*.vcpus --memorytune[0-9]*.node[0-9]*.id --memorytune[0-9]*.node[0-9]*.bandwidth XML Mapping: ... ... Signed-off-by: Athina Plaskasoviti --- .../virt-install-singleton-config-2.xml | 6 + tests/clitest.py

[virt-tools-list] [virt-manager PATCH] cli: Add --clock timer[0-9]*.catchup options

2019-08-17 Thread athina . plaskasoviti
From: Athina Plaskasoviti Added: -timer[0-9]*.catchup.threshold -timer[0-9]*.catchup.slew -timer[0-9]*.catchup.limit Catchup attributes need timer with assigned tickpolicy=catchup. XML Mapping: ... ... Signed-off-by: Athina Plaskasoviti --- .../compare/virt-install-singleton

[virt-tools-list] [virt-manager PATCH] cloudinit: Scrub password from logs

2019-07-28 Thread athina . plaskasoviti
From: Athina Plaskasoviti Signed-off-by: Athina Plaskasoviti --- virtinst/install/cloudinit.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/virtinst/install/cloudinit.py b/virtinst/install/cloudinit.py index 44b8ed60..b1a3b146 100644 --- a/virtinst/install

[virt-tools-list] [virt-install PATCH] cloudinit: Fix password expiration

2019-07-28 Thread athina . plaskasoviti
Until now login password expired for all instances. I thought that maybe when user provides password with a password file, the purpose is to choose the password instead of generating a random one and then changing it upon first login, so I made a change to avoid expiration in that case. If

[virt-tools-list] [virt-manager PATCH v2] cloudinit: Add ssh-key=/path/to/key cli option

2019-08-02 Thread athina . plaskasoviti
From: AthinaPl Login to VM with: ssh root@vm_ip_address Signed-off-by: AthinaPl --- tests/cli-test-xml/ssh-key.txt | 1 + tests/clitest.py | 2 ++ virtinst/cli.py| 1 + virtinst/install/cloudinit.py | 16 ++-- 4 files changed, 18 insertions(+), 2

[virt-tools-list] [virt-manager PATCH] cli: Add --keywrap cipher[0-9]*.name=aes|des, cipher[0-9]*.state=on|off

2019-07-21 Thread Athina Plaskasoviti
XML Mapping: ... ... Signed-off-by: Athina Plaskasoviti --- .../virt-install-singleton-config-2.xml | 6 + tests/clitest.py | 1 + virtinst/cli.py | 27 +++ virtinst/domain/__init__.py

[virt-tools-list] [virt-manager PATCH] cloudinit: Add ssh-key=/path/to/key cli option

2019-07-25 Thread athina . plaskasoviti
From: AthinaPl Login to VM with: ssh root@vm_ip_address Signed-off-by: AthinaPl --- tests/cli-test-xml/ssh-key.txt | 1 + tests/clitest.py | 2 ++ virtinst/cli.py| 1 + virtinst/install/cloudinit.py | 11 ++- 4 files changed, 14 insertions(+), 1

[virt-tools-list] [virt-manager PATCH] cli: Add --blkiotune device[0-9]*.read_bytes_sec/write_bytes_sec/read_iops_sec/write_iops_sec options

2019-07-25 Thread athina . plaskasoviti
From: AthinaPl XML Mapping: ... X X X X ... Signed-off-by: AthinaPl --- .../compare/virt-install-singleton-config-2.xml | 8 .../compare/virt-xml-build-blkiotune.xml | 4 tests/clitest.py |

[virt-tools-list] [virt-manager PATCH][RFC] cloudinit: Move random password printing and sleeping to virt-install

2019-07-22 Thread Athina Plaskasoviti
This is a first implementation of printing the generated password for first boot on a cloud image, moved up to virt-install, just to get it working. I'd like to hear comments/suggestions, if it should be done in a different way. ___ virt-tools-list

[virt-tools-list] [virt-manager PATCH][RFC] cloudinit: Move random password printing and sleeping to virt-install

2019-07-22 Thread Athina Plaskasoviti
Added a 10 second delay when printing random password for first login, which can be bypassed when pressing Enter. Signed-off-by: Athina Plaskasoviti --- virt-install | 10 ++ virtinst/install/installer.py | 5 + 2 files changed, 15 insertions(+) diff --git a/virt

[virt-tools-list] [virt-manager PATCH v3] Introduction of cloud-init configuration in virt-install

2019-06-28 Thread Athina Plaskasoviti
Usage: --cloud-init Signed-off-by: Athina Plaskasoviti --- virt-install| 5 +++ virtinst/cli.py | 25 + virtinst/install/cloudinit.py | 57 + virtinst/install/installer.py | 17 + virtinst