./kamaki: Issueshttps://code.grnet.gr/2013-09-20T14:48:44+03:00Greek Research and Technology Network's projects
Redmine Bug #4339 (Closed): kamaki create server with personality exits with an errorhttps://code.grnet.gr/issues/43392013-09-20T14:48:44+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>Buggy behavior:</p>
<pre>
[server]: create 'server' 289 c0b4a0a6-0a57-45d5-acda-686a7cfc3dd0 -p /home/user/.ssh/id_rsa.pub,/root/.ssh/
list indices must be integers, not str
| <type 'exceptions.TypeError'>, -d for debug info
</pre> Bug #4276 (Closed): kamaki image register does not guide user in case of an old-style argumenthttps://code.grnet.gr/issues/42762013-09-05T12:33:52+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>How to reproduce the problem, in kamaki 0.10 or better:<br /><pre>
$ kamaki image register 'Image Name' pithos://<user-id>/<container>/<image-remote-path>
(404) NOT FOUND itemNotFound ()
$
</pre></p>
<p>Solution: guide the user to use the <container>:<image-remote-path> with a helpful message.<br />This can be the "syntax error" help, that can appear also in the case of a 404 error.</p> Bug #4232 (Closed): split_input over-splits key=value strings if quotes are included in valueshttps://code.grnet.gr/issues/42322013-08-23T16:06:13+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>Apears only in interactive shell mode, where split_input is called.<br />This bug affects all operations with arbitary number non optional arguments, e.g.</p>
<pre>
[image compute properties] set my-1m4ge3-1d k="v1"
</pre>
<p>Test case for split input:</p>
<pre>
input: 'set k="v1"'
expected: ['set', 'k="v1"']
</pre> Feature #4231 (Closed): Implement property handling methods for plankton/imagehttps://code.grnet.gr/issues/42312013-08-23T14:53:35+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>This is possible with PUT:</p>
<pre><code><a class="external" href="http://api.openstack.org/api-ref.html#os-images-1.0">http://api.openstack.org/api-ref.html#os-images-1.0</a></code></pre>
<pre><code><a class="external" href="http://www.synnefo.org/docs/synnefo/latest/plankton-api-guide.html#id6">http://www.synnefo.org/docs/synnefo/latest/plankton-api-guide.html#id6</a></code></pre>
<p>Also, check related compute/image operations and remove any operations that are not supported anymore by compute/image API</p> Feature #4228 (Closed): Add usernames when displaying uuids for usershttps://code.grnet.gr/issues/42282013-08-21T17:55:01+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>Whenever a uuid is displayed, it is good to also display the corresponding username</p> Feature #4220 (Closed): Add filterting options in kamakihttps://code.grnet.gr/issues/42202013-08-08T17:14:46+03:00Dionysis Grigoropoulosdgrig@grnet.gr
<p>There should be filtering options for a lot of commands in kamaki. Eg.</p>
<pre><code>-- "kamaki flavor list <del>c 4 -r 1024" should print only flavors with 4 CPUs and 1024MB of RAM<br /> -</del> "kamaki server list --os debian" should print VMs that are marked as debian in the os metadata</code></pre> Feature #4206 (Closed): Let image register upload the image file (with an optional argument)https://code.grnet.gr/issues/42062013-08-01T15:37:40+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>Users should be able to do this:</p>
<p>$ kamaki image register 'Image Name' container:remote/path --upload-file=/local/path</p>
<p>in which case kamaki will first upload /local/path to container:remote/path and then will register the image</p> Feature #4203 (Closed): kamaki-file-sharers should show user names and other user informationhttps://code.grnet.gr/issues/42032013-08-01T12:26:36+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>This feature requires a call to astakosclient that "translates" user uuids to user details.<br />It also needs some minor changes in the way sharers results are presented.</p> Feature #4196 (Closed): Kamaki should auto-detect content-typehttps://code.grnet.gr/issues/41962013-07-31T13:20:52+03:00Dionysis Grigoropoulosdgrig@grnet.gr
<p>Kamaki should be able to auto-detect content-type of a file being uploaded, without the user having to specify it manually using --content-type.</p> Feature #4155 (Closed): Expose the project API of astakosclient to kamaki CLIhttps://code.grnet.gr/issues/41552013-07-23T12:28:35+03:00Stavros Sachtourissaxtouri@admin.grnet.grFeature #4153 (Closed): Add server resize supporthttps://code.grnet.gr/issues/41532013-07-22T17:15:30+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>In Client, add this API call, as resize_server:</p>
<pre>
POST v2/servers/<server_id>/action
{
"resize" : {
"flavorRef" : <another flavor id>
}
}
</pre>
<p>In CLI, add the server_resize command:<br /><pre>
server resize <server-id> <flavor-id>
</pre></p> Support #4139 (Closed): Update kamaki.clients.compute to comply with OpenStack v2https://code.grnet.gr/issues/41392013-07-18T11:58:56+03:00Stavros Sachtourissaxtouri@admin.grnet.grSupport #4135 (Closed): Enrich client API docs with examples and astakos endpoint informationhttps://code.grnet.gr/issues/41352013-07-17T17:59:47+03:00Stavros Sachtourissaxtouri@admin.grnet.grBug #4134 (Closed): Take care of the virtual subdir item in pithos object-get https://code.grnet.gr/issues/41342013-07-17T12:55:46+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>Example that exposes the bug:<br /><pre>
$ kamaki file touch pithos:f1/f2/obj
$ kamaki file list pithos --prefix=f1 --delimiter=/
'content_type'
| <type 'exceptions.KeyError'>, -d for debug info
</pre></p>
<p>Reason: object GET returns a {'subdir': <path>} item in the list of objects, when called with delimiter.</p>
<p>See: <a class="external" href="http://docs.openstack.org/api/openstack-object-storage/1.0/content/pseudo-hierarchical-folders-directories.html">http://docs.openstack.org/api/openstack-object-storage/1.0/content/pseudo-hierarchical-folders-directories.html</a></p> Feature #4115 (Closed): Complete exposing astakosclient methodshttps://code.grnet.gr/issues/41152013-07-08T16:18:13+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<p>Here is a list of the astakosclients methods not currently covered by kamaki:</p>
<pre>
get_resources
send_feedback
get_endpoints
issue_commission
issue_one_commission
get_pending_commissions
get_commission_info
commission_action
accept_commission
reject_commission
resolve_commissions
</pre>