)]}'
{"specs/newton/trove-image-builder.rst":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"fa0719c6_dc54e155","updated":"2016-03-21 14:31:41.000000000","message":"generic comment re: trailing space, line wrapping and other formatting things ...","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"ba0121b8_a2293b9d","in_reply_to":"fa0719c6_dc54e155","updated":"2016-04-01 13:22:39.000000000","message":"Done","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"fa0719c6_7a9ec307","in_reply_to":"fa0719c6_dc54e155","updated":"2016-03-24 12:42:39.000000000","message":"Long time listener, first time caller. Will try to do better. Corrected 80 col width and trailing spaces.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_7fcf87b0","line":45,"updated":"2016-03-21 14:31:41.000000000","message":"if you run libguestfs tools against a compressed image, you do need to uncompress the image.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_820fd735","line":45,"in_reply_to":"ba0121b8_d10b8dd4","updated":"2016-04-01 13:22:39.000000000","message":"Done","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":12320,"name":"Pino Toscano","email":"ptoscano@redhat.com","username":"ptoscano"},"change_message_id":"a45ab2db4f80b4cdff272b26795b67f038a99470","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_d10b8dd4","line":45,"in_reply_to":"ba0121b8_ed7dc3e8","updated":"2016-03-31 15:28:32.000000000","message":"For xz-compressed images, you can use nbdkit:\nhttps://www.redhat.com/archives/libguestfs/2014-May/msg00066.html\n(nbdkit has gzip and xz plugins, among the others)","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"4fbbf601615ea253e70891fc2be78c487dbd254d","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_ed7dc3e8","line":45,"in_reply_to":"fa0719c6_1e44f818","updated":"2016-03-28 21:46:00.000000000","message":"would love some pointers on how libguestfs modifies a compressed image in-place. If you have some references, please share.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"88addfd291f5b81bf1bd3bef7c565f37a817c0cf","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_1e44f818","line":45,"in_reply_to":"fa0719c6_2717b9a4","updated":"2016-03-28 21:14:08.000000000","message":"DIB requires uncompressing the image whether you are using a distro element or you are using a local image. Precisely, if you don\u0027t have enough RAM (for large images), it will take two times the size of the image in the disk. More information here http://docs.openstack.org/developer/diskimage-builder/user_guide/building_an_image.html#speedups. libguestfs, on the other hand, doesn\u0027t need this. It works directly on the image you provide.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"1a43a86989ac06502fe41b93b6b7b7641bb14409","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_b0266c66","line":45,"in_reply_to":"fa0719c6_7fcf87b0","updated":"2016-03-21 15:07:16.000000000","message":"libguestfs tools work directly on the image (be it in qcow2 or raw format). You don\u0027t need to uncompress it, which is the case with DIB.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_e7051746","line":45,"in_reply_to":"fa0719c6_8cdd0c45","updated":"2016-03-24 12:42:39.000000000","message":"Amrith, if you could elaborate your point please?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"e32993e1d27f0e1ed7ad3b1254f6c0927822dc7b","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_2717b9a4","line":45,"in_reply_to":"fa0719c6_8cdd0c45","updated":"2016-03-21 17:08:04.000000000","message":"Can you please explain it better here?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"228a2e714d3c9e0fee485ebdaf70e58064f8c43c","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_8cdd0c45","line":45,"in_reply_to":"fa0719c6_b0266c66","updated":"2016-03-21 16:48:24.000000000","message":"you don\u0027t have to, it does I believe.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"4fbbf601615ea253e70891fc2be78c487dbd254d","unresolved":false,"context_lines":[{"line_number":43,"context_line":"Also, the current means of image creation involves the usage of diskimage-builder (DIB) project [0]_. The DIB approach has several deficiencies:"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- base images must be uncompressed to a temp directory with enough space to install all the required elements"},{"line_number":46,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and potentially harmful code unchecked"},{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"},{"line_number":49,"context_line":"- the bootloader must be reinstalled with each build"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_79e1359a","line":46,"updated":"2016-03-28 21:46:00.000000000","message":"I think this is a very subjective assessment; we have very stable scripts that have run in the gate for years now. One could have similar fragility and harmful code in the new proposal as well.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"},{"line_number":49,"context_line":"- the bootloader must be reinstalled with each build"},{"line_number":50,"context_line":"- the DIB build is dependent on a multiplicity of environment variables"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Proposed Change"},{"line_number":53,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_7c49558b","line":50,"updated":"2016-03-21 14:31:41.000000000","message":"this is NOT a deficiency of DIB, rather of the elements we\u0027ve built, and these seem to have been intentional.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"},{"line_number":49,"context_line":"- the bootloader must be reinstalled with each build"},{"line_number":50,"context_line":"- the DIB build is dependent on a multiplicity of environment variables"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Proposed Change"},{"line_number":53,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_1a6987f9","line":50,"in_reply_to":"fa0719c6_7c49558b","updated":"2016-03-24 12:42:39.000000000","message":"Qualified this statement to mean the Trove use of DIB.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"88addfd291f5b81bf1bd3bef7c565f37a817c0cf","unresolved":false,"context_lines":[{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"},{"line_number":49,"context_line":"- the bootloader must be reinstalled with each build"},{"line_number":50,"context_line":"- the DIB build is dependent on a multiplicity of environment variables"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Proposed Change"},{"line_number":53,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_7e225453","line":50,"in_reply_to":"fa0719c6_7c49558b","updated":"2016-03-28 21:14:08.000000000","message":"Yes, it\u0027s more accurate to say it\u0027s a Redstack thing. Using Redstack generated images in environments not deployed with Redstack can fail because of this situation.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":47,"context_line":"- requires root to build images"},{"line_number":48,"context_line":"- if something goes wrong in any of the element phases, the image build must be completely repeated"},{"line_number":49,"context_line":"- the bootloader must be reinstalled with each build"},{"line_number":50,"context_line":"- the DIB build is dependent on a multiplicity of environment variables"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Proposed Change"},{"line_number":53,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_3d7b8c7c","line":50,"in_reply_to":"fa0719c6_7e225453","updated":"2016-04-01 13:22:39.000000000","message":"Done","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"4fbbf601615ea253e70891fc2be78c487dbd254d","unresolved":false,"context_lines":[{"line_number":52,"context_line":"Proposed Change"},{"line_number":53,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"This specification proposes to create a new Trove repository that will contain source code artifacts for an image generation tool based on libguestfs [1]_. A libguestfs approach has many advantages over DIB but one of the most important is security. libguestfs runs a Linux kernel inside a QEMU virtual machine, usually running as a non-root user. An attacker would need to write a filesystem which first exploited the kernel, and then exploited either QEMU virtualization (e.g., a faulty QEMU driver) or the libguestfs protocol. Finally a host kernel exploit would need to escalate its privileges to root. [2]_ "},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_f93ee5d8","line":55,"updated":"2016-03-28 21:46:00.000000000","message":"Is this a real threat that we face in building guest images today?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"78ebc61ae5bfb4f8a6d3db77d6be3b8829290fdf","unresolved":false,"context_lines":[{"line_number":52,"context_line":"Proposed Change"},{"line_number":53,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"This specification proposes to create a new Trove repository that will contain source code artifacts for an image generation tool based on libguestfs [1]_. A libguestfs approach has many advantages over DIB but one of the most important is security. libguestfs runs a Linux kernel inside a QEMU virtual machine, usually running as a non-root user. An attacker would need to write a filesystem which first exploited the kernel, and then exploited either QEMU virtualization (e.g., a faulty QEMU driver) or the libguestfs protocol. Finally a host kernel exploit would need to escalate its privileges to root. [2]_ "},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_87e0892a","line":55,"in_reply_to":"ba0121b8_ac1c946a","updated":"2016-04-01 12:42:30.000000000","message":"Software install runs as root but install software from proven (signed) repositories from distributions, with clear indication of what\u0027s going on.\n\n`make install` requires root only if you use the default value in configure. make install, if the makefile is generated with autoconf, cmake (or scons), which is probably almost the totality of software, allows to specify the prefix, and a local prefix do not require root.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":12320,"name":"Pino Toscano","email":"ptoscano@redhat.com","username":"ptoscano"},"change_message_id":"bda8bc406375128b977263393ed91d23defe343c","unresolved":false,"context_lines":[{"line_number":52,"context_line":"Proposed Change"},{"line_number":53,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"This specification proposes to create a new Trove repository that will contain source code artifacts for an image generation tool based on libguestfs [1]_. A libguestfs approach has many advantages over DIB but one of the most important is security. libguestfs runs a Linux kernel inside a QEMU virtual machine, usually running as a non-root user. An attacker would need to write a filesystem which first exploited the kernel, and then exploited either QEMU virtualization (e.g., a faulty QEMU driver) or the libguestfs protocol. Finally a host kernel exploit would need to escalate its privileges to root. [2]_ "},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_1dea0874","line":55,"in_reply_to":"ba0121b8_ac1c946a","updated":"2016-04-01 13:36:25.000000000","message":"The fact that you need to be root \"for the guest\" does not imply you must be root in the host, and this is also one of the things libguestfs (and the tools based on it) can do nicely.\n\nYou still haven\u0027t replied to my question above: would you run diskimage-builder as root on your own machine, considering that a simple typo in any shell script of any DIB element can wipe your system? (I\u0027m not kidding, I know people that got /dev wiped because of such bugs in the past.)","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0375a488e1443cd2e063b320a6099716088c3e84","unresolved":false,"context_lines":[{"line_number":52,"context_line":"Proposed Change"},{"line_number":53,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"This specification proposes to create a new Trove repository that will contain source code artifacts for an image generation tool based on libguestfs [1]_. A libguestfs approach has many advantages over DIB but one of the most important is security. libguestfs runs a Linux kernel inside a QEMU virtual machine, usually running as a non-root user. An attacker would need to write a filesystem which first exploited the kernel, and then exploited either QEMU virtualization (e.g., a faulty QEMU driver) or the libguestfs protocol. Finally a host kernel exploit would need to escalate its privileges to root. [2]_ "},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_ac1c946a","line":55,"in_reply_to":"ba0121b8_f1b7b1d5","updated":"2016-04-01 12:34:33.000000000","message":"Unless I\u0027m missing something, most software installs run as root and they download things from the internet and do all kinds of fun and dandy things.\n\nmake install on most packages requires root privileges.\n\nShould I go on?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":12320,"name":"Pino Toscano","email":"ptoscano@redhat.com","username":"ptoscano"},"change_message_id":"a45ab2db4f80b4cdff272b26795b67f038a99470","unresolved":false,"context_lines":[{"line_number":52,"context_line":"Proposed Change"},{"line_number":53,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"This specification proposes to create a new Trove repository that will contain source code artifacts for an image generation tool based on libguestfs [1]_. A libguestfs approach has many advantages over DIB but one of the most important is security. libguestfs runs a Linux kernel inside a QEMU virtual machine, usually running as a non-root user. An attacker would need to write a filesystem which first exploited the kernel, and then exploited either QEMU virtualization (e.g., a faulty QEMU driver) or the libguestfs protocol. Finally a host kernel exploit would need to escalate its privileges to root. [2]_ "},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_f1b7b1d5","line":55,"in_reply_to":"fa0719c6_f93ee5d8","updated":"2016-03-31 15:28:32.000000000","message":"Would you run as root an image building tool that run arbitrary shell scripts downloaded from the Internet, which download things and do any kind of devices/partitions manipulations on the current machine? That\u0027s DIB, and I wouldn\u0027t use it.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"4fbbf601615ea253e70891fc2be78c487dbd254d","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- install database packages"},{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_443ba4d1","line":59,"updated":"2016-03-28 21:46:00.000000000","message":"If you start from existing cloud images, you have to do some other things ...\n\n1. remove packages\n2. inject keys","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":12320,"name":"Pino Toscano","email":"ptoscano@redhat.com","username":"ptoscano"},"change_message_id":"bda8bc406375128b977263393ed91d23defe343c","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- install database packages"},{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_d8bb7ec2","line":59,"in_reply_to":"ba0121b8_4c3fb8b3","updated":"2016-04-01 13:36:25.000000000","message":"I\u0027m not missing your point at all: whatever you are going to list, using DIB will do a number of things in addition to the ones I mentioned earlier (and more) which are not simply needed.\nAlso, most of the big distributions provide disk images already tailored for cloud usage, and it is really a waste of effort to recreate them from scratch, as DIB does.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0375a488e1443cd2e063b320a6099716088c3e84","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- install database packages"},{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_4c3fb8b3","line":59,"in_reply_to":"ba0121b8_91d635ef","updated":"2016-04-01 12:34:33.000000000","message":"you miss the point, this is an itemized list of things to do. I\u0027m just pointing out that there are a couple of other things to add to the list.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":12320,"name":"Pino Toscano","email":"ptoscano@redhat.com","username":"ptoscano"},"change_message_id":"a45ab2db4f80b4cdff272b26795b67f038a99470","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- install database packages"},{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_91d635ef","line":59,"in_reply_to":"fa0719c6_443ba4d1","updated":"2016-03-31 15:28:32.000000000","message":"Surely less work than filling a new image from a saved archive, repartition, reinstall the bootloader, and then do the operations you describe above.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- install database packages"},{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"},{"line_number":63,"context_line":"- set SELinux labels"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_5f74439b","line":60,"updated":"2016-03-21 14:31:41.000000000","message":"this may run afoul of the primary use of the current system, which is to get an easy way of testing changes without rebuilding images.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- install database packages"},{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"},{"line_number":63,"context_line":"- set SELinux labels"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_627563c9","line":60,"in_reply_to":"ba0121b8_8c455044","updated":"2016-04-01 13:22:39.000000000","message":"Done","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0375a488e1443cd2e063b320a6099716088c3e84","unresolved":false,"context_lines":[{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- install database packages"},{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"},{"line_number":63,"context_line":"- set SELinux labels"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_8c455044","line":60,"in_reply_to":"fa0719c6_079acb6d","updated":"2016-04-01 12:34:33.000000000","message":"agreed.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":57,"context_line":"The new tool will support image generation for the same set of distros currently available from \"redstack build-image\" at the version necessary for inclusion of virt-customize [3]_ in libguestfs-tools (see `Dependencies`_). The artifacts will essentially be a BASH script main driver which potentially loads distro-specific argument parsing, settings, and functions. The driver script will ultimately invoke virt-customize with arguments to:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- install database packages"},{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"},{"line_number":63,"context_line":"- set SELinux labels"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_079acb6d","line":60,"in_reply_to":"fa0719c6_5f74439b","updated":"2016-03-24 12:42:39.000000000","message":"Yeah, as we discussed, the current wrinkle of requirements.txt living in the 2 different repos requires some more though. But IMHO not a blocker for this proposal.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"},{"line_number":63,"context_line":"- set SELinux labels"},{"line_number":64,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":65,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_df6853bd","line":63,"updated":"2016-03-21 14:31:41.000000000","message":"or apparmor ;)","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"},{"line_number":63,"context_line":"- set SELinux labels"},{"line_number":64,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":65,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_628723b5","line":63,"in_reply_to":"ba0121b8_2c6d24cc","updated":"2016-04-01 13:22:39.000000000","message":"Done","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0375a488e1443cd2e063b320a6099716088c3e84","unresolved":false,"context_lines":[{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"},{"line_number":63,"context_line":"- set SELinux labels"},{"line_number":64,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":65,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_2c6d24cc","line":63,"in_reply_to":"fa0719c6_ba285b9b","updated":"2016-04-01 12:34:33.000000000","message":"you did?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":60,"context_line":"- install Trove guestagent code from one of several sources: Github tip of master or stable release, distribution packages if applicable, community packages such as RDO, or local file system."},{"line_number":61,"context_line":"- apply any required database configuration path changes"},{"line_number":62,"context_line":"- systemd or init.d service enablement"},{"line_number":63,"context_line":"- set SELinux labels"},{"line_number":64,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":65,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_ba285b9b","line":63,"in_reply_to":"fa0719c6_df6853bd","updated":"2016-03-24 12:42:39.000000000","message":"Added AppArmor profiles to this line","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":64,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":65,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Another configurable option should be whether the script gets a base cloud image from the Internet, uses a cached version (like redstack), or is simply pointed at an existing image on the local filesystem."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Other artifacts in the repository will include:"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_8a0e9732","line":67,"updated":"2016-03-21 14:31:41.000000000","message":"And how is this \u0027configurable option\u0027 to be specified?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":64,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":65,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Another configurable option should be whether the script gets a base cloud image from the Internet, uses a cached version (like redstack), or is simply pointed at an existing image on the local filesystem."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Other artifacts in the repository will include:"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_95ad68eb","line":67,"in_reply_to":"fa0719c6_8a0e9732","updated":"2016-03-24 12:42:39.000000000","message":"Updated this to \"parameterized\", meaning command-line arguments in all likelihood.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":64,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":65,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Another configurable option should be whether the script gets a base cloud image from the Internet, uses a cached version (like redstack), or is simply pointed at an existing image on the local filesystem."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Other artifacts in the repository will include:"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_c2a9cf25","line":67,"in_reply_to":"fa0719c6_95ad68eb","updated":"2016-04-01 13:22:39.000000000","message":"Done","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":78,"context_line":"Configuration"},{"line_number":79,"context_line":"-------------"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"None, this tool doesn\u0027t make use of the configuration options used by the Trove controller."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Database"},{"line_number":84,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_3f634fb3","line":81,"updated":"2016-03-21 14:31:41.000000000","message":"interesting! Right now there is a deep (read: unhealthy) bowl of spaghetti that describes the relationships between the guest agent and the guest image. How you will untangle these will be a significant aspect of this project.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":78,"context_line":"Configuration"},{"line_number":79,"context_line":"-------------"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"None, this tool doesn\u0027t make use of the configuration options used by the Trove controller."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Database"},{"line_number":84,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_9d6618b9","line":81,"in_reply_to":"ba0121b8_6cb27c4d","updated":"2016-04-01 13:22:39.000000000","message":"What is meant here is that the image build tool will not parse or otherwise rely on the contents of /etc/trove/* on the controller.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0375a488e1443cd2e063b320a6099716088c3e84","unresolved":false,"context_lines":[{"line_number":78,"context_line":"Configuration"},{"line_number":79,"context_line":"-------------"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"None, this tool doesn\u0027t make use of the configuration options used by the Trove controller."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Database"},{"line_number":84,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_6cb27c4d","line":81,"in_reply_to":"ba0121b8_caad458a","updated":"2016-04-01 12:34:33.000000000","message":"which is why this new tool will need to know the configuration options used by the Trove controller, right?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":78,"context_line":"Configuration"},{"line_number":79,"context_line":"-------------"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"None, this tool doesn\u0027t make use of the configuration options used by the Trove controller."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Database"},{"line_number":84,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_d54fe031","line":81,"in_reply_to":"fa0719c6_3f634fb3","updated":"2016-03-24 12:42:39.000000000","message":"I don\u0027t think this proposal is trying to solve the \"unhealthy\" coupling you describe in of itself. The focus here is a standalone image builder based on a newer, non-DIB tool set.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"88addfd291f5b81bf1bd3bef7c565f37a817c0cf","unresolved":false,"context_lines":[{"line_number":78,"context_line":"Configuration"},{"line_number":79,"context_line":"-------------"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"None, this tool doesn\u0027t make use of the configuration options used by the Trove controller."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Database"},{"line_number":84,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_caad458a","line":81,"in_reply_to":"fa0719c6_d54fe031","updated":"2016-03-28 21:14:08.000000000","message":"Yeah... I\u0027m afraid that the relationships between the different Trove components can\u0027t be fixed on image build but changing Trove architecture.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":118,"context_line":"Alternatives"},{"line_number":119,"context_line":"------------"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"- Rely on the limited image options provided by the trove-integration project via the redstack tool. However, these images are specifically generated for development testing and not appropriate for other environments."},{"line_number":122,"context_line":"- Manually follow the DIB-based procedure described in the existing \"Building Guest Images\" document [4]_."},{"line_number":123,"context_line":"- Use downstream providers which likely incurs a business relationship for access and use of their proprietary tested images."},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_5fba83e2","line":121,"updated":"2016-03-21 14:31:41.000000000","message":"This isn\u0027t true. As a point of reference, elements (from trove-integration) can be run to generate a qcow2 image which can later be \u0027patched\u0027 just as you propose with libvirt tools. That we don\u0027t do that in trove-integration and redstack is a shortcoming of that implementation and could be easily done there.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"4fbbf601615ea253e70891fc2be78c487dbd254d","unresolved":false,"context_lines":[{"line_number":118,"context_line":"Alternatives"},{"line_number":119,"context_line":"------------"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"- Rely on the limited image options provided by the trove-integration project via the redstack tool. However, these images are specifically generated for development testing and not appropriate for other environments."},{"line_number":122,"context_line":"- Manually follow the DIB-based procedure described in the existing \"Building Guest Images\" document [4]_."},{"line_number":123,"context_line":"- Use downstream providers which likely incurs a business relationship for access and use of their proprietary tested images."},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_04f40cf0","line":121,"in_reply_to":"fa0719c6_47046d7d","updated":"2016-03-28 21:46:00.000000000","message":"Again, this is based on our choice of elements. This is not a DIB limitation. It may be easier if I illustrated with an example, I\u0027ll do that ...","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":118,"context_line":"Alternatives"},{"line_number":119,"context_line":"------------"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"- Rely on the limited image options provided by the trove-integration project via the redstack tool. However, these images are specifically generated for development testing and not appropriate for other environments."},{"line_number":122,"context_line":"- Manually follow the DIB-based procedure described in the existing \"Building Guest Images\" document [4]_."},{"line_number":123,"context_line":"- Use downstream providers which likely incurs a business relationship for access and use of their proprietary tested images."},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_f575c431","line":121,"in_reply_to":"fa0719c6_5fba83e2","updated":"2016-03-24 12:42:39.000000000","message":"Pretty much as Luigi has explained. I don\u0027t think redstack should be the place to find image generation or patching images.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"1a43a86989ac06502fe41b93b6b7b7641bb14409","unresolved":false,"context_lines":[{"line_number":118,"context_line":"Alternatives"},{"line_number":119,"context_line":"------------"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"- Rely on the limited image options provided by the trove-integration project via the redstack tool. However, these images are specifically generated for development testing and not appropriate for other environments."},{"line_number":122,"context_line":"- Manually follow the DIB-based procedure described in the existing \"Building Guest Images\" document [4]_."},{"line_number":123,"context_line":"- Use downstream providers which likely incurs a business relationship for access and use of their proprietary tested images."},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_90e24802","line":121,"in_reply_to":"fa0719c6_5fba83e2","updated":"2016-03-21 15:07:16.000000000","message":"With this tool you don\u0027t need to generate the image. You just \"patch\" it, which is less expensive and allows you to use (for example) the official cloud images provided by the distributions.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"228a2e714d3c9e0fee485ebdaf70e58064f8c43c","unresolved":false,"context_lines":[{"line_number":118,"context_line":"Alternatives"},{"line_number":119,"context_line":"------------"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"- Rely on the limited image options provided by the trove-integration project via the redstack tool. However, these images are specifically generated for development testing and not appropriate for other environments."},{"line_number":122,"context_line":"- Manually follow the DIB-based procedure described in the existing \"Building Guest Images\" document [4]_."},{"line_number":123,"context_line":"- Use downstream providers which likely incurs a business relationship for access and use of their proprietary tested images."},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_cca3849d","line":121,"in_reply_to":"fa0719c6_90e24802","updated":"2016-03-21 16:48:24.000000000","message":"We do that now.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"e32993e1d27f0e1ed7ad3b1254f6c0927822dc7b","unresolved":false,"context_lines":[{"line_number":118,"context_line":"Alternatives"},{"line_number":119,"context_line":"------------"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"- Rely on the limited image options provided by the trove-integration project via the redstack tool. However, these images are specifically generated for development testing and not appropriate for other environments."},{"line_number":122,"context_line":"- Manually follow the DIB-based procedure described in the existing \"Building Guest Images\" document [4]_."},{"line_number":123,"context_line":"- Use downstream providers which likely incurs a business relationship for access and use of their proprietary tested images."},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_47046d7d","line":121,"in_reply_to":"fa0719c6_cca3849d","updated":"2016-03-21 17:08:04.000000000","message":"Right. I should express it more properly: dib does much more than what is needed to the image (expand the content on the disk, operate, recreate) than what is applied directly by libguestfs.\n\nAnyway, I think that the point described in this line refers to a different point (images for development only)","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0375a488e1443cd2e063b320a6099716088c3e84","unresolved":false,"context_lines":[{"line_number":134,"context_line":"-----------"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":137,"context_line":"Name                          Launchpad Id   IRC      Email              "},{"line_number":138,"context_line":"----------------------------- -------------- -------- -------------------"},{"line_number":139,"context_line":"Victoria Martinez de la Cruz  vkmc           vkmc     vimartin@redhat.com"},{"line_number":140,"context_line":"Peter MacKinnon               pmackinn       pmackinn pmackinn@redhat.com"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_cc87485f","line":137,"range":{"start_line":137,"start_character":59,"end_line":137,"end_character":73},"updated":"2016-04-01 12:34:33.000000000","message":"there\u0027s this red thing here.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":134,"context_line":"-----------"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":137,"context_line":"Name                          Launchpad Id   IRC      Email              "},{"line_number":138,"context_line":"----------------------------- -------------- -------- -------------------"},{"line_number":139,"context_line":"Victoria Martinez de la Cruz  vkmc           vkmc     vimartin@redhat.com"},{"line_number":140,"context_line":"Peter MacKinnon               pmackinn       pmackinn pmackinn@redhat.com"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_bd02fcb1","line":137,"range":{"start_line":137,"start_character":59,"end_line":137,"end_character":73},"in_reply_to":"ba0121b8_cc87485f","updated":"2016-04-01 13:22:39.000000000","message":"Done","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Work Items"},{"line_number":151,"context_line":"----------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":154,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":155,"context_line":"- Develop and install artifacts into repository."},{"line_number":156,"context_line":"- Update existing docs to guide users to new image creation tool."}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_5fb603dd","line":153,"updated":"2016-03-21 14:31:41.000000000","message":"Some other things that I\u0027d like to see addressed in this specification are these.\n\n1. Will this project repository be branched along with the Trove release(s)\n2. Will we ship artifacts from this repository as part of the Trove distribution?\n3. What are the testing plans for this new project?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Work Items"},{"line_number":151,"context_line":"----------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":154,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":155,"context_line":"- Develop and install artifacts into repository."},{"line_number":156,"context_line":"- Update existing docs to guide users to new image creation tool."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_3daf0c7e","line":153,"in_reply_to":"ba0121b8_ecd20c5b","updated":"2016-04-01 13:22:39.000000000","message":"Not at all. The Testing section below outlines some potential test strategies for introspecting and validating the image construction. Not to be confused with end-to-end testing of controller through to guest instance.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Work Items"},{"line_number":151,"context_line":"----------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":154,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":155,"context_line":"- Develop and install artifacts into repository."},{"line_number":156,"context_line":"- Update existing docs to guide users to new image creation tool."}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_a7d03fca","line":153,"in_reply_to":"fa0719c6_5fb603dd","updated":"2016-03-24 12:42:39.000000000","message":"1. Initially my instinct was to say \"no\" but you have pointed out the current trove/trove-int requirements.txt disconnect.\n2. No, it should stand on its own.\n3. Testing suggestions described below. Note that technically trove-integration is not \"tested\".","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0375a488e1443cd2e063b320a6099716088c3e84","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Work Items"},{"line_number":151,"context_line":"----------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":154,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":155,"context_line":"- Develop and install artifacts into repository."},{"line_number":156,"context_line":"- Update existing docs to guide users to new image creation tool."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_ecd20c5b","line":153,"in_reply_to":"fa0719c6_a7d03fca","updated":"2016-04-01 12:34:33.000000000","message":"re: 3, are you saying that this new project will (therefore) also not be tested?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":151,"context_line":"----------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":154,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":155,"context_line":"- Develop and install artifacts into repository."},{"line_number":156,"context_line":"- Update existing docs to guide users to new image creation tool."},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_3f36af03","line":154,"updated":"2016-03-21 14:31:41.000000000","message":"Hmm, unsure what this means. Wouldn\u0027t bugs be logged against Trove in LP? If you intend that this is an independent project (of Trove) then you aren\u0027t asking the PTL to create a new repository, you should be asking the TC for a new project in OpenStack, yes?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":151,"context_line":"----------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":154,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":155,"context_line":"- Develop and install artifacts into repository."},{"line_number":156,"context_line":"- Update existing docs to guide users to new image creation tool."},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_fddf540a","line":154,"in_reply_to":"ba0121b8_6a48792e","updated":"2016-04-01 13:22:39.000000000","message":"Done","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0375a488e1443cd2e063b320a6099716088c3e84","unresolved":false,"context_lines":[{"line_number":151,"context_line":"----------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":154,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":155,"context_line":"- Develop and install artifacts into repository."},{"line_number":156,"context_line":"- Update existing docs to guide users to new image creation tool."},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_ec396ca5","line":154,"in_reply_to":"ba0121b8_6a48792e","updated":"2016-04-01 12:34:33.000000000","message":"re: vkmc\u0027s comment, \"this is a tool that aims to be used within Trove\". Please elaborate.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"88addfd291f5b81bf1bd3bef7c565f37a817c0cf","unresolved":false,"context_lines":[{"line_number":151,"context_line":"----------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":154,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":155,"context_line":"- Develop and install artifacts into repository."},{"line_number":156,"context_line":"- Update existing docs to guide users to new image creation tool."},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_6a48792e","line":154,"in_reply_to":"fa0719c6_15c2f8e8","updated":"2016-03-28 21:14:08.000000000","message":"As I see it, this is a tool that aims to be used within Trove. So I think it makes sense to use trove-integration or trove Gerrit/LP to track reviews/bugs. Something like TripleO does with DIB.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":151,"context_line":"----------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":154,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":155,"context_line":"- Develop and install artifacts into repository."},{"line_number":156,"context_line":"- Update existing docs to guide users to new image creation tool."},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_15c2f8e8","line":154,"in_reply_to":"fa0719c6_3f36af03","updated":"2016-03-24 12:42:39.000000000","message":"Good point. My understanding from Nikhil is that it would be just a repo, so maybe it uses trove-integration LP?","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"406449c77fd32647d14a95ef83e47ffea723ce00","unresolved":false,"context_lines":[{"line_number":173,"context_line":"- openSUSE 13.2"},{"line_number":174,"context_line":"- Debian 8 (Jessie)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Testing"},{"line_number":177,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Autonomous testing of the image builder likely involves inventory of installed packages, file paths, etc. This could be done using other libguestfs tools such as guestfish, virt-ls, and virt-cat. For integration testing, we could investigate configurable changes in redstack where instead of generating an image, redstack loads a virt-customized (really, an arbitrary) image to Glance."}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_df77b3d2","line":176,"updated":"2016-03-21 14:31:41.000000000","message":"Another aspect of testing that must be addressed is how this will impact the gate/check. Currently those invoke redstack; which builds an image on the fly and loads it up.\n\nWill you expect that gate/check will use this new tool?\n\nIf yes, I\u0027d like to see more of a description of the phasing in which you will make this change. For example, this is a Newton project and I\u0027m not sure how far along you are with the implementation already. Maybe you are far enough along that you can drop this in right now and conceivably have the gate/check for Newton release use this new tool. Or maybe you\u0027ll have to propose non-voting jobs that will use this tool in the Newton gate/check and phase this tool in Ocata.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"58e35b2ddf2172acdab01ef7f4e12bbcbffeec1b","unresolved":false,"context_lines":[{"line_number":173,"context_line":"- openSUSE 13.2"},{"line_number":174,"context_line":"- Debian 8 (Jessie)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Testing"},{"line_number":177,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Autonomous testing of the image builder likely involves inventory of installed packages, file paths, etc. This could be done using other libguestfs tools such as guestfish, virt-ls, and virt-cat. For integration testing, we could investigate configurable changes in redstack where instead of generating an image, redstack loads a virt-customized (really, an arbitrary) image to Glance."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_5dcf6055","line":176,"in_reply_to":"ba0121b8_0a057dc1","updated":"2016-04-01 13:22:39.000000000","message":"Done","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"88addfd291f5b81bf1bd3bef7c565f37a817c0cf","unresolved":false,"context_lines":[{"line_number":173,"context_line":"- openSUSE 13.2"},{"line_number":174,"context_line":"- Debian 8 (Jessie)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Testing"},{"line_number":177,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Autonomous testing of the image builder likely involves inventory of installed packages, file paths, etc. This could be done using other libguestfs tools such as guestfish, virt-ls, and virt-cat. For integration testing, we could investigate configurable changes in redstack where instead of generating an image, redstack loads a virt-customized (really, an arbitrary) image to Glance."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_0a057dc1","line":176,"in_reply_to":"fa0719c6_15cdd830","updated":"2016-03-28 21:14:08.000000000","message":"I agree with Luigi\u0027s approach here.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":14823,"name":"Pete MacKinnon","email":"pmackinn@redhat.com","username":"pmackinn"},"change_message_id":"67543b49fdaab9201900f492c6c633599d2d8f7b","unresolved":false,"context_lines":[{"line_number":173,"context_line":"- openSUSE 13.2"},{"line_number":174,"context_line":"- Debian 8 (Jessie)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Testing"},{"line_number":177,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Autonomous testing of the image builder likely involves inventory of installed packages, file paths, etc. This could be done using other libguestfs tools such as guestfish, virt-ls, and virt-cat. For integration testing, we could investigate configurable changes in redstack where instead of generating an image, redstack loads a virt-customized (really, an arbitrary) image to Glance."}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_15cdd830","line":176,"in_reply_to":"fa0719c6_df77b3d2","updated":"2016-03-24 12:42:39.000000000","message":"Again, Luigi\u0027s proposal is reasonable. As the new project grows in maturity and confidence perhaps it can phase into the gate initially as a non-voting check.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"1a43a86989ac06502fe41b93b6b7b7641bb14409","unresolved":false,"context_lines":[{"line_number":173,"context_line":"- openSUSE 13.2"},{"line_number":174,"context_line":"- Debian 8 (Jessie)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Testing"},{"line_number":177,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Autonomous testing of the image builder likely involves inventory of installed packages, file paths, etc. This could be done using other libguestfs tools such as guestfish, virt-ls, and virt-cat. For integration testing, we could investigate configurable changes in redstack where instead of generating an image, redstack loads a virt-customized (really, an arbitrary) image to Glance."}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa0719c6_909ec854","line":176,"in_reply_to":"fa0719c6_df77b3d2","updated":"2016-03-21 15:07:16.000000000","message":"I will let Pete and Victoria answer here, but from my point of view it could work in a similar way as the image building process of redstack works. A new job (likely initially not voting job) could run devstack with trove, run the image generation, configure the generated image and the related datastore, run integration tests and/or tempest. When the job is stable enough, move it to voting.","commit_id":"484682f3dbeea8ddb61330a62868bcab5042ce45"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"7ca1bdd1d253033a2ecc5f3f6767df3cc53af528","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"fa0719c6_a461e0aa","updated":"2016-03-22 12:28:29.000000000","message":"When we discussed this the first time in Tokyo, the issue we were addressing was to break apart the tests from the elements in trove-integration. This spec does that and proposes a tool set change.\n\nI think the two objectives can be accomplished independent of each other and I\u0027m not convinced of the need for the tool set change.","commit_id":"b11493e897ae50e65b916dd53c2e0ea941f3dfac"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"b59391ad68dd765de0127f4efb14469a06d5a6db","unresolved":false,"context_lines":[{"line_number":199,"context_line":"----------"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"- Have PTL create new project repository for image creation tool and supporting data files."},{"line_number":202,"context_line":"- Add project to OpenStack gerrit and LaunchPad sites."},{"line_number":203,"context_line":"- Develop and install artifacts into repository."},{"line_number":204,"context_line":"- Update existing docs to guide users to new image creation tool."},{"line_number":205,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba0121b8_8dca474e","line":202,"updated":"2016-03-28 21:39:45.000000000","message":"If we agree we should use the same tracker as trove-integration or trove, we should remove this line.","commit_id":"adda0bd8dc81d5e8264fe0dd88171db470a4d46e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"d1bbb5ab115775bd4204b3baf4ffc5c155b6ee05","unresolved":false,"context_lines":[{"line_number":48,"context_line":"not properly prepare and register with the Trove control plane, potentially"},{"line_number":49,"context_line":"remaining in BUILD state indefinitely, and the novice user will have little"},{"line_number":50,"context_line":"information to go on."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Also, the current means of image creation involves the usage of"},{"line_number":53,"context_line":"diskimage-builder (DIB) project [0]_. DIB and its use of kpartx has several"},{"line_number":54,"context_line":"deficiencies:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_b16a3eb1","line":51,"updated":"2016-04-28 15:57:07.000000000","message":"This is a great problem description - this is a clear set of things that effect users negatively. Can we focus in the shortcomings of dib on ways they effect this problem statement? I am having a hard time seeing how libguestfs or any of the issues stated below have anything to do with this problem. It would be much more effective to focus on ways to solve this problem rather than \u0027we hate $tool\u0027.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"48b8ff3561d71167198d9bb0937e985c29b98578","unresolved":false,"context_lines":[{"line_number":48,"context_line":"not properly prepare and register with the Trove control plane, potentially"},{"line_number":49,"context_line":"remaining in BUILD state indefinitely, and the novice user will have little"},{"line_number":50,"context_line":"information to go on."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Also, the current means of image creation involves the usage of"},{"line_number":53,"context_line":"diskimage-builder (DIB) project [0]_. DIB and its use of kpartx has several"},{"line_number":54,"context_line":"deficiencies:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_71db3422","line":51,"in_reply_to":"1a122d0e_113172a2","updated":"2016-05-02 20:15:32.000000000","message":"I am still unable to figure out what problems are needing to be solved that dictate a toolchain change. There are some problems mentioned here, these problems do not at all relate to the issues mentioned below that are toolchain specific issues. The problems mentioned here are:\n\n* Variation among distros/distros - not a image building toolchain problem, any toolchain will have the same issues\n* Assumptions built in to the trove code base - not an image building toolchain problem\n\n\nThe other things below seem like an inaccurate pros/cons list between two tools which is silly to even argue when there isn\u0027t an actual reason for switching the toolchain (which is what the agreement was during the summit session) - the problems which exist today (ease of use, testability, releases) have *nothing* to do with the toolchain.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"ee71262058c3ce605211b60a98a80cc3173844c2","unresolved":false,"context_lines":[{"line_number":48,"context_line":"not properly prepare and register with the Trove control plane, potentially"},{"line_number":49,"context_line":"remaining in BUILD state indefinitely, and the novice user will have little"},{"line_number":50,"context_line":"information to go on."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Also, the current means of image creation involves the usage of"},{"line_number":53,"context_line":"diskimage-builder (DIB) project [0]_. DIB and its use of kpartx has several"},{"line_number":54,"context_line":"deficiencies:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_113172a2","line":51,"in_reply_to":"1a122d0e_b16a3eb1","updated":"2016-04-28 16:06:21.000000000","message":"The description of this can be improved, but it\u0027s not a matter to \"we hate $tool\", as explained below.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"d1bbb5ab115775bd4204b3baf4ffc5c155b6ee05","unresolved":false,"context_lines":[{"line_number":54,"context_line":"deficiencies:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_26cc3634","line":57,"updated":"2016-04-28 15:57:07.000000000","message":"I am not sure what this means - If you are referring to the cloud images that is only one option, you can also create an image using a non cloud-image element (based on packages/yum) or really anything, its just executing commands to grab a rootfs so theres not really a thing that another tool can do which dib cannot here.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"ee71262058c3ce605211b60a98a80cc3173844c2","unresolved":false,"context_lines":[{"line_number":54,"context_line":"deficiencies:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_f16af67f","line":57,"in_reply_to":"1a122d0e_26cc3634","updated":"2016-04-28 16:06:21.000000000","message":"No, the idea is that you have to completely \"explode\" the content of an image vs modifying it.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"48b8ff3561d71167198d9bb0937e985c29b98578","unresolved":false,"context_lines":[{"line_number":54,"context_line":"deficiencies:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_f1ad84eb","line":57,"in_reply_to":"1a122d0e_8636e54e","updated":"2016-05-02 20:15:32.000000000","message":"Yes, there are many things you can do. If you depend on the ubuntu element it will do that. If that is not to your liking you can use another element (such as ubuntu-minimal which will use debootstrap) or make your own which does just about anything.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"b107a9b265b199c9fdbb54cde61721b34fc185b0","unresolved":false,"context_lines":[{"line_number":54,"context_line":"deficiencies:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_8636e54e","line":57,"in_reply_to":"1a122d0e_b7a50ea3","updated":"2016-04-28 17:50:13.000000000","message":"Uhm, I see a tar.gz which is extracted and mounted.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"83a49f642843fcb4f42bf5c7dcc441ddf6d369c3","unresolved":false,"context_lines":[{"line_number":54,"context_line":"deficiencies:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_b7a50ea3","line":57,"in_reply_to":"1a122d0e_f16af67f","updated":"2016-04-28 16:57:01.000000000","message":"you don\u0027t, actually. The \u0027ubuntu\u0027 element for example grabs an upstream image, mounts, and then modifies it. If there\u0027s some reason you want a different method of generating the rootfs you can do that as well by making an element...","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"d1bbb5ab115775bd4204b3baf4ffc5c155b6ee05","unresolved":false,"context_lines":[{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_a6ade632","line":59,"updated":"2016-04-28 15:57:07.000000000","message":"Loaded terminology aside, yes, dib code does execute things. this is how executables work, after all. Is there an actual problem this is trying to get at which is solved elsewhere? how about wording this in the form of \u0027As a user/developer/operator I am unable to \u003cfill in the blank\u003e\u0027.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"b107a9b265b199c9fdbb54cde61721b34fc185b0","unresolved":false,"context_lines":[{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_926f4091","line":59,"in_reply_to":"1a122d0e_57ff5a65","updated":"2016-04-28 17:50:13.000000000","message":"This is something you don\u0027t need it with the proposed solution.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"83a49f642843fcb4f42bf5c7dcc441ddf6d369c3","unresolved":false,"context_lines":[{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_57ff5a65","line":59,"in_reply_to":"1a122d0e_713f0687","updated":"2016-04-28 16:57:01.000000000","message":"Yes, so a simple fix is to run dib in a vm - given that libguestfs runs in a vm anyhow this wouldnt be any extra cost to pay. This is how most folk run dib in a CI context, for example.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"48b8ff3561d71167198d9bb0937e985c29b98578","unresolved":false,"context_lines":[{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_31ac1c8c","line":59,"in_reply_to":"1a122d0e_926f4091","updated":"2016-05-02 20:15:32.000000000","message":"huh? you have a few options, use a chroot to build an image - youll have imperfect isolation, or use a vm which will give you better isolation. There isnt an option that solves these isolation issues without using a vm.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"ee71262058c3ce605211b60a98a80cc3173844c2","unresolved":false,"context_lines":[{"line_number":56,"context_line":"- base images must be uncompressed to a temp directory with enough space to"},{"line_number":57,"context_line":"  install all the required elements"},{"line_number":58,"context_line":"- DIB elements are fragile shell scripts that also can execute arbitrary and"},{"line_number":59,"context_line":"  potentially harmful code unchecked"},{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_713f0687","line":59,"in_reply_to":"1a122d0e_a6ade632","updated":"2016-04-28 16:06:21.000000000","message":"As root. Please recheck one of the previous comment to the review, quoting: \"would you run diskimage-builder as root on your own machine, considering that a simple typo in any shell script of any DIB element can wipe your system? (I\u0027m not kidding, I know people that got /dev wiped because of such bugs in the past.)\"","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"d1bbb5ab115775bd4204b3baf4ffc5c155b6ee05","unresolved":false,"context_lines":[{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"},{"line_number":63,"context_line":"- the bootloader must be reinstalled with each build"},{"line_number":64,"context_line":"- the Trove use of DIB in redstack is dependent on a multiplicity of"},{"line_number":65,"context_line":"  environment variables"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_261d5673","line":63,"updated":"2016-04-28 15:57:07.000000000","message":"Does this cause a problem somewhere? I cant come up with a downside to this...","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"ee71262058c3ce605211b60a98a80cc3173844c2","unresolved":false,"context_lines":[{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"},{"line_number":63,"context_line":"- the bootloader must be reinstalled with each build"},{"line_number":64,"context_line":"- the Trove use of DIB in redstack is dependent on a multiplicity of"},{"line_number":65,"context_line":"  environment variables"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_f1ef96e6","line":63,"in_reply_to":"1a122d0e_261d5673","updated":"2016-04-28 16:06:21.000000000","message":"Installing the bootloader is another critical operation which is executed again, introducing another point of failure. Yes, it can go wrong. For example we spent some time in Sahara to discover why the reinstalled extlinux on CentOS6/RHEL6 (no grub2 there) was failing, until it was clear that we needed an option to not add the 64bit flag to the ext4 filesystem. This is a bit extreme, but I think (please Pete correct me) that the less critical operations are executed, the better.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"48b8ff3561d71167198d9bb0937e985c29b98578","unresolved":false,"context_lines":[{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"},{"line_number":63,"context_line":"- the bootloader must be reinstalled with each build"},{"line_number":64,"context_line":"- the Trove use of DIB in redstack is dependent on a multiplicity of"},{"line_number":65,"context_line":"  environment variables"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_715cd4f0","line":63,"in_reply_to":"1a122d0e_72db844f","updated":"2016-05-02 20:15:32.000000000","message":"What I don\u0027t understand is you can literally make a dib element which does a few commands to customize an existing image if that is for some reason desired. This could be an option, but AFAICT there isn\u0027t an actual issue caused by this, just \u0027I think this design is desired.\u0027","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"b107a9b265b199c9fdbb54cde61721b34fc185b0","unresolved":false,"context_lines":[{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"},{"line_number":63,"context_line":"- the bootloader must be reinstalled with each build"},{"line_number":64,"context_line":"- the Trove use of DIB in redstack is dependent on a multiplicity of"},{"line_number":65,"context_line":"  environment variables"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_72db844f","line":63,"in_reply_to":"1a122d0e_d7708a0a","updated":"2016-04-28 17:50:13.000000000","message":"I wonder where do you draw the line from a big set of allegedly strawman arguments and a real structural problem? \n\nFrom an user point of view, it was a problem at least for me. \nFor the use case of Trove (and likely others), where the changes to an image are essentially few commands applied to an existing bare image, I think (and I personally went that way) that for a normal user it\u0027s really simpler to run a few lines of virt-customize. A script can wrap this for most common use cases, and this is what we are talking about here.\n\nOr at most use virt-dib.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"83a49f642843fcb4f42bf5c7dcc441ddf6d369c3","unresolved":false,"context_lines":[{"line_number":60,"context_line":"- requires root to build images"},{"line_number":61,"context_line":"- if something goes wrong in any of the element phases, the image build must be"},{"line_number":62,"context_line":"  completely repeated"},{"line_number":63,"context_line":"- the bootloader must be reinstalled with each build"},{"line_number":64,"context_line":"- the Trove use of DIB in redstack is dependent on a multiplicity of"},{"line_number":65,"context_line":"  environment variables"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_d7708a0a","line":63,"in_reply_to":"1a122d0e_f1ef96e6","updated":"2016-04-28 16:57:01.000000000","message":"Sure, I feel like this is just a strawman argument though. There are upsides to this as well (if someone needs to customize this part of the process it is more likely to work).\n\n\nWhat is actually important is what is user problem here. Is there a user problem that \u0027we run too many commands during image creation?\u0027 - If so we can maybe do some tracing to determine what tool improves on this but I suspect this is just a not an actual problem for anyone.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"a09d83027e42777e6c6450f3f5e7b3dfb16b3c6d","unresolved":false,"context_lines":[{"line_number":90,"context_line":"script will ultimately invoke virt-customize with arguments to:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"- install database packages"},{"line_number":93,"context_line":"- install Trove guestagent code from one of several sources: Github tip of"},{"line_number":94,"context_line":"  master or stable release, distribution packages if applicable, community"},{"line_number":95,"context_line":"  packages such as RDO, or local file system."},{"line_number":96,"context_line":"- apply any required database configuration path changes"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_1548632c","line":93,"updated":"2016-05-05 16:41:43.000000000","message":"s/github//\n\nOpenStack does not use github","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"80f463032e26a91c85fa9151f223687e07c48874","unresolved":false,"context_lines":[{"line_number":90,"context_line":"script will ultimately invoke virt-customize with arguments to:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"- install database packages"},{"line_number":93,"context_line":"- install Trove guestagent code from one of several sources: Github tip of"},{"line_number":94,"context_line":"  master or stable release, distribution packages if applicable, community"},{"line_number":95,"context_line":"  packages such as RDO, or local file system."},{"line_number":96,"context_line":"- apply any required database configuration path changes"},{"line_number":97,"context_line":"- systemd or init.d service enablement"},{"line_number":98,"context_line":"- set SELinux labels or AppArmor profiles"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_21003266","line":95,"range":{"start_line":93,"start_character":61,"end_line":95,"end_character":45},"updated":"2016-05-04 14:06:35.000000000","message":"For development, there are elements that rsync the current code from the local file system.  Will this be an option as well or will developers need to build an image for each code change?","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"80f463032e26a91c85fa9151f223687e07c48874","unresolved":false,"context_lines":[{"line_number":96,"context_line":"- apply any required database configuration path changes"},{"line_number":97,"context_line":"- systemd or init.d service enablement"},{"line_number":98,"context_line":"- set SELinux labels or AppArmor profiles"},{"line_number":99,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":100,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Another parameterized option (e.g., command-line argument) should be whether"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_a1d562e6","line":99,"range":{"start_line":99,"start_character":2,"end_line":99,"end_character":55},"updated":"2016-05-04 14:06:35.000000000","message":"Will this be generic enough to handle any type of operating system \u0027registration,\u0027 or are there going to be Red Hat specific arguments?  I\u0027d hate for someone to be forced to \"Use downstream providers [software] which likely incurs a business relationship for access and use of their proprietary tested [code].\" ;D","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"a09d83027e42777e6c6450f3f5e7b3dfb16b3c6d","unresolved":false,"context_lines":[{"line_number":96,"context_line":"- apply any required database configuration path changes"},{"line_number":97,"context_line":"- systemd or init.d service enablement"},{"line_number":98,"context_line":"- set SELinux labels or AppArmor profiles"},{"line_number":99,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":100,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Another parameterized option (e.g., command-line argument) should be whether"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_d541cb0b","line":99,"in_reply_to":"1a122d0e_a1d562e6","updated":"2016-05-05 16:41:43.000000000","message":"I believe it is completely inappropriate for an OpenStack image building tool to need to know anything about OS \"Registration\". If there is an OS in question, such as RHEL or Windows that requires a booted instance of that OS to register with something, I would expect the vendor of such an image to provide that functionality in their base images. I would then expect OpenStack, in preparing an image for trove, to be in the business of specializing such a vendor provided image, rather than attempting to build one from scratch.\n\nIf there are parameters on boot needed for such things, I would expect the nova boot command to be the one to provide license info in the form of instance metadata to allow something like cloud-init to consume and process it.","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"cdfbc743a732ca3d60a8babdb5fd9081c345900f","unresolved":false,"context_lines":[{"line_number":96,"context_line":"- apply any required database configuration path changes"},{"line_number":97,"context_line":"- systemd or init.d service enablement"},{"line_number":98,"context_line":"- set SELinux labels or AppArmor profiles"},{"line_number":99,"context_line":"- perform RHEL subscription registration and attachment"},{"line_number":100,"context_line":"- optionally install SSH keys for debugging development and test images"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Another parameterized option (e.g., command-line argument) should be whether"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_95f2b36d","line":99,"in_reply_to":"1a122d0e_d541cb0b","updated":"2016-05-05 16:51:41.000000000","message":"This is just mirroring what happens now. Starting from the base image, you could need credentials to access the repositories. For example, with DIB:\n\nhttp://git.openstack.org/cgit/openstack/diskimage-builder/tree/elements/rhel-common/pre-install.d/00-rhel-registration","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"80f463032e26a91c85fa9151f223687e07c48874","unresolved":false,"context_lines":[{"line_number":126,"context_line":"- going forward, have trove incorporate those files formally instead of"},{"line_number":127,"context_line":"  maintaining them externally (under a separate blueprint)"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"Although this project could eventually be integrated with the redstack script"},{"line_number":130,"context_line":"for use in development and testing, it should have no dependency on it nor"},{"line_number":131,"context_line":"the trove or python-troveclient projects for execution, notwithstanding"},{"line_number":132,"context_line":"inclusion of the existing guest requirement files."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Note that virt-customize can work on both uncompressed and xz-compressed"},{"line_number":135,"context_line":"images. In the case of xz-compressed images, a technique using nbdkit can be"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_9ed521e7","line":132,"range":{"start_line":129,"start_character":0,"end_line":132,"end_character":50},"updated":"2016-05-04 14:06:35.000000000","message":"If I\u0027m reading this right, the new \u0027elements\u0027 wouldn\u0027t be tested (at least at the start). If they\u0027re not tested then won\u0027t this repo start to stagnate almost immediately?","commit_id":"2fed85736457b017d9c130a335b711d47ae2b68e"}]}
