[Openstack] How does "Instances" menu in Horizon work?

2013-07-16 Thread Narayanan, Krishnaprasad
Hallo All,

This is regarding my previous post yesterday in order to get all VMs that 
belongs to other tenants / users.

In this regard, can I get to know how does the "Instances" menu 
(syspanel/instances) work in "Admin" tab in Horizon? What nova API does it use 
in order to get the data from all tenants?

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] libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged.

2013-07-16 Thread Mahardhika
Hi, i've got this when try to attach on running instance that running 
centos 6.3
*libvirtError: unsupported configuration: disk bus 'ide' cannot be 
hotplugged.*
volume can attach when instance is on suspend state, but when i resume 
and reboot, no volume device is appear

it work when i used cirros, but not with other os (bare-metal) or .iso image
please help
thanks
___
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] libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged.

2013-07-16 Thread Wangpan
what hypervisor you are using?

2013-07-16



Wangpan



发件人:Mahardhika 
发送时间:2013-07-16 17:09
主题:[Openstack] libvirtError: unsupported configuration: disk bus 'ide' cannot 
be hotplugged.
收件人:"openstack@lists.launchpad.net"
抄送:

Hi, i've got this when try to attach on running instance that running centos 
6.3 
libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged.
volume can attach when instance is on suspend state, but when i resume and 
reboot, no volume device is appear
it work when i used cirros, but not with other os (bare-metal) or .iso image
please help
thanks___
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] libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged.

2013-07-16 Thread Mahardhika

Hi, i used KVM.

On 7/16/2013 4:16 PM, Wangpan wrote:

what hypervisor you are using?
2013-07-16

Wangpan

*发件人:*Mahardhika 
*发送时间:*2013-07-16 17:09
*主题:*[Openstack] libvirtError: unsupported configuration: disk bus 
'ide' cannot be hotplugged.

*收件人:*"openstack@lists.launchpad.net"
*抄送:*
Hi, i've got this when try to attach on running instance that running 
centos 6.3
*libvirtError: unsupported configuration: disk bus 'ide' cannot be 
hotplugged.*
volume can attach when instance is on suspend state, but when i resume 
and reboot, no volume device is appear
it work when i used cirros, but not with other os (bare-metal) or .iso 
image

please help
thanks



--
Regards,
Mahardhika Gilang

*PT. Andalabs Technology *
Gedung Gravira
Jl. Cideng Barat no. 54
Jakarta Pusat 10150

HP : 0852 139 55861
Email : mahardika.gil...@andalabs.com
___
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 proxy logs

2013-07-16 Thread CHABANI Mohamed El Hadi
Hi guys,

I've a problem with The Swift proxy log, i can't find it in /var/log/syslog
(only for replicators, updaters...) neither in /var/log/upstart. and in the
proxy-server.conf also there is no parameter to specify the log path (i
took the one by default in
http://docs.openstack.org/developer/swift/development_saio.html).

Any help please ?
___
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 Devstack Installation - RHEL 6.4

2013-07-16 Thread Subramanian K
Hello All,

In the process of running devstack installation script on RHEL 6.4 , I am
faced with an error.  Below is the error tracked section

+ /opt/stack/devstack/tools/create_userrc.sh -PA --target-dir
/opt/stack/devstack/accrc
Authorization Failed: Unable to sign token. (HTTP 500)
Authorization Failed: Unable to sign token. (HTTP 500)
ERROR: Unable to sign token. (HTTP 500)
Failed to update the root certificate: /opt/stack/devstack/accrc/cacert.pem
Authorization Failed: Unable to sign token. (HTTP 500)


If I manually try to run any commands , I get the similar error message

nova --os-username admin --os-password XX --os-auth-url
http://127.0.0.1:35357/v2.0 --os-tenant-name demo image-list
ERROR: Unable to sign token. (HTTP 500)


Could someone throw insights in actual cause of this issue ?
___
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] libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged.

2013-07-16 Thread Wangpan
'virtio' disk bus should be used if you want to hotplug a disk on kvm guest.

2013-07-16



Wangpan



发件人:Mahardhika 
发送时间:2013-07-16 17:24
主题:Re: [Openstack] libvirtError: unsupported configuration: disk bus 'ide' 
cannot be hotplugged.
收件人:"Wangpan","openstack@lists.launchpad.net"
抄送:

Hi, i used KVM.

On 7/16/2013 4:16 PM, Wangpan wrote:

what hypervisor you are using?

2013-07-16



Wangpan



发件人:Mahardhika 
发送时间:2013-07-16 17:09
主题:[Openstack] libvirtError: unsupported configuration: disk bus 'ide' cannot 
be hotplugged.
收件人:"openstack@lists.launchpad.net"
抄送:

Hi, i've got this when try to attach on running instance that running centos 
6.3 
libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged.
volume can attach when instance is on suspend state, but when i resume and 
reboot, no volume device is appear
it work when i used cirros, but not with other os (bare-metal) or .iso image
please help
thanks




-- 
Regards,
Mahardhika Gilang

PT. Andalabs Technology 
Gedung Gravira
Jl. Cideng Barat no. 54
Jakarta Pusat 10150

HP : 0852 139 55861
Email : mahardika.gil...@andalabs.com ___
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] libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged.

2013-07-16 Thread Andalabs
How to enabled it? Or configure ?
Thanks before

Email-an dari Kokpit

On 16 Jul 2013, at 05:13 PM, "Wangpan" wrote:

> 'virtio' disk bus should be used if you want to hotplug a disk on kvm guest.
>  
> 2013-07-16
> Wangpan
> 发件人:Mahardhika 
> 发送时间:2013-07-16 17:24
> 主题:Re: [Openstack] libvirtError: unsupported configuration: disk bus 'ide' 
> cannot be hotplugged.
> 收件人:"Wangpan","openstack@lists.launchpad.net"
> 抄送:
>  
> Hi, i used KVM.
> 
> On 7/16/2013 4:16 PM, Wangpan wrote:
>> what hypervisor you are using?
>>  
>> 2013-07-16
>> Wangpan
>> 发件人:Mahardhika 
>> 发送时间:2013-07-16 17:09
>> 主题:[Openstack] libvirtError: unsupported configuration: disk bus 'ide' 
>> cannot be hotplugged.
>> 收件人:"openstack@lists.launchpad.net"
>> 抄送:
>>  
>> Hi, i've got this when try to attach on running instance that running centos 
>> 6.3 
>> libvirtError: unsupported configuration: disk bus 'ide' cannot be hotplugged.
>> volume can attach when instance is on suspend state, but when i resume and 
>> reboot, no volume device is appear
>> it work when i used cirros, but not with other os (bare-metal) or .iso image
>> please help
>> thanks
> 
> 
> -- 
> Regards,
> Mahardhika Gilang
> 
> PT. Andalabs Technology 
> Gedung Gravira
> Jl. Cideng Barat no. 54
> Jakarta Pusat 10150
> 
> HP : 0852 139 55861
> Email : mahardika.gil...@andalabs.com
___
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] Grizzly Devstack Installation - RHEL 6.4

2013-07-16 Thread Sean Dague
Devstack in grizzly doesn't work with RHEL. If you are interested in 
using devstack you should use Fedora instead.


-Sean

On 07/16/2013 05:58 AM, Subramanian K wrote:

Hello All,

In the process of running devstack installation script on RHEL 6.4 , I
am faced with an error.  Below is the error tracked section

+ /opt/stack/devstack/tools/create_userrc.sh -PA --target-dir
/opt/stack/devstack/accrc
Authorization Failed: Unable to sign token. (HTTP 500)
Authorization Failed: Unable to sign token. (HTTP 500)
ERROR: Unable to sign token. (HTTP 500)
Failed to update the root certificate: /opt/stack/devstack/accrc/cacert.pem
Authorization Failed: Unable to sign token. (HTTP 500)


If I manually try to run any commands , I get the similar error message

nova --os-username admin --os-password XX --os-auth-url
http://127.0.0.1:35357/v2.0 --os-tenant-name demo image-list
ERROR: Unable to sign token. (HTTP 500)


Could someone throw insights in actual cause of this issue ?


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




--
Sean Dague
http://dague.net

___
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] How does "Instances" menu in Horizon work?

2013-07-16 Thread Narayanan, Krishnaprasad
Hi Brent,

Thanks for the suggestion. It worked. I am able to get all the VMs information 
that belongs to other tenants / users.

Regards,
Krishnaprasad
From: Openstack 
[mailto:openstack-bounces+narayana=uni-mainz...@lists.launchpad.net] On Behalf 
Of Narayanan, Krishnaprasad
Sent: Dienstag, 16. Juli 2013 10:05
To: openstack@lists.launchpad.net
Subject: [Openstack] How does "Instances" menu in Horizon work?

Hallo All,

This is regarding my previous post yesterday in order to get all VMs that 
belongs to other tenants / users.

In this regard, can I get to know how does the "Instances" menu 
(syspanel/instances) work in "Admin" tab in Horizon? What nova API does it use 
in order to get the data from all tenants?

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] Important process to be monitored in compute nodes

2013-07-16 Thread Narayanan, Krishnaprasad
Hallo All,

Can I know the important processes that gets created and destroyed in the 
compute nodes during a VM's lifecycle management? I have installed libvirt and 
it is running on the compute nodes.

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] Memory meters from ceilometer

2013-07-16 Thread Jobin Raju George
Hey!



I am running openstack on an Ubuntu 12.04 desktop 64-bit virtual machine. I
am trying to use ceilometer to get the CPU and memory utilization from my
compute node on a KVM host which has a few VM's running on it.

However, this is the list of meters I get from ceilometer:

cpu, cpu_util, disk.read.bytes, disk.write.bytes, disk.read.requests,
disk.write.requests, image, image.size, image.download, instance,
instance:m1.small, network.incoming.bytes, network.outgoing.bytes,
network.incoming.packets, network.outgoing.packets


Why am I not getting memory usage meters? I don't see the logs to have any
interpretation of this. Here is my ceilometer config
file
.

-- 

Thanks and regards,

Jobin Raju George

Third Year, Information Technology

College of Engineering Pune

Alternate e-mail: georgejr10...@coep.ac.in
___
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] Grizzly Devstack Installation - RHEL 6.4

2013-07-16 Thread Subramanian K
Thanks Sean, Maybe you are correct. But I somehow managed to complete the
installation and register the image so far. Been able to reach till
launching Dashboard. Running virtual machine is the next step in my
pipeline.

All I did was manually updated pki_setup and set permissions appropriately
and the rest of the installation went smooth.




On Tue, Jul 16, 2013 at 4:39 PM, Sean Dague  wrote:

> Devstack in grizzly doesn't work with RHEL. If you are interested in using
> devstack you should use Fedora instead.
>
> -Sean
>
>
> On 07/16/2013 05:58 AM, Subramanian K wrote:
>
>> Hello All,
>>
>> In the process of running devstack installation script on RHEL 6.4 , I
>> am faced with an error.  Below is the error tracked section
>>
>> + /opt/stack/devstack/tools/**create_userrc.sh -PA --target-dir
>> /opt/stack/devstack/accrc
>> Authorization Failed: Unable to sign token. (HTTP 500)
>> Authorization Failed: Unable to sign token. (HTTP 500)
>> ERROR: Unable to sign token. (HTTP 500)
>> Failed to update the root certificate: /opt/stack/devstack/accrc/**
>> cacert.pem
>> Authorization Failed: Unable to sign token. (HTTP 500)
>>
>>
>> If I manually try to run any commands , I get the similar error message
>>
>> nova --os-username admin --os-password XX --os-auth-url
>> http://127.0.0.1:35357/v2.0 --os-tenant-name demo image-list
>> ERROR: Unable to sign token. (HTTP 500)
>>
>>
>> Could someone throw insights in actual cause of this issue ?
>>
>>
>> __**_
>> Mailing list: 
>> https://launchpad.net/~**openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : 
>> https://launchpad.net/~**openstack
>> More help   : 
>> https://help.launchpad.net/**ListHelp
>>
>>
>
> --
> Sean Dague
> http://dague.net
>
> __**_
> 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


[Openstack] Consume AMQP Notifications with no "Method"

2013-07-16 Thread Trinath Somanchi
Hi Stackers-

In openstack nova or Quantum I to get the Notification messages from the "
notifications.info" queue which have no "Method" in the json message.

When I try out, I get this warning from AMQP.

WARNING:quantum.openstack.common.rpc.amqp:no method for message:
{u'priority': u'INFO', u'event_type': u'network.create.start',
u'timestamp': u'2003-01-27 05:09:48.853740', u'payload': {u'network':
{u'name': u'local', u'admin_state_up': True}}, u'_unique_id':
u'09876f9e109e4d9385dab2138cacd46b', u'publisher_id':
u'network.OpenstackGrizzly', u'message_id':
u'10c68efc-93b8-477b-9e94-4f4a06877da0'}

Kindly help me on understand the same...

thanking you

-- 
Regards,
--
Trinath Somanchi,
+91 9866 235 130
___
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 proxy logs

2013-07-16 Thread Chuck Thier
Hello,

If you followed the rsyslog instructions in the SAIO, then the proxy logs
will be in /var/log/swift/proxy.log and proxy.error.  If not, then it will
be either in /var/log/syslog or /var/log/messages, depending on your server
distro.

--
Chuck


On Tue, Jul 16, 2013 at 4:57 AM, CHABANI Mohamed El Hadi <
chabani.mohamed.h...@gmail.com> wrote:

> Hi guys,
>
> I've a problem with The Swift proxy log, i can't find it in
> /var/log/syslog (only for replicators, updaters...) neither in
> /var/log/upstart. and in the proxy-server.conf also there is no parameter
> to specify the log path (i took the one by default in
> http://docs.openstack.org/developer/swift/development_saio.html).
>
> Any help please ?
>
> ___
> 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


[Openstack] InstanceResourceQuota

2013-07-16 Thread claudio marques
Hi Stackers.
Does anyone knows were I can get info about resizing flavors and instances?   I 
saw on this link  https://wiki.openstack.org/wiki/InstanceResourceQuota some 
options for example
nova-manage flavor set_key --name m1.small  --key quota:cpu_quota --value 
5000nova-manage flavor set_key --name m1.small  --key quota:cpu_period --value 
2500
On this command I am limiting CPU usage for the flavor m1.small. Where can I 
have a list of all possibilities that I can use regarding this type of 
operations?
Can someone enlighten me?Thank's in advance
Cheers
Claudio Marques
claudio@onesource.pthttp://www.onesource.pt/


  ___
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] Is there any way to migrate the Instance between the projects/tenants?

2013-07-16 Thread Lloyd Dewolf
Anyone had success automating this process? Is there a blueprint for
this class of problem?

Thank you,
--
@lloyddewolf
http://www.pistoncloud.com/

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

2013-07-16 Thread CHABANI Mohamed El Hadi
Yes, i followed the instructions in the SAIO, and i've either proxy.log,
proxy.error or /message !! except the /syslog in which there is logs but no
signs for proxy activities (even i do authentication, or upload/download) !!


2013/7/16 Chuck Thier 

> Hello,
>
> If you followed the rsyslog instructions in the SAIO, then the proxy logs
> will be in /var/log/swift/proxy.log and proxy.error.  If not, then it will
> be either in /var/log/syslog or /var/log/messages, depending on your server
> distro.
>
> --
> Chuck
>
>
> On Tue, Jul 16, 2013 at 4:57 AM, CHABANI Mohamed El Hadi <
> chabani.mohamed.h...@gmail.com> wrote:
>
>> Hi guys,
>>
>> I've a problem with The Swift proxy log, i can't find it in
>> /var/log/syslog (only for replicators, updaters...) neither in
>> /var/log/upstart. and in the proxy-server.conf also there is no parameter
>> to specify the log path (i took the one by default in
>> http://docs.openstack.org/developer/swift/development_saio.html).
>>
>> Any help please ?
>>
>> ___
>> 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


[Openstack] Webinar: Virtualizing your scale out applications on OpenStack

2013-07-16 Thread David Scannell
Hi All,

Gridcentric is giving a webinar this Friday, July 19, 2013 at 1:00 PM
EDT about scaling out your applications on OpenStack. We will cover the
important issues, such as scale, performance and cost, that need to be
considered when virtualizing your applications. We will also introduce our
Virtual Memory Streaming (vms) technology and how we integrate with
OpenStack to address many of these issues.

 Please register for the webinar here: goo.gl/QQTVW

 I hope that some of you are interested and will be able to attend.

Thanks,
David

website: www.gridcentric.com
___
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] Cinder Storage Server Statistics

2013-07-16 Thread Doug Hellmann
When I said, "we", I meant "the ceilometer team". If the auditing app isn't
finding any volumes, it's not going to notify us.

If you just want to know how much data is being used by cinder, there may
be a way to get that from their admin API, but I'm not sure.

On Mon, Jul 15, 2013 at 7:08 PM, Ray Sun  wrote:

> D
> ​oug,
> Thanks. I tried it in grizzly, here's the return:
> sysadmin@demo:/opt/stack/cinder/bin$ cinder-volume-usage-audit
> Starting volume usage audit
> Creating usages for 2013-06-01 00:00:00 until 2013-07-01 00:00:00
> Found 0 volumes
> Volume usage audit completed​
>
> ​Actually, I want to get some data like this:
> Total Cinder Storage on Physical Machine: 100G
> Used Cinder Storage on Physical Machine: 10G​
>
> Is there any way to get this?
>
>
> Best Regards
> -- Ray
>
>
> On Tue, Jul 16, 2013 at 6:27 AM, Doug Hellmann <
> doug.hellm...@dreamhost.com> wrote:
>
>> We rely on a similar audit program to get the "exists" notifications
>> about cinder volumes. Look for "cinder-volume-usage-audit".
>>
>> Doug
>>
>>
>> On Sun, Jul 14, 2013 at 11:04 AM, Ray Sun  wrote:
>>
>>> Yes, it should be, but seems not at least in grizzly. Any update of
>>> Ceilometer?
>>>
>>> Best Regards
>>> -- Ray
>>>
>>>
>>> On Sun, Jul 14, 2013 at 11:04 AM, Haomai Wang wrote:
>>>
 I think Statistics should be find in Ceilometer. Ceilometer may provide
 with
 enough information you need.

 Best regards,
 Haomai Wang, UnitedStack Inc.

 在 2013-7-14,上午8:09,Ray Sun  写道:

 In nova, we have a period task to report the usage of the physical
 server, including CPU, Memory and Local Disk, but I don't think I can find
 the same strategy in cinder service. Is there any way to do this or is
 there any blueprint for this?

 Thanks.

 Best Regards
 -- Ray
  ___
 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] Cinder Storage Server Statistics

2013-07-16 Thread John Griffith
On Tue, Jul 16, 2013 at 12:47 PM, Doug Hellmann  wrote:

> When I said, "we", I meant "the ceilometer team". If the auditing app
> isn't finding any volumes, it's not going to notify us.
>
> If you just want to know how much data is being used by cinder, there may
> be a way to get that from their admin API, but I'm not sure.
>
>
> On Mon, Jul 15, 2013 at 7:08 PM, Ray Sun  wrote:
>
>> D
>> ​oug,
>> Thanks. I tried it in grizzly, here's the return:
>> sysadmin@demo:/opt/stack/cinder/bin$ cinder-volume-usage-audit
>> Starting volume usage audit
>> Creating usages for 2013-06-01 00:00:00 until 2013-07-01 00:00:00
>> Found 0 volumes
>> Volume usage audit completed​
>>
>> ​Actually, I want to get some data like this:
>> Total Cinder Storage on Physical Machine: 100G
>> Used Cinder Storage on Physical Machine: 10G​
>>
>> Is there any way to get this?
>>
>>
>> Best Regards
>> -- Ray
>>
>>
>> On Tue, Jul 16, 2013 at 6:27 AM, Doug Hellmann <
>> doug.hellm...@dreamhost.com> wrote:
>>
>>> We rely on a similar audit program to get the "exists" notifications
>>> about cinder volumes. Look for "cinder-volume-usage-audit".
>>>
>>> Doug
>>>
>>>
>>> On Sun, Jul 14, 2013 at 11:04 AM, Ray Sun  wrote:
>>>
 Yes, it should be, but seems not at least in grizzly. Any update of
 Ceilometer?

 Best Regards
 -- Ray


 On Sun, Jul 14, 2013 at 11:04 AM, Haomai Wang 
 wrote:

> I think Statistics should be find in Ceilometer. Ceilometer may
> provide with
> enough information you need.
>
> Best regards,
> Haomai Wang, UnitedStack Inc.
>
> 在 2013-7-14,上午8:09,Ray Sun  写道:
>
> In nova, we have a period task to report the usage of the physical
> server, including CPU, Memory and Local Disk, but I don't think I can find
> the same strategy in cinder service. Is there any way to do this or is
> there any blueprint for this?
>
> Thanks.
>
> Best Regards
> -- Ray
>  ___
> 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
>
> ​there is an os-hosts extension that gives things like volume-count and
GB/used on a cinder volume-service node, however it's not currently exposed
from the client.  Not sure if that's the sort of thing you're looking for
or not.​
___
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] [Cinder] Loading cinder.conf

2013-07-16 Thread John Griffith
On Tue, Jul 16, 2013 at 12:41 AM, zan tosh  wrote:

> Thanks for all your responses. I didn't realize that stack.sh actually
> copies the cinder.conf.sample instead of cinder.conf to /etc/cinder every
> time it runs. So, it was overwriting my entries. I fixed it by making
> changes to the script. The issue is resolved.
>
>
> On Mon, Jul 15, 2013 at 4:54 PM, Unmesh Gurjar wrote:
>
>> Hi,
>>
>> AFAIK, there are no additional changes required (other than restarting
>> the service so that it loads the new conf settings). Assuming you have done
>> that, can you check what is the 'volume_driver' from the service start up
>> logs?
>>
>>
>> ~Unmesh.
>>
>> On Mon, Jul 15, 2013 at 10:44 AM, zan tosh  wrote:
>>
>>> Ray
>>>
>>> I am wondering why I see the default driver even after I changed the
>>> entry in cinder.conf. I un-commented the line for volume_driver and changed
>>> the driver name. I tried to print volume driver in the __init__ and I see
>>> it still pointing to LVMISCSIDriver. It seems I am missing something
>>> and its not loading values from cinder.conf.
>>>
>>> ~z
>>>
>>>
>>> On Mon, Jul 15, 2013 at 10:33 AM, Ray Sun  wrote:
>>>
 Yes, that's the default driver. See cinder/volume/manager.py
 volume_manager_opts = [
 cfg.StrOpt('volume_driver',
default='cinder.volume.drivers.lvm.LVMISCSIDriver',
help='Driver to use for volume creation'),
 ]

 Best Regards
 -- Ray


 On Mon, Jul 15, 2013 at 12:51 PM, zan tosh  wrote:

> I use devstack (Grizzly/stable). I have been trying to use a different
> volume driver by muncommenting and modifying the below line in cinder.conf
> under etc/cinder
> # Driver to use for volume creation (string value)
> #volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
>
> But when VolumeManager is loaded I see it still refers to the default
> LVMISCSIDriver. Is there any other change to load cinder.conf?
>
> Any suggestions?
>
> Tahnks
>
> ___
> 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
>
> Yes, devstack will overwrite each time your run stack.sh.  You can also
modify your cinder.conf file and then just resart the cinder-volume service
(use screen -x to access the service).
___
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] Is there any way to migrate the Instance between the projects/tenants?

2013-07-16 Thread Matt Joyce
There is a specific need for this in incident response for some SOC teams.
They may need to isolate a compromised instance to a more secure and
security controlled tenancy.

I think this would be an advantageous blueprint for next release.

-Matt


On Tue, Jul 16, 2013 at 9:46 AM, Lloyd Dewolf  wrote:

> Anyone had success automating this process? Is there a blueprint for
> this class of problem?
>
> Thank you,
> --
> @lloyddewolf
> http://www.pistoncloud.com/
>
> ___
> 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] BAREMETAL: Unable to launch the instance due to "No valid host was found"

2013-07-16 Thread NOTSU Arata

Hello Shanthakumar,

Please check your nova-compute's hostname showed in "nova-manage service list" 
matches
the one in "nova baremetal-node-list". In this case, it should be "bm1".

Thanks,
Arata

(2013/07/16 0:20), K, Shanthakumar wrote:

Hi,
I have open stack Grizzly installed  configures with  baremetal environment .

Following: https://wiki.openstack.org/wiki/Baremetal
OS:   Ubuntu 12.04 LTS
Install Mode : Multi node setup (controller and the compute hosts are two 
separate nodes.)
Error:   I'm unable to launch the instance due to error "No valid 
host was found"


nova flavor-list | grep 10
| 10 | SB| 2048  | 10   | 0 |  | 1 | 1.0 | 
True  | {u'cpu_arch': u'x86_64', u'baremetal:deploy_kernel_id': 
u'821affce-d908-4b07-81b8-f5eaf7c6ab21', u'baremetal:deploy_ramdisk_id': 
u'c8abfc1d-bc43-48ef-ade3-b1de96af219f'} |

nova baremetal-node-list
++--+--+---+-+---++---+-+---+
| ID | Host | CPUs | Memory_MB | Disk_GB | MAC Address   | PM Address | PM 
Username   | PM Password | Terminal Port |
++--+--+---+-+---++---+-+---+
| 2  | bm1  | 1| 2048  | 10  | E8:39:35:2B:F9:E0 | 10.0.0.22  | 
Administrator | | None  |
++--+--+---+-+---++---+-+---+

nova baremetal-interface-list 2
++-+-+---+
| ID | Datapath_ID | Port_No | Address   |
++-+-+---+
| 2  | 0   | 0   | E8:39:35:2B:F9:E0 |
++-+-+---+

nova boot --flavor SB --image my-image INS2
+-+--+
| Property| Value|
+-+--+
| status  | BUILD|
| updated | 2013-07-15T15:56:02Z |
| OS-EXT-STS:task_state   | scheduling   |
| OS-EXT-SRV-ATTR:host| None |
| key_name| None |
| image   | my-image |
| hostId  |  |  
  |
+-+--+

nova show 88affe47-02a4-46c8-b155-aadce5df5134
+-++
| Property| Value   
   |
+-++
| status  | ERROR   
   |
| updated | 2013-07-15T15:56:02Z
   |
| OS-EXT-STS:task_state   | None
   |
| OS-EXT-SRV-ATTR:host| None
   |
| key_name| None
   |
|   
|   
   |
| fault   | {u'message': u'NoValidHost', u'code': 
500, u'details': u'No valid host was found.  |
| | ', u'created': u'2013-07-15T15:56:02Z'} 
   |
| OS-EXT-STS:power_state  | 0   
   |
| OS-EXT-AZ:availability_zone | None
   |
| config_drive| 
   |
+-++

DNSMASQ is running and all other services WRT to Openstack running.

nova.conf
#
# Baremetal
scheduler_host_manager=nova.scheduler.baremetal_host_manager.BaremetalHostManager
firewall_driver=nova.virt.firewall.NoopFir

Re: [Openstack] Grizzly Devstack Installation - RHEL 6.4

2013-07-16 Thread Haiming Yang
I think if you use redhat 6.4, it has own distribution of OpenStack, and
you might be able to run openstack following redhat instruction.


On Tue, Jul 16, 2013 at 9:47 PM, Subramanian K wrote:

> Thanks Sean, Maybe you are correct. But I somehow managed to complete the
> installation and register the image so far. Been able to reach till
> launching Dashboard. Running virtual machine is the next step in my
> pipeline.
>
> All I did was manually updated pki_setup and set permissions appropriately
> and the rest of the installation went smooth.
>
>
>
>
> On Tue, Jul 16, 2013 at 4:39 PM, Sean Dague  wrote:
>
>> Devstack in grizzly doesn't work with RHEL. If you are interested in
>> using devstack you should use Fedora instead.
>>
>> -Sean
>>
>>
>> On 07/16/2013 05:58 AM, Subramanian K wrote:
>>
>>> Hello All,
>>>
>>> In the process of running devstack installation script on RHEL 6.4 , I
>>> am faced with an error.  Below is the error tracked section
>>>
>>> + /opt/stack/devstack/tools/**create_userrc.sh -PA --target-dir
>>> /opt/stack/devstack/accrc
>>> Authorization Failed: Unable to sign token. (HTTP 500)
>>> Authorization Failed: Unable to sign token. (HTTP 500)
>>> ERROR: Unable to sign token. (HTTP 500)
>>> Failed to update the root certificate: /opt/stack/devstack/accrc/**
>>> cacert.pem
>>> Authorization Failed: Unable to sign token. (HTTP 500)
>>>
>>>
>>> If I manually try to run any commands , I get the similar error message
>>>
>>> nova --os-username admin --os-password XX --os-auth-url
>>> http://127.0.0.1:35357/v2.0 --os-tenant-name demo image-list
>>> ERROR: Unable to sign token. (HTTP 500)
>>>
>>>
>>> Could someone throw insights in actual cause of this issue ?
>>>
>>>
>>> __**_
>>> Mailing list: 
>>> https://launchpad.net/~**openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : 
>>> https://launchpad.net/~**openstack
>>> More help   : 
>>> https://help.launchpad.net/**ListHelp
>>>
>>>
>>
>> --
>> Sean Dague
>> http://dague.net
>>
>> __**_
>> 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] Grizzly Devstack Installation - RHEL 6.4

2013-07-16 Thread Jake G.
Hi all! 

So finally seemed to get openstack up and running using the RDO method. Still a 
few issues with instances but overall seems to be working.

I tried Devstack but I kept getting an error during the installation which I 
couldn't get past.

Heat is pretty neat but will not work with any subnet with a mask different 
than /24 - confirmed by support. So for me heat is useless.

I can't imagine setting this up in a production environment without the help of 
these deployment tools. All I can say is if you can master Openstack you 
deserve a raise! 

Thanks all for your help again!

Jake

On 2013/07/17, at 12:34, Haiming Yang  wrote:

> I think if you use redhat 6.4, it has own distribution of OpenStack, and you 
> might be able to run openstack following redhat instruction.
> 
> 
> On Tue, Jul 16, 2013 at 9:47 PM, Subramanian K  wrote:
>> Thanks Sean, Maybe you are correct. But I somehow managed to complete the 
>> installation and register the image so far. Been able to reach till 
>> launching Dashboard. Running virtual machine is the next step in my 
>> pipeline. 
>> 
>> All I did was manually updated pki_setup and set permissions appropriately 
>> and the rest of the installation went smooth.
>> 
>> 
>> 
>> 
>> On Tue, Jul 16, 2013 at 4:39 PM, Sean Dague  wrote:
>>> Devstack in grizzly doesn't work with RHEL. If you are interested in using 
>>> devstack you should use Fedora instead.
>>> 
>>> -Sean
>>> 
>>> 
>>> On 07/16/2013 05:58 AM, Subramanian K wrote:
 Hello All,
 
 In the process of running devstack installation script on RHEL 6.4 , I
 am faced with an error.  Below is the error tracked section
 
 + /opt/stack/devstack/tools/create_userrc.sh -PA --target-dir
 /opt/stack/devstack/accrc
 Authorization Failed: Unable to sign token. (HTTP 500)
 Authorization Failed: Unable to sign token. (HTTP 500)
 ERROR: Unable to sign token. (HTTP 500)
 Failed to update the root certificate: /opt/stack/devstack/accrc/cacert.pem
 Authorization Failed: Unable to sign token. (HTTP 500)
 
 
 If I manually try to run any commands , I get the similar error message
 
 nova --os-username admin --os-password XX --os-auth-url
 http://127.0.0.1:35357/v2.0 --os-tenant-name demo image-list
 ERROR: Unable to sign token. (HTTP 500)
 
 
 Could someone throw insights in actual cause of this issue ?
 
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
>>> 
>>> 
>>> -- 
>>> Sean Dague
>>> http://dague.net
>>> 
>>> ___
>>> 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


[Openstack] [Grizzly] Instance has no available HDD

2013-07-16 Thread Jake G.
Hi All,

Having an issue where after an new instance is created successfully via the UI 
and boots to linux installation ISO,
the installer errors out because there are no available hard disks to install 
the OS on.

How can I troubleshoot and resolve this?

Thanks!
Jake___
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] [Grizzly] Instance has no available HDD

2013-07-16 Thread Haiming Yang
diskless VM?


On Wed, Jul 17, 2013 at 2:08 PM, Jake G.  wrote:

> Hi All,
>
> Having an issue where after an new instance is created successfully via
> the UI and boots to linux installation ISO,
> the installer errors out because there are no available hard disks to
> install the OS on.
>
> How can I troubleshoot and resolve this?
>
> Thanks!
> Jake
>
>
>
>
>
> ___
> 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


[Openstack] CLI username and password prompt

2013-07-16 Thread Jake G.
Hi All,
Every time I type a command from the CLI it requires me to enter a 
username(--os-username) and password(--os-password) .

Anyway to prevent having to enter these everytime?

Thanks,
Jake___
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] Consume AMQP Notifications with no "Method"

2013-07-16 Thread Trinath Somanchi
Hi -

Can any one help me on this ...

On Tue, Jul 16, 2013 at 8:56 PM, Trinath Somanchi <
trinath.soman...@gmail.com> wrote:

> Hi Stackers-
>
> In openstack nova or Quantum I to get the Notification messages from the "
> notifications.info" queue which have no "Method" in the json message.
>
> When I try out, I get this warning from AMQP.
>
> WARNING:quantum.openstack.common.rpc.amqp:no method for message:
> {u'priority': u'INFO', u'event_type': u'network.create.start',
> u'timestamp': u'2003-01-27 05:09:48.853740', u'payload': {u'network':
> {u'name': u'local', u'admin_state_up': True}}, u'_unique_id':
> u'09876f9e109e4d9385dab2138cacd46b', u'publisher_id':
> u'network.OpenstackGrizzly', u'message_id':
> u'10c68efc-93b8-477b-9e94-4f4a06877da0'}
>
> Kindly help me on understand the same...
>
> thanking you
>
> --
> Regards,
> --
> Trinath Somanchi,
> +91 9866 235 130
>



-- 
Regards,
--
Trinath Somanchi,
+91 9866 235 130
___
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] CLI username and password prompt

2013-07-16 Thread andrews...@gmail.com
use env vars.

export OS_PASSWORD=password
export OS_USERNAME=user
export OS_TENANT_NAME=project
export OS_AUTH_URL=:8770/v2.0



On Wed, Jul 17, 2013 at 2:19 AM, Jake G.  wrote:

> Hi All,
> Every time I type a command from the CLI it requires me to enter a
> username(--os-username) and password(--os-password) .
>
> Anyway to prevent having to enter these everytime?
>
> Thanks,
> Jake
>
> ___
> 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] [Grizzly] Instance has no available HDD

2013-07-16 Thread Jake G.
Yeah. 
The details show there should be a 40GB disk there but there actually isn't.



 From: Haiming Yang 
To: Jake G.  
Cc: "openstack@lists.launchpad.net"  
Sent: Wednesday, July 17, 2013 3:19 PM
Subject: Re: [Openstack] [Grizzly] Instance has no available HDD
 


diskless VM?




On Wed, Jul 17, 2013 at 2:08 PM, Jake G.  wrote:

Hi All,
>
>
>Having an issue where after an new instance is created successfully via the UI 
>and boots to linux installation ISO,
>the installer errors out because there are no available hard disks to install 
>the OS on.
>
>
>How can I troubleshoot and resolve this?
>
>
>Thanks!Jake
>
>
>
>
>
>
>
>
>___
>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] BAREMETAL: Unable to launch the instance due to "No valid host was found"

2013-07-16 Thread K, Shanthakumar
Hi Arata,

Thanks for your response.

Issue has been resolved, it's because the"bm1" not  vaild nova-compute node 
hostname. When you creating/enroll the baremetal HW the hostname should be 
nova-compute host name.

But I have other issue, while launching the instance. I have only one physical 
node to provision my instance after couple launch failures now the NIC 
interface of baremetal is giving " The mac address E8:93:53:2B:F9:E0 is in use "


ERROR nova.scheduler.filter_scheduler [req-9b2e896b-c02b-4a1b-a2e3-936390add2a9 
e29d4b006311421896a3469d7efb3621 33a71acc451e4bfc8105a1b7d01bfe8c] 
[instance: db6bf68f-f52d-4d6a-944b-71036599939a] Error from last host: 
d00-50-56-8b-0c-5f (node 2ee2ab4e-85d6-4b59-9c24-024673277b9c): 
[u'Traceback (most recent call last):\n', u'  File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 817, 
in _run_instance\nrequested_networks, macs, security_groups)\n', u'  File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1061, 
in _allocate_network\ninstance=instance)\n', u'  File 
"/usr/lib/python2.7/contextlib.py", line 24, 
in __exit__\nself.gen.next()\n', u'  File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1057, 
in _allocate_network\nsecurity_groups=security_groups)\n', u'  File 
"/usr/lib/python2.7/dist-packages/nova/network/api.py", line 46, 
in wrapper\nres = f(self, context, *args, **kwargs)\n', u'  File 
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 280, 
in allocate_for_instance\n\'exception\': ex})\n', u'  File 
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n
self.gen.next()\n', u'  File 
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 263, 
in allocate_for_instance\n
quantum.create_port(port_req_body)[\'port\'][\'id\'])\n', u'  File 
"/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 107, 
in with_params\nret = self.function(instance, *args, **kwargs)\n', u'  File 
"/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 269, 
in create_port\nreturn self.post(self.ports_path, body=body)\n', u'  File 
"/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 987, 
in post\nheaders=headers, params=params)\n', u'  File 
"/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 912,
in do_request\nself._handle_fault_response(status_code, replybody)\n', u'  
File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 893, 
in _handle_fault_response\nexception_handler_v20(status_code, 
des_error_body)\n', u'  File 
"/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 80, 
in exception_handler_v20\n
message=error_dict)\n', u'QuantumClientException: Unable to complete operation 
for network e2d489b2-48ce-40cb-a4d8-b3fb8b71b936. The mac address 
E8:93:53:2B:F9:E0 is in use.\n']
WARNING nova.scheduler.driver [req-9b2e896b-c02b-4a1b-a2e3-936390add2a9 
e29d4b006311421896a3469d7efb3621 33a71acc451e4bfc8105a1b7d01bfe8c] 
[instance: db6bf68f-f52d-4d6a-944b-71036599939a] Setting instance to ERROR 
state.


Thanks
Shanthakumar K

-Original Message-
From: Openstack [mailto:openstack-bounces+sk13=hp@lists.launchpad.net] On 
Behalf Of NOTSU Arata
Sent: Wednesday, July 17, 2013 5:14 AM
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] BAREMETAL: Unable to launch the instance due to "No 
valid host was found"

Hello Shanthakumar,

Please check your nova-compute's hostname showed in "nova-manage service list" 
matches the one in "nova baremetal-node-list". In this case, it should be "bm1".

Thanks,
Arata

(2013/07/16 0:20), K, Shanthakumar wrote:
> Hi,
> I have open stack Grizzly installed  configures with  baremetal environment .
>
> Following: https://wiki.openstack.org/wiki/Baremetal
> OS:   Ubuntu 12.04 LTS
> Install Mode : Multi node setup (controller and the compute hosts are two 
> separate nodes.)
> Error:   I'm unable to launch the instance due to error "No 
> valid host was found"
>
>
> nova flavor-list | grep 10
> | 10 | SB| 2048  | 10   | 0 |  | 1 | 1.0 
> | True  | {u'cpu_arch': u'x86_64', u'baremetal:deploy_kernel_id': 
> u'821affce-d908-4b07-81b8-f5eaf7c6ab21', u'baremetal:deploy_ramdisk_id': 
> u'c8abfc1d-bc43-48ef-ade3-b1de96af219f'} |
>
> nova baremetal-node-list
> ++--+--+---+-+---++---+-+---+
> | ID | Host | CPUs | Memory_MB | Disk_GB | MAC Address   | PM Address | 
> PM Username   | PM Password | Terminal Port |
> ++--+--+---+-+---++---+-+---+
> | 2  | bm1  | 1| 2048  | 10  | E8:39:35:2B:F9:E0 | 10.0.0.22  | 
> Administrator | | None  |
> ++--+--+---+-+---

Re: [Openstack] CLI username and password prompt

2013-07-16 Thread Jake G.
What should the OS_AUTH_URL look like?|



 From: "andrews...@gmail.com" 
To: Jake G.  
Cc: "openstack@lists.launchpad.net"  
Sent: Wednesday, July 17, 2013 3:23 PM
Subject: Re: [Openstack] CLI username and password prompt
 


use env vars.

export OS_PASSWORD=password
export OS_USERNAME=user
export OS_TENANT_NAME=project
export OS_AUTH_URL=:8770/v2.0





On Wed, Jul 17, 2013 at 2:19 AM, Jake G.  wrote:

Hi All,
>Every time I type a command from the CLI it requires me to enter a 
>username(--os-username) and password(--os-password) .
>
>
>Anyway to prevent having to enter these everytime?
>
>
>Thanks,
>Jake
>___
>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] CLI username and password prompt

2013-07-16 Thread Michael Basnight
On Jul 16, 2013, at 11:19 PM, Jake G. wrote:

> Hi All,
> Every time I type a command from the CLI it requires me to enter a 
> username(--os-username) and password(--os-password) .
> 
> Anyway to prevent having to enter these everytime?

See [1] "Set environment variables"

[1] http://docs.openstack.org/cli/quick-start/content/authenticate.html
___
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] CLI username and password prompt

2013-07-16 Thread andrews...@gmail.com
Should be something similar to:

http://(url or ip):8770/v2.0
On Jul 17, 2013 2:29 AM, "Jake G."  wrote:

> What should the OS_AUTH_URL look like?|
>
>   --
>  *From:* "andrews...@gmail.com" 
> *To:* Jake G. 
> *Cc:* "openstack@lists.launchpad.net" 
> *Sent:* Wednesday, July 17, 2013 3:23 PM
> *Subject:* Re: [Openstack] CLI username and password prompt
>
> use env vars.
>
> export OS_PASSWORD=password
> export OS_USERNAME=user
> export OS_TENANT_NAME=project
> export OS_AUTH_URL=:8770/v2.0
>
>
>
> On Wed, Jul 17, 2013 at 2:19 AM, Jake G. wrote:
>
> Hi All,
> Every time I type a command from the CLI it requires me to enter a
> username(--os-username) and password(--os-password) .
>
> Anyway to prevent having to enter these everytime?
>
> Thanks,
> Jake
>
> ___
> 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] CLI username and password prompt

2013-07-16 Thread andrews...@gmail.com
Hubcap coming through with the docs... Go with the url he referenced which
will tell you what all the possible environment variables are.
On Jul 17, 2013 2:31 AM, "andrews...@gmail.com" 
wrote:

> Should be something similar to:
>
> http://(url or ip):8770/v2.0
> On Jul 17, 2013 2:29 AM, "Jake G."  wrote:
>
>> What should the OS_AUTH_URL look like?|
>>
>>   --
>>  *From:* "andrews...@gmail.com" 
>> *To:* Jake G. 
>> *Cc:* "openstack@lists.launchpad.net" 
>> *Sent:* Wednesday, July 17, 2013 3:23 PM
>> *Subject:* Re: [Openstack] CLI username and password prompt
>>
>> use env vars.
>>
>> export OS_PASSWORD=password
>> export OS_USERNAME=user
>> export OS_TENANT_NAME=project
>> export OS_AUTH_URL=:8770/v2.0
>>
>>
>>
>> On Wed, Jul 17, 2013 at 2:19 AM, Jake G. wrote:
>>
>> Hi All,
>> Every time I type a command from the CLI it requires me to enter a
>> username(--os-username) and password(--os-password) .
>>
>> Anyway to prevent having to enter these everytime?
>>
>> Thanks,
>> Jake
>>
>> ___
>> 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] CLI username and password prompt

2013-07-16 Thread Jake G.
OK got the URL to work but now I get the error "ERROR: Invalid OpenStack Nova 
credentials"

What should the default credentials be or is there a place this is stored?




 From: "andrews...@gmail.com" 
To: Jake G.  
Cc: "openstack@lists.launchpad.net"  
Sent: Wednesday, July 17, 2013 3:32 PM
Subject: Re: [Openstack] CLI username and password prompt
 


Hubcap coming through with the docs... Go with the url he referenced which will 
tell you what all the possible environment variables are. 
On Jul 17, 2013 2:31 AM, "andrews...@gmail.com"  wrote:

Should be something similar to:
>http://(url or ip):8770/v2.0
>On Jul 17, 2013 2:29 AM, "Jake G."  wrote:
>
>What should the OS_AUTH_URL look like?|
>>
>>
>>
>>
>> From: "andrews...@gmail.com" 
>>To: Jake G.  
>>Cc: "openstack@lists.launchpad.net"  
>>Sent: Wednesday, July 17, 2013 3:23 PM
>>Subject: Re: [Openstack] CLI username and password prompt
>> 
>>
>>
>>use env vars.
>>
>>export OS_PASSWORD=password
>>export OS_USERNAME=user
>>export OS_TENANT_NAME=project
>>export OS_AUTH_URL=:8770/v2.0
>>
>>
>>
>>
>>
>>On Wed, Jul 17, 2013 at 2:19 AM, Jake G.  wrote:
>>
>>Hi All,
>>>Every time I type a command from the CLI it requires me to enter a 
>>>username(--os-username) and password(--os-password) .
>>>
>>>
>>>Anyway to prevent having to enter these everytime?
>>>
>>>
>>>Thanks,
>>>Jake
>>>___
>>>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


[Openstack] Openstack Grizzly using Ubuntu 12.04 version - Cinder gives error while creating volumes

2013-07-16 Thread raghavendra.lad
Hi –

I have installed the Openstack Grizzly using Ubuntu 12.04 version. I find in 
the status field “Error” when I try to create a volume using the dashboard.
I would be interested to know when you create Firewall security rules TCP is 
accepted for 22 and 22. When I try for ICMP port range 8 and 0 it does not 
accept.
I am following the below link

https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst
Any thoughts ..!!

Regards,
Raghavendra Lad


This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited.

Where allowed by local law, electronic communications with Accenture and its 
affiliates, including e-mail and instant messaging (including content), may be 
scanned by our systems for the purposes of information security and assessment 
of internal compliance with Accenture policy.

__

www.accenture.com
___
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] CLI username and password prompt

2013-07-16 Thread Michael Basnight
On Jul 16, 2013, at 11:39 PM, Jake G. wrote:

> OK got the URL to work but now I get the error "ERROR: Invalid OpenStack Nova 
> credentials"
> 
> What should the default credentials be or is there a place this is stored?

If you are using devstack you should be able to source ~/devstack/openrc, and 
it will provide what you need to run the cli commands.

. ~/devstack/openrc

See what that does for ya.
___
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] CLI username and password prompt

2013-07-16 Thread Jake G.
Using RDO Packstack 



 From: Michael Basnight 
To: Jake G.  
Cc: "andrews...@gmail.com" ; 
"openstack@lists.launchpad.net"  
Sent: Wednesday, July 17, 2013 3:48 PM
Subject: Re: [Openstack] CLI username and password prompt
 

On Jul 16, 2013, at 11:39 PM, Jake G. wrote:

> OK got the URL to work but now I get the error "ERROR: Invalid OpenStack Nova 
> credentials"
> 
> What should the default credentials be or is there a place this is stored?

If you are using devstack you should be able to source ~/devstack/openrc, and 
it will provide what you need to run the cli commands.

. ~/devstack/openrc

See what that does for ya.___
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] [Grizzly] Instance has no available HDD

2013-07-16 Thread Jake G.
Dont have any templates to create from yet. Was trying to make me a CentOS 6.4 
template to begin with.



 From: Haiming Yang 
To: Jake G.  
Cc: "openstack@lists.launchpad.net"  
Sent: Wednesday, July 17, 2013 3:48 PM
Subject: Re: [Openstack] [Grizzly] Instance has no available HDD
 


I would suggest you to create a VM not using iso, and by some template to make 
sure your logic works. 




On Wed, Jul 17, 2013 at 2:38 PM, Jake G.  wrote:

Yeah i am using the default m1.medium.
>
>
>
>
> From: Haiming Yang 
>To: Jake G.  
>Cc: "openstack@lists.launchpad.net"  
>Sent: Wednesday, July 17, 2013 3:34 PM
>
>Subject: Re: [Openstack] [Grizzly] Instance has no available HDD
> 
>
>
>can you check the flavor you are using?
>
>
>
>
>On Wed, Jul 17, 2013 at 2:21 PM, Jake G.  wrote:
>
>Yeah. 
>>The details show there should be a 40GB disk there but there actually isn't.
>>
>>
>>
>>
>> From: Haiming Yang 
>>To: Jake G.  
>>Cc: "openstack@lists.launchpad.net"  
>>Sent: Wednesday, July 17, 2013 3:19 PM
>>Subject: Re: [Openstack] [Grizzly] Instance has no available HDD
>> 
>>
>>
>>diskless VM?
>>
>>
>>
>>
>>On Wed, Jul 17, 2013 at 2:08 PM, Jake G.  wrote:
>>
>>Hi All,
>>>
>>>
>>>Having an issue where after an new instance is created successfully via the 
>>>UI and boots to linux installation ISO,
>>>the installer errors out because there are no available hard disks to 
>>>install the OS on.
>>>
>>>
>>>How can I troubleshoot and resolve this?
>>>
>>>
>>>Thanks!Jake
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>___
>>>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] [Grizzly] Instance has no available HDD

2013-07-16 Thread Haiming Yang
I would suggest you to create a VM not using iso, and by some template to
make sure your logic works.


On Wed, Jul 17, 2013 at 2:38 PM, Jake G.  wrote:

> Yeah i am using the default m1.medium.
>
>   --
>  *From:* Haiming Yang 
> *To:* Jake G. 
> *Cc:* "openstack@lists.launchpad.net" 
> *Sent:* Wednesday, July 17, 2013 3:34 PM
>
> *Subject:* Re: [Openstack] [Grizzly] Instance has no available HDD
>
> can you check the flavor you are using?
>
>
> On Wed, Jul 17, 2013 at 2:21 PM, Jake G. wrote:
>
> Yeah.
> The details show there should be a 40GB disk there but there actually
> isn't.
>
>   --
>  *From:* Haiming Yang 
> *To:* Jake G. 
> *Cc:* "openstack@lists.launchpad.net" 
> *Sent:* Wednesday, July 17, 2013 3:19 PM
> *Subject:* Re: [Openstack] [Grizzly] Instance has no available HDD
>
> diskless VM?
>
>
> On Wed, Jul 17, 2013 at 2:08 PM, Jake G. wrote:
>
> Hi All,
>
> Having an issue where after an new instance is created successfully via
> the UI and boots to linux installation ISO,
> the installer errors out because there are no available hard disks to
> install the OS on.
>
> How can I troubleshoot and resolve this?
>
> Thanks!
> Jake
>
>
>
>
>
> ___
> 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] [Grizzly] Instance has no available HDD

2013-07-16 Thread laserjetyang
try to follow this link to upload an image to your glance, and the create
instance based on this image.

http://docs.openstack.org/grizzly/openstack-compute/install/apt/content/images-verifying-install.html


On Wed, Jul 17, 2013 at 2:50 PM, Jake G.  wrote:

> Dont have any templates to create from yet. Was trying to make me a CentOS
> 6.4 template to begin with.
>
>   --
>  *From:* Haiming Yang 
> *To:* Jake G. 
> *Cc:* "openstack@lists.launchpad.net" 
> *Sent:* Wednesday, July 17, 2013 3:48 PM
>
> *Subject:* Re: [Openstack] [Grizzly] Instance has no available HDD
>
> I would suggest you to create a VM not using iso, and by some template to
> make sure your logic works.
>
>
> On Wed, Jul 17, 2013 at 2:38 PM, Jake G. wrote:
>
> Yeah i am using the default m1.medium.
>
>   --
>  *From:* Haiming Yang 
> *To:* Jake G. 
> *Cc:* "openstack@lists.launchpad.net" 
> *Sent:* Wednesday, July 17, 2013 3:34 PM
>
> *Subject:* Re: [Openstack] [Grizzly] Instance has no available HDD
>
> can you check the flavor you are using?
>
>
> On Wed, Jul 17, 2013 at 2:21 PM, Jake G. wrote:
>
> Yeah.
> The details show there should be a 40GB disk there but there actually
> isn't.
>
>   --
>  *From:* Haiming Yang 
> *To:* Jake G. 
> *Cc:* "openstack@lists.launchpad.net" 
> *Sent:* Wednesday, July 17, 2013 3:19 PM
> *Subject:* Re: [Openstack] [Grizzly] Instance has no available HDD
>
> diskless VM?
>
>
> On Wed, Jul 17, 2013 at 2:08 PM, Jake G. wrote:
>
> Hi All,
>
> Having an issue where after an new instance is created successfully via
> the UI and boots to linux installation ISO,
> the installer errors out because there are no available hard disks to
> install the OS on.
>
> How can I troubleshoot and resolve this?
>
> Thanks!
> Jake
>
>
>
>
>
> ___
> 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] CLI username and password prompt

2013-07-16 Thread Michael Basnight

On Jul 16, 2013, at 11:48 PM, Jake G. wrote:

> Using RDO Packstack 

>From http://openstack.redhat.com/Quickstart

Once the process is complete, you can log in to the OpenStack web interface 
"Horizon" by going tohttp://$YOURIP/dashboard. The username is "admin". The 
password can be found in the file keystonerc_admin in the /root/ directory of 
the control node.


___
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] CLI username and password prompt

2013-07-16 Thread Jake G.
Got it! Forgot about that file. 
Thank you very much !




 From: Michael Basnight 
To: Jake G.  
Cc: "andrews...@gmail.com" ; 
"openstack@lists.launchpad.net"  
Sent: Wednesday, July 17, 2013 3:55 PM
Subject: Re: [Openstack] CLI username and password prompt
 


On Jul 16, 2013, at 11:48 PM, Jake G. wrote:

> Using RDO Packstack 

From http://openstack.redhat.com/Quickstart

Once the process is complete, you can log in to the OpenStack web interface 
"Horizon" by going tohttp://$YOURIP/dashboard. The username is "admin". The 
password can be found in the file keystonerc_admin in the /root/ directory of 
the control node.___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp