)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"392f824d764d7ddb5ccb2b3b766ce8f482ea29b8","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Support single disk image OVA/OVF package upload"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Extracts the single root disk image and its metadata and saves"},{"line_number":10,"context_line":"in Glance database. Metadata can be used by Nova image properties"},{"line_number":11,"context_line":"filter. Image can be used to launch VM. Pre-processing saves"},{"line_number":12,"context_line":"time during launch."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"da20952f_7fa80c21","line":10,"updated":"2015-09-08 20:01:34.000000000","message":"Maybe replace the first two sentences with \"Extracts and stores a single root disk image from an OVA package.  Additionally extracts the metadata from the OVF descriptor file and creates these as Glance image properties, which can then be used by the Nova image properties filter.\"","commit_id":"60ab59aeac020c5a375a7f23780f09d8d28323ed"}],"specs/liberty/ovf-lite.rst":[{"author":{"_account_id":4573,"name":"yunhong-jiang","email":"yunhong.jiang@intel.com","username":"yunhong-jiang"},"change_message_id":"4ad9065515ee4a6b14cd97de55ed9027b84bf75f","unresolved":false,"context_lines":[{"line_number":122,"context_line":"  {ovf-meta-data-import: "},{"line_number":123,"context_line":"       ProcessorArchitecture,"},{"line_number":124,"context_line":"       InstructionSet,"},{"line_number":125,"context_line":"       InstructionSetExtensionName, ..}"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"Possible values:"},{"line_number":128,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_5291ce45","line":125,"updated":"2015-06-25 00:04:26.000000000","message":"Not sure if we can use more generic parameter to specify such requirement, instead of prefix with ovf-meta-data-import? Just considering how will these metadata will be interpreted by nova.","commit_id":"40bbe669a9bf909e56db4e5f5f3a23bdba58bc1c"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"d5248f494fbc043c49e8966cb93cfcaffe19f05d","unresolved":false,"context_lines":[{"line_number":122,"context_line":"  {ovf-meta-data-import: "},{"line_number":123,"context_line":"       ProcessorArchitecture,"},{"line_number":124,"context_line":"       InstructionSet,"},{"line_number":125,"context_line":"       InstructionSetExtensionName, ..}"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"Possible values:"},{"line_number":128,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_f2ffc231","line":125,"in_reply_to":"fa32b979_5291ce45","updated":"2015-06-25 00:20:09.000000000","message":"This is just in the glance.conf file to control which meta data to extract from the OVF xml file.","commit_id":"40bbe669a9bf909e56db4e5f5f3a23bdba58bc1c"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":19,"context_line":"particular tend to require enhanced platform features and fine-grained"},{"line_number":20,"context_line":"resource provisioning to meet their performance criteria. For example, special"},{"line_number":21,"context_line":"instructions, hardware accelerators, high speed IO, NUMA awareness and more."},{"line_number":22,"context_line":"These are captured as meta data in the OVF. We propose to extract the single"},{"line_number":23,"context_line":"image and its meta data and  save the same in Glance with the goal of easing"},{"line_number":24,"context_line":"provisioning, in particular eliminating the error prone manual editting of"},{"line_number":25,"context_line":"image meta data by cloud users.  The meta data can be used by the Nova image"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_b910244f","line":22,"updated":"2015-07-29 16:51:36.000000000","message":"\"meta data\" should be one word (here and throughout the spec) ... it\u0027s called \"metadata\" in the OVF specification.","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":21,"context_line":"instructions, hardware accelerators, high speed IO, NUMA awareness and more."},{"line_number":22,"context_line":"These are captured as meta data in the OVF. We propose to extract the single"},{"line_number":23,"context_line":"image and its meta data and  save the same in Glance with the goal of easing"},{"line_number":24,"context_line":"provisioning, in particular eliminating the error prone manual editting of"},{"line_number":25,"context_line":"image meta data by cloud users.  The meta data can be used by the Nova image"},{"line_number":26,"context_line":"properties filter to identify appropriate compute hosts."},{"line_number":27,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_392bb483","line":24,"updated":"2015-07-29 16:51:36.000000000","message":"should be \"editing\"","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The OVF image format backed by industry (VMware, Ericsson, IBM, Red Hat to"},{"line_number":33,"context_line":"name a few) and ETSI backed format. A common use case is a single disk image"},{"line_number":34,"context_line":"OVF package. To handle the same VMware even provided developed a special"},{"line_number":35,"context_line":"purpose Nova driver that launches a virtual machine using an uploaded OVF"},{"line_number":36,"context_line":"package with a single image.  However, each time the OVF image is used, it"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_59bc8005","line":33,"updated":"2015-07-29 16:51:36.000000000","message":"Maybe change \"The OVF image format backed by industry (VMware, Ericsson, IBM, Red Hat to name a few) and ETSI backed format.\" to \"\tThe OVF image format is backed by industry (VMware, Ericsson, IBM, Red Hat to\tname a few) and the European Telecommunications Standards Institute.\"  In any case, you need a verb in the sentence.","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":41,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"On OVF package upload, we propose processing the contents of the OVF package"},{"line_number":44,"context_line":"to extract the root disk image and save it in the Glance image database, and"},{"line_number":45,"context_line":"parsing the .ovf file to extract desired meta data. The image provider"},{"line_number":46,"context_line":"typically specifies meta data pertaining to hardware requirements and"},{"line_number":47,"context_line":"deployment parameters that ensure optimal performance. By not requiring the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_19b838c7","line":44,"updated":"2015-07-29 16:51:36.000000000","message":"replace \"image database\" with \"image store\"","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":48,"context_line":"cloud user to have to manually specify the meta data but use it from the"},{"line_number":49,"context_line":"package, reduces chances for manual error in specifying meta data and ensures"},{"line_number":50,"context_line":"optimal performance by carrying over vendor specified requirements to be used"},{"line_number":51,"context_line":"by the Nova scheduler for orchestration purposes."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Alternatives"},{"line_number":54,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_f9122c60","line":51,"updated":"2015-07-29 16:51:36.000000000","message":"Question: are you proposing to add this functionality to the Glance image upload process, i.e., PUT /v2/images/{id}/file , or are you proposing to do this as part of the Glance image import task?","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":54,"context_line":"------------"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"The alternative is to manually enter image metadata as it is done today,"},{"line_number":57,"context_line":"which is a tediuous and error prone, even as we try to make service delivery"},{"line_number":58,"context_line":"in the cloud automated."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_79d4dce7","line":57,"updated":"2015-07-29 16:51:36.000000000","message":"change \"which is a tediuous\" to \"which is tedious\"","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Security impact"},{"line_number":78,"context_line":"---------------"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"None"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Notifications impact"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_b4da6976","line":79,"updated":"2015-07-29 16:51:36.000000000","message":"You need to address this.  I believe that the OVA is a tarred gzipped package?  That would expose the Glance node processing the OVA to both a gzip expansion attack and a tar escalation-of-privileges attack (among others).","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":93,"context_line":"------------------"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"Launching an OVF package will be faster because it is processed now on"},{"line_number":96,"context_line":"upload as opposed to when used."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"Other deployer impact"},{"line_number":99,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_b96a6418","line":96,"updated":"2015-07-29 16:51:36.000000000","message":"This is true with respect to Nova performance, but not Glance.  The opening of the package and extracting the image data and metadata is something new that Glance will be doing, and hence could impact performance.","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":115,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"1) A global configuration parameter specifying the meta data of interest to"},{"line_number":118,"context_line":"   extract. Part of glance.conf."},{"line_number":119,"context_line":"   For example::"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"     {"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_d41db562","line":118,"updated":"2015-07-29 16:51:36.000000000","message":"Need to know more about whether you see this as a change to the upload process or as an import task.  That would affect where this configuration information would go.","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":171,"context_line":"----------"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"- Create workflows for tasks, to parse .ovf file, to create glance image with meta-data."},{"line_number":174,"context_line":"  We have a prelimnary parser implemented and may leaverage code from"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"- Update configuration file to indicate meta data of interest,"},{"line_number":177,"context_line":"  and a boolean flag to control saving OVF file in Glance."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_5449a55e","line":174,"updated":"2015-07-29 16:51:36.000000000","message":"You need to complete this sentence.","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"b2978523413cac9b195facc90dbc86344e9bea6e","unresolved":false,"context_lines":[{"line_number":174,"context_line":"  We have a prelimnary parser implemented and may leaverage code from"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"- Update configuration file to indicate meta data of interest,"},{"line_number":177,"context_line":"  and a boolean flag to control saving OVF file in Glance."},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"- Update configuration and usage documentation"},{"line_number":180,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a50d1a3_946acdb1","line":177,"updated":"2015-07-29 16:51:36.000000000","message":"If you make this a task, I\u0027m not sure that you\u0027d need the boolean flag.","commit_id":"3d18f879a6be5966511d9481f7f64b7119727943"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"18fc96ae33819e2c853747b1d31c1a13ce154239","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Proposed change"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"On OVF package upload (in the Glance image upload process), we propose"},{"line_number":45,"context_line":"processing the contents of the OVF package to extract the root disk image and"},{"line_number":46,"context_line":"save it in the Glance image store, and parsing the .ovf file to extract desired"},{"line_number":47,"context_line":"metadata. The image provider typically specifies metadata pertaining to"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a4dcd0f_2e779cd5","line":44,"updated":"2015-08-10 12:45:16.000000000","message":"Are you planning to implement another upload process?\n\nCould we perhaps utilize the same approach as introspection task does (this more or less sounds just like extension to that anyways)?","commit_id":"b99c0b3e8e9292dc4f11d7668af2862888a57e3a"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"c86de97134bcd965b28196346c11dab8627c5397","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Proposed change"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"On OVF package upload (in the Glance image upload process), we propose"},{"line_number":45,"context_line":"processing the contents of the OVF package to extract the root disk image and"},{"line_number":46,"context_line":"save it in the Glance image store, and parsing the .ovf file to extract desired"},{"line_number":47,"context_line":"metadata. The image provider typically specifies metadata pertaining to"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a4dcd0f_faae052d","line":44,"in_reply_to":"1a4dcd0f_2e779cd5","updated":"2015-08-11 14:46:35.000000000","message":"This should be done as a task rather than as a modification to the upload process for all the reasons Erno cites throughout.","commit_id":"b99c0b3e8e9292dc4f11d7668af2862888a57e3a"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"18fc96ae33819e2c853747b1d31c1a13ce154239","unresolved":false,"context_lines":[{"line_number":82,"context_line":"---------------"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Unpacking unknown OVA tar file can have security risks. The user must make"},{"line_number":85,"context_line":"sure and verify his/her OVA file."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Notifications impact"},{"line_number":88,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a4dcd0f_6e11245d","line":85,"updated":"2015-08-10 12:45:16.000000000","message":"Thus perhaps the right place to do this is within the tasks where the sandboxing and verifications are in plans already rather than image create.","commit_id":"b99c0b3e8e9292dc4f11d7668af2862888a57e3a"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"c86de97134bcd965b28196346c11dab8627c5397","unresolved":false,"context_lines":[{"line_number":82,"context_line":"---------------"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Unpacking unknown OVA tar file can have security risks. The user must make"},{"line_number":85,"context_line":"sure and verify his/her OVA file."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Notifications impact"},{"line_number":88,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a4dcd0f_9af90151","line":85,"in_reply_to":"1a4dcd0f_6e11245d","updated":"2015-08-11 14:46:35.000000000","message":"Leaving OVA verification to the user is not an option here, as the \"user\" would be the person intending to attack the system.  I don\u0027t see any alternative to making sure that the OVA introspection task can handle both gzip expansion and tar escalation of privilege attacks.","commit_id":"b99c0b3e8e9292dc4f11d7668af2862888a57e3a"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"18fc96ae33819e2c853747b1d31c1a13ce154239","unresolved":false,"context_lines":[{"line_number":87,"context_line":"Notifications impact"},{"line_number":88,"context_line":"--------------------"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"None"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"Other end user impact"},{"line_number":93,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a4dcd0f_e91c4e6c","line":90,"updated":"2015-08-10 12:45:16.000000000","message":"Would it be bad thing to notify start and finish of processing?","commit_id":"b99c0b3e8e9292dc4f11d7668af2862888a57e3a"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"18fc96ae33819e2c853747b1d31c1a13ce154239","unresolved":false,"context_lines":[{"line_number":112,"context_line":"deployed, like qcow and other images. The Nova OVF driver cannot be"},{"line_number":113,"context_line":"deprecated until all OVF packages are processed using this new strategy."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":""},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"Developer impact"},{"line_number":118,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a4dcd0f_095f3a0f","line":115,"updated":"2015-08-10 12:45:16.000000000","message":"Sufficient workspace needed on the nodes processing the archives. Thus again implementing this within tasks would make more sense as that has been taken into account already there.","commit_id":"b99c0b3e8e9292dc4f11d7668af2862888a57e3a"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"18fc96ae33819e2c853747b1d31c1a13ce154239","unresolved":false,"context_lines":[{"line_number":113,"context_line":"deprecated until all OVF packages are processed using this new strategy."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":""},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"Developer impact"},{"line_number":118,"context_line":"----------------"},{"line_number":119,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a4dcd0f_29db16ef","line":116,"updated":"2015-08-10 12:45:16.000000000","message":"Would the mapping between ovf descriptor elements and glance metadata fields be static and/or provided by glance or is this something the deployer needs to maintain as well?","commit_id":"b99c0b3e8e9292dc4f11d7668af2862888a57e3a"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"18fc96ae33819e2c853747b1d31c1a13ce154239","unresolved":false,"context_lines":[{"line_number":169,"context_line":"---------"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"Core reviewer(s):"},{"line_number":172,"context_line":"  arnaudleg"},{"line_number":173,"context_line":"  nikhil-komawar"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"Other reviewer(s):"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a4dcd0f_c962b2ad","line":172,"updated":"2015-08-10 12:45:16.000000000","message":"Has Arnaud agreed on this work? Haven\u0027t heard from him since he changed jobs. At leas not been active contributor on Glance for quite a while.","commit_id":"b99c0b3e8e9292dc4f11d7668af2862888a57e3a"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"800a8933b2c81c07d447ca601bfb3e548f169969","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Proposed change"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"On OVF package upload (in a Glance task extension), we propose"},{"line_number":45,"context_line":"processing the contents of the OVF package to extract the root disk image and"},{"line_number":46,"context_line":"save it in the Glance image store, and parsing the .ovf file to extract desired"},{"line_number":47,"context_line":"metadata. The image provider typically specifies metadata pertaining to"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_1102053f","line":44,"updated":"2015-09-02 15:30:11.000000000","message":"Please explain this more clearly, i.e., what exactly do you mean by a \"Glance task extension\".  Do you mean a completely new task, or are you proposing to write a taskflow plugin for the import task, or what?","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"fd34c10e9af66182122c14874a823cacf98384f9","unresolved":false,"context_lines":[{"line_number":50,"context_line":"metadata but use it from the package, reduces chances for manual error in"},{"line_number":51,"context_line":"specifying metadata and ensures optimal performance by carrying over vendor"},{"line_number":52,"context_line":"specified requirements to be used by the Nova scheduler for orchestration"},{"line_number":53,"context_line":"purposes."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Alternatives"},{"line_number":56,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_4c7d1b1b","line":53,"updated":"2015-09-03 08:45:53.000000000","message":"mmh, it\u0027s not clear to me how this will work, and that\u0027s probably what Brian is referring to with his previous comment.\n\nRight now, there\u0027s no good way to trigger tasks automatically in Glance, which means the OVF files would have to be *imported* - that means, downloaded using the import task - and then parsed to extract all the metadata and the root disk.\n\nUploading these files through the standard Glance API won\u0027t give the results expected/mentioned here. That is to say that uploading the OVF will create a new *OVF* image and then a separate task will have to be executed *manually* to parse the OVF file and create the required images.\n\nWhich of the scenarios mentioned above is the one this spec will support?","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":13997,"name":"SHIGEMATSU Mitsuhiro","email":"shigematsu.mitsuhiro@lab.ntt.co.jp","username":"pshige"},"change_message_id":"bc351c72eab9742a0e514621458a9721104c6e3b","unresolved":false,"context_lines":[{"line_number":60,"context_line":"in the cloud automated."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"A full fledged solution where an OVF pacakge has multiple disk images is out"},{"line_number":64,"context_line":"of the scope for this effort but a logical next step when artifacts are mature"},{"line_number":65,"context_line":"(Liberty). We anticipate creating OVF artifacts and transforming its contents"},{"line_number":66,"context_line":"into a Heat artifact. The richness of OVF would need to be captured in Heat"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_b6017307","line":63,"updated":"2015-08-29 13:42:16.000000000","message":"s/pacakge/package/","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"1bf0508a81f328d25630ff2cdb26aba82200068a","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"A full fledged solution where an OVF pacakge has multiple disk images is out"},{"line_number":64,"context_line":"of the scope for this effort but a logical next step when artifacts are mature"},{"line_number":65,"context_line":"(Liberty). We anticipate creating OVF artifacts and transforming its contents"},{"line_number":66,"context_line":"into a Heat artifact. The richness of OVF would need to be captured in Heat"},{"line_number":67,"context_line":"including networking aspects."},{"line_number":68,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_391defbd","line":65,"updated":"2015-08-26 16:09:32.000000000","message":"I\u0027d be bit careful with future predicting statements like this (Liberty) here. Artifacts are after all agreed to be Experimental in Liberty.","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"b13d45a0fabea0953e4ea924f0aa8cd7020a18ed","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"A full fledged solution where an OVF pacakge has multiple disk images is out"},{"line_number":64,"context_line":"of the scope for this effort but a logical next step when artifacts are mature"},{"line_number":65,"context_line":"(Liberty). We anticipate creating OVF artifacts and transforming its contents"},{"line_number":66,"context_line":"into a Heat artifact. The richness of OVF would need to be captured in Heat"},{"line_number":67,"context_line":"including networking aspects."},{"line_number":68,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_1f49ebd0","line":65,"in_reply_to":"da20952f_391defbd","updated":"2015-08-26 16:24:04.000000000","message":"+1","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"1bf0508a81f328d25630ff2cdb26aba82200068a","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Unpacking unknown OVA tar file can have security risks, namely gzip"},{"line_number":83,"context_line":"expansion and tar escalation of privilege attacks. Proposed task"},{"line_number":84,"context_line":"extension will address this."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Notifications impact"},{"line_number":87,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_3cb63d3e","line":84,"updated":"2015-08-26 16:09:32.000000000","message":"I think documenting how is really important here. These are well known attacks and they are not addressed in our default configuration.","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"1bf0508a81f328d25630ff2cdb26aba82200068a","unresolved":false,"context_lines":[{"line_number":86,"context_line":"Notifications impact"},{"line_number":87,"context_line":"--------------------"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Notifications for OVA processing start and finish can be helpful to have."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Other end user impact"},{"line_number":92,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_dce86119","line":89,"updated":"2015-08-26 16:09:32.000000000","message":"So do we have impact or not?","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"1bf0508a81f328d25630ff2cdb26aba82200068a","unresolved":false,"context_lines":[{"line_number":109,"context_line":"Existing OVF packages in Glance can be deployed as before using the VMware"},{"line_number":110,"context_line":"driver. Once this functionality is delivered, disk images may be directly"},{"line_number":111,"context_line":"deployed, like qcow and other images. The Nova OVF driver cannot be"},{"line_number":112,"context_line":"deprecated until all OVF packages are processed using this new strategy."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":""},{"line_number":115,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_99119b60","line":112,"updated":"2015-08-26 16:09:32.000000000","message":"Also might be good to remember that to utilize this functionality disk space for tasks will be needed. This is not the case per default.\n\nIs there need and/or will to deprecate the Nova OVF driver. This behavior might not be always the optimal one.","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"1bf0508a81f328d25630ff2cdb26aba82200068a","unresolved":false,"context_lines":[{"line_number":112,"context_line":"deprecated until all OVF packages are processed using this new strategy."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":""},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Developer impact"},{"line_number":117,"context_line":"----------------"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_dccf01b2","line":115,"updated":"2015-08-26 16:09:32.000000000","message":"NIT: 3 empty lines.","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"1bf0508a81f328d25630ff2cdb26aba82200068a","unresolved":false,"context_lines":[{"line_number":143,"context_line":"          RDRAND (aka SecureKey),"},{"line_number":144,"context_line":"          Advanced Encryption Standard New Instruction (Intel® AES-NI)."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"   See [H] for an exhaustive list."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"2) Download OVA or OVF directory,"},{"line_number":149,"context_line":"3) Process the embedded .ovf descriptor file to extract metadata and the root disk"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_7ca03591","line":146,"updated":"2015-08-26 16:09:32.000000000","message":"I would appreciate this kind of data living on it\u0027s own document instead of embedding it into the glance-api.conf. Similar manner we have metadefs separated. Looking the schemas these might become really extensive definitions.","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":13997,"name":"SHIGEMATSU Mitsuhiro","email":"shigematsu.mitsuhiro@lab.ntt.co.jp","username":"pshige"},"change_message_id":"bc351c72eab9742a0e514621458a9721104c6e3b","unresolved":false,"context_lines":[{"line_number":178,"context_line":"----------"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"- Create workflows for tasks, to parse .ovf file, to create glance image with metadata."},{"line_number":181,"context_line":"  We have a prelimnary parser implemented."},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"- Update configuration file to indicate metadata of interest."},{"line_number":184,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da20952f_76075b18","line":181,"updated":"2015-08-29 13:42:16.000000000","message":"s/prelimnary/preliminary/","commit_id":"7109982dc040d0f2d688115c3d84ae2399ce7e03"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"89d03a028459e5dd37409589d4634208be32fa3f","unresolved":false,"context_lines":[{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"We propose supporting OVF package import by extending the import"},{"line_number":45,"context_line":"task. Support will be limited to extracting the root disk image and"},{"line_number":46,"context_line":"saving it to Glance image store, followed by parsing the .ovf file"},{"line_number":47,"context_line":"to extract desired metadata specified via a configuration file."},{"line_number":48,"context_line":"The meta data is attached to the Glance image. Typically the image"}],"source_content_type":"text/x-rst","patch_set":12,"id":"da20952f_4b45c540","line":45,"updated":"2015-09-04 13:24:10.000000000","message":"I understand that you\u0027re referring to the `import task` from an API POV, and it makes sense for it to be called task. However, since the \"import task\" has become a \"flow\" and it\u0027s been broken down into several tasks, it\u0027d be easier, at least for me (and hopefully for others), if you would refer about it as a flow/workflow.\n\n(Sorry for the nitpick, it\u0027ll make more sense when reading my comments in the implementation)","commit_id":"4cce38c71bbd897a1a32d8343ae979bb76c0d7ee"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"89d03a028459e5dd37409589d4634208be32fa3f","unresolved":false,"context_lines":[{"line_number":45,"context_line":"task. Support will be limited to extracting the root disk image and"},{"line_number":46,"context_line":"saving it to Glance image store, followed by parsing the .ovf file"},{"line_number":47,"context_line":"to extract desired metadata specified via a configuration file."},{"line_number":48,"context_line":"The meta data is attached to the Glance image. Typically the image"},{"line_number":49,"context_line":"provider will specify metadata pertaining to hardware requirements and"},{"line_number":50,"context_line":"deployment parameters that ensure optimal performance. By not requiring the"},{"line_number":51,"context_line":"cloud user to have to manually specify such metadata through extraction"}],"source_content_type":"text/x-rst","patch_set":12,"id":"da20952f_8bdbdd7b","line":48,"updated":"2015-09-04 13:24:10.000000000","message":"to the Glance image properties","commit_id":"4cce38c71bbd897a1a32d8343ae979bb76c0d7ee"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"7817d36eae2e60f516afd83fbc7cdb5626ed078f","unresolved":false,"context_lines":[{"line_number":45,"context_line":"task. Support will be limited to extracting the root disk image and"},{"line_number":46,"context_line":"saving it to Glance image store, followed by parsing the .ovf file"},{"line_number":47,"context_line":"to extract desired metadata specified via a configuration file."},{"line_number":48,"context_line":"The meta data is attached to the Glance image. Typically the image"},{"line_number":49,"context_line":"provider will specify metadata pertaining to hardware requirements and"},{"line_number":50,"context_line":"deployment parameters that ensure optimal performance. By not requiring the"},{"line_number":51,"context_line":"cloud user to have to manually specify such metadata through extraction"}],"source_content_type":"text/x-rst","patch_set":12,"id":"da20952f_f4e91a1b","line":48,"in_reply_to":"da20952f_8bdbdd7b","updated":"2015-09-04 14:36:35.000000000","message":"How about instead of \"The meta data is attached to the Glance image\", you say \"The extracted metadata will be recorded as image properties on the Glance image record\".","commit_id":"4cce38c71bbd897a1a32d8343ae979bb76c0d7ee"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"7817d36eae2e60f516afd83fbc7cdb5626ed078f","unresolved":false,"context_lines":[{"line_number":50,"context_line":"deployment parameters that ensure optimal performance. By not requiring the"},{"line_number":51,"context_line":"cloud user to have to manually specify such metadata through extraction"},{"line_number":52,"context_line":"and saving the same, the chances of manual error are reduced. The meta"},{"line_number":53,"context_line":"data may serve, among other things, to aid Nova in optimal"},{"line_number":54,"context_line":"placement/orchestration to ensure meeting vendor performance"},{"line_number":55,"context_line":"and/or other claims."},{"line_number":56,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"da20952f_143dae8e","line":53,"updated":"2015-09-04 14:36:35.000000000","message":"Nit: please be consistent in using \u0027metadata\u0027 instead of \u0027meta data\u0027.  (The OVF specification uses \u0027metadata\u0027, so that\u0027s the way to go.)","commit_id":"4cce38c71bbd897a1a32d8343ae979bb76c0d7ee"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"7817d36eae2e60f516afd83fbc7cdb5626ed078f","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Unpacking an unknown OVA tar file can have security risks, namely gzip"},{"line_number":85,"context_line":"expansion and tar escalation of privilege attacks[J]. Thanks to Brian"},{"line_number":86,"context_line":"Rosmaita for highlighting this vulnerability. In this initial implementation"},{"line_number":87,"context_line":"we shall restrict access to OVA import to users with admin privileges in"},{"line_number":88,"context_line":"Glance. In a future extension we could address some of these vulnerabilities"},{"line_number":89,"context_line":"such as examining the tar manifest first (tar tvf foo.ova) to confirm no"}],"source_content_type":"text/x-rst","patch_set":12,"id":"da20952f_5466c6bb","line":86,"updated":"2015-09-04 14:36:35.000000000","message":"Thanks for the shout-out, but you don\u0027t need to give me credit here.","commit_id":"4cce38c71bbd897a1a32d8343ae979bb76c0d7ee"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"89d03a028459e5dd37409589d4634208be32fa3f","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"With regards to Nova, launching an OVF package will be faster because it is"},{"line_number":115,"context_line":"processed on import (once) rather than on each use."},{"line_number":116,"context_line":" "},{"line_number":117,"context_line":"Other deployer impact"},{"line_number":118,"context_line":"---------------------"},{"line_number":119,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"da20952f_cb6f95c2","line":116,"updated":"2015-09-04 13:24:10.000000000","message":"nit: unnecessary space","commit_id":"4cce38c71bbd897a1a32d8343ae979bb76c0d7ee"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"896ee08557715bd4a48d5ded39ea0682f90edc16","unresolved":false,"context_lines":[{"line_number":185,"context_line":""},{"line_number":186,"context_line":"Other reviewer(s):"},{"line_number":187,"context_line":"  Erno Kuvaja"},{"line_number":188,"context_line":"  icordasc"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"Work Items"},{"line_number":191,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":12,"id":"da20952f_f48fda20","line":188,"updated":"2015-09-04 14:40:18.000000000","message":"NIT: I think we\u0027re still Core Reviewers in Glance ;)","commit_id":"4cce38c71bbd897a1a32d8343ae979bb76c0d7ee"},{"author":{"_account_id":18645,"name":"Mike Gerdts","email":"mike.gerdts@oracle.com","username":"mgerdts"},"change_message_id":"d9f0d6953f2420314ec51983b89c671ce0e941c7","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Proposed change"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"We propose supporting OVF package import by extending the import"},{"line_number":45,"context_line":"flow. Support will be limited to extracting the root disk image and"},{"line_number":46,"context_line":"saving it to Glance image store, followed by parsing the .ovf file"},{"line_number":47,"context_line":"to extract desired metadata specified via a configuration file."}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_8085c55a","line":44,"updated":"2015-09-30 16:07:40.000000000","message":"Is this only in ova (tar with carefully ordered files) or is the intent to support arbitrary archive types.  As you will see from my other comments, imposing this restriction may be helpful in other places.  To avoid the gzip expansion problems mentioned later, the .ova file must not be compressed, but the virtual disk image inside it may be.","commit_id":"60ab59aeac020c5a375a7f23780f09d8d28323ed"},{"author":{"_account_id":18645,"name":"Mike Gerdts","email":"mike.gerdts@oracle.com","username":"mgerdts"},"change_message_id":"d9f0d6953f2420314ec51983b89c671ce0e941c7","unresolved":false,"context_lines":[{"line_number":45,"context_line":"flow. Support will be limited to extracting the root disk image and"},{"line_number":46,"context_line":"saving it to Glance image store, followed by parsing the .ovf file"},{"line_number":47,"context_line":"to extract desired metadata specified via a configuration file."},{"line_number":48,"context_line":"The extracted metadata will be recorded as image properties on the Glance"},{"line_number":49,"context_line":"image record. Typically the image provider will specify metadata"},{"line_number":50,"context_line":"pertaining to hardware requirements and"},{"line_number":51,"context_line":"deployment parameters that ensure optimal performance. By not requiring the"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_6ab89075","line":48,"updated":"2015-09-30 16:07:40.000000000","message":"This is a little bit backwards.  The .ovf file should be parsed to ensure that the ovf package is compatible with any restrictions that apply (e.g. single system with a single disk image, perhaps others that you may find by paying close attention to the ovf spec).  Only once we  are satisfied that the package is usable should disk extraction begin.  Presuming we are presented with a .ova (ustar, not compressed, \u003cmumble\u003e.ovf is the first file in the archive and is not replaced by a later file by the same name) file it is easy to pick the .ovf file out without extracting the entire archive.","commit_id":"60ab59aeac020c5a375a7f23780f09d8d28323ed"},{"author":{"_account_id":18645,"name":"Mike Gerdts","email":"mike.gerdts@oracle.com","username":"mgerdts"},"change_message_id":"d9f0d6953f2420314ec51983b89c671ce0e941c7","unresolved":false,"context_lines":[{"line_number":86,"context_line":"implementation we shall restrict access to OVA import to users with admin"},{"line_number":87,"context_line":"privileges in Glance. In a future extension we could address some of these"},{"line_number":88,"context_line":"vulnerabilities such as examining the tar manifest first (tar tvf foo.ova) to"},{"line_number":89,"context_line":"confirm no system paths or high value files like /etc/passwd. To protect from"},{"line_number":90,"context_line":"gzip bomb style attacks an anti-virus program would come in handy and should be"},{"line_number":91,"context_line":"threaded into the processing flow."},{"line_number":92,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_5661b8a7","line":89,"updated":"2015-09-30 16:07:40.000000000","message":"DSP0243_2.1.0.pdf states on line 459 that all paths in a .ova file are relative path references (leading / not allowed).  Further, on lines 524 - 525, it states that \"..\" is not allowed in relative path references.  Thus, any .ova file that tries to write to a path that is outside of the current working directory is invalid.  If sanity checks for conformance with the spec are performed and pass, it is not clear that the admin restriction is needed.","commit_id":"60ab59aeac020c5a375a7f23780f09d8d28323ed"},{"author":{"_account_id":18645,"name":"Mike Gerdts","email":"mike.gerdts@oracle.com","username":"mgerdts"},"change_message_id":"d9f0d6953f2420314ec51983b89c671ce0e941c7","unresolved":false,"context_lines":[{"line_number":87,"context_line":"privileges in Glance. In a future extension we could address some of these"},{"line_number":88,"context_line":"vulnerabilities such as examining the tar manifest first (tar tvf foo.ova) to"},{"line_number":89,"context_line":"confirm no system paths or high value files like /etc/passwd. To protect from"},{"line_number":90,"context_line":"gzip bomb style attacks an anti-virus program would come in handy and should be"},{"line_number":91,"context_line":"threaded into the processing flow."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Notifications impact"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_5bf1e169","line":90,"updated":"2015-09-30 16:07:40.000000000","message":"DSP0243_2.1.0.pdf states on lines 769 - 773 that the capacity shall be specified.  This capacity could be used to first ensure sufficient space is available and second to ensure that a gzip attack does not try to create a file that is larger than the specified size.","commit_id":"60ab59aeac020c5a375a7f23780f09d8d28323ed"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"392f824d764d7ddb5ccb2b3b766ce8f482ea29b8","unresolved":false,"context_lines":[{"line_number":121,"context_line":"deployed, like qcow and other images. The Nova OVF driver cannot be"},{"line_number":122,"context_line":"deprecated until all OVF packages are processed using this new strategy."},{"line_number":123,"context_line":"Please note that this feature requires disk space to support untarring"},{"line_number":124,"context_line":"of arhives and that operations might fail due to inadequate disk resources."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"Developer impact"},{"line_number":127,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"da20952f_9fc3a057","line":124,"updated":"2015-09-08 20:01:34.000000000","message":"\u0027arhives\u0027 should be \u0027archives\u0027\n\nAlso, you might want to point out that the deployer should check the value of image_property_quota in glance-api.conf to make sure that the quota is set high enough to allow all the desired OVF metadata to be stored as image properties.","commit_id":"60ab59aeac020c5a375a7f23780f09d8d28323ed"}],"specs/mitaka/approved/ovf-lite.rst":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"0e850bd521dd082beb708e774d843213a0cba4b6","unresolved":false,"context_lines":[{"line_number":15,"context_line":"agnostic. Both enterprise and Telco Network Virtual Function (NVF)"},{"line_number":16,"context_line":"providers desire OpenStack OVF support, to distribute in a standard format"},{"line_number":17,"context_line":"appliance images and deployment requirements to ensure optimal performance."},{"line_number":18,"context_line":"An OVF package, also called an ova, is essentially a tar ball that contains"},{"line_number":19,"context_line":"disk images, a manifest and the ovf xml file. A common use case is a single"},{"line_number":20,"context_line":"disk image package with the ovf file containing deployment meta data. NFV"},{"line_number":21,"context_line":"workloads in particular tend to require enhanced platform features and"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_9e65dce2","line":18,"updated":"2015-12-22 22:34:45.000000000","message":"OVA*(?)","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"8ee0f54d646c886a1da7186a9a7b462dc7e26488","unresolved":false,"context_lines":[{"line_number":15,"context_line":"agnostic. Both enterprise and Telco Network Virtual Function (NVF)"},{"line_number":16,"context_line":"providers desire OpenStack OVF support, to distribute in a standard format"},{"line_number":17,"context_line":"appliance images and deployment requirements to ensure optimal performance."},{"line_number":18,"context_line":"An OVF package, also called an ova, is essentially a tar ball that contains"},{"line_number":19,"context_line":"disk images, a manifest and the ovf xml file. A common use case is a single"},{"line_number":20,"context_line":"disk image package with the ovf file containing deployment meta data. NFV"},{"line_number":21,"context_line":"workloads in particular tend to require enhanced platform features and"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_0c74619a","line":18,"in_reply_to":"1a7b0d38_9e65dce2","updated":"2015-12-22 23:17:38.000000000","message":"Done","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"0e850bd521dd082beb708e774d843213a0cba4b6","unresolved":false,"context_lines":[{"line_number":43,"context_line":"Proposed change"},{"line_number":44,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"We propose supporting OVF package import by extending the import"},{"line_number":47,"context_line":"flow. Support will be limited to extracting the root disk image and"},{"line_number":48,"context_line":"saving it to the Glance image store, followed by parsing the .ovf file"},{"line_number":49,"context_line":"to extract desired metadata specified via a configuration file."},{"line_number":50,"context_line":"The extracted metadata will be recorded as image properties on the Glance"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_9edabc77","line":47,"range":{"start_line":46,"start_character":0,"end_line":47,"end_character":4},"updated":"2015-12-22 22:34:45.000000000","message":"Perhaps we can replace this with: \"We propose supporting OVF package by adding a new task capable of extracting the package data and metadata.\"","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"8ee0f54d646c886a1da7186a9a7b462dc7e26488","unresolved":false,"context_lines":[{"line_number":43,"context_line":"Proposed change"},{"line_number":44,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"We propose supporting OVF package import by extending the import"},{"line_number":47,"context_line":"flow. Support will be limited to extracting the root disk image and"},{"line_number":48,"context_line":"saving it to the Glance image store, followed by parsing the .ovf file"},{"line_number":49,"context_line":"to extract desired metadata specified via a configuration file."},{"line_number":50,"context_line":"The extracted metadata will be recorded as image properties on the Glance"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_2c791d94","line":47,"range":{"start_line":46,"start_character":0,"end_line":47,"end_character":4},"in_reply_to":"1a7b0d38_9edabc77","updated":"2015-12-22 23:17:38.000000000","message":"Done","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"0e850bd521dd082beb708e774d843213a0cba4b6","unresolved":false,"context_lines":[{"line_number":98,"context_line":"Notifications impact"},{"line_number":99,"context_line":"--------------------"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"None."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"While notifications for OVA processing start and finish can be"},{"line_number":104,"context_line":"helpful there shall be none at this point."}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_9ec15c83","line":101,"range":{"start_line":101,"start_character":0,"end_line":101,"end_character":4},"updated":"2015-12-22 22:34:45.000000000","message":"remove","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"8ee0f54d646c886a1da7186a9a7b462dc7e26488","unresolved":false,"context_lines":[{"line_number":98,"context_line":"Notifications impact"},{"line_number":99,"context_line":"--------------------"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"None."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"While notifications for OVA processing start and finish can be"},{"line_number":104,"context_line":"helpful there shall be none at this point."}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_cc6df9cd","line":101,"range":{"start_line":101,"start_character":0,"end_line":101,"end_character":4},"in_reply_to":"1a7b0d38_9ec15c83","updated":"2015-12-22 23:17:38.000000000","message":"Done","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"0e850bd521dd082beb708e774d843213a0cba4b6","unresolved":false,"context_lines":[{"line_number":192,"context_line":"-----------"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"Primary assignee:"},{"line_number":195,"context_line":"  Deepti Ramakrishna (dramakri)"},{"line_number":196,"context_line":"  Lin Yang (ling-a-yang)"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"Other contributors:"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_de5cc4ef","line":195,"updated":"2015-12-22 22:34:45.000000000","message":"you want to use `*` for listing","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"8ee0f54d646c886a1da7186a9a7b462dc7e26488","unresolved":false,"context_lines":[{"line_number":192,"context_line":"-----------"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"Primary assignee:"},{"line_number":195,"context_line":"  Deepti Ramakrishna (dramakri)"},{"line_number":196,"context_line":"  Lin Yang (ling-a-yang)"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"Other contributors:"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_ec7235ad","line":195,"in_reply_to":"1a7b0d38_de5cc4ef","updated":"2015-12-22 23:17:38.000000000","message":"Done","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"0e850bd521dd082beb708e774d843213a0cba4b6","unresolved":false,"context_lines":[{"line_number":203,"context_line":"---------"},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"Core reviewer(s):"},{"line_number":206,"context_line":"  nikhil-komawar"},{"line_number":207,"context_line":"  Erno Kuvaja"},{"line_number":208,"context_line":"  Ian Cordasco"},{"line_number":209,"context_line":"  Flavio Percoco"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_3e6ce89b","line":206,"updated":"2015-12-22 22:34:45.000000000","message":"ditto re listing","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"8ee0f54d646c886a1da7186a9a7b462dc7e26488","unresolved":false,"context_lines":[{"line_number":203,"context_line":"---------"},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"Core reviewer(s):"},{"line_number":206,"context_line":"  nikhil-komawar"},{"line_number":207,"context_line":"  Erno Kuvaja"},{"line_number":208,"context_line":"  Ian Cordasco"},{"line_number":209,"context_line":"  Flavio Percoco"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_8c6851bc","line":206,"in_reply_to":"1a7b0d38_3e6ce89b","updated":"2015-12-22 23:17:38.000000000","message":"Done","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"0e850bd521dd082beb708e774d843213a0cba4b6","unresolved":false,"context_lines":[{"line_number":222,"context_line":""},{"line_number":223,"context_line":"- Update configuration and usage documentation"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"- A background task that can be invoked in an upgraded environment to"},{"line_number":226,"context_line":"  provide OVF Lite support for existing OVF files in Glance."},{"line_number":227,"context_line":""},{"line_number":228,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"1a7b0d38_1e31eca2","line":225,"updated":"2015-12-22 22:34:45.000000000","message":"Should we make this work item part of this spec? It doesn\u0027t sound like a blocker to me. Enabling users to upload OVFs should be the focus of this spec rather than upgrading/importing all existing OVF images.\n\nCurious to know what other folks think","commit_id":"3b24853c305251d3d221dad0211f67a198c37ef6"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f6f02607b811f7c44ccbbd575e14fa2936463234","unresolved":false,"context_lines":[{"line_number":56,"context_line":"restricted to admin users, and the feature itself can be disabled or"},{"line_number":57,"context_line":"enabled through configuration using functionality as proposed in [L]."},{"line_number":58,"context_line":"The metadata may serve, among other things, to aid Nova in optimal"},{"line_number":59,"context_line":"placement/orchestration to ensure meeting vendor performance, "},{"line_number":60,"context_line":"compliance, and/or other requirements."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_a207d6c8","line":59,"range":{"start_line":59,"start_character":61,"end_line":59,"end_character":62},"updated":"2015-12-28 12:29:19.000000000","message":"s/ //","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"67b46891b080688b1ca674d191f4fc0e21732c67","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"1) A global configuration parameter specifying the metadata of interest to"},{"line_number":145,"context_line":"   extract. Per feedback, this shall be maintained in a separate file"},{"line_number":146,"context_line":"   ovf-metadata.conf with a sample file provided."},{"line_number":147,"context_line":"   For example::"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"     {"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_ccbc94de","line":146,"range":{"start_line":146,"start_character":7,"end_line":146,"end_character":15},"updated":"2015-12-28 14:24:05.000000000","message":"We also need a configuration option with reference to target file. I think it is worth to mention here.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"bf38b934b556c5ca375356a00c79feef5b1a6c67","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"1) A global configuration parameter specifying the metadata of interest to"},{"line_number":145,"context_line":"   extract. Per feedback, this shall be maintained in a separate file"},{"line_number":146,"context_line":"   ovf-metadata.conf with a sample file provided."},{"line_number":147,"context_line":"   For example::"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"     {"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_9c01c83a","line":146,"range":{"start_line":146,"start_character":7,"end_line":146,"end_character":15},"in_reply_to":"1a7b0d38_1c0cf8eb","updated":"2015-12-29 08:56:03.000000000","message":"Sorry I was not clear. Of course I meant ovf-metadata.conf.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"7c4a0183209753e6b02248093008c2c00dc57665","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"1) A global configuration parameter specifying the metadata of interest to"},{"line_number":145,"context_line":"   extract. Per feedback, this shall be maintained in a separate file"},{"line_number":146,"context_line":"   ovf-metadata.conf with a sample file provided."},{"line_number":147,"context_line":"   For example::"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"     {"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_1c0cf8eb","line":146,"range":{"start_line":146,"start_character":7,"end_line":146,"end_character":15},"in_reply_to":"1a7b0d38_ccbc94de","updated":"2015-12-29 08:43:47.000000000","message":"@Kairat, what do you mean by target file?","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"67b46891b080688b1ca674d191f4fc0e21732c67","unresolved":false,"context_lines":[{"line_number":147,"context_line":"   For example::"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"     {"},{"line_number":150,"context_line":"       ovf_metadata_properties:"},{"line_number":151,"context_line":"           ProcessorArchitecture,"},{"line_number":152,"context_line":"           InstructionSet,"},{"line_number":153,"context_line":"           InstructionSetExtensionName,"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_cc1494a1","line":150,"updated":"2015-12-28 14:24:05.000000000","message":"Just a question: why do we need a separate file for that?\nCan we use glance metadata features to describe ovf format?","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"bf38b934b556c5ca375356a00c79feef5b1a6c67","unresolved":false,"context_lines":[{"line_number":147,"context_line":"   For example::"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"     {"},{"line_number":150,"context_line":"       ovf_metadata_properties:"},{"line_number":151,"context_line":"           ProcessorArchitecture,"},{"line_number":152,"context_line":"           InstructionSet,"},{"line_number":153,"context_line":"           InstructionSetExtensionName,"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_9c76a8d5","line":150,"in_reply_to":"1a7b0d38_3c01b4af","updated":"2015-12-29 08:56:03.000000000","message":"I will try to post that for new patchset.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"7c4a0183209753e6b02248093008c2c00dc57665","unresolved":false,"context_lines":[{"line_number":147,"context_line":"   For example::"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"     {"},{"line_number":150,"context_line":"       ovf_metadata_properties:"},{"line_number":151,"context_line":"           ProcessorArchitecture,"},{"line_number":152,"context_line":"           InstructionSet,"},{"line_number":153,"context_line":"           InstructionSetExtensionName,"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_3c01b4af","line":150,"in_reply_to":"1a7b0d38_cc1494a1","updated":"2015-12-29 08:43:47.000000000","message":"Separate file idea came from community, to keep things modular. Allow the config file to be as explicit as desired.\nWhat do you mean by your second question on metadata. AN example might help. Thanks.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"67b46891b080688b1ca674d191f4fc0e21732c67","unresolved":false,"context_lines":[{"line_number":168,"context_line":"2) Download OVA"},{"line_number":169,"context_line":"3) Process the embedded .ovf descriptor file to extract metadata"},{"line_number":170,"context_line":"   and the root disk. Parsing will use the schema in [G]"},{"line_number":171,"context_line":"4) Save the root disk image in Glance"},{"line_number":172,"context_line":"5) Attach to the saved disk image the extracted metadata"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"In this initial implementation we will not handle encryption keys or"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_6cf8007c","line":171,"updated":"2015-12-28 14:24:05.000000000","message":"Do we need to clean files after successful uploading? I guess we need to clean this.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"7c4a0183209753e6b02248093008c2c00dc57665","unresolved":false,"context_lines":[{"line_number":168,"context_line":"2) Download OVA"},{"line_number":169,"context_line":"3) Process the embedded .ovf descriptor file to extract metadata"},{"line_number":170,"context_line":"   and the root disk. Parsing will use the schema in [G]"},{"line_number":171,"context_line":"4) Save the root disk image in Glance"},{"line_number":172,"context_line":"5) Attach to the saved disk image the extracted metadata"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"In this initial implementation we will not handle encryption keys or"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_fc9c8cc1","line":171,"in_reply_to":"1a7b0d38_6cf8007c","updated":"2015-12-29 08:43:47.000000000","message":"what do you mean by clean @Kairat?","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"bf38b934b556c5ca375356a00c79feef5b1a6c67","unresolved":false,"context_lines":[{"line_number":168,"context_line":"2) Download OVA"},{"line_number":169,"context_line":"3) Process the embedded .ovf descriptor file to extract metadata"},{"line_number":170,"context_line":"   and the root disk. Parsing will use the schema in [G]"},{"line_number":171,"context_line":"4) Save the root disk image in Glance"},{"line_number":172,"context_line":"5) Attach to the saved disk image the extracted metadata"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"In this initial implementation we will not handle encryption keys or"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_5ca5a044","line":171,"in_reply_to":"1a7b0d38_fc9c8cc1","updated":"2015-12-29 08:56:03.000000000","message":"IIUC, ovf file is gzipped. So you need to unpack it first somewhere on controller node (in tmp folder or somewhere else). So after uploading the root disk image and .ovf file with metadata needs to be deleted. Right?","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f6f02607b811f7c44ccbbd575e14fa2936463234","unresolved":false,"context_lines":[{"line_number":178,"context_line":"security by way of limiting size of import and time taken."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"An initial implementation using the task flow from Liberty is ready. When the"},{"line_number":181,"context_line":"API for [N] is ready, it should be relatively easy to migrate to the new"},{"line_number":182,"context_line":"refactored image import solution. in so doing, we can make progress on this"},{"line_number":183,"context_line":"implementation independently and in parallel."},{"line_number":184,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_4272b27c","line":181,"updated":"2015-12-28 12:29:19.000000000","message":"I think you meant, M. The new import process will be implemented in Mitaka. The use of this task through this new import process should be automatic. However, I\u0027d prefer not to make those assumptions.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"7c4a0183209753e6b02248093008c2c00dc57665","unresolved":false,"context_lines":[{"line_number":178,"context_line":"security by way of limiting size of import and time taken."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"An initial implementation using the task flow from Liberty is ready. When the"},{"line_number":181,"context_line":"API for [N] is ready, it should be relatively easy to migrate to the new"},{"line_number":182,"context_line":"refactored image import solution. in so doing, we can make progress on this"},{"line_number":183,"context_line":"implementation independently and in parallel."},{"line_number":184,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_7c741c67","line":181,"in_reply_to":"1a7b0d38_4272b27c","updated":"2015-12-29 08:43:47.000000000","message":":-) Good catch.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"d98b9ffac8a324dbc7d8497d14d7781828be2288","unresolved":false,"context_lines":[{"line_number":211,"context_line":""},{"line_number":212,"context_line":"Other reviewer(s):"},{"line_number":213,"context_line":"*  Brian Rosmaita"},{"line_number":214,"context_line":"*  Sabari Murugesan"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"Work Items"},{"line_number":217,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_b90f0887","line":214,"updated":"2015-12-28 14:19:34.000000000","message":"You can move Sabari up to the Core reviewers section.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"7c4a0183209753e6b02248093008c2c00dc57665","unresolved":false,"context_lines":[{"line_number":211,"context_line":""},{"line_number":212,"context_line":"Other reviewer(s):"},{"line_number":213,"context_line":"*  Brian Rosmaita"},{"line_number":214,"context_line":"*  Sabari Murugesan"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"Work Items"},{"line_number":217,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_9c71c878","line":214,"in_reply_to":"1a7b0d38_b90f0887","updated":"2015-12-29 08:43:47.000000000","message":"Done","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"d98b9ffac8a324dbc7d8497d14d7781828be2288","unresolved":false,"context_lines":[{"line_number":224,"context_line":"- Update configuration and usage documentation"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"- A background task that can be invoked in an upgraded environment to"},{"line_number":227,"context_line":"  provide OVF Lite support for existing OVF files in Glance."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_2ce3d834","line":227,"updated":"2015-12-28 14:19:34.000000000","message":"I agree with Flavio that the background task should not be part of this spec.  I\u0027m not saying it wouldn\u0027t be useful, just that it should be a separate spec or spec-lite, depending on how involved it will be to implement.  (We don\u0027t want to add anything that would delay this spec from being implemented!)","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"7c4a0183209753e6b02248093008c2c00dc57665","unresolved":false,"context_lines":[{"line_number":224,"context_line":"- Update configuration and usage documentation"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"- A background task that can be invoked in an upgraded environment to"},{"line_number":227,"context_line":"  provide OVF Lite support for existing OVF files in Glance."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_3c6a1482","line":227,"in_reply_to":"1a7b0d38_2ce3d834","updated":"2015-12-29 08:43:47.000000000","message":"Done","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"d98b9ffac8a324dbc7d8497d14d7781828be2288","unresolved":false,"context_lines":[{"line_number":230,"context_line":"Dependencies"},{"line_number":231,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* Uses the defcore compliant image import task workflow: https://review.openstack.org/#/c/232371/8/specs/mitaka/approved/image-import-refactor.rst. "},{"line_number":234,"context_line":"* Feature disable/enable via https://review.openstack.org/194898"},{"line_number":235,"context_line":"* Image save task, shall confirm else enhance that it checks user quota."},{"line_number":236,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_394558b2","line":233,"updated":"2015-12-28 14:19:34.000000000","message":"Should link to the entire review, not a specific patch, i.e., link to https://review.openstack.org/#/c/232371/","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"7c4a0183209753e6b02248093008c2c00dc57665","unresolved":false,"context_lines":[{"line_number":230,"context_line":"Dependencies"},{"line_number":231,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* Uses the defcore compliant image import task workflow: https://review.openstack.org/#/c/232371/8/specs/mitaka/approved/image-import-refactor.rst. "},{"line_number":234,"context_line":"* Feature disable/enable via https://review.openstack.org/194898"},{"line_number":235,"context_line":"* Image save task, shall confirm else enhance that it checks user quota."},{"line_number":236,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_1c3398ac","line":233,"in_reply_to":"1a7b0d38_394558b2","updated":"2015-12-29 08:43:47.000000000","message":"Do we need to make this feature enable/disable configurable? Sabari is the owner of the abandoned BP.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"d98b9ffac8a324dbc7d8497d14d7781828be2288","unresolved":false,"context_lines":[{"line_number":231,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* Uses the defcore compliant image import task workflow: https://review.openstack.org/#/c/232371/8/specs/mitaka/approved/image-import-refactor.rst. "},{"line_number":234,"context_line":"* Feature disable/enable via https://review.openstack.org/194898"},{"line_number":235,"context_line":"* Image save task, shall confirm else enhance that it checks user quota."},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_19573c27","line":234,"updated":"2015-12-28 14:19:34.000000000","message":"This dependency is currently marked as abandoned.","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"7c4a0183209753e6b02248093008c2c00dc57665","unresolved":false,"context_lines":[{"line_number":231,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* Uses the defcore compliant image import task workflow: https://review.openstack.org/#/c/232371/8/specs/mitaka/approved/image-import-refactor.rst. "},{"line_number":234,"context_line":"* Feature disable/enable via https://review.openstack.org/194898"},{"line_number":235,"context_line":"* Image save task, shall confirm else enhance that it checks user quota."},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1a7b0d38_dc28b035","line":234,"in_reply_to":"1a7b0d38_19573c27","updated":"2015-12-29 08:43:47.000000000","message":"Done","commit_id":"3c6b9e79f7bb49d86301ed873b2bc34b58be9f95"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"881b6c5b65786054189608a208511a221775e407","unresolved":false,"context_lines":[{"line_number":25,"context_line":"awareness, and more. We propose to extract the single root disk image and its"},{"line_number":26,"context_line":"metadata and  save the same in Glance with the goal of easing provisioning, in"},{"line_number":27,"context_line":"particular eliminating the need for error prone manual editing of image"},{"line_number":28,"context_line":"metadata.  The metadata can be used by the Nova image properties filter to"},{"line_number":29,"context_line":"identify appropriate compute hosts."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa69d971_b92859e3","line":28,"updated":"2016-01-06 00:11:37.000000000","message":"The image properties filter only identifies architecture, hypervisor_type, and vm_mode image properties but your ovf extraction has property keys like ProcessorArchitecture, InstructionSet etc. \n\nIs the intent to use aggregate_image_properties_isolation nova filter ? Then you could set arbitrary keys on the host aggregates matching the ovf_meta_props. Please clarify how these properties will be used by Nova.","commit_id":"1145e1bfc644b6c1a2b0823f8143366f69432c84"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"8514f4c6103c13749318c2795cc8a3c36c051359","unresolved":false,"context_lines":[{"line_number":25,"context_line":"awareness, and more. We propose to extract the single root disk image and its"},{"line_number":26,"context_line":"metadata and  save the same in Glance with the goal of easing provisioning, in"},{"line_number":27,"context_line":"particular eliminating the need for error prone manual editing of image"},{"line_number":28,"context_line":"metadata.  The metadata can be used by the Nova image properties filter to"},{"line_number":29,"context_line":"identify appropriate compute hosts."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa69d971_085d8314","line":28,"in_reply_to":"fa69d971_b92859e3","updated":"2016-01-06 05:51:33.000000000","message":"Nova image properties filter change became a no-go for this release. The OVF metadata extracted can indeed be used via aggregates, via flavor extra-specs, or via the use of metadata definition tags (graffiti work). This is one reason why I am pursuing the CIM BP too, https://review.openstack.org/259694. It shall allow people to associate with flavors, images, compute nodes CIM metadata tags, and in so doing support cloud interoperability.","commit_id":"1145e1bfc644b6c1a2b0823f8143366f69432c84"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"881b6c5b65786054189608a208511a221775e407","unresolved":false,"context_lines":[{"line_number":48,"context_line":"extracting the package data and metadata. Support will be limited"},{"line_number":49,"context_line":"to extracting the root disk image and saving it to the Glance"},{"line_number":50,"context_line":"image store, followed by parsing the .ovf file"},{"line_number":51,"context_line":"to extract desired metadata specified via a configuration file."},{"line_number":52,"context_line":"The extracted metadata will be recorded as image properties on the Glance"},{"line_number":53,"context_line":"image record. Typically, the image provider will specify metadata"},{"line_number":54,"context_line":"pertaining to hardware requirements and deployment parameters that ensure"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa69d971_2ebe5a65","line":51,"range":{"start_line":51,"start_character":11,"end_line":51,"end_character":18},"updated":"2016-01-06 00:11:37.000000000","message":"It\u0027s not feasible to extract *any* desired metadata from an OVF file (XML) based on a key-value pair configuration file. You can\u0027t always regex match the keys with tag attributes in OVF. Sometimes the value you are looking for may be in a tag\u0027s attributes but at other time as a child element. Sometimes you need more rigorous xpath to locate the metadata.\n\nI suggest we limit the set of metadata that can be extracted and enhance it as needed. For this implementation, we can limit the extraction to all CIM_ProcessorAllocationSettingData keys as those seem to widely used in NFV\u0027s as you suggest.","commit_id":"1145e1bfc644b6c1a2b0823f8143366f69432c84"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"8514f4c6103c13749318c2795cc8a3c36c051359","unresolved":false,"context_lines":[{"line_number":48,"context_line":"extracting the package data and metadata. Support will be limited"},{"line_number":49,"context_line":"to extracting the root disk image and saving it to the Glance"},{"line_number":50,"context_line":"image store, followed by parsing the .ovf file"},{"line_number":51,"context_line":"to extract desired metadata specified via a configuration file."},{"line_number":52,"context_line":"The extracted metadata will be recorded as image properties on the Glance"},{"line_number":53,"context_line":"image record. Typically, the image provider will specify metadata"},{"line_number":54,"context_line":"pertaining to hardware requirements and deployment parameters that ensure"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa69d971_28c887a5","line":51,"range":{"start_line":51,"start_character":11,"end_line":51,"end_character":18},"in_reply_to":"fa69d971_2ebe5a65","updated":"2016-01-06 05:51:33.000000000","message":"Sabari, only trying to extract the tag items mention in the CIM documents, and very true, XML allows expression via attributes or as child elements. Our proposal is to construct the tag name using the parent-element-name concatenated with child element name etc, and where attribute using the enveloping element-name concatenated with attribute name. For the OVF lite work, certainly the main interest is CIM_ProcessorAllocationSettingData and we can limit to that. In future should we want to extract additional tags, it behoves us to save the OVF file as opposed to discarding it after upload as fully consumed.","commit_id":"1145e1bfc644b6c1a2b0823f8143366f69432c84"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"881b6c5b65786054189608a208511a221775e407","unresolved":false,"context_lines":[{"line_number":190,"context_line":"Thanks Mike Gerdt for this compression constraint relaxation for a more"},{"line_number":191,"context_line":"generally available feature, that is, one not restricted to admin users only."},{"line_number":192,"context_line":"But, for Mitaka, we shall restrict this feature to admin users only, thus"},{"line_number":193,"context_line":"compressed files allowed. "},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"Assignee(s)"},{"line_number":196,"context_line":"-----------"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa69d971_b856175a","line":193,"updated":"2016-01-06 00:11:37.000000000","message":"Nit: space","commit_id":"1145e1bfc644b6c1a2b0823f8143366f69432c84"},{"author":{"_account_id":4992,"name":"malini-k-bhandaru","email":"malini.k.bhandaru@intel.com","username":"malini-k-bhandaru"},"change_message_id":"8514f4c6103c13749318c2795cc8a3c36c051359","unresolved":false,"context_lines":[{"line_number":190,"context_line":"Thanks Mike Gerdt for this compression constraint relaxation for a more"},{"line_number":191,"context_line":"generally available feature, that is, one not restricted to admin users only."},{"line_number":192,"context_line":"But, for Mitaka, we shall restrict this feature to admin users only, thus"},{"line_number":193,"context_line":"compressed files allowed. "},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"Assignee(s)"},{"line_number":196,"context_line":"-----------"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa69d971_a83a3797","line":193,"in_reply_to":"fa69d971_b856175a","updated":"2016-01-06 05:51:33.000000000","message":":-)","commit_id":"1145e1bfc644b6c1a2b0823f8143366f69432c84"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"83fa3b11089e363188f7fe739970b0045d846d5e","unresolved":false,"context_lines":[{"line_number":54,"context_line":"Note that OVF files, which are in XML format, can be complex, and"},{"line_number":55,"context_line":"XML allows users the freedom of representing particularly leaf"},{"line_number":56,"context_line":"values as either an element or as an attribute, making parsing"},{"line_number":57,"context_line":"non-trivial. We shall restrict ourselves in this release to the items "},{"line_number":58,"context_line":"in CIM_ProcessorAllocationSettingData given they are of primary interest"},{"line_number":59,"context_line":"to us for VM orchestration purposes. The extracted metadata will"},{"line_number":60,"context_line":"be recorded as image properties on the Glance image record"}],"source_content_type":"text/x-rst","patch_set":20,"id":"fa69d971_74c9355a","line":57,"updated":"2016-01-07 14:05:03.000000000","message":"NIT: extra whitespace.","commit_id":"2727f08387f5971b1527a5643b37e57ce6f6444a"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"83fa3b11089e363188f7fe739970b0045d846d5e","unresolved":false,"context_lines":[{"line_number":239,"context_line":"Dependencies"},{"line_number":240,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"* Uses the defcore compliant image import task workflow: https://review.openstack.org/#/c/232371"},{"line_number":243,"context_line":"* Image save task, shall confirm else enhance that it checks user quota."},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":20,"id":"fa69d971_c7ae3198","line":242,"updated":"2016-01-07 14:05:03.000000000","message":"If this is triggered via tasks api and restricted to admin use only, how do we still depend on the new image import refactoring?","commit_id":"2727f08387f5971b1527a5643b37e57ce6f6444a"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"93c7260f5fe39d5ce308c0a675d4d95fd6032a0d","unresolved":false,"context_lines":[{"line_number":239,"context_line":"Dependencies"},{"line_number":240,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"* Uses the defcore compliant image import task workflow: https://review.openstack.org/#/c/232371"},{"line_number":243,"context_line":"* Image save task, shall confirm else enhance that it checks user quota."},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":20,"id":"fa69d971_1a42fe3e","line":242,"in_reply_to":"fa69d971_c7ae3198","updated":"2016-01-08 17:00:02.000000000","message":"I think we can remove this dependency. I\u0027d like to make clear that the task engine does not depend on the API, although the API is the one that will trigger it. This task is isolated and independent.","commit_id":"2727f08387f5971b1527a5643b37e57ce6f6444a"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"457deb205a5990de18cf9d75f465670677acd495","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"The alternative is to manually enter image metadata as it is done today, which"},{"line_number":70,"context_line":"is both tedious and error prone, even as we try to automate service delivery in"},{"line_number":71,"context_line":"the cloud."},{"line_number":72,"context_line":"A full fledged solution where an OVF package has multiple disk images is out of"},{"line_number":73,"context_line":"scope for this effort but a logical evolution of the feature. We anticipate in"},{"line_number":74,"context_line":"the future? the creation of OVF artifacts and transforming their contents into"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_a5f14e6c","line":71,"updated":"2016-01-08 18:52:43.000000000","message":"Nit: insert a blank line here for a new paragraph.","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":15225,"name":"Deepti Ramakrishna","email":"deepti.ramakrishna@intel.com","username":"dramakri"},"change_message_id":"1e6511831d2fab9329b556f3166c250d55dd3775","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"The alternative is to manually enter image metadata as it is done today, which"},{"line_number":70,"context_line":"is both tedious and error prone, even as we try to automate service delivery in"},{"line_number":71,"context_line":"the cloud."},{"line_number":72,"context_line":"A full fledged solution where an OVF package has multiple disk images is out of"},{"line_number":73,"context_line":"scope for this effort but a logical evolution of the feature. We anticipate in"},{"line_number":74,"context_line":"the future? the creation of OVF artifacts and transforming their contents into"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_9a46ddbe","line":71,"in_reply_to":"fa69d971_a5f14e6c","updated":"2016-01-09 01:49:22.000000000","message":"Done","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"457deb205a5990de18cf9d75f465670677acd495","unresolved":false,"context_lines":[{"line_number":70,"context_line":"is both tedious and error prone, even as we try to automate service delivery in"},{"line_number":71,"context_line":"the cloud."},{"line_number":72,"context_line":"A full fledged solution where an OVF package has multiple disk images is out of"},{"line_number":73,"context_line":"scope for this effort but a logical evolution of the feature. We anticipate in"},{"line_number":74,"context_line":"the future? the creation of OVF artifacts and transforming their contents into"},{"line_number":75,"context_line":"Heat artifacts. The richness of OVF would need to be captured in Heat,"},{"line_number":76,"context_line":"including its networking aspects."}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_85952ae5","line":73,"updated":"2016-01-08 18:52:43.000000000","message":"s/but/but is/","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":15225,"name":"Deepti Ramakrishna","email":"deepti.ramakrishna@intel.com","username":"dramakri"},"change_message_id":"1e6511831d2fab9329b556f3166c250d55dd3775","unresolved":false,"context_lines":[{"line_number":70,"context_line":"is both tedious and error prone, even as we try to automate service delivery in"},{"line_number":71,"context_line":"the cloud."},{"line_number":72,"context_line":"A full fledged solution where an OVF package has multiple disk images is out of"},{"line_number":73,"context_line":"scope for this effort but a logical evolution of the feature. We anticipate in"},{"line_number":74,"context_line":"the future? the creation of OVF artifacts and transforming their contents into"},{"line_number":75,"context_line":"Heat artifacts. The richness of OVF would need to be captured in Heat,"},{"line_number":76,"context_line":"including its networking aspects."}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_5a1385b8","line":73,"in_reply_to":"fa69d971_85952ae5","updated":"2016-01-09 01:49:22.000000000","message":"Done","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"457deb205a5990de18cf9d75f465670677acd495","unresolved":false,"context_lines":[{"line_number":71,"context_line":"the cloud."},{"line_number":72,"context_line":"A full fledged solution where an OVF package has multiple disk images is out of"},{"line_number":73,"context_line":"scope for this effort but a logical evolution of the feature. We anticipate in"},{"line_number":74,"context_line":"the future? the creation of OVF artifacts and transforming their contents into"},{"line_number":75,"context_line":"Heat artifacts. The richness of OVF would need to be captured in Heat,"},{"line_number":76,"context_line":"including its networking aspects."},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_a54dce9a","line":74,"updated":"2016-01-08 18:52:43.000000000","message":"s/?//","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":15225,"name":"Deepti Ramakrishna","email":"deepti.ramakrishna@intel.com","username":"dramakri"},"change_message_id":"1e6511831d2fab9329b556f3166c250d55dd3775","unresolved":false,"context_lines":[{"line_number":71,"context_line":"the cloud."},{"line_number":72,"context_line":"A full fledged solution where an OVF package has multiple disk images is out of"},{"line_number":73,"context_line":"scope for this effort but a logical evolution of the feature. We anticipate in"},{"line_number":74,"context_line":"the future? the creation of OVF artifacts and transforming their contents into"},{"line_number":75,"context_line":"Heat artifacts. The richness of OVF would need to be captured in Heat,"},{"line_number":76,"context_line":"including its networking aspects."},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_7a18c9d3","line":74,"in_reply_to":"fa69d971_a54dce9a","updated":"2016-01-09 01:49:22.000000000","message":"Done","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"457deb205a5990de18cf9d75f465670677acd495","unresolved":false,"context_lines":[{"line_number":170,"context_line":"3) Process the embedded .ovf descriptor file to extract metadata"},{"line_number":171,"context_line":"   and the root disk. Parsing will use the schema in [G]"},{"line_number":172,"context_line":"4) Save the root disk image in Glance"},{"line_number":173,"context_line":"5) Attach to the saved disk image the extracted metadata"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"In this initial implementation we will not handle encryption keys or"},{"line_number":176,"context_line":"OVF certificates. Doing so however would add to the security of the feature"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_70e9d619","line":173,"updated":"2016-01-08 18:52:43.000000000","message":"Could you clarify this step? I assume you mean that the extracted metadata will be written as image properties to the Glance Image (i.e., image record) to which the saved disk image is attached ... I just want to be clear that you\u0027re not proposing attaching the info to the image data somehow.","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":15225,"name":"Deepti Ramakrishna","email":"deepti.ramakrishna@intel.com","username":"dramakri"},"change_message_id":"1e6511831d2fab9329b556f3166c250d55dd3775","unresolved":false,"context_lines":[{"line_number":170,"context_line":"3) Process the embedded .ovf descriptor file to extract metadata"},{"line_number":171,"context_line":"   and the root disk. Parsing will use the schema in [G]"},{"line_number":172,"context_line":"4) Save the root disk image in Glance"},{"line_number":173,"context_line":"5) Attach to the saved disk image the extracted metadata"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"In this initial implementation we will not handle encryption keys or"},{"line_number":176,"context_line":"OVF certificates. Doing so however would add to the security of the feature"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_1a80adbe","line":173,"in_reply_to":"fa69d971_70e9d619","updated":"2016-01-09 01:49:22.000000000","message":"Yes, that\u0027s right. \nPlease see PS 22. I have rephrased this statement to \n\"Attach the extracted metadata as image properties of the saved disk image\"","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"457deb205a5990de18cf9d75f465670677acd495","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"In this initial implementation we will not handle encryption keys or"},{"line_number":176,"context_line":"OVF certificates. Doing so however would add to the security of the feature"},{"line_number":177,"context_line":"and possibly reduce threats as mentioned in [J]"},{"line_number":178,"context_line":"The defcore complaint refactored image task flow also provides for increased"},{"line_number":179,"context_line":"security by way of limiting size of import and time taken."},{"line_number":180,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_705eb6ea","line":177,"updated":"2016-01-08 18:52:43.000000000","message":"Nit: need a period at the end of this sentence.","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":15225,"name":"Deepti Ramakrishna","email":"deepti.ramakrishna@intel.com","username":"dramakri"},"change_message_id":"1e6511831d2fab9329b556f3166c250d55dd3775","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"In this initial implementation we will not handle encryption keys or"},{"line_number":176,"context_line":"OVF certificates. Doing so however would add to the security of the feature"},{"line_number":177,"context_line":"and possibly reduce threats as mentioned in [J]"},{"line_number":178,"context_line":"The defcore complaint refactored image task flow also provides for increased"},{"line_number":179,"context_line":"security by way of limiting size of import and time taken."},{"line_number":180,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_3a8571ce","line":177,"in_reply_to":"fa69d971_705eb6ea","updated":"2016-01-09 01:49:22.000000000","message":"Done","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"457deb205a5990de18cf9d75f465670677acd495","unresolved":false,"context_lines":[{"line_number":178,"context_line":"The defcore complaint refactored image task flow also provides for increased"},{"line_number":179,"context_line":"security by way of limiting size of import and time taken."},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"An initial implementation using the task flow from Liberty is ready. When the"},{"line_number":182,"context_line":"refactored image import API becomes available, by restricting the OVF lite"},{"line_number":183,"context_line":"import feature to admins only, migrating to the same should be smooth."},{"line_number":184,"context_line":"Tests to establish the same required. Thus progress on both efforts can"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_f072a67b","line":181,"updated":"2016-01-08 18:52:43.000000000","message":"s/task flow/TaskFlow task executor/","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":15225,"name":"Deepti Ramakrishna","email":"deepti.ramakrishna@intel.com","username":"dramakri"},"change_message_id":"1e6511831d2fab9329b556f3166c250d55dd3775","unresolved":false,"context_lines":[{"line_number":178,"context_line":"The defcore complaint refactored image task flow also provides for increased"},{"line_number":179,"context_line":"security by way of limiting size of import and time taken."},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"An initial implementation using the task flow from Liberty is ready. When the"},{"line_number":182,"context_line":"refactored image import API becomes available, by restricting the OVF lite"},{"line_number":183,"context_line":"import feature to admins only, migrating to the same should be smooth."},{"line_number":184,"context_line":"Tests to establish the same required. Thus progress on both efforts can"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_fa6b591c","line":181,"in_reply_to":"fa69d971_f072a67b","updated":"2016-01-09 01:49:22.000000000","message":"Done","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"457deb205a5990de18cf9d75f465670677acd495","unresolved":false,"context_lines":[{"line_number":232,"context_line":"Dependencies"},{"line_number":233,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"* Uses the defcore compliant image import task workflow: https://review.openstack.org/#/c/232371"},{"line_number":236,"context_line":"* Image save task, shall confirm else enhance that it checks user quota."},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_a52e2ef8","line":235,"updated":"2016-01-08 18:52:43.000000000","message":"See Flavio\u0027s comment on PS 20 about removing this dependency.","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"},{"author":{"_account_id":15225,"name":"Deepti Ramakrishna","email":"deepti.ramakrishna@intel.com","username":"dramakri"},"change_message_id":"1e6511831d2fab9329b556f3166c250d55dd3775","unresolved":false,"context_lines":[{"line_number":232,"context_line":"Dependencies"},{"line_number":233,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"* Uses the defcore compliant image import task workflow: https://review.openstack.org/#/c/232371"},{"line_number":236,"context_line":"* Image save task, shall confirm else enhance that it checks user quota."},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa69d971_fa527966","line":235,"in_reply_to":"fa69d971_a52e2ef8","updated":"2016-01-09 01:49:22.000000000","message":"Yes, I agree that image import refactor work wouldn\u0027t block this feature implementation. So I have removed this dependency. Please see the latest patch set.","commit_id":"adc22e84f846e6ed18ca0ca836bfced3553a7888"}],"specs/mitaka/ovf-lite.rst":[{"author":{"_account_id":16683,"name":"Alexey Galkin","email":"agalkin@mirantis.com","username":"agalkin"},"change_message_id":"03214fa00f2711afe0d37d763203da001530a4b3","unresolved":false,"context_lines":[{"line_number":210,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"* This uses OpenStack task flow."},{"line_number":213,"context_line":"* Feature disa/enable via https://review.openstack.org/194898"},{"line_number":214,"context_line":"* Image save task, shall confirm else enhance that it checks user quota."},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a26ad4f_9db955ec","line":213,"updated":"2015-10-28 16:22:49.000000000","message":"I feel better write:\n\nFeature disable/enable via https://review.openstack.org/194898","commit_id":"a05c90473778605834d65e1991b8db57998051c2"}]}
