[Openstack] [OpenStack][Nova] VM cannot be shutdown after installing NOVA

2012-06-06 Thread Sajith Kariyawasam
Hi all,

I Installed OpenStack Nova, Glance and KeyStone in an Ubuntu-12.04 virtual
machine (Guest OS), in Virtual Box.

Thereafter I'm having issues when shutting down the virtual machine (Guest
machine), when I shut it down, it gets logged off only. So i have to force
it power off. Thereafter restarting the machine I'm getting system errors,
saying
Exceptions has occurred, and asks for submitting bug reports. The issues
seems to be having,
nova-scheduler was shutdown unexpectedly .. 
 nova-dhcpbridge was shutdown unexpectedly .. 

So, i guess this is a result of forcing power off the VM 

Is there any workaround for this? or is this a known issue ?

Thanks in advance
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Openstack and LXC

2012-06-09 Thread Sajith Kariyawasam
Hi James,

I also want to try with LXCs..

So after installing the nova-compute-lxc package, what are the steps should
be followed in order to get LXC instances up and running?

Could you please post a URL for a well written documentation if you know
any ?

Thanks ,
Sajith

On Fri, Jun 8, 2012 at 9:31 PM, James Page james.p...@ubuntu.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Hi Trinath

 On 08/06/12 12:44, Trinath Somanchi wrote:
  Hi-
 
  I have installed openstack on Ubuntu 12.04 LTS. with KVM. with
  respect to the guidelines mentioned in the admin/starter guides.
 
  But, then when trying to find any support on how to go with the
  LXC, I find very minimal/no support.
 
  Can any one there who had already got LXC working can kindly guide
  me on getting OpenStack+LXC up and running...
 
  Your help would be of a very greater support for me in bringing up
  this environment.
 
  Kindly please help me in this regard.

 If you are using the nova packages from Ubuntu 12.04 you can install
 the nova-compute-lxc package instead of nova-compute-kvm - it will
 setup nova to use LXC containers rather than KVM VM's.

 HTH

 Cheers

 James


 - --
 James Page
 Ubuntu Core Developer
 Debian Maintainer
 james.p...@ubuntu.com
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQIcBAEBCAAGBQJP0iHtAAoJEL/srsug59jDndYQAKFmsiSrNUSz3vhKqv1ZKUPw
 PyXD5GPePCyzpVMTYFbDRvbQ2nkCqI+4YGuXrlz/OFTbW6yRxP8DwtXqqUS3pGTH
 RWi6vN0IElUcsHUhAuXbl/mqtdCw9EhNu/DhXGLH/Ezgcvud9CJRxSLRMmWVCJJk
 6b7tNxq10p58l17Ypjk2r1FMH86DX4YklW93NpLGZuVZDXhnjw++KCAAxSZxp66p
 aBT7PeTUjwXBJM85PMD8M7weMcO56/dXppxdJwS0RHL/m2aaP6dZhNOHJgi1RRbX
 qVvmbb1XZHzazJ5H0xxI2LeZoP5IcoOBp4kMe7hnkRhk6UzWekfvlK+oiM+9lFxz
 uS13qXkFo5t6waN2PIrCZQphFH2m89brQ5KLif6ayA81w1hyKTF9r34EZmAO58Ta
 G+hC3v7WnjJEs40hn2RY/nH64xaFe/L6Yqqho/q/b94NGVCPlyXqD+JUqmGDAtvi
 pBk7Xu6iKC6Y/nvETMUvHLRattHK0mKicAR745eW7j8ulBCp3w/Y8Lg20artA8ls
 e/MTgVa0cWFEh+drv6QETYdljKgRgfcqCSVEiS4X7/+e+d9yd3ngx44SJNgz5ntT
 r4XmhWdYOBOtLFjbLLWuRBdFzpOrp/nlRE/wiwcO/HYMfNyw/jb7G03Ra8zl2LPP
 bo5Ja/w/xpRYRcan0TE6
 =9GFA
 -END PGP SIGNATURE-

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 
Best Regards
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Instance termination is not stable

2012-06-18 Thread Sajith Kariyawasam
Hi all,

I have Openstack Essex version installed and I have created several
instances based on an Ubuntu-12.04 UEC image in Openstack and those are up
and running.

When I'm trying to terminate an instance I'm getting an exception (log is
mentioned below) and, in console its status is shown as Shutoff and the
task is Deleting. Even though i tried terminating the instance again and
again nothing happens. But after I restart machine (nova) those instances
can be terminated.

This issue is not occurred everytime, but occassionally, as I noted this
occurs when there are more than 2 instances up and running at the same
time.. If I create one instance, terminate that, again create one,
terminate that one, if goes like that, there wont be an issue in
terminating.

What could be the problem here? any suggestions are highly appreciated.

Thanks


*ERROR LOG ( /var/log/nova/nova-compute.log )
==*

2012-06-18 18:43:55 DEBUG nova.manager [-] Skipping
ComputeManager._run_image_cache_manager_pass, 17 ticks left until next run
from (pid=24151) periodic_tasks
/usr/lib/python2.7/dist-packages/nova/manager.py:147
2012-06-18 18:43:55 DEBUG nova.manager [-] Running periodic task
ComputeManager._reclaim_queued_deletes from (pid=24151) periodic_tasks
/usr/lib/python2.7/dist-packages/nova/manager.py:152
2012-06-18 18:43:55 DEBUG nova.compute.manager [-]
FLAGS.reclaim_instance_interval = 0, skipping... from (pid=24151)
_reclaim_queued_deletes
/usr/lib/python2.7/dist-packages/nova/compute/manager.py:2380
2012-06-18 18:43:55 DEBUG nova.manager [-] Running periodic task
ComputeManager._report_driver_status from (pid=24151) periodic_tasks
/usr/lib/python2.7/dist-packages/nova/manager.py:152
2012-06-18 18:43:55 INFO nova.compute.manager [-] Updating host status
2012-06-18 18:43:55 DEBUG nova.virt.libvirt.connection [-] Updating host
stats from (pid=24151) update_status
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py:2467
2012-06-18 18:43:55 DEBUG nova.manager [-] Running periodic task
ComputeManager._poll_unconfirmed_resizes from (pid=24151) periodic_tasks
/usr/lib/python2.7/dist-packages/nova/manager.py:152
2012-06-18 18:44:17 DEBUG nova.rpc.amqp [-] received {u'_context_roles':
[u'swiftoperator', u'Member', u'admin'], u'_context_request_id':
u'req-01ca70c8-2240-407b-92d1-5a59ee497291', u'_context_read_deleted':
u'no', u'args': {u'instance_uuid':
u'd250-1d8b-4973-8320-e6058a2058b9'}, u'_context_auth_token':
'SANITIZED', u'_context_is_admin': True, u'_context_project_id':
u'194d6e24ec1843fb8fbd94c3fb519deb', u'_context_timestamp':
u'2012-06-18T13:14:17.013212', u'_context_user_id':
u'f8a75778c36241479693ff61a754f67b', u'method': u'terminate_instance',
u'_context_remote_address': u'172.16.0.254'} from (pid=24151) _safe_log
/usr/lib/python2.7/dist-packages/nova/rpc/common.py:160
2012-06-18 18:44:17 DEBUG nova.rpc.amqp
[req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
194d6e24ec1843fb8fbd94c3fb519deb] unpacked context: {'user_id':
u'f8a75778c36241479693ff61a754f67b', 'roles': [u'swiftoperator', u'Member',
u'admin'], 'timestamp': '2012-06-18T13:14:17.013212', 'auth_token':
'SANITIZED', 'remote_address': u'172.16.0.254', 'is_admin': True,
'request_id': u'req-01ca70c8-2240-407b-92d1-5a59ee497291', 'project_id':
u'194d6e24ec1843fb8fbd94c3fb519deb', 'read_deleted': u'no'} from
(pid=24151) _safe_log
/usr/lib/python2.7/dist-packages/nova/rpc/common.py:160
2012-06-18 18:44:17 INFO nova.compute.manager
[req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
194d6e24ec1843fb8fbd94c3fb519deb] check_instance_lock: decorating:
|function terminate_instance at 0x2bd3050|
2012-06-18 18:44:17 INFO nova.compute.manager
[req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
194d6e24ec1843fb8fbd94c3fb519deb] check_instance_lock: arguments:
|nova.compute.manager.ComputeManager object at 0x20ffb90|
|nova.rpc.amqp.RpcContext object at 0x4d2a450|
|d250-1d8b-4973-8320-e6058a2058b9|
2012-06-18 18:44:17 DEBUG nova.compute.manager
[req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
194d6e24ec1843fb8fbd94c3fb519deb] instance
d250-1d8b-4973-8320-e6058a2058b9: getting locked state from (pid=24151)
get_lock /usr/lib/python2.7/dist-packages/nova/compute/manager.py:1597
2012-06-18 18:44:17 INFO nova.compute.manager
[req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
194d6e24ec1843fb8fbd94c3fb519deb] check_instance_lock: locked: |False|
2012-06-18 18:44:17 INFO nova.compute.manager
[req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
194d6e24ec1843fb8fbd94c3fb519deb] check_instance_lock: admin: |True|
2012-06-18 18:44:17 INFO nova.compute.manager
[req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
194d6e24ec1843fb8fbd94c3fb519deb] check_instance_lock: executing:
|function terminate_instance at 0x2bd3050|
2012-06-18 18:44:17 DEBUG nova.utils
[req-01ca70c8-2240-407b-92d1-5a59ee497291 

Re: [Openstack] Instance termination is not stable

2012-06-19 Thread Sajith Kariyawasam
Any clue on this guys?

On Mon, Jun 18, 2012 at 7:08 PM, Sajith Kariyawasam saj...@gmail.comwrote:

 Hi all,

 I have Openstack Essex version installed and I have created several
 instances based on an Ubuntu-12.04 UEC image in Openstack and those are up
 and running.

 When I'm trying to terminate an instance I'm getting an exception (log is
 mentioned below) and, in console its status is shown as Shutoff and the
 task is Deleting. Even though i tried terminating the instance again and
 again nothing happens. But after I restart machine (nova) those instances
 can be terminated.

 This issue is not occurred everytime, but occassionally, as I noted this
 occurs when there are more than 2 instances up and running at the same
 time.. If I create one instance, terminate that, again create one,
 terminate that one, if goes like that, there wont be an issue in
 terminating.

 What could be the problem here? any suggestions are highly appreciated.

 Thanks


 *ERROR LOG ( /var/log/nova/nova-compute.log )
 ==*

 2012-06-18 18:43:55 DEBUG nova.manager [-] Skipping
 ComputeManager._run_image_cache_manager_pass, 17 ticks left until next run
 from (pid=24151) periodic_tasks
 /usr/lib/python2.7/dist-packages/nova/manager.py:147
 2012-06-18 18:43:55 DEBUG nova.manager [-] Running periodic task
 ComputeManager._reclaim_queued_deletes from (pid=24151) periodic_tasks
 /usr/lib/python2.7/dist-packages/nova/manager.py:152
 2012-06-18 18:43:55 DEBUG nova.compute.manager [-]
 FLAGS.reclaim_instance_interval = 0, skipping... from (pid=24151)
 _reclaim_queued_deletes
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py:2380
 2012-06-18 18:43:55 DEBUG nova.manager [-] Running periodic task
 ComputeManager._report_driver_status from (pid=24151) periodic_tasks
 /usr/lib/python2.7/dist-packages/nova/manager.py:152
 2012-06-18 18:43:55 INFO nova.compute.manager [-] Updating host status
 2012-06-18 18:43:55 DEBUG nova.virt.libvirt.connection [-] Updating host
 stats from (pid=24151) update_status
 /usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py:2467
 2012-06-18 18:43:55 DEBUG nova.manager [-] Running periodic task
 ComputeManager._poll_unconfirmed_resizes from (pid=24151) periodic_tasks
 /usr/lib/python2.7/dist-packages/nova/manager.py:152
 2012-06-18 18:44:17 DEBUG nova.rpc.amqp [-] received {u'_context_roles':
 [u'swiftoperator', u'Member', u'admin'], u'_context_request_id':
 u'req-01ca70c8-2240-407b-92d1-5a59ee497291', u'_context_read_deleted':
 u'no', u'args': {u'instance_uuid':
 u'd250-1d8b-4973-8320-e6058a2058b9'}, u'_context_auth_token':
 'SANITIZED', u'_context_is_admin': True, u'_context_project_id':
 u'194d6e24ec1843fb8fbd94c3fb519deb', u'_context_timestamp':
 u'2012-06-18T13:14:17.013212', u'_context_user_id':
 u'f8a75778c36241479693ff61a754f67b', u'method': u'terminate_instance',
 u'_context_remote_address': u'172.16.0.254'} from (pid=24151) _safe_log
 /usr/lib/python2.7/dist-packages/nova/rpc/common.py:160
 2012-06-18 18:44:17 DEBUG nova.rpc.amqp
 [req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
 194d6e24ec1843fb8fbd94c3fb519deb] unpacked context: {'user_id':
 u'f8a75778c36241479693ff61a754f67b', 'roles': [u'swiftoperator', u'Member',
 u'admin'], 'timestamp': '2012-06-18T13:14:17.013212', 'auth_token':
 'SANITIZED', 'remote_address': u'172.16.0.254', 'is_admin': True,
 'request_id': u'req-01ca70c8-2240-407b-92d1-5a59ee497291', 'project_id':
 u'194d6e24ec1843fb8fbd94c3fb519deb', 'read_deleted': u'no'} from
 (pid=24151) _safe_log
 /usr/lib/python2.7/dist-packages/nova/rpc/common.py:160
 2012-06-18 18:44:17 INFO nova.compute.manager
 [req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
 194d6e24ec1843fb8fbd94c3fb519deb] check_instance_lock: decorating:
 |function terminate_instance at 0x2bd3050|
 2012-06-18 18:44:17 INFO nova.compute.manager
 [req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
 194d6e24ec1843fb8fbd94c3fb519deb] check_instance_lock: arguments:
 |nova.compute.manager.ComputeManager object at 0x20ffb90|
 |nova.rpc.amqp.RpcContext object at 0x4d2a450|
 |d250-1d8b-4973-8320-e6058a2058b9|
 2012-06-18 18:44:17 DEBUG nova.compute.manager
 [req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
 194d6e24ec1843fb8fbd94c3fb519deb] instance
 d250-1d8b-4973-8320-e6058a2058b9: getting locked state from (pid=24151)
 get_lock /usr/lib/python2.7/dist-packages/nova/compute/manager.py:1597
 2012-06-18 18:44:17 INFO nova.compute.manager
 [req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
 194d6e24ec1843fb8fbd94c3fb519deb] check_instance_lock: locked: |False|
 2012-06-18 18:44:17 INFO nova.compute.manager
 [req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b
 194d6e24ec1843fb8fbd94c3fb519deb] check_instance_lock: admin: |True|
 2012-06-18 18:44:17 INFO nova.compute.manager
 [req-01ca70c8-2240-407b-92d1-5a59ee497291 f8a75778c36241479693ff61a754f67b

[Openstack] [Nova] Bug # 971621

2012-06-19 Thread Sajith Kariyawasam
Hi all,

We have been having some issues in terminating LXC instances in Openstack
Nova, and found that the above mentioned bug [1] is already reported, and
according to [2] it is high and confirmed.

We would like to know are there any plans to fix this issue immediately ?
or is there any workaround for this issue for the moment ?

[1] https://bugs.launchpad.net/nova/+bug/971621
[2] https://bugs.launchpad.net/openstack/+bugs?memo=75start=75


-- 
Best Regards
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [Nova] After rebooting an LXC instance, no longer be able to SSH to it

2012-07-12 Thread Sajith Kariyawasam
Hi all,

I have faced a situation where, if an LXC instance is rebooted by logging
into it as root user, I no longer was able to remotely logged into it (SSH).

But I can ping to that instance.

Is it a known issue ? if so, would like to know if there is any workaround.

-- 
Best Regards
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Issue in retrieving public IP address

2012-07-26 Thread Sajith Kariyawasam
Hi all,

We need to get the public IP address of an Openstack instance in the
startup of the instance. We have added a script to rc.local of the instance
so that it invokes
http://169.254.169.254/latest/meta-data/public-ipv4; in the script to get
the public IP.

We keep on starting several instances, and found that the public IP is
returned *only* at the creation of the first instance.

In subsequent instances publicIP is not returned as expected. Any idea
whats the issue is ?


-- 
Best Regards
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Why Image upload functionality is not there in Horizon ?

2012-08-09 Thread Sajith Kariyawasam
Hi all,

After playing around with Openstack Mangement Console, Horizon, I realize
that the image upload functionality is not provided there.

Is there any special reason for that? Is it because there are no Rest
services available at the moment? or else is it felt that providing image
upload via the UI is not practically important?

-- 
Best Regards
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Invoking Glance REST API

2012-08-09 Thread Sajith Kariyawasam
Hi all,

I'm trying to invoke Openstack Glance REST API s using a Java client, to
get image details. etc (Ultimately I need to upload an image)

When I invoke http://Glance_URL:PORT/images/detail  GET request in Java
code, I'm getting *HTTP 300 *as the response code.

4  300
4  Date: Thu, 09 Aug 2012 08:56:29 GMT
4  Content-Length: 222
4  Content-Type: application/json
4  Connection: keep-alive


Any idea what could have gone wrong there?

-- 
Best Regards
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Why Image upload functionality is not there in Horizon ?

2012-08-10 Thread Sajith Kariyawasam
Hi Gabriel,

On Thu, Aug 9, 2012 at 11:35 PM, Gabriel Hurley
gabriel.hur...@nebula.comwrote:

 Indeed, uploading large files with the Horizon webserver as an
 intermediate relay is a nasty business which we want to discourage. We are
 looking at ways to send files directly from the Horizon client-side UI to
 swift/glance for large file upload in the future.


I'm also trying a same kind of an approach, my question was also based on
that. I was thinking of invoking Glance API s directly from the UI, not
going through Horizon webserver. Earlier by Horizon I was referring to
the UI only.

Therefore, there is a practical usage of this kind of a feature, isn't it?



 All the best,

 - Gabriel

  -Original Message-
  From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net
  [mailto:openstack-
  bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Jay
  Pipes
  Sent: Thursday, August 09, 2012 10:43 AM
  To: openstack@lists.launchpad.net
  Subject: Re: [Openstack] Why Image upload functionality is not there in
  Horizon ?
 
  On 08/09/2012 02:35 AM, Sajith Kariyawasam wrote:
   Hi all,
  
   After playing around with Openstack Mangement Console, Horizon, I
   realize that the image upload functionality is not provided there.
  
   Is there any special reason for that? Is it because there are no Rest
   services available at the moment? or else is it felt that providing
   image upload via the UI is not practically important?
 
  Probably because sending 20G Windows image files through a web form
  interface isn't very efficient ;)
 
  It's also not something a regular user of Glance/Nova would do -- and
  system administrators won't do it very often, and when they do, they'll
 use
  the glance CLI tool to do it.
 
  Best,
  -jay
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp



 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 
Best Regards
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Invoking Glance REST API

2012-08-10 Thread Sajith Kariyawasam
Thanks Brian.. that worked ..! :)

On Thu, Aug 9, 2012 at 9:31 PM, Brian Waldon bcwal...@gmail.com wrote:

 You're getting a '300 Multiple Choices' response as you haven't indicated
 a version in your request. You can parse the body as json (indicated in the
 headers) to see what API versions are available to you at any given time.
 If you don't care about  taking that extra step, just use a URI with 'v1'
 as the first token in your path: http://
 Glance_URL:PORT/v1/images/detail

 Brian Waldon


 On Aug 9, 2012, at 2:05 AM, Sajith Kariyawasam wrote:

 Hi all,

 I'm trying to invoke Openstack Glance REST API s using a Java client, to
 get image details. etc (Ultimately I need to upload an image)

 When I invoke http://Glance_URL:PORT/images/detail  GET request in
 Java code, I'm getting *HTTP 300 *as the response code.

 4  300
 4  Date: Thu, 09 Aug 2012 08:56:29 GMT
 4  Content-Length: 222
 4  Content-Type: application/json
 4  Connection: keep-alive


 Any idea what could have gone wrong there?

 --
 Best Regards
 Sajith

  ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp





-- 
Best Regards
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Why Image upload functionality is not there in Horizon ?

2012-08-13 Thread Sajith Kariyawasam
On Fri, Aug 10, 2012 at 11:15 PM, Gabriel Hurley
gabriel.hur...@nebula.comwrote:

 Horizon already has what you just described. You can load images into
 glance by providing a URI. It's the Create Image button on the Images
 table.


What is the version you are referring to ? I have installed Openstack
Essex version, but in Openstack Dashboard, Images and Snapshots section I
cannot find a Create Image button as you have mentioned. :(


 - Gabriel

  -Original Message-
  From: Brian Waldon [mailto:bcwal...@gmail.com]
  Sent: Friday, August 10, 2012 7:35 AM
  To: Gabriel Hurley
  Cc: openstack@lists.launchpad.net
  Subject: Re: [Openstack] Why Image upload functionality is not there in
  Horizon ?
 
  Even being able to add images while providing an external location would
 be
  useful. You could depend on your user to put it in swift or s3 and just
 provide
  a uri that references it.
 
  On Aug 9, 2012, at 11:05 AM, Gabriel Hurley wrote:
 
   Indeed, uploading large files with the Horizon webserver as an
  intermediate relay is a nasty business which we want to discourage. We
 are
  looking at ways to send files directly from the Horizon client-side UI to
  swift/glance for large file upload in the future.
  
   All the best,
  
  - Gabriel
  
   -Original Message-
   From: openstack-
  bounces+gabriel.hurley=nebula@lists.launchpad.net
   [mailto:openstack-
   bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of
   bounces+Jay
   Pipes
   Sent: Thursday, August 09, 2012 10:43 AM
   To: openstack@lists.launchpad.net
   Subject: Re: [Openstack] Why Image upload functionality is not there
   in Horizon ?
  
   On 08/09/2012 02:35 AM, Sajith Kariyawasam wrote:
   Hi all,
  
   After playing around with Openstack Mangement Console, Horizon, I
   realize that the image upload functionality is not provided there.
  
   Is there any special reason for that? Is it because there are no
   Rest services available at the moment? or else is it felt that
   providing image upload via the UI is not practically important?
  
   Probably because sending 20G Windows image files through a web form
   interface isn't very efficient ;)
  
   It's also not something a regular user of Glance/Nova would do --
   and system administrators won't do it very often, and when they do,
   they'll use the glance CLI tool to do it.
  
   Best,
   -jay
  
   ___
   Mailing list: https://launchpad.net/~openstack
   Post to : openstack@lists.launchpad.net
   Unsubscribe : https://launchpad.net/~openstack
   More help   : https://help.launchpad.net/ListHelp
  
  
  
   ___
   Mailing list: https://launchpad.net/~openstack
   Post to : openstack@lists.launchpad.net
   Unsubscribe : https://launchpad.net/~openstack
   More help   : https://help.launchpad.net/ListHelp
 



 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 
Best Regards
Sajith
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp