[Openstack] Question about Disk Setup of Nova Compute Node

2013-01-10 Thread Sean Bigdatafun
When I have a set of rack servers that is 1TB * 4 disks in each of it as
Nova Compute Node, what is the best RAID (or JBOD) strategy OpenStack
community recommend?

Basically I'd like to know what a normal disk setup a compute node should
be using.

Thanks,
Sean
___
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] Error in Horizon or misconfiguration?

2013-01-10 Thread Dolph Mathews
Are you still seeing EndpointNotFound's on the latest version of
keystoneclient? Even without a fix, it was simply a condition that didn't
need to be logged (especially as an error).


-Dolph


On Thu, Jan 10, 2013 at 8:07 PM, Sina Sadeghi  wrote:

>  Guys this is a bug I have been trying to get resolved for _ages_ now and
> it seems nobody cares about it:
>
> https://bugs.launchpad.net/python-keystoneclient/+bug/1036342
>
>
>
> --
> *Sina Sadeghi*
> Lead Cloud Engineer
>
> *Aptira Pty Ltd*
> 1800 APTIRA
> aptira.com 
> Follow @aptira 
>
>  On 11/01/13 01:33, Ray Sun wrote:
>
> Maybe this bugs is related with your Quota Summary.
>
>  https://bugs.launchpad.net/horizon/+bug/1055929
>
>  Just replace 'usage.quota' with 'usage.quotas' in
> horizon/templates/horizon/common/_quota_summary.html.
>
>  - Ray
> Yours faithfully, Kind regards.
>
> CIeNET Technologies (Beijing) Co., Ltd
> Email: qsun01...@cienet.com.cn
> Office Phone: +86-01081470088-7079
> Mobile Phone: +86-13581988291
>
>
> On Thu, Jan 10, 2013 at 9:09 PM, JuanFra Rodriguez Cardoso <
> juanfra.rodriguez.card...@gmail.com> wrote:
>
>> Thanks for replying quickly!
>>
>> Yes, I knew about this property. By default is 'internalURL', but
>> although it's modified and restarted httpd, errors related to
>> EndpointNotFound continue logging with endpoint_type='adminURL'.
>>
>> On the other hand, in Horizon, the Quota Summary in Project tab, is shown
>> empty. Any idea about that?
>>
>> Thanks a lot!
>> JuanFra
>>
>>
>> 2013/1/10 Diego Parrilla Santamaría 
>>
>>> You can change the endpoint type in Horizon:
>>>
>>>  Modify this file:
>>> /etc/openstack-dashboard/local_settings.py
>>>
>>>  and add (or edit) this property:
>>> OPENSTACK_ENDPOINT_TYPE=endpoint_type
>>>
>>>  and endpoint_type can be internalURL, publicURL and adminURL, as usual.
>>>
>>>  Cheers
>>> Diego
>>>
>>>   --
>>>  Diego Parrilla
>>>  *CEO*
>>> *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 
>>> 29<%2B34%20649%2094%2043%2029>|
>>> skype:diegoparrilla*
>>> * 
>>>  *
>>>
>>> *
>>>
>>>
>>>
>>>  On Thu, Jan 10, 2013 at 1:33 PM, JuanFra Rodriguez Cardoso <
>>> juanfra.rodriguez.card...@gmail.com> wrote:
>>>
  Hi guys!

 Do you know if this Horizon's bug have been solved? In my fresh
 installation (2012.2.1 from EPEL), it keeps crashing.
 However, remaining operations in dashboard work fine!

   [Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
 [Thu Jan 10 13:20:19 2013] [error]   File
 "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 135,
 in _extract_service_catalog
 [Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
 [Thu Jan 10 13:20:19 2013] [error]   File
 "/usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py", line
 73, in url_for
 [Thu Jan 10 13:20:19 2013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
 [Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog
 with token


 It could be a great chance for my first contribution to Horizon code?
 could I assign myself this bug?

 Thanks,
  JuanFra.

  ___
 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
>
>
>
> ___
> 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


Re: [Openstack] [heat] Grizzly-2 development milestone available for Heat

2013-01-10 Thread Lei Zhang
Good news.

On Fri, Jan 11, 2013 at 5:44 AM, Steven Dake  wrote:

> orchestration




-- 
Lei Zhang

Blog: http://jeffrey4l.github.com
twitter/weibo: @jeffrey4l
___
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] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Lei Zhang
why not try boot from snapshot. That's will save some time.


On Thu, Jan 10, 2013 at 5:18 AM, Sébastien Han wrote:

> Moving instances from project to project is not possible however what
> you can do is (safe way):
>
> - as an admin user
> - snapshot the image from env 1
> - grab the snapshotted file from your glance store
> - import the snapshot into glance
> - make the image public
> - run the snapshot from env 2
> - enjoy!
>
> Cheers!
>
> --
> Regards,
> Sébastien Han.
>
>
> On Wed, Jan 9, 2013 at 8:14 PM, Alex Vitola  wrote:
> > I have 2 projects in my environment:
> >
> > ProjectQA1: ID -> 0001
> > ProjectQA2: ID -> 0002
> >
> > root@Controller:# keystone tenant-list
> > +-++-+
> > | id  |name| enabled |
> > +-++-+
> > | 0001| ProjectQA1 |   True  |
> > | 0002| ProjectQA2 |   True  |
> > +--++-+
> >
> > In Project 1 there are 1 instance
> > In Project 2 there are 7 instances
> >
> > root@Controller:# nova usage-list
> >
> > +---+---+--+---+---+
> > | Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
> > +---+---+--+---+---+
> > | 0001  | 1 | 12533.78 | 24.48 | 244.80|
> > | 0002  | 7 | 127447.40| 171.17| 2100.45   |
> > +---+---+--+---+---+
> >
> > Is it possible to move this instance of Project 1 for 2?
> >
> > root@Controller:# nova list
> > +--+---+++
> > | ID   | Name  | Status | Networks   |
> > +--+---+++
> > | 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |
> > +--+---+++
> >
> > Move ID 9991/QA-07
> >
> > from: Tenant ID 0001
> > to: Tenant ID 0002
> >
> > Is that possible?
> >
> >
> >
> > Att
> >
> > Alex Vitola
> > System Administrator
> >
> > ___
> > 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
>



-- 
Lei Zhang

Blog: http://jeffrey4l.github.com
twitter/weibo: @jeffrey4l
___
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] Error in Horizon or misconfiguration?

2013-01-10 Thread Sina Sadeghi

  
  
Guys this
  is a bug I have been trying to get resolved
for _ages_ now and it seems nobody cares about it:

https://bugs.launchpad.net/python-keystoneclient/+bug/1036342
  
  

  
  --
  Sina Sadeghi
  Lead Cloud Engineer
  
  Aptira Pty Ltd
  1800 APTIRA
  aptira.com
  Follow @aptira

  
  On 11/01/13 01:33, Ray Sun wrote:

Maybe
  this bugs is related with your Quota Summary.
  

https://bugs.launchpad.net/horizon/+bug/1055929


Just
  replace 'usage.quota' with
  'usage.quotas'
  in horizon/templates/horizon/common/_quota_summary.html.
  

  
- Ray
Yours faithfully, Kind
  regards.
  
  CIeNET Technologies (Beijing) Co., Ltd
  Email: qsun01...@cienet.com.cn
Office Phone:
+86-01081470088-7079
Mobile Phone: +86-13581988291
  
  
  
  On Thu, Jan 10, 2013 at 9:09 PM,
JuanFra Rodriguez Cardoso 
wrote:
Thanks
  for replying quickly!
  
  Yes, I knew about this property. By default is
  'internalURL', but although it's modified and restarted
  httpd, errors related to EndpointNotFound continue logging
  with endpoint_type='adminURL'.
  
  On the other hand, in Horizon, the Quota Summary in
  Project tab, is shown empty. Any idea about that?
  
  Thanks a lot!
  JuanFra
  

  
  
  2013/1/10 Diego Parrilla
Santamaría 
You
  can change the endpoint type in Horizon:
  
  
  
Modify this file:
/etc/openstack-dashboard/local_settings.py


and add (or edit) this property:
OPENSTACK_ENDPOINT_TYPE=endpoint_type


and endpoint_type can be internalURL,
  publicURL and adminURL, as usual.


Cheers
Diego


 -- 
  
  
Diego Parrilla
  CEO
www.stackops.com |  diego.parri...@stackops.com | +34 649 94
43 29 | skype:diegoparrilla
  
  
  

  

  
  




  
On Thu, Jan 10, 2013 at 1:33 PM,
  JuanFra Rodriguez Cardoso 
  wrote:

  
  

  Hi guys!

Do you know if this Horizon's bug have
been solved? In my fresh installation
(2012.2.1 from EPEL), it keeps crashing.
However, remaining operations in
dashboard work fine! 



  
[Thu Jan 10 13:20:19 2013] [error]
Traceback (most recent call last):
  [Thu Jan 10 13:20:19 2013]
[error]   File
"/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py",
line 135, in
_extract_service_catalog
  [Thu Jan 10 13:20:19 2013]
[error]    
endpoin

Re: [Openstack] Strange issue during live migration

2013-01-10 Thread Yuan, Ye A
That's my pleasure. Congratulations to you for resolve such issue!

Best wishes,
Yale Yuan

From: Narayanan, Krishnaprasad [mailto:naray...@uni-mainz.de]
Sent: Thursday, January 10, 2013 3:54 AM
To: Yuan, Ye A
Cc: openstack@lists.launchpad.net
Subject: RE: Strange issue during live migration

Hi Yuan,

Thanks for the response. I had missed to set the vncserver_listen to 0.0.0.0 
and that fixed the problem for me. Unfortunately, I couldn't try any of the 
methods suggested by you as setting the vncserver_listen solved the problem.

Regards
Krishnaprasad
From: Yuan, Ye A [mailto:ye.a.y...@intel.com]
Sent: Dienstag, 8. Januar 2013 02:52
To: Narayanan, Krishnaprasad
Cc: openstack@lists.launchpad.net
Subject: RE: Strange issue during live migration

Hey guy,
Please try as below:

1)  If there is no log, maybe config/log file's privilege issue. You can 
edit their owner: $ chown nova:nova /etc/nova && chown nova:nova /var/log/nova

2)  After method 1) , there must be logs in log file. You can run command $ 
nova-manage logs error, it will print all nova services' error

3)  I facing migration issue similar before, it seems that CPU 
compatibility is too strict! And you can edit source code in 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, in function 
compare_cpu, comment 2lines:

#if ret <= 0:

 #raise exception.InvalidCPUInfo(reason=m % locals())

Or upgrade Essex to Folsom!
If methods I metioned work. Please let me know!

Best wishes,
Yale Yuan
>From Intel
From: 
openstack-bounces+ye.a.yuan=intel@lists.launchpad.net
 [mailto:openstack-bounces+ye.a.yuan=intel@lists.launchpad.net] On Behalf 
Of Narayanan, Krishnaprasad
Sent: Tuesday, January 08, 2013 1:33 AM
To: openstack@lists.launchpad.net
Subject: [Openstack] Strange issue during live migration

Hallo All,

I am using OpenStack ESSEX and I have made all the necessary changes in order 
to perform live-migration (mounting the nova instances directory and 
libvirt-bin configurations). The issue that I am facing is when I perform live 
migration using the nova commands, there is neither error in the log file nor 
on the command and in the Horizon GUI, I could see the VM status changing to 
Migrating and later turning Active, but in the back end, the VM is not 
migrating to the specified host. Has anybody faced the same issue and can I get 
to know am I missing any configurations?

Thanks
Krishnaprasad
___
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] [heat] Grizzly-2 development milestone available for Heat

2013-01-10 Thread Steven Dake

Hi folks,

The OpenStack release team has released the second milestone of the 
Grizzly development cycle (grizzly-2).  This is a significant step in 
Heat's incubation, as it is our first milestone release leading to the 
final delivery of OpenStack 2013.1 scheduled for April 4, 2013.


You can find the full list of new features and fixed bugs, as well as 
tarball downloads at:


https://launchpad.net/heat/grizzly/grizzly-2

Features and bugs may be resolved until the next milestone, grizzly-3, 
which will be delivered on February 21st.  Come join the growing 
orchestration development community by contributing to Heat and making 
orchestration in OpenStack world class!


Regards
-steve

___
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] Grizzly-2 development milestone available (Keystone, Glance, Nova, Horizon, Quantum, Cinder)

2013-01-10 Thread Thierry Carrez
Hi everyone,

The second milestone of the Grizzly development cycle, "grizzly-2" is
now available. It's a significant step toward the final delivery of
OpenStack 2013.1 (codenamed "Grizzly"), scheduled for April 4, 2013.

You can find the full list of new features and fixed bugs, as well as
tarball downloads, at:

https://launchpad.net/keystone/grizzly/grizzly-2
https://launchpad.net/glance/grizzly/grizzly-2
https://launchpad.net/nova/grizzly/grizzly-2
https://launchpad.net/horizon/grizzly/grizzly-2
https://launchpad.net/quantum/grizzly/grizzly-2
https://launchpad.net/cinder/grizzly/grizzly-2

Features may be added until the next milestone, grizzly-3, which will be
delivered on February 21st. Let's all make it awesome !

Regards,

-- 
Thierry Carrez (ttx)
Release Manager, OpenStack

___
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] NFS + RDMA == stuck at "Booting from hard disk"

2013-01-10 Thread Mark Lehrer


Has anyone here been able to make Openstack + KVM work with Infiniband & 
NFS-RDMA?


I have spent a couple of days here trying to make it work, but with no 
luck.  At first I thought the problem was NFS3 and lockd, but I tried 
NFSv4 and I have the same problem.  I also disabled AppArmor just as a 
test but that didn't help.


Things work fine with Infinband if I don't use RDMA, and I have many 
non-libvirt QEMU-KVM vm's working fine using RDMA.


When this problem occurs, the qemu process is CPU locked, strace shows 
calls to FUTEX, select, and lots of EAGAIN messages.  If nobody else here 
is using this setup, I'll keep digging to find out exactly which option is 
causing this problem.


Thanks,
Mark



___
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] Quantum Help

2013-01-10 Thread Mark Langanki
Maru,

I was trying to ping the 50.50.1.3 address of the VM from the controller as 
that was where the doc told me to put the "route add 50.50.1.0/24 gw ….". I can 
ping 50.50.1.1, but not .3.

I was getting a "destination not routable" or something like that…

Also, can ping the floatingip, but can not ping from 50.50.1.3 to its gateway 
of 50.50.1.1?


Thanks,
Mark Langanki
EVP Operations and Engineering
605 Hwy. 169 N., Suite. 900
Minneapolis, MN 55441
T: 763.971.2185 | M: 612.865.2928
mark.langa...@spanlink.com| 
www.spanlink.com
Spanlink Communications
We make it work.






On Jan 9, 2013, at 10:05 AM, Maru Newby wrote:

Hi Mark,

Where are you attempting to execute ping against the internal ip from?  Based 
on that guide, the internal ip would only be routable on the compute or network 
nodes, and it should be possible to ping the VM from either.

If you are unable to ping the internal ip from one of those nodes, what error 
do you see?  If it is something like 'permission denied', then namespaces are 
enabled and the ping command will need to be executed via 'sudo ip netns exec 
[namespace id] ping [ip]'.  The namespace id can be determined by executing 'ip 
netns' and finding the namespace id whose prefix matches the router interface 
associated with the tenant network (e.g. qrouter-).

Regardless, if you can ping the floating ip, and are able to ssh into the vm 
via that floating ip, internal network connectivity is working correctly.  
floating ip traffic uses DNAT at the network node, so the internal ip is used 
once a packet transits the network node bound for the VM.

Thanks,


Maru


I'm nmot sure Being able to ping a VM's floating ip but not the internal ip is 
a promising sign.  The internal ip

If you are executing ping from the gateway host, Presuming you are executing 
ping from off the gateway
If you can ping the associated floatingip, can you ssh into the vm using that 
ip?  If so, your vm has connectivity, and the issue is likely that the internal 
network is not externaroutable

The internal network is

On 2013-01-09, at 7:19 AM, Mark Langanki 
mailto:mark.langa...@spanlink.com>> wrote:

All,

I have an installation of 3 servers based on the Folsom guide : 
https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/VLAN/2NICs/OpenStack_Folsom_Install_Guide_WebVersion.rst

Following all the way through, I have quantum all configured per the bottom of 
the doc : Your first VM.

I have the VM up in a VNC window and can access it.

Network is setup so that I have an internal net of 50.50.1.0/24 (exactly as the 
doc), and an external net of 172.17.21.x/24 which is the public side.

I have floating IP's in the 172.17.21.x/24 net and I can ping the associated 
floatingip of the VM instance, I can ping the 50.50.1.1 router, but i can not 
ping, or access the 50.50.1.3 VM instance.

Where should I be troubleshooting?

How can I know which interface I should be looking at on which node (i.e. is it 
a vnet, or qwe031qwr type of interface, and is it on the network or compute 
node?)..

Kind of lost on where to go from here.

Thanks,
Mark Langanki
EVP Operations and Engineering
605 Hwy. 169 N., Suite. 900
Minneapolis, MN 55441
T: 763.971.2185 | M: 612.865.2928
mark.langa...@spanlink.com|
 www.spanlink.com
Spanlink Communications
We make it work.







___
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


Re: [Openstack] Swift 1.7.4 stable - logging middleware adding lag to final responses

2013-01-10 Thread Peter Portante
Does the proxy-logging code use the eventlet.wsgi posthook for the logging?
>From a quick inspection of the code, it seems to add a generator to the
filter layers passing the object along. Could we avoid that by using the
posthook? Or was there some other reason for not using the posthook?


On Thu, Jan 10, 2013 at 1:24 PM, Leandro Reox wrote:

> Yep, im planning to debug the current middleware to see if i can submit a
> fix or find my real problem and if it gets to dirty go to custom logging
> code
>
> Thanks pete
>
> Any other experiences will be very appreciated :)
>
>
> On Thu, Jan 10, 2013 at 2:59 PM, Pete Zaitcev  wrote:
>
>> On Thu, 10 Jan 2013 12:37:57 -0300
>> Leandro Reox  wrote:
>>
>> > When we turn off the proxy-logging middleware, everything starts to
>> > response like a charm 8ms or so vs 800-1400ms !!!
>>
>> At a guess, maybe the proxy-logging middle accidentially tries
>> to resolve an IP address somewhere?
>>
>> > And i cant find the way to log locally on debug mode without activating
>> the
>> > proxy-logging middleware
>>
>> Indeed, in the past I had to resort to custom logging code
>> in instances like that.
>>
>> -- Pete
>>
>
>
> ___
> 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


Re: [Openstack] OpenStack Java SDK

2013-01-10 Thread Antonio Manuel Muñiz Martín
Hi Luis,

Great. Should I send the pull request to the new branch?

Thanks,
Antonio.

2013/1/10 Luis Gervaso :
> Hi Antonio,
>
> The master branch is the currently branch I'm working on. This branch has
> support for the Quantum project (thanks to benn-cs)
>
> The main difference with older branches (essex) is a more decoupled API:
>
> Command design pattern is key in the master.
>
> This way the API can be extended in a easier way (actually for the OpenStack
> versions and extensions)
>
> I agree and I will create a branch for the folsom.
>
> Cheers!
>
>
> On Thu, Jan 10, 2013 at 6:47 PM, Gui Maluf  wrote:
>>
>> frans, you can always use devstack for a fast local OS deploy.
>>
>> Antonio I've interest in openstack-java-sdk, the only difference is that
>> I'm using scala, instead of Java. I'm quite new at this and having a lot a
>> difficulty trying to make my code connect with Keystone.
>> I hope you can get your answer!
>>
>> Att.
>>
>>
>>
>>
>> On Wed, Jan 9, 2013 at 10:07 PM, Frans Thamura  wrote:
>>>
>>> hi Antonio
>>>
>>> talking Java SDK.
>>>
>>> is there OpenSTack on the Net, that we can use, to test this SDK?
>>>
>>> I love to invest in this tools, esp we are working with Java education
>>> program here
>>>
>>> F
>>>
>>> On Thu, Jan 10, 2013 at 6:51 AM, Antonio Manuel Muñiz Martín
>>>  wrote:
>>> > Hello all.
>>> >
>>> > We are working with OpenStack Java SDK [1] since some months ago. Now
>>> > we need to use it with Folsom. After a look on master branch we
>>> > decided to keep us in the stable branch, because the project has no
>>> > release policy, no tags...
>>> >
>>> > Said this, we've done some changes in stable Essex branch to adapt it
>>> > to Folsom, basically adding some fields to resources required for a
>>> > correct JSON mapping.
>>> > If some of you think this changes are interesting we can send a pull
>>> > request to the owner (Luis, I think you are in this list, I would like
>>> > to get your opinion).
>>> >
>>> > Cheers,
>>> > Antonio.
>>> >
>>> > [1] https://github.com/woorea/openstack-java-sdk/tree/stable/essex
>>> >
>>> > --
>>> > Antonio Manuel Muñiz Martín
>>> > Software Developer at klicap - ingeniería del puzle
>>> >
>>> > work phone + 34 954 894 322
>>> > www.klicap.es | blog.klicap.es
>>> >
>>> > ___
>>> > 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
>>
>>
>>
>>
>> --
>> guilherme \n
>> \t maluf
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
> ---
> Luis Alberto Gervaso Martin
> Woorea Solutions, S.L
> CEO & CTO
> mobile: (+34) 627983344
> l...@woorea.es
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Antonio Manuel Muñiz Martín
Software Developer at klicap - ingeniería del puzle

work phone + 34 954 894 322
www.klicap.es | blog.klicap.es

___
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] Dashboard/horizon PRODUCTION bug

2013-01-10 Thread Gabriel Hurley
I haven't heard a report like this from anyone else. Looking at your patch it 
looks like you're having problems with the sub-module imports for some reason, 
which sounds to me like a Python problem. Is there anything unusual about your 
version of Python? Any unusual/duplicate packages on your python path that 
might be causing name conflicts/import errors?


-  Gabriel


From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Sina Sadeghi
Sent: Wednesday, January 09, 2013 7:54 PM
To: openstack
Subject: [Openstack] Dashboard/horizon PRODUCTION bug

I just upgraded the openstack-dashboard we are using to the latest version 
provided by Ubuntu Cloud Archive. There were multiple bugs causing "Internal 
Server Error" which I had to patch manually to rectify, I couldn't see anyone 
reporting the same errors after a brief google search.

Can someone examine the patch provided and please confirm whether they have 
this issue or not? I'm running Ubuntu 12.04 with Folsom installed using the 
Ubuntu Cloud Archive.

# dpkg -l | grep -e 'openstack\|horizon'
ii  openstack-dashboard  2012.2-0ubuntu2~cloud0   django web 
interface to Openstack
ii  openstack-dashboard-ubuntu-theme 2012.2-0ubuntu2~cloud0   Ubuntu theme 
for the Openstack dashboard
ii  python-django-horizon2012.2-0ubuntu2~cloud0   Django module 
providing web based interaction with OpenStack
ii  python-django-openstack  2012.2-0ubuntu2~cloud0   dummy 
transitonal package from python-django-openstack to python-django-horizon
ii  python-openstack-auth1.0.1-0ubuntu6~cloud0A django 
authentication backend for Openstack

I have attached the main patch I had to apply to get dashboard working again, 
but I also had to patch: 
/usr/lib/python2.7/dist-packages/horizon/dashboards/settings/project/views.py  
to change "from horizon.api import keystone" to "from horizon.api import 
keystoneclient" as well. If this is an actual bug I'm happy to file and supply 
the patch as appropriate.




--

--
Sina Sadeghi
Lead Cloud Engineer
[cid:image001.jpg@01CDEF1D.ABEFEC50]
Aptira Pty Ltd
1800 APTIRA
aptira.com
Follow @aptira
<>___
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] Swift 1.7.4 stable - logging middleware adding lag to final responses

2013-01-10 Thread Leandro Reox
Yep, im planning to debug the current middleware to see if i can submit a
fix or find my real problem and if it gets to dirty go to custom logging
code

Thanks pete

Any other experiences will be very appreciated :)


On Thu, Jan 10, 2013 at 2:59 PM, Pete Zaitcev  wrote:

> On Thu, 10 Jan 2013 12:37:57 -0300
> Leandro Reox  wrote:
>
> > When we turn off the proxy-logging middleware, everything starts to
> > response like a charm 8ms or so vs 800-1400ms !!!
>
> At a guess, maybe the proxy-logging middle accidentially tries
> to resolve an IP address somewhere?
>
> > And i cant find the way to log locally on debug mode without activating
> the
> > proxy-logging middleware
>
> Indeed, in the past I had to resort to custom logging code
> in instances like that.
>
> -- Pete
>
___
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] Developing with Scala/Java on OpenStack Swift

2013-01-10 Thread Luis Gervaso
I copy this to the list because somebody can have similar issues

-

Actually I think the issue is sbt ... (It seems that is not resolving
transitive dependencies)

First:  Look and check if you added

https://maven.java.net/content/repositories/snapshots
https://raw.github.com/woorea/maven/master/snapshots
as maven repositories


A dirty way (but can help you):


org.glassfish.jersey.core
jersey-client
2.0-SNAPSHOT


org.glassfish.jersey.media
jersey-media-json-jackson
2.0-SNAPSHOT


org.codehaus.jackson
jackson-jaxrs
1.9.8


org.codehaus.jackson
jackson-xc
1.9.8






On Thu, Jan 10, 2013 at 6:55 PM, Gui Maluf  wrote:

> I could find the pathway, but if I try
>
> scala> var openstack = new OpenStack
>
> I get this
>
> java.lang.RuntimeException: java.lang.ClassNotFoundException:
> org.glassfish.jersey.client.JerseyClientFactory
> at org.openstack.OpenStack.initialize(OpenStack.java:96)
> at org.openstack.OpenStack.(OpenStack.java:33)
> at .(:23)
>
> at .()
> at .(:11)
> at .()
> at $print()
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:704)
> at
> scala.tools.nsc.interpreter.IMain$Request.loadAndRun(IMain.scala:914)
> at
> scala.tools.nsc.interpreter.IMain.loadAndRunReq$1(IMain.scala:546)
> at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:577)
> at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:543)
> at
> scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:694)
> at
> scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:745)
> at scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:651)
> at scala.tools.nsc.interpreter.ILoop.processLine$1(ILoop.scala:542)
> at scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:550)
> at scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:822)
> at scala.tools.nsc.interpreter.ILoop.main(ILoop.scala:851)
> at xsbt.ConsoleInterface.run(ConsoleInterface.scala:57)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:73)
> at
> sbt.compiler.AnalyzingCompiler.console(AnalyzingCompiler.scala:64)
> at sbt.Console.console0$1(Console.scala:23)
> at
> sbt.Console$$anonfun$apply$2$$anonfun$apply$1.apply$mcV$sp(Console.scala:24)
> at sbt.TrapExit$.executeMain$1(TrapExit.scala:33)
> at sbt.TrapExit$$anon$1.run(TrapExit.scala:42)
> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException:
> org.glassfish.jersey.client.JerseyClientFactory
> at
> javax.ws.rs.client.ClientFactory.getFactory(ClientFactory.java:92)
> at
> javax.ws.rs.client.ClientFactory.newClient(ClientFactory.java:103)
> at org.openstack.OpenStack.initialize(OpenStack.java:57)
> ... 33 more
> Caused by: java.lang.ClassNotFoundException:
> org.glassfish.jersey.client.JerseyClientFactory
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> javax.ws.rs.client.FactoryFinder.newInstance(FactoryFinder.java:114)
> at javax.ws.rs.client.FactoryFinder.find(FactoryFinder.java:206)
> at
> javax.ws.rs.client.ClientFactory.getFactory(ClientFactory.java:75)
> ... 35 more
>
>
> If I try
> scala> var openstack = new OpenStack()
>
> I get
>
>
> java.lang.NoClassDefFoundError: Could not initialize class
> org.openstack.OpenStack
> at .(:23)
>
> at .()
> at .(:11)
> at .()
> at $print()
> at sun.reflect.NativeMethodAccessorImpl.inv

Re: [Openstack] OpenStack Java SDK

2013-01-10 Thread Luis Gervaso
Hi Antonio,

The master branch is the currently branch I'm working on. This branch has
support for the Quantum project (thanks to benn-cs
)

The main difference with older branches (essex) is a more decoupled API:

Command design pattern is key in the master.

This way the API can be extended in a easier way (actually for the
OpenStack versions and extensions)

I agree and I will create a branch for the folsom.

Cheers!

On Thu, Jan 10, 2013 at 6:47 PM, Gui Maluf  wrote:

> frans, you can always use devstack for a fast local OS deploy.
>
> Antonio I've interest in openstack-java-sdk, the only difference is that
> I'm using scala, instead of Java. I'm quite new at this and having a lot a
> difficulty trying to make my code connect with Keystone.
> I hope you can get your answer!
>
> Att.
>
>
>
>
> On Wed, Jan 9, 2013 at 10:07 PM, Frans Thamura  wrote:
>
>> hi Antonio
>>
>> talking Java SDK.
>>
>> is there OpenSTack on the Net, that we can use, to test this SDK?
>>
>> I love to invest in this tools, esp we are working with Java education
>> program here
>>
>> F
>>
>> On Thu, Jan 10, 2013 at 6:51 AM, Antonio Manuel Muñiz Martín
>>  wrote:
>> > Hello all.
>> >
>> > We are working with OpenStack Java SDK [1] since some months ago. Now
>> > we need to use it with Folsom. After a look on master branch we
>> > decided to keep us in the stable branch, because the project has no
>> > release policy, no tags...
>> >
>> > Said this, we've done some changes in stable Essex branch to adapt it
>> > to Folsom, basically adding some fields to resources required for a
>> > correct JSON mapping.
>> > If some of you think this changes are interesting we can send a pull
>> > request to the owner (Luis, I think you are in this list, I would like
>> > to get your opinion).
>> >
>> > Cheers,
>> > Antonio.
>> >
>> > [1] https://github.com/woorea/openstack-java-sdk/tree/stable/essex
>> >
>> > --
>> > Antonio Manuel Muñiz Martín
>> > Software Developer at klicap - ingeniería del puzle
>> >
>> > work phone + 34 954 894 322
>> > www.klicap.es | blog.klicap.es
>> >
>> > ___
>> > 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
>>
>
>
>
> --
> *guilherme* \n
> \t *maluf*
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
---
Luis Alberto Gervaso Martin
Woorea Solutions, S.L
CEO & CTO
mobile: (+34) 627983344
luis@ woorea.es
___
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] Swift 1.7.4 stable - logging middleware adding lag to final responses

2013-01-10 Thread Pete Zaitcev
On Thu, 10 Jan 2013 12:37:57 -0300
Leandro Reox  wrote:

> When we turn off the proxy-logging middleware, everything starts to
> response like a charm 8ms or so vs 800-1400ms !!!

At a guess, maybe the proxy-logging middle accidentially tries
to resolve an IP address somewhere?

> And i cant find the way to log locally on debug mode without activating the
> proxy-logging middleware

Indeed, in the past I had to resort to custom logging code
in instances like that.

-- Pete

___
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 Java SDK

2013-01-10 Thread Gui Maluf
frans, you can always use devstack for a fast local OS deploy.

Antonio I've interest in openstack-java-sdk, the only difference is that
I'm using scala, instead of Java. I'm quite new at this and having a lot a
difficulty trying to make my code connect with Keystone.
I hope you can get your answer!

Att.




On Wed, Jan 9, 2013 at 10:07 PM, Frans Thamura  wrote:

> hi Antonio
>
> talking Java SDK.
>
> is there OpenSTack on the Net, that we can use, to test this SDK?
>
> I love to invest in this tools, esp we are working with Java education
> program here
>
> F
>
> On Thu, Jan 10, 2013 at 6:51 AM, Antonio Manuel Muñiz Martín
>  wrote:
> > Hello all.
> >
> > We are working with OpenStack Java SDK [1] since some months ago. Now
> > we need to use it with Folsom. After a look on master branch we
> > decided to keep us in the stable branch, because the project has no
> > release policy, no tags...
> >
> > Said this, we've done some changes in stable Essex branch to adapt it
> > to Folsom, basically adding some fields to resources required for a
> > correct JSON mapping.
> > If some of you think this changes are interesting we can send a pull
> > request to the owner (Luis, I think you are in this list, I would like
> > to get your opinion).
> >
> > Cheers,
> > Antonio.
> >
> > [1] https://github.com/woorea/openstack-java-sdk/tree/stable/essex
> >
> > --
> > Antonio Manuel Muñiz Martín
> > Software Developer at klicap - ingeniería del puzle
> >
> > work phone + 34 954 894 322
> > www.klicap.es | blog.klicap.es
> >
> > ___
> > 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
>



-- 
*guilherme* \n
\t *maluf*
___
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] Instances RedHat / Centos / Fedora vs /dev/vdx

2013-01-10 Thread Vishvananda Ishaya

On Jan 10, 2013, at 5:50 AM, Alex Vitola  wrote:

> I'm creating the Dashboard / Horizon.
> 
> Using m1.small flavor.
> 
> Strange that using the same process works with Ubuntu.
> 
> Using command line, same problem
> 
> ~# nova boot --flavor=6 --image=e4fc62b7-5e1b-457b-a578-26939b547ed0
> CentOS-6.3-i386- --tenant_id=debd50b4ec2b4905a3296ac0f0971849

Maybe try the x86_64 version? I know that I've had trouble in the past trying 
to boot 32 bit guests on 64 bit hosts or vice versa

Vish


___
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] Error in Horizon or misconfiguration?

2013-01-10 Thread Dolph Mathews
The fix was made to keystoneclient, so it does not require backporting. You
can use the latest keystoneclient with either diablo, Essex or Folsom.

-Dolph

On Thursday, January 10, 2013, Matthias Runge wrote:

> On 01/10/2013 01:33 PM, JuanFra Rodriguez Cardoso wrote:
> > Hi guys!
> >
> > Do you know if this Horizon's bug have been solved? In my fresh
> > installation (2012.2.1 from EPEL), it keeps crashing.
> > However, remaining operations in dashboard work fine!
> >
> Its' a known error in keystone, which has been fixed IMHO. I'm currently
> not sure, if the fix has been backported to Folsom.
>
> Matthias
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net 
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>


-- 

-Dolph
___
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] Swift 1.7.4 stable - logging middleware adding lag to final responses

2013-01-10 Thread Leandro Reox
Hi all,

We're having a problem when we migrated from 1.4.8, 1.7.4 , and we
activated the the proxy-logging middleware

On the proxy.log itself we're seeing excelent response times, but it seems
that is adding some overhead somewere cause we are seeing on the reques
originator that the times are really high.

When we turn off the proxy-logging middleware, everything starts to
response like a charm 8ms or so vs 800-1400ms !!!

And i cant find the way to log locally on debug mode without activating the
proxy-logging middleware

Ive tried this on the ]DEFAULT] section as the docs says, but im only
seeing keystone validations for the ACLs on the log, and none request, with
response times are logged

set log_name = swift-proxy-server
set log_facility = LOG_LOCAL0
set log_level = DEBUG
set log_headers = True

and

set access_log_name = swift-proxy-server
set access_log_facility = LOG_LOCAL0
set access_log_level = DEBUG

None seems to work, ive tried on the DEFAULT section and on the
app.proxy-server section, am i missing something ?

Best!
Lean
___
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] Error in Horizon or misconfiguration?

2013-01-10 Thread JuanFra Rodriguez Cardoso
Great, Ray! That solved my bug with Quota summary.

As info for other with the same problem, in CentOS deployments, the full
path for these changes would be in:

/usr/lib/python2.6/site-packages/horizon/templates/horizon/common/_quota_summary.html

Thanks so much guys!

Regards,
JuanFra

2013/1/10 Ray Sun 

> Maybe this bugs is related with your Quota Summary.
>
> https://bugs.launchpad.net/horizon/+bug/1055929
>
> Just replace 'usage.quota' with 'usage.quotas' in
> horizon/templates/horizon/common/_quota_summary.html.
>
> - Ray
> Yours faithfully, Kind regards.
>
> CIeNET Technologies (Beijing) Co., Ltd
> Email: qsun01...@cienet.com.cn
> Office Phone: +86-01081470088-7079
> Mobile Phone: +86-13581988291
>
>
> On Thu, Jan 10, 2013 at 9:09 PM, JuanFra Rodriguez Cardoso <
> juanfra.rodriguez.card...@gmail.com> wrote:
>
>> Thanks for replying quickly!
>>
>> Yes, I knew about this property. By default is 'internalURL', but
>> although it's modified and restarted httpd, errors related to
>> EndpointNotFound continue logging with endpoint_type='adminURL'.
>>
>> On the other hand, in Horizon, the Quota Summary in Project tab, is shown
>> empty. Any idea about that?
>>
>> Thanks a lot!
>> JuanFra
>>
>>
>> 2013/1/10 Diego Parrilla Santamaría 
>>
>>> You can change the endpoint type in Horizon:
>>>
>>> Modify this file:
>>> /etc/openstack-dashboard/local_settings.py
>>>
>>> and add (or edit) this property:
>>> OPENSTACK_ENDPOINT_TYPE=endpoint_type
>>>
>>> and endpoint_type can be internalURL, publicURL and adminURL, as usual.
>>>
>>> Cheers
>>> Diego
>>>
>>>  --
>>> Diego Parrilla
>>> *CEO*
>>> *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29|
>>> skype:diegoparrilla*
>>> * 
>>> *
>>>
>>> *
>>>
>>>
>>>
>>> On Thu, Jan 10, 2013 at 1:33 PM, JuanFra Rodriguez Cardoso <
>>> juanfra.rodriguez.card...@gmail.com> wrote:
>>>
 Hi guys!

 Do you know if this Horizon's bug have been solved? In my fresh
 installation (2012.2.1 from EPEL), it keeps crashing.
 However, remaining operations in dashboard work fine!

 [Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
 [Thu Jan 10 13:20:19 2013] [error]   File
 "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 135,
 in _extract_service_catalog
 [Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
 [Thu Jan 10 13:20:19 2013] [error]   File
 "/usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py", line
 73, in url_for
 [Thu Jan 10 13:20:19 2013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
 [Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog
 with token


 It could be a great chance for my first contribution to Horizon code?
 could I assign myself this bug?

 Thanks,
 JuanFra.

 ___
 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


Re: [Openstack] Error in Horizon or misconfiguration?

2013-01-10 Thread Ray Sun
Maybe this bugs is related with your Quota Summary.

https://bugs.launchpad.net/horizon/+bug/1055929

Just replace 'usage.quota' with 'usage.quotas' in
horizon/templates/horizon/common/_quota_summary.html.

- Ray
Yours faithfully, Kind regards.

CIeNET Technologies (Beijing) Co., Ltd
Email: qsun01...@cienet.com.cn
Office Phone: +86-01081470088-7079
Mobile Phone: +86-13581988291


On Thu, Jan 10, 2013 at 9:09 PM, JuanFra Rodriguez Cardoso <
juanfra.rodriguez.card...@gmail.com> wrote:

> Thanks for replying quickly!
>
> Yes, I knew about this property. By default is 'internalURL', but although
> it's modified and restarted httpd, errors related to EndpointNotFound
> continue logging with endpoint_type='adminURL'.
>
> On the other hand, in Horizon, the Quota Summary in Project tab, is shown
> empty. Any idea about that?
>
> Thanks a lot!
> JuanFra
>
>
> 2013/1/10 Diego Parrilla Santamaría 
>
>> You can change the endpoint type in Horizon:
>>
>> Modify this file:
>> /etc/openstack-dashboard/local_settings.py
>>
>> and add (or edit) this property:
>> OPENSTACK_ENDPOINT_TYPE=endpoint_type
>>
>> and endpoint_type can be internalURL, publicURL and adminURL, as usual.
>>
>> Cheers
>> Diego
>>
>>  --
>> Diego Parrilla
>> *CEO*
>> *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 |
>> skype:diegoparrilla*
>> * 
>> *
>>
>> *
>>
>>
>>
>> On Thu, Jan 10, 2013 at 1:33 PM, JuanFra Rodriguez Cardoso <
>> juanfra.rodriguez.card...@gmail.com> wrote:
>>
>>> Hi guys!
>>>
>>> Do you know if this Horizon's bug have been solved? In my fresh
>>> installation (2012.2.1 from EPEL), it keeps crashing.
>>> However, remaining operations in dashboard work fine!
>>>
>>> [Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
>>> [Thu Jan 10 13:20:19 2013] [error]   File
>>> "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 135,
>>> in _extract_service_catalog
>>> [Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
>>> [Thu Jan 10 13:20:19 2013] [error]   File
>>> "/usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py", line
>>> 73, in url_for
>>> [Thu Jan 10 13:20:19 2013] [error] raise
>>> exceptions.EndpointNotFound('Endpoint not found.')
>>> [Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
>>> [Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog
>>> with token
>>>
>>>
>>> It could be a great chance for my first contribution to Horizon code?
>>> could I assign myself this bug?
>>>
>>> Thanks,
>>> JuanFra.
>>>
>>> ___
>>> 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


Re: [Openstack] Instances RedHat / Centos / Fedora vs /dev/vdx

2013-01-10 Thread Alex Vitola
I'm creating the Dashboard / Horizon.

Using m1.small flavor.

Strange that using the same process works with Ubuntu.

Using command line, same problem

~# nova boot --flavor=6 --image=e4fc62b7-5e1b-457b-a578-26939b547ed0
CentOS-6.3-i386- --tenant_id=debd50b4ec2b4905a3296ac0f0971849

att

Alex Vitola


2013/1/10 Pádraig Brady :
> On 01/10/2013 12:18 PM, Alex Vitola wrote:
>>
>> I'm having the following problem
>>
>> Release Folsom
>>
>> When I install any version of "Like" Redhat (Fedora all release,
>> CentOS 6 and 6.3), during the installation the anaconda not find hard
>> disk.
>>
>> But, if i switch to the console and give it an "fdisk -l" the Disk
>> /dev/vda is there.
>>
>> Inclusive i can create partitions and format in ext3.
>>
>>
>> This is some of the Anaconda Bug?
>>
>> Installing Ubuntu in the same environment that does not happen.
>
>
> Can you git more details of the steps/openstack commands you're using,
> as I'm not sure what you're using exactly. What virt driver are
> you using for example?
>
> Note for preparing images for use in OpenStack, based on install media,
> you can use a tool like Oz:
> http://docs.openstack.org/trunk/openstack-compute/admin/content/creating-new-images.html
>
> thanks,
> Pádraig.

___
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] Error in Horizon or misconfiguration?

2013-01-10 Thread Matthias Runge
On 01/10/2013 01:33 PM, JuanFra Rodriguez Cardoso wrote:
> Hi guys!
> 
> Do you know if this Horizon's bug have been solved? In my fresh
> installation (2012.2.1 from EPEL), it keeps crashing.
> However, remaining operations in dashboard work fine! 
> 
Its' a known error in keystone, which has been fixed IMHO. I'm currently
not sure, if the fix has been backported to Folsom.

Matthias



___
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] Instances RedHat / Centos / Fedora vs /dev/vdx

2013-01-10 Thread Pádraig Brady

On 01/10/2013 12:18 PM, Alex Vitola wrote:

I'm having the following problem

Release Folsom

When I install any version of "Like" Redhat (Fedora all release,
CentOS 6 and 6.3), during the installation the anaconda not find hard
disk.

But, if i switch to the console and give it an "fdisk -l" the Disk
/dev/vda is there.

Inclusive i can create partitions and format in ext3.


This is some of the Anaconda Bug?

Installing Ubuntu in the same environment that does not happen.


Can you git more details of the steps/openstack commands you're using,
as I'm not sure what you're using exactly. What virt driver are
you using for example?

Note for preparing images for use in OpenStack, based on install media,
you can use a tool like Oz:
http://docs.openstack.org/trunk/openstack-compute/admin/content/creating-new-images.html

thanks,
Pádraig.

___
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] Error in Horizon or misconfiguration?

2013-01-10 Thread JuanFra Rodriguez Cardoso
Thanks for replying quickly!

Yes, I knew about this property. By default is 'internalURL', but although
it's modified and restarted httpd, errors related to EndpointNotFound
continue logging with endpoint_type='adminURL'.

On the other hand, in Horizon, the Quota Summary in Project tab, is shown
empty. Any idea about that?

Thanks a lot!
JuanFra

2013/1/10 Diego Parrilla Santamaría 

> You can change the endpoint type in Horizon:
>
> Modify this file:
> /etc/openstack-dashboard/local_settings.py
>
> and add (or edit) this property:
> OPENSTACK_ENDPOINT_TYPE=endpoint_type
>
> and endpoint_type can be internalURL, publicURL and adminURL, as usual.
>
> Cheers
> Diego
>
>  --
> Diego Parrilla
> *CEO*
> *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 |
> skype:diegoparrilla*
> * 
> *
>
> *
>
>
>
> On Thu, Jan 10, 2013 at 1:33 PM, JuanFra Rodriguez Cardoso <
> juanfra.rodriguez.card...@gmail.com> wrote:
>
>> Hi guys!
>>
>> Do you know if this Horizon's bug have been solved? In my fresh
>> installation (2012.2.1 from EPEL), it keeps crashing.
>> However, remaining operations in dashboard work fine!
>>
>> [Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
>> [Thu Jan 10 13:20:19 2013] [error]   File
>> "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 135,
>> in _extract_service_catalog
>> [Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
>> [Thu Jan 10 13:20:19 2013] [error]   File
>> "/usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py", line
>> 73, in url_for
>> [Thu Jan 10 13:20:19 2013] [error] raise
>> exceptions.EndpointNotFound('Endpoint not found.')
>> [Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
>> [Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog
>> with token
>>
>>
>> It could be a great chance for my first contribution to Horizon code?
>> could I assign myself this bug?
>>
>> Thanks,
>> JuanFra.
>>
>> ___
>> 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


Re: [Openstack] Error in Horizon or misconfiguration?

2013-01-10 Thread Razique Mahroua
Hi JuanFra,yes it has been commited herehttps://github.com/openstack/python-keystoneclient/commit/0dfc69806d3767a7f6be91d9df18f20d31866c91:)
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 10 janv. 2013 à 13:33, JuanFra Rodriguez Cardoso  a écrit :Hi guys!Do you know if this Horizon's bug have been solved? In my fresh installation (2012.2.1 from EPEL), it keeps crashing.However, remaining operations in dashboard work fine! 
[Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):[Thu Jan 10 13:20:19 2013] [error]   File "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 135, in _extract_service_catalog
[Thu Jan 10 13:20:19 2013] [error]     endpoint_type='adminURL')[Thu Jan 10 13:20:19 2013] [error]   File "/usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py", line 73, in url_for
[Thu Jan 10 13:20:19 2013] [error]     raise exceptions.EndpointNotFound('Endpoint not found.')[Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.[Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog with token
It could be a great chance for my first contribution to Horizon code? could I assign myself this bug?Thanks,JuanFra.
___
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] Error in Horizon or misconfiguration?

2013-01-10 Thread Diego Parrilla Santamaría
You can change the endpoint type in Horizon:

Modify this file:
/etc/openstack-dashboard/local_settings.py

and add (or edit) this property:
OPENSTACK_ENDPOINT_TYPE=endpoint_type

and endpoint_type can be internalURL, publicURL and adminURL, as usual.

Cheers
Diego

 --
Diego Parrilla
*CEO*
*www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 |
skype:diegoparrilla*
* 
*

*



On Thu, Jan 10, 2013 at 1:33 PM, JuanFra Rodriguez Cardoso <
juanfra.rodriguez.card...@gmail.com> wrote:

> Hi guys!
>
> Do you know if this Horizon's bug have been solved? In my fresh
> installation (2012.2.1 from EPEL), it keeps crashing.
> However, remaining operations in dashboard work fine!
>
> [Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
> [Thu Jan 10 13:20:19 2013] [error]   File
> "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 135,
> in _extract_service_catalog
> [Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
> [Thu Jan 10 13:20:19 2013] [error]   File
> "/usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py", line
> 73, in url_for
> [Thu Jan 10 13:20:19 2013] [error] raise
> exceptions.EndpointNotFound('Endpoint not found.')
> [Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
> [Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog with
> token
>
>
> It could be a great chance for my first contribution to Horizon code?
> could I assign myself this bug?
>
> Thanks,
> JuanFra.
>
> ___
> 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


Re: [Openstack] Error in Horizon or misconfiguration?

2013-01-10 Thread JuanFra Rodriguez Cardoso
Hi guys!

Do you know if this Horizon's bug have been solved? In my fresh
installation (2012.2.1 from EPEL), it keeps crashing.
However, remaining operations in dashboard work fine!

[Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
[Thu Jan 10 13:20:19 2013] [error]   File
"/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 135,
in _extract_service_catalog
[Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
[Thu Jan 10 13:20:19 2013] [error]   File
"/usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py", line
73, in url_for
[Thu Jan 10 13:20:19 2013] [error] raise
exceptions.EndpointNotFound('Endpoint not found.')
[Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
[Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog with
token


It could be a great chance for my first contribution to Horizon code? could
I assign myself this bug?

Thanks,
JuanFra.
___
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] Instances RedHat / Centos / Fedora vs /dev/vdx

2013-01-10 Thread Alex Vitola
I'm having the following problem

Release Folsom

When I install any version of "Like" Redhat (Fedora all release,
CentOS 6 and 6.3), during the installation the anaconda not find hard
disk.

But, if i switch to the console and give it an "fdisk -l" the Disk
/dev/vda is there.

Inclusive i can create partitions and format in ext3.


This is some of the Anaconda Bug?

Installing Ubuntu in the same environment that does not happen.


Alex Vitola
System Administrator

___
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] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Tim Bell

Updating the DB for the project would be one step but there are other
potential things to consider such as attached volumes.

Building up the set of things that need to be done in the doc would be
useful but eventually we need to get to an openstack command that can do
this (or do the equivalent clone/snapshot function which may be more generic
for other use cases such as replicating a VM/volumes for testing)

Tim

> -Original Message-
> From: openstack-bounces+tim.bell=cern...@lists.launchpad.net
> [mailto:openstack-bounces+tim.bell=cern...@lists.launchpad.net] On Behalf
Of
> Davide Guerri
> Sent: 10 January 2013 11:23
> To: Alex Vitola
> Cc: L - OpenStack
> Subject: Re: [Openstack] Migrate Instance to another Tenant ID in the same
> environment
> 
> Thanks for this one.
> 
> ... someone should really maintain a wiki with all the tricks that are
passing
> through this ML!
> 
> Cheers,
>  Davide.
> 
> 
> On 10/gen/2013, at 11:15, Alex Vitola  wrote:
> 
> > Changed directly by the database.
> >
> > Not the best way but I did because it was an environment.
> >
> > So far I have not found any problems
> >
> >
> > mysql> use nova;
> > mysql> UPDATE `nova`.`instances` SET `user_id` =
> > 'c892202c2a134b8e9f19c047f29c60ee', `project_id` =
> > 'debd50b4ec2b4905a3296ac0f0971849' WHERE `instances`.`id` =7;
> >
> >
> > att
> >
> > Alex Vitola
> >
> >
> > 2013/1/10 Razique Mahroua 
> >>
> >> +1
> >>
> >> Seb, have you ever tried to change the tenant id for an instance into
> >> the database and reboot/ recover it? I wonder how nova behaves into
> >> such case
> >>
> >> Razique Mahroua - Nuage & Co
> >> razique.mahr...@gmail.com
> >> Tel : +33 9 72 37 94 15
> >>
> >>
> >> Le 9 janv. 2013 à 22:18, Sébastien Han  a
écrit :
> >>
> >> Moving instances from project to project is not possible however what
> >> you can do is (safe way):
> >>
> >> - as an admin user
> >> - snapshot the image from env 1
> >> - grab the snapshotted file from your glance store
> >> - import the snapshot into glance
> >> - make the image public
> >> - run the snapshot from env 2
> >> - enjoy!
> >>
> >> Cheers!
> >>
> >> --
> >> Regards,
> >> Sébastien Han.
> >>
> >>
> >> On Wed, Jan 9, 2013 at 8:14 PM, Alex Vitola 
> wrote:
> >>
> >> I have 2 projects in my environment:
> >>
> >> ProjectQA1: ID -> 0001
> >> ProjectQA2: ID -> 0002
> >>
> >> root@Controller:# keystone tenant-list
> >> +-++-+
> >> | id  |name| enabled |
> >> +-++-+
> >> | 0001| ProjectQA1 |   True  |
> >> | 0002| ProjectQA2 |   True  |
> >> +--++-+
> >>
> >> In Project 1 there are 1 instance
> >> In Project 2 there are 7 instances
> >>
> >> root@Controller:# nova usage-list
> >>
> >> +---+---+--+---+---+
> >> | Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
> >> +---+---+--+---+---+
> >> | 0001  | 1 | 12533.78 | 24.48 | 244.80|
> >> | 0002  | 7 | 127447.40| 171.17| 2100.45   |
> >> +---+---+--+---+---+
> >>
> >> Is it possible to move this instance of Project 1 for 2?
> >>
> >> root@Controller:# nova list
> >> +--+---+++
> >> | ID   | Name  | Status | Networks   |
> >> +--+---+++
> >> | 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |
> >> +--+---+++
> >>
> >> Move ID 9991/QA-07
> >>
> >> from: Tenant ID 0001
> >> to: Tenant ID 0002
> >>
> >> Is that possible?
> >>
> >>
> >>
> >> Att
> >>
> >> Alex Vitola
> >> System Administrator
> >>
> >> ___
> >> 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
> 
> 
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/

Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Davide Guerri
Thanks for this one.

... someone should really maintain a wiki with all the tricks that are passing 
through this ML!

Cheers,
 Davide.


On 10/gen/2013, at 11:15, Alex Vitola  wrote:

> Changed directly by the database.
> 
> Not the best way but I did because it was an environment.
> 
> So far I have not found any problems
> 
> 
> mysql> use nova;
> mysql> UPDATE `nova`.`instances` SET `user_id` =
> 'c892202c2a134b8e9f19c047f29c60ee', `project_id` =
> 'debd50b4ec2b4905a3296ac0f0971849' WHERE `instances`.`id` =7;
> 
> 
> att
> 
> Alex Vitola
> 
> 
> 2013/1/10 Razique Mahroua 
>> 
>> +1
>> 
>> Seb, have you ever tried to change the tenant id for an instance into the 
>> database and reboot/ recover it? I wonder how nova behaves into such case
>> 
>> Razique Mahroua - Nuage & Co
>> razique.mahr...@gmail.com
>> Tel : +33 9 72 37 94 15
>> 
>> 
>> Le 9 janv. 2013 à 22:18, Sébastien Han  a écrit :
>> 
>> Moving instances from project to project is not possible however what
>> you can do is (safe way):
>> 
>> - as an admin user
>> - snapshot the image from env 1
>> - grab the snapshotted file from your glance store
>> - import the snapshot into glance
>> - make the image public
>> - run the snapshot from env 2
>> - enjoy!
>> 
>> Cheers!
>> 
>> --
>> Regards,
>> Sébastien Han.
>> 
>> 
>> On Wed, Jan 9, 2013 at 8:14 PM, Alex Vitola  wrote:
>> 
>> I have 2 projects in my environment:
>> 
>> ProjectQA1: ID -> 0001
>> ProjectQA2: ID -> 0002
>> 
>> root@Controller:# keystone tenant-list
>> +-++-+
>> | id  |name| enabled |
>> +-++-+
>> | 0001| ProjectQA1 |   True  |
>> | 0002| ProjectQA2 |   True  |
>> +--++-+
>> 
>> In Project 1 there are 1 instance
>> In Project 2 there are 7 instances
>> 
>> root@Controller:# nova usage-list
>> 
>> +---+---+--+---+---+
>> | Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
>> +---+---+--+---+---+
>> | 0001  | 1 | 12533.78 | 24.48 | 244.80|
>> | 0002  | 7 | 127447.40| 171.17| 2100.45   |
>> +---+---+--+---+---+
>> 
>> Is it possible to move this instance of Project 1 for 2?
>> 
>> root@Controller:# nova list
>> +--+---+++
>> | ID   | Name  | Status | Networks   |
>> +--+---+++
>> | 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |
>> +--+---+++
>> 
>> Move ID 9991/QA-07
>> 
>> from: Tenant ID 0001
>> to: Tenant ID 0002
>> 
>> Is that possible?
>> 
>> 
>> 
>> Att
>> 
>> Alex Vitola
>> System Administrator
>> 
>> ___
>> 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


___
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] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Sébastien Han
Cool!


--
Regards,
Sébastien Han.


On Thu, Jan 10, 2013 at 11:15 AM, Alex Vitola  wrote:
> Changed directly by the database.
>
> Not the best way but I did because it was an environment.
>
> So far I have not found any problems
>
>
> mysql> use nova;
> mysql> UPDATE `nova`.`instances` SET `user_id` =
> 'c892202c2a134b8e9f19c047f29c60ee', `project_id` =
> 'debd50b4ec2b4905a3296ac0f0971849' WHERE `instances`.`id` =7;
>
>
> att
>
> Alex Vitola
>
>
> 2013/1/10 Razique Mahroua 
>>
>> +1
>>
>> Seb, have you ever tried to change the tenant id for an instance into the 
>> database and reboot/ recover it? I wonder how nova behaves into such case
>>
>> Razique Mahroua - Nuage & Co
>> razique.mahr...@gmail.com
>> Tel : +33 9 72 37 94 15
>>
>>
>> Le 9 janv. 2013 à 22:18, Sébastien Han  a écrit :
>>
>> Moving instances from project to project is not possible however what
>> you can do is (safe way):
>>
>> - as an admin user
>> - snapshot the image from env 1
>> - grab the snapshotted file from your glance store
>> - import the snapshot into glance
>> - make the image public
>> - run the snapshot from env 2
>> - enjoy!
>>
>> Cheers!
>>
>> --
>> Regards,
>> Sébastien Han.
>>
>>
>> On Wed, Jan 9, 2013 at 8:14 PM, Alex Vitola  wrote:
>>
>> I have 2 projects in my environment:
>>
>> ProjectQA1: ID -> 0001
>> ProjectQA2: ID -> 0002
>>
>> root@Controller:# keystone tenant-list
>> +-++-+
>> | id  |name| enabled |
>> +-++-+
>> | 0001| ProjectQA1 |   True  |
>> | 0002| ProjectQA2 |   True  |
>> +--++-+
>>
>> In Project 1 there are 1 instance
>> In Project 2 there are 7 instances
>>
>> root@Controller:# nova usage-list
>>
>> +---+---+--+---+---+
>> | Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
>> +---+---+--+---+---+
>> | 0001  | 1 | 12533.78 | 24.48 | 244.80|
>> | 0002  | 7 | 127447.40| 171.17| 2100.45   |
>> +---+---+--+---+---+
>>
>> Is it possible to move this instance of Project 1 for 2?
>>
>> root@Controller:# nova list
>> +--+---+++
>> | ID   | Name  | Status | Networks   |
>> +--+---+++
>> | 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |
>> +--+---+++
>>
>> Move ID 9991/QA-07
>>
>> from: Tenant ID 0001
>> to: Tenant ID 0002
>>
>> Is that possible?
>>
>>
>>
>> Att
>>
>> Alex Vitola
>> System Administrator
>>
>> ___
>> 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

___
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] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Alex Vitola
Changed directly by the database.

Not the best way but I did because it was an environment.

So far I have not found any problems


mysql> use nova;
mysql> UPDATE `nova`.`instances` SET `user_id` =
'c892202c2a134b8e9f19c047f29c60ee', `project_id` =
'debd50b4ec2b4905a3296ac0f0971849' WHERE `instances`.`id` =7;


att

Alex Vitola


2013/1/10 Razique Mahroua 
>
> +1
>
> Seb, have you ever tried to change the tenant id for an instance into the 
> database and reboot/ recover it? I wonder how nova behaves into such case
>
> Razique Mahroua - Nuage & Co
> razique.mahr...@gmail.com
> Tel : +33 9 72 37 94 15
>
>
> Le 9 janv. 2013 à 22:18, Sébastien Han  a écrit :
>
> Moving instances from project to project is not possible however what
> you can do is (safe way):
>
> - as an admin user
> - snapshot the image from env 1
> - grab the snapshotted file from your glance store
> - import the snapshot into glance
> - make the image public
> - run the snapshot from env 2
> - enjoy!
>
> Cheers!
>
> --
> Regards,
> Sébastien Han.
>
>
> On Wed, Jan 9, 2013 at 8:14 PM, Alex Vitola  wrote:
>
> I have 2 projects in my environment:
>
> ProjectQA1: ID -> 0001
> ProjectQA2: ID -> 0002
>
> root@Controller:# keystone tenant-list
> +-++-+
> | id  |name| enabled |
> +-++-+
> | 0001| ProjectQA1 |   True  |
> | 0002| ProjectQA2 |   True  |
> +--++-+
>
> In Project 1 there are 1 instance
> In Project 2 there are 7 instances
>
> root@Controller:# nova usage-list
>
> +---+---+--+---+---+
> | Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
> +---+---+--+---+---+
> | 0001  | 1 | 12533.78 | 24.48 | 244.80|
> | 0002  | 7 | 127447.40| 171.17| 2100.45   |
> +---+---+--+---+---+
>
> Is it possible to move this instance of Project 1 for 2?
>
> root@Controller:# nova list
> +--+---+++
> | ID   | Name  | Status | Networks   |
> +--+---+++
> | 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |
> +--+---+++
>
> Move ID 9991/QA-07
>
> from: Tenant ID 0001
> to: Tenant ID 0002
>
> Is that possible?
>
>
>
> Att
>
> Alex Vitola
> System Administrator
>
> ___
> 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


Re: [Openstack] Wasted Compute node disk space

2013-01-10 Thread Razique Mahroua
Wow, great approach guys. The video provides great insightthanks
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 8 janv. 2013 à 23:28, Joshua McKenty  a écrit :Greg - this is how we do it. See "Null-Tier Architecture" at http://www.pistoncloud.com/cloud-technology/cloud-architecture/ . Note that it's not just CPU - you end up needing more RAM and Network bandwidth as well.Joshua
On Jan 8, 2013, at 8:22 AM, Greg Chavez  wrote:Razique,Yes.  We have the OS on a RAID 1 and the rest of the disks are in a RAID 10. However, should we go with the Compute+Swift Node architecture, we'll be using this:
[root@kvm-cs-gen-09i ~]# df -hFilesystem            Size  Used Avail Use% Mounted on/dev/mapper/vg00-root                      130G  1.9G  122G   2% /tmpfs                 379G     0  379G   0% /dev/shm
/dev/sda1             194M   33M  152M  18% /boot/dev/sdb1             559G   33M  559G   1% /swift1/dev/sdc1             559G   33M  559G   1% /swift2/dev/sdd1             559G   33M  559G   1% /swift3
/dev/sde1             559G   33M  559G   1% /swift4/dev/sdf1             559G   33M  559G   1% /swift5/dev/sdg1             559G   33M  559G   1% /swift6/dev/sdh1             559G   33M  559G   1% /swift7
/dev/sdi1             559G   33M  559G   1% /swift8What do you think?--GregOn Tue, Jan 8, 2013 at 11:04 AM, Razique Mahroua  wrote:
Hey Greg,so if I understand well, you want to have the disk on the hypervisors be used as Swift nodes right?
is there any underlying RAID?Regards,
Razique Mahroua - Nuage & Co
razique.mahr...@gmail.comTel : +33 9 72 37 94 15


Le 8 janv. 2013 à 16:28, Greg Chavez  a écrit :
We are in the process of replacing our Diablo KVM infrastructure with Folsom.  Up until now, our virts have been using the local Compute node's disk space for their images which, obviously, defeats much of the purpose of a virtualizing.  We are ready to implement an iSCSI SAN, but we're a bit bummed that we're going to essentially be wasting the copious disk space on all the systems we ordered to serve as Compute nodes.

SO... we were' thinking about doubling up our Compute nodes and Swift storage nodes, fully aware that this might require us to reserve more cores for the KVM host.
Has any one else tried this?  Is this clearly a bad, bad, bad idea?Thanks.-- \*..+.---Greg Chavez+//..;};

___Mailing list: https://launchpad.net/~openstackPost to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstackMore help   : https://help.launchpad.net/ListHelp

___Mailing list: https://launchpad.net/~openstackPost to : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore 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


Re: [Openstack] [Ceilometer] Ganglia Ceilometer integration

2013-01-10 Thread Jiang, Yunhong

> -Original Message-
> From: shengjie_...@dell.com [mailto:shengjie_...@dell.com]
> Sent: Thursday, January 10, 2013 1:38 AM
> To: Jiang, Yunhong
> Cc: openstack@lists.launchpad.net
> Subject: RE: [Openstack] [Ceilometer] Ganglia Ceilometer integration
> 
> >If Ganglia has interest in ceilometer data, we can achieve it through a 
> >specific
> publisher, to put data into Gangalia.
> 
> @yunhong, So it is more like the approach to CW or Synaps, isn't it? if the
> monitoring system is interested in the meters from Ceilometer, we can have
> different publishers to push data to different destinations(I think this can 
> be a

Also, if some data from other monitor system like Gangalia is meaningful for 
openstack, they can be pushed to ceilometer also, either through special 
pollster to talk to those monitor system, or through REST API.

> potential blueprint for be stored in a centralized storage just with
> different namespaces). But that being said, if the backend is something
> like Cassandra, Mongo or even Hbase, the system metrics(from gmond) and
> openstack specific meters might be stored in a centralized storage just with
> different namespaces. Thoughts?

Considering we have a generalized storage abstraction, I fully agree that 
adding HBase is helpful. As to " be stored in a centralized storage just with 
different namespaces", isn't it be a deployment story?

Thanks
--jyh

> - Shengjie



___
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] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Razique Mahroua
+1Seb, have you ever tried to change the tenant id for an instance into the database and reboot/ recover it? I wonder how nova behaves into such case
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 9 janv. 2013 à 22:18, Sébastien Han  a écrit :Moving instances from project to project is not possible however whatyou can do is (safe way):- as an admin user- snapshot the image from env 1- grab the snapshotted file from your glance store- import the snapshot into glance- make the image public- run the snapshot from env 2- enjoy!Cheers!--Regards,Sébastien Han.On Wed, Jan 9, 2013 at 8:14 PM, Alex Vitola  wrote:I have 2 projects in my environment:ProjectQA1: ID -> 0001ProjectQA2: ID -> 0002root@Controller:# keystone tenant-list+-++-+| id  |    name    | enabled |+-++-+| 0001    | ProjectQA1 |   True  || 0002    | ProjectQA2 |   True  |+--++-+In Project 1 there are 1 instanceIn Project 2 there are 7 instancesroot@Controller:# nova usage-list+---+---+--+---+---+| Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |+---+---+--+---+---+| 0001  | 1 | 12533.78 | 24.48 | 244.80    || 0002  | 7 | 127447.40    | 171.17    | 2100.45   |+---+---+--+---+---+Is it possible to move this instance of Project 1 for 2?root@Controller:# nova list+--+---+++| ID   | Name  | Status | Networks   |+--+---+++| 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |+--+---+++Move ID 9991/QA-07from: Tenant ID 0001to: Tenant ID 0002Is that possible?AttAlex VitolaSystem Administrator___Mailing list: https://launchpad.net/~openstackPost to : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore help   : https://help.launchpad.net/ListHelp___Mailing list: https://launchpad.net/~openstackPost to : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore 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


Re: [Openstack] Dashboard/horizon PRODUCTION bug

2013-01-10 Thread Razique Mahroua
Hi Sina, look into /var/log/apache2/error.log in order to see what causes that code 500Regards,
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 10 janv. 2013 à 04:53, Sina Sadeghi  a écrit :
  


  
  
I just upgraded the
openstack-dashboard we are using to the latest version provided by Ubuntu Cloud Archive. There were multiple bugs causing "Internal Server Error"
which I had to patch manually to rectify, I couldn't see anyone reporting the same
errors after a brief google search.
  
  Can someone examine the patch provided
and please confirm whether they have this issue or not? I'm
running Ubuntu 12.04 with Folsom installed using
the Ubuntu Cloud Archive.
  
  # dpkg -l | grep -e
'openstack\|horizon'
ii  openstack-dashboard 
2012.2-0ubuntu2~cloud0   django web
interface to Openstack
ii  openstack-dashboard-ubuntu-theme
2012.2-0ubuntu2~cloud0   Ubuntu theme
for the Openstack dashboard
ii  python-django-horizon   
2012.2-0ubuntu2~cloud0   Django module
providing web based interaction with
OpenStack
ii  python-django-openstack 
2012.2-0ubuntu2~cloud0   dummy
transitonal package from
python-django-openstack to
python-django-horizon
ii  python-openstack-auth   
1.0.1-0ubuntu6~cloud0    A django
authentication backend for Openstack

I have attached the main
  patch I had to apply to get dashboard
  working again, but I also
had to patch:
/usr/lib/python2.7/dist-packages/horizon/dashboards/settings/project/views.py 
to
  change "from horizon.api import keystone" to "from
horizon.api import keystoneclient"
as well. If this is an actual bug I'm
happy to file and supply the patch as
appropriate.




  

-- 
  
--
Sina Sadeghi
Lead Cloud Engineer

Aptira Pty Ltd
1800 APTIRA
aptira.com
Follow @aptira
  

  

___Mailing list: https://launchpad.net/~openstackPost to : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore 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