[Openstack] [openstack-dev][block migration] How to test kvm block migration feature?

2013-03-01 Thread Qinglong.Meng
Hi,
 I want to make testing about openstack(release F) block migration
based KVM. But I don't any usefully configure doc. it's only about based
XEN.
here is the org doc:

http://docs.openstack.org/folsom/openstack-compute/admin/content/configuring-migrations.html

give me a hand

-- 

Lawrency Meng
mail: mengql112...@gmail.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] [openstack-dev] [block migration] How to test kvm block migration feature?

2013-03-01 Thread Kashyap Chamarthy
On 03/01/2013 01:29 PM, Qinglong.Meng wrote:
> 
> Hi,
>  I want to make testing about openstack(release F) block migration based 
> KVM. But I
> don't any usefully configure doc. it's only about based XEN.
> here is the org doc:
>
> http://docs.openstack.org/folsom/openstack-compute/admin/content/configuring-migrations.html
> 
> give me a hand


I can see some info here :

- https://blueprints.launchpad.net/nova/+spec/kvm-block-migration
- https://blueprints.launchpad.net/nova/+spec/migrate-volume-block-migration


For underlying mechanics:

- Upstream QEMU has some related documentation --
http://wiki.qemu.org/Features/LiveBlockMigration

- Also, libvirt has a lot of block-layer work in progress (recent things 
include,
blockcopy, blockpull, blockcommit)


On a related note, I wrote some notes here on some of the libvirt block
operations/snapshots -- 
http://kashyapc.fedorapeople.org/virt/lc-2012/snapshots-handout.html

(However, it's a couple of months old, and few things have changed. I'm trying 
to revisit
it after testing with newest qemu/libvirt).


Hope that's helpful.

-- 
/kashyap

> 
> -- 
> 
> Lawrency Meng
> mail: mengql112...@gmail.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-dev mailing list
> openstack-...@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 




___
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-dev][block migration] How to test kvm block migration feature?

2013-03-01 Thread Razique Mahroua
Hi, the part you want is : • edit /etc/libvirt/libvirtd.confbefore : #listen_tls = 0
after : listen_tls = 0

before : #listen_tcp = 1
after : listen_tcp = 1

add: auth_tcp = "none"
Modify /etc/init/libvirt-bin.confbefore : exec /usr/sbin/libvirtd -d
after : exec /usr/sbin/libvirtd -d -l
Modify /etc/default/libvirt-binbefore :libvirtd_opts=" -d"
after :libvirtd_opts=" -d -l"Restart the libvirt deamon and voila - you don't need any shared storage for the block migrationRegards,
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 1 mars 2013 à 08:59, Qinglong.Meng  a écrit :Hi, I want to make testing about openstack(release F) block migration based KVM. But I don't any usefully configure doc. it's only about based XEN.
    here is the org doc:    http://docs.openstack.org/folsom/openstack-compute/admin/content/configuring-migrations.html
give me a hand-- Lawrency Mengmail: mengql112...@gmail.com___
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] Working with disk images

2013-03-01 Thread Razique Mahroua
Hi, looks like you only have the disc image - you can use that doc for creating the kernel and initrd (ramdisk) : http://docs.openstack.org/trunk/openstack-compute/admin/content/creating-custom-images.html#d6e6784After you have the three, upload to your image repository both kernel and ramdisk, and provide their id to the image with the following flags "kernel_id" and "ramdisk_id"Regards,
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 28 févr. 2013 à 17:52, Samuel Winchenbach  a écrit :[swinchen@strongbad etc]$ cat debian_version squeeze/sid
On Thu, Feb 28, 2013 at 11:46 AM, Razique Mahroua  wrote:
Hey Samuel,What OS is it?
Regards,
Razique Mahroua - Nuage & Co
razique.mahr...@gmail.comTel : +33 9 72 37 94 15



Le 28 févr. 2013 à 17:19, Samuel Winchenbach  a écrit :
Hi all,

I was recently tasked with creating a VM from an existing disk image.   I was given a "dd" of what appears to be / and a tarball of the contents of /home.

What do you think the best course of action is to get these into something workable for openstack?  Everything I have done so far has been using pre-made images.

Thanks,

Sam
___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/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] horizon dashboard GUI.

2013-03-01 Thread Mballo Cherif
Hi evorybody !

I am wondering, how can i customize the openstack GUI horizon dashboard. Adding 
element in login in page, customize color, background etc,
where do I make the appropriate changes?

Thanks you for your help!


Sherif!



___
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] horizon dashboard GUI.

2013-03-01 Thread Stephen_Friday
Have a look at this

http://docs.openstack.org/trunk/openstack-compute/install/apt/content/dashboard-custom-brand.html

Steve Friday
Solutions Architect Sr Cnsltnt - Cloud Engineering CoE
Dell | Services Product Group
Mobile +44 (0) 7718 118335
[cid:image001.jpg@01CE1661.85369A30]

From: openstack-bounces+stephen_friday=dell@lists.launchpad.net 
[mailto:openstack-bounces+stephen_friday=dell@lists.launchpad.net] On 
Behalf Of Mballo Cherif
Sent: 01 March 2013 09:40
To: openstack@lists.launchpad.net
Subject: [Openstack] horizon dashboard GUI.

Hi evorybody !

I am wondering, how can i customize the openstack GUI horizon dashboard. Adding 
element in login in page, customize color, background etc,
where do I make the appropriate changes?

Thanks you for your help!


Sherif!



Dell Corporation Limited is registered in England and Wales. Company 
Registration Number: 2081369
Registered address: Dell House, The Boulevard, Cain Road, Bracknell,  
Berkshire, RG12 1LF, UK.
Company details for other Dell UK entities can be found on  www.dell.co.uk.
<>___
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] Mirror in Online the VM

2013-03-01 Thread Razique Mahroua
Ok in such case you would setup an HA environment, check this out : http://docs.openstack.org/trunk/openstack-ha/content/ch-intro.htmlWhen you say you have vmotion, does that mean both OpenStack controller are VMware virtual machines?
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 25 févr. 2013 à 17:13, Frans Thamura  a écrit :Just got vmotionYes like that.Frans Thamura
Meruvian
Integrated Hypermedia Solution Provider
On Feb 25, 2013 10:51 PM, "Razique Mahroua"  wrote:
I mean, is every box running all the OpenStack services (nova-compute, network, volumes, API, so forth and so so on):)
Razique Mahroua - Nuage & Co
razique.mahr...@gmail.comTel : +33 9 72 37 94 15



Le 20 févr. 2013 à 22:25, Frans Thamura  a écrit :On Thu, Feb 21, 2013 at 4:17 AM, Razique Mahroua  wrote:


Hi Frans,so basically, what you are looking for is a mirroring solution for your OpenStack deployment that has been made on two servers?Are both All-in-One (eg they both provide all the OpenStack services and configured ISO?)


thanksyes, we can call it online mirror-ingwhat do u mean of all in one?F 



Razique Mahroua - Nuage & Co


razique.mahr...@gmail.comTel : +33 9 72 37 94 15







Le 20 févr. 2013 à 22:07, Frans Thamura  a écrit :hi alli have a question


i am working to make a mirror or live replication bretween 2 PC forOpenSTack, so if 1 server down, the other will take over, and i hopethe user dont know it.i got also vmotion in vmware,can we do it in openstack?


thx for the helpF___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/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [openstack-dev][block migration] How to test kvm block migration feature?

2013-03-01 Thread Blair Bethwaite
On 1 March 2013 18:59, Qinglong.Meng  wrote:

>  I want to make testing about openstack(release F) block migration
> based KVM. But I don't any usefully configure doc. it's only about based
> XEN.
>  here is the org doc:
>
> http://docs.openstack.org/folsom/openstack-compute/admin/content/configuring-migrations.html
>

I think the section headed "Block Migration" is incorrectly nested under
"XenServer", or there should also be a "Block Migration" section under
"KVM-Libvirt". Also missing are the nova flags you should have:
block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER,
VIR_MIGRATE_NON_SHARED_INC, VIR_MIGRATE_LIVE
That, along with the other changes mentioned in the section (obviously
excluding shared storage), should give you live block-migration.

-- 
Cheers,
~Blairo
___
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] Weird issue with cloudpipe and network

2013-03-01 Thread Razique Mahroua
Hi guys,friday mystery is here : $ nova cloudpipe-list ERROR: The resource could not be found. (HTTP 404)- > In nova-api.log : 2013-03-01 06:04:51 TRACE nova.api.openstack RemoteError: Remote error: NetworkNotFoundForUUID Network could not be found for uuid ad83565e-c0bb-4722-affe-6b89e716b74fMy tenant have a network, but it's not that uuid. (tenant uuid is : 2fea8003-etc...)My first question is : where does that uuid comes from ? • Then, if I create a dummy network with that uuid (ad83565e, etc..) :  (note that I only insert a field in "networks" table, with the uuid and "deleted" set to 0$ nova cloudpipe-list +--+---+++|            Project Id                                             |    Public IP | Public Port | Internal IP          |+--+--+-++| 9b1ed48626fa46b7b81f21ef21979069 | None          | None             |   192.168.5.2   || 9b1ed48626fa46b7b81f21ef21979069 | None          | 1000              | 192.168.5.2     |+-+---+-++Looks like that uuid is cached somehow ?Cheers
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

___
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][Keystone] Authentication problems with Swift and Keystone by Grizzly release

2013-03-01 Thread Heiko Krämer
Hi Adam,

thx for your repli. The problem was the new PKI authentification.

I've change from PKI to

[signing]
token_format = UUID


and it works now :)


Thx and Greetings
Heiko
On 17.02.2013 03:23, Adam Young wrote:
> On 02/14/2013 09:38 AM, Heiko Krämer wrote:
>> Heyho Guys,
>>
>> i'm testing Swift and Keystone (Grizzly).
>>
>> !NOTE!
>> I'm posting only the importent stuff (output, responses, configs)
>>
>> I've upgraded and migrate the database, the migration are working not
>> correct (kyestone-manage db_sync) because in the role table will create
>> a new column but with NULL values and this will break the auth (first
>> issue).
>>
>> The next command of keystone they you will need is
>> keystone-manage pki_setup => done without errors but you will need to
>> change the rights of the generated files.
>>
>>
>>
>> #
>> ## Output / Log ###
>>
>> My request to keystone are correct if i try to get a token with curl. I
>> get a token with all endpoints and other stuff.
>>
>> "token": {
>> "expires": "2013-02-15T14:29:59Z",
>> "id":
>> "MIIL-wYJKoZIhvcNAQcCoIIL8DCCC+wCAQExCTAHBgUrDgMCGjCCCtgGCSqGSIb3DQEHAaCCCskEggrFeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wMi0xNFQxNDoyOTo1OS44NDI0MjQiLCAiZXhwaXJlcyI6ICIyMDEzLTAyLTE1VDE0OjI5OjU5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNTY5NzdiYjVhMDU1NDc2MWJmMGViOWQ2Y2E3NzBkNzUiLCAibmFtZSI6ICJ0ZXN0aW5nIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vMTAuMC4wLjE6ODc3NC92Mi81Njk3N2JiNWEwNTU0NzYxYmYwZWI5ZDZjYTc3MGQ3NSIsICJyZWdpb24iOiAidGVzdGluZyIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTAuMC4wLjE6ODc3NC92Mi81Njk3N2JiNWEwNTU0NzYxYmYwZWI5ZDZjYTc3MGQ3NSIsICJpZCI6ICJiOGQ3YTQzMWZjY2M0MWY2YTYzMzFjZTY3NjBlYjI1ZSIsICJwdWJsaWNVUkwiOiAiaHR0cDovLzg4LjE5OC42LjE1Mjo4Nzc0L3YyLzU2OTc3YmI1YTA1NTQ3NjFiZjBlYjlkNmNhNzcwZDc1In1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImNvbXB1dGUiLCAibmFtZSI6ICJub3ZhIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjAuMC4xOjk2OTYiLCAicmVnaW9uIjogInRlc3RpbmciLCAiaW50ZXJuYWxVUkwi!
>>  OiAiaHR0cD
>> ovLzEwLjAuMC4xOjk2OTYiLCAiaWQiOiAiM2ZjNTcxNzUyMDA3NDY3OWI3MTlkM2VmNTlmZGViYzMiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMC4wLjAuMTo5Njk2In1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogIm5ldHdvcmsiLCAibmFtZSI6ICJxdWFudHVtIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjAuMC4xOjkyOTIvdjIiLCAicmVnaW9uIjogInRlc3RpbmciLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEwLjAuMC4xOjkyOTIvdjIiLCAiaWQiOiAiMWZlZTllNDQ1NjNjNDcwYzhkNjFmNjE5NDNjYmIxM2YiLCAicHVibGljVVJMIjogImh0dHA6Ly84OC4xOTguNi4xNTI6OTI5Mi92MiJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJpbWFnZSIsICJuYW1lIjogImdsYW5jZSJ9LCB7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly8xMC4wLjAuMTo4Nzc2L3YxLzU2OTc3YmI1YTA1NTQ3NjFiZjBlYjlkNmNhNzcwZDc1IiwgInJlZ2lvbiI6ICJ0ZXN0aW5nIiwgImludGVybmFsVVJMIjogImh0dHA6Ly8xMC4wLjAuMTo4Nzc2L3YxLzU2OTc3YmI1YTA1NTQ3NjFiZjBlYjlkNmNhNzcwZDc1IiwgImlkIjogIjFmMjVlMDUwMjdmMTRmNGI5MDFmMWFmNjJiZTZhMzAwIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vODguMTk4LjYuMTUyOjg3NzYvdjEvNTY5NzdiYjVhMDU1NDc2MWJmMGViOWQ2Y2E3NzBkNzUifV0sICJlbmRwb2ludHN!
>>  fbGlua3MiO
>> iBbXSwgInR5cGUiOiAidm9sdW1lIiwgIm5hbWUiOiAiY2luZGVyIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjAuMC4xOjg3NzMvc2VydmljZXMvQWRtaW4iLCAicmVnaW9uIjogInRlc3RpbmciLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEwLjAuMC4xOjg3NzMvc2VydmljZXMvQ2xvdWQiLCAiaWQiOiAiMWIyZTViZjkzNTI2NGI2ODljZmZkZWViMTk1ZDRjMWQiLCAicHVibGljVVJMIjogImh0dHA6Ly84OC4xOTguNi4xNTI6ODc3My9zZXJ2aWNlcy9DbG91ZCJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJlYzIiLCAibmFtZSI6ICJlYzIifSwgeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vMTAuMC4wLjE6ODA4MC92MSIsICJyZWdpb24iOiAidGVzdGluZyIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTAuMC4wLjE6ODA4MC92MS9BVVRIXzU2OTc3YmI1YTA1NTQ3NjFiZjBlYjlkNmNhNzcwZDc1IiwgImlkIjogIjI3YTEyYTBkMGI2ODQ2YjJhMDQzNjMwZmJlYzUwNmJhIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vODguMTk4LjYuMTUyOjgwODAvdjEvQVVUSF81Njk3N2JiNWEwNTU0NzYxYmYwZWI5ZDZjYTc3MGQ3NSJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJvYmplY3Qtc3RvcmUiLCAibmFtZSI6ICJzd2lmdCJ9LCB7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly8xMC4wLjAuMTozNTM1Ny92Mi4wIi!
>>  wgInJlZ2lv
>> biI6ICJ0ZXN0aW5nIiwgImludGVybmFsVVJMIjogImh0dHA6Ly8xMC4wLjAuMTo1MDAwL3YyLjAiLCAiaWQiOiAiMDI2NWNmOTUyZDRmNGZhYWEyZjdlZGIzNGZlMGQxYTUiLCAicHVibGljVVJMIjogImh0dHA6Ly84OC4xOTguNi4xNTI6NTAwMC92Mi4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJkbGVpZGlzY2giLCAicm9sZXNfbGlua3MiOiBbXSwgImlkIjogIjRjZDRhNzRlMTVlMTQ4MmY5ZmExNmY1MjRhZmQ4ZWJlIiwgInJvbGVzIjogW3sibmFtZSI6ICJhZG1pbiJ9LCB7Im5hbWUiOiAiS2V5c3RvbmVTZXJ2aWNlQWRtaW4ifSwgeyJuYW1lIjogIktleXN0b25lQWRtaW4ifV0sICJuYW1lIjogImRsZWlkaXNjaCJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyI0NzA3YzJmNDg3ODg0MmM1ODUzMWJkN2U4MGU0ZDkzMCIsICI4ZjRmNGNhNmJmZGM0NWUwOTdjMTc1YmViNzUwNjU0ZCIsICI0Y2Y5OWU0ZGQ1YTg0NjZiOTlmZTRmZTIyNTAxYjg5NyJdfX19MYH-MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d

[Openstack] [Quantum] Scale out

2013-03-01 Thread Heiko Krämer
Heyho Guys,

i'm trying to setup Openstack with Quantum. That's not a big deal and
all components are running but Quantum L3 agent and dhcp agent runs on
one node (network node). So this node are a GW for external and internal
traffic. This topology will be a bottleneck in the near future.
My goal is now to scale out Quantum on other nodes like nova-network.


My first idea was to create a second router and configure this router on
a second node (l3 agent router_id ) with a second external network (l3
agent network_id). I can use now a second network node with a second
router and second external network to balance the traffic between this
tow nodes.

So before i had: 1Gbit Uplink to WAN => 1 x network node with 1 ext NIC
Now: 2 x 1 Gbit Uplink to WAN => 2 x network node with 1 ext NIC


The main goal is to use the external NIC's of each compute node or of
many Network nodes but the maintainability, which vm or tenant are use
which network node, is not really good. 


I would prefere i can Quantum scale out of the box and Quantum manage
port mapping on different nodes like a port scheduler mapper :)


Have anyone experience with that ? Ideas or network topologies ?

 

Greetings
Heiko

-- 
B. Sc. Informatik
Heiko Krämer
CIO/Administrator

Twitter: @railshoster
Avarteq GmbH
Zweigstelle:
Prinzessinnenstr. 20, 10969 Berlin


Geschäftsführer: Alexander Faißt, Dipl.-Inf.(FH) Julian Fischer
Handelsregister: AG Saarbrücken HRB 17413, Ust-IdNr.: DE262633168
Sitz:
Science Park 2
66123 Saarbrücken

Tel: +49 (0)681 / 309 64 190
Fax: +49 (0)681 / 309 64 191

Visit:
http://www.enterprise-rails.de/

<>___
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] Changing nova.conf and tempest.conf configurations on-the-fly for specific test cases

2013-03-01 Thread Rami Vaknin

Hi, few questions, any pointers would be appreciated.

I would like to change few nova.conf configuration during 
cloudpipe-related test cases, it means to update the configuration in 
the setUp class method and revert them in tearDown class method without 
the need to restart any nova service, is that possible to be made in 
tempest? Can I override the configuration without persisting them?


My test cases are running over nova-network, which means that the 
catalog_type under the tempest.conf's "[network]" section should be 
changed "compute" rather than "network", this change should be applied 
only for my test cases since other tests do use Quantum, can that also 
possible to be configured on-the-fly for my specific test cases?


--

Thanks,

Rami Vaknin, QE @ Red Hat, TLV, IL.


___
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] Are the Python APIs public or internal?

2013-03-01 Thread Dolph Mathews
I believe they should certainly be treated as public API's -- just like any
other library. I'd also treat them as stable if they've ever been included
in a versioned release. That said, I'm sure it would be easy to find
examples of methods & attributes within the library that are not intended
to be consumed externally, but perhaps either the naming convention or
documentation doesn't sufficiently indicate that.

In keysoneclient, we're making backwards incompatible changes in a new
subpackage (keystoneclient.v3) while maintaing compatibility in the common
client code. For example, you should always be able to initialize the
client with a tenant_id / tenant_name, even though the client will soon be
using project_id / project_name internally to reflect our revised lingo.


-Dolph


On Thu, Feb 28, 2013 at 11:07 PM, Lorin Hochstein
wrote:

> Here's an issue that came up in the operators doc sprint this week.
>
> Let's say I wanted to write some Python scripts using the APIs exposed
> by the python-*client packages. As a concrete example, let's say I wrote a
> script that uses the keystone Python API that's exposed in the
> python-keystoneclient package:
>
>
> https://github.com/lorin/openstack-ansible/blob/master/playbooks/keystone/files/keystone-init.py
>
> Are these APIs "public" or "stable"  in some meaningful way? (i.e., can I
> count on this script still working across minor release upgrades)? Or
> should they be treated like "internal" APIs that could be changed at any
> time in the future? Or is this not defined at all?
>
> Lorin
>
>
> ___
> 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 while executing sample_data.sh script

2013-03-01 Thread Dolph Mathews
The 409 Conflicts are indicating that what the script is trying to create
already exists (role names must be unique for example). If you've run the
same commands manually before, they'll fail on a subsequent attempt
(reproducible by simply running the script twice).


-Dolph


On Fri, Mar 1, 2013 at 1:44 AM, Ashutosh Narayan  wrote:

> Hi Swapnil, Atul
>
> Reading document helps. I have done these steps manually before and
> was again going ahead to run the script for the same. That's why I got
> so many error messages. Looks like problem is solved. I get the
> desired output.
>
>
> On Fri, Mar 1, 2013 at 12:39 PM, Swapnil Kulkarni <
> swapnilkulkarni2...@gmail.com> wrote:
>
>> I agree with Atul, if you go through documentation you will find where to
>> change the passwords required by keystone commands.
>>
>> Cheers :)
>> On Mar 1, 2013 12:22 PM, "Atul Jha"  wrote:
>>
>>>  Ashutosh,
>>>
>>> my suggestion would be go through the documentation try to understandwhat 
>>> each keystone command is doing. Just running a script and mailing to
>>> list for everything is not a good idea.
>>>
>>> Spend sometime with document, understand key concepts. just a su
>>> ggestion.
>>>
>>>  --
>>> *From:* 
>>> openstack-bounces+atul.jha=csscorp@lists.launchpad.net[openstack-bounces+atul.jha=
>>> csscorp@lists.launchpad.net] on behalf of Ashutosh Narayan [
>>> aashutoshnara...@gmail.com]
>>> *Sent:* Friday, March 01, 2013 12:14 PM
>>> *To:* OpenStack
>>> *Subject:* [Openstack] Error while executing sample_data.sh script
>>>
>>>   Hi folks,
>>>
>>>  When I run the sample_data.sh script mentioned at the 
>>> link
>>>  I
>>> get the following errors :
>>>
>>>  Conflict occurred attempting to store user. (IntegrityError) (1062,
>>> "Duplicate entry 'admin' for key 'name'") (HTTP 409)
>>> Conflict occurred attempting to store role. (IntegrityError) (1062,
>>> "Duplicate entry 'admin' for key 'name'") (HTTP 409)
>>> usage: keystone user-role-add --user-id  --role-id 
>>>   [--tenant-id ]
>>> keystone user-role-add: error: argument --user-id/--user_id: expected
>>> one argument
>>> Conflict occurred attempting to store tenant. (IntegrityError) (1062,
>>> "Duplicate entry 'service' for key 'name'") (HTTP 409)
>>> Conflict occurred attempting to store user. (IntegrityError) (1062,
>>> "Duplicate entry 'glance' for key 'name'") (HTTP 409)
>>> usage: keystone user-role-add --user-id  --role-id 
>>>   [--tenant-id ]
>>> keystone user-role-add: error: argument --user-id/--user_id: expected
>>> one argument
>>> usage: keystone user-create --name  [--tenant-id ]
>>> [--pass ] [--email ]
>>> [--enabled ]
>>> keystone user-create: error: argument --tenant-id: expected one argument
>>> usage: keystone user-role-add --user-id  --role-id 
>>>   [--tenant-id ]
>>> keystone user-role-add: error: argument --user-id/--user_id: expected
>>> one argument
>>> usage: keystone user-create --name  [--tenant-id ]
>>> [--pass ] [--email ]
>>> [--enabled ]
>>> keystone user-create: error: argument --tenant-id: expected one argument
>>> usage: keystone user-role-add --user-id  --role-id 
>>>   [--tenant-id ]
>>> keystone user-role-add: error: argument --user-id/--user_id: expected
>>> one argument
>>> usage: keystone user-create --name  [--tenant-id ]
>>> [--pass ] [--email ]
>>> [--enabled ]
>>> keystone user-create: error: argument --tenant-id: expected one argument
>>> usage: keystone user-role-add --user-id  --role-id 
>>>   [--tenant-id ]
>>> keystone user-role-add: error: argument --user-id/--user_id: expected
>>> one argument
>>> +-+---+
>>> |   Property  | Value |
>>> +-+---+
>>> |   adminurl  |  http://localhost:$(admin_port)s/v2.0 |
>>> |  id |626ff3533c7e452e8850a94e4d30309f   |
>>> | internalurl | http://localhost:$(public_port)s/v2.0 |
>>> |  publicurl  | http://localhost:$(public_port)s/v2.0 |
>>> |region   |   RegionOne   |
>>> |  service_id |1fe65f54d1714d369f7b8975de89d41d   |
>>> +-+---+
>>> +-+--+
>>> |   Property  |Value |
>>> +-+--+
>>> |   adminurl  | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s |
>>> |  id |   64206e8f1b6148a0b63870c5fd333887   |
>>> | internalurl | http://local

Re: [Openstack] [Quantum] Scale out

2013-03-01 Thread Simon Pasquier
Hello Heiko,
I think that there is a blueprint [1] currently in progress to address your
needs. The Quantum developers might be able to give us more information.
Simon
[1] https://blueprints.launchpad.net/quantum/+spec/quantum-scheduler


2013/3/1 Heiko Krämer 

> Heyho Guys,
>
> i'm trying to setup Openstack with Quantum. That's not a big deal and
> all components are running but Quantum L3 agent and dhcp agent runs on
> one node (network node). So this node are a GW for external and internal
> traffic. This topology will be a bottleneck in the near future.
> My goal is now to scale out Quantum on other nodes like nova-network.
>
>
> My first idea was to create a second router and configure this router on
> a second node (l3 agent router_id ) with a second external network (l3
> agent network_id). I can use now a second network node with a second
> router and second external network to balance the traffic between this
> tow nodes.
>
> So before i had: 1Gbit Uplink to WAN => 1 x network node with 1 ext NIC
> Now: 2 x 1 Gbit Uplink to WAN => 2 x network node with 1 ext NIC
>
>
> The main goal is to use the external NIC's of each compute node or of
> many Network nodes but the maintainability, which vm or tenant are use
> which network node, is not really good.
>
>
> I would prefere i can Quantum scale out of the box and Quantum manage
> port mapping on different nodes like a port scheduler mapper :)
>
>
> Have anyone experience with that ? Ideas or network topologies ?
>
>
>
> Greetings
> Heiko
>
> --
> B. Sc. Informatik
> Heiko Krämer
> CIO/Administrator
>
> Twitter: @railshoster
> Avarteq GmbH
> Zweigstelle:
> Prinzessinnenstr. 20, 10969 Berlin
>
> 
> Geschäftsführer: Alexander Faißt, Dipl.-Inf.(FH) Julian Fischer
> Handelsregister: AG Saarbrücken HRB 17413, Ust-IdNr.: DE262633168
> Sitz:
> Science Park 2
> 66123 Saarbrücken
>
> Tel: +49 (0)681 / 309 64 190
> Fax: +49 (0)681 / 309 64 191
>
> Visit:
> http://www.enterprise-rails.de/
>
>
> ___
> 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] Rebooted, now can't ping my guest

2013-03-01 Thread The King in Yellow
In my case, it actually appears that my vms aren't up-- the instances panel
says they are up, but looking at the console, it appears they aren't
getting an IP address.  This is a new instance:

Begin: Running /scripts/init-bottom ... done.
[2.849416] EXT4-fs (vda1): re-mounted. Opts: (null)
cloud-init start-local running: Thu, 28 Feb 2013 13:29:09 +. up
10.41 seconds

no instance data found in start-local

cloud-init-nonet waiting 120 seconds for a network device.

cloud-init-nonet gave up waiting for a network device.

ci-info: lo: 1 127.0.0.1   255.0.0.0   .

ci-info: eth0  : 1 .   .   fa:16:3e:e0:17:f0

route_info failed

Waiting for network configuration...

It looks like it made an OVS port, though.  This is on the compute node,
openvswitch-agent.log:


2013-02-28 08:34:19DEBUG [quantum.agent.linux.utils]
Command: ['sudo', '/usr/bin/quantum-rootwrap',
'/etc/quantum/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'get',
'Interface', 'qvo4f36c3ea-5c', 'external_ids']
Exit code: 0
Stdout: '{attached-mac="fa:16:3e:e0:17:f0",
iface-id="4f36c3ea-5c49-4625-a830-0c81f27ba139", iface-status=active,
vm-uuid="239d3051-255e-4213-9511-af0a82fcc744"}\n'
Stderr: ''
2013-02-28 08:34:19DEBUG [quantum.agent.linux.utils] Running command:
sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf ovs-vsctl
--timeout=2 get Interface qvo62721ee8-08 external_ids
2013-02-28 08:34:19DEBUG [quantum.agent.linux.utils]
:
root@os-compute-01:/var/log/quantum# ovs-vsctl show
3a52a17f-9846-4b32-b309-b49faf91bfc4
Bridge br-int
Port "qvo62721ee8-08"
tag: 1
Interface "qvo62721ee8-08"
Port "qvo1ed73bcc-9d"
tag: 1
Interface "qvo1ed73bcc-9d"
Port "qvoce0c94a9-ef"
tag: 1
Interface "qvoce0c94a9-ef"
Port "qvo135e78dd-8e"
tag: 4095
Interface "qvo135e78dd-8e"
Port "qvof37b7a55-a3"
tag: 1
Interface "qvof37b7a55-a3"

Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qvoaed25b41-9c"
tag: 1
Interface "qvoaed25b41-9c"
Port "qvo4f36c3ea-5c"
tag: 1
Interface "qvo4f36c3ea-5c"
Bridge br-tun

Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "gre-1"
Interface "gre-1"
type: gre
options: {in_key=flow, out_key=flow, remote_ip="10.10.10.1"}

Port br-tun
Interface br-tun
type: internal
ovs_version: "1.4.0+build0"
root@os-compute-01:/var/log/quantum#


I supposed it should be getting address via DHCP from quantum-dhcp-agent on
the network node?  It was running, nothing regarding this MAC in the logs.
I restarted quantum-dhcp-agent and rebooted, no change.

In fact, I got two CirrOS vms up, logged on the console and manually IPed
them (10.5.5.10/24 and 10.5.5.11/24), and they can't ping each other.  I
would expect them to, right?  They should both be connected to OVS switch
br-int, right?

Any pointers?
___
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] Error while uploading the kernel

2013-03-01 Thread Ashutosh Narayan
Hi folks,

I am following the
instructionto
verify Image service installation.

[root@ images]# glance --os-username=admin --os-password=secretword
--os-tenant-name=openstackDemo --os-auth-url=
http://192.168.105.61:5000/v2.0/ image-create --name="tty-linux-kernel"
--disk-format=aki --container-format=aki <
ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz

Error communicating with http://192.168.105.61:9292 timed out

How is it communicating with port number 9292 when port 5000 is mentioned
in openrc file ?
Any suggestions ?

Thank you,
-- 
Ashutosh Narayan

http://ashutoshn.wordpress.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] Error while executing sample_data.sh script

2013-03-01 Thread Ashutosh Narayan
Yes Dolph, I learnt that. I have uninstalled the packages and
redoing things from beginning as few steps seems to fail because
of misconfiguration.

On Fri, Mar 1, 2013 at 7:23 PM, Dolph Mathews wrote:

> The 409 Conflicts are indicating that what the script is trying to create
> already exists (role names must be unique for example). If you've run the
> same commands manually before, they'll fail on a subsequent attempt
> (reproducible by simply running the script twice).
>
>
> -Dolph
>
>
> On Fri, Mar 1, 2013 at 1:44 AM, Ashutosh Narayan <
> aashutoshnara...@gmail.com> wrote:
>
>> Hi Swapnil, Atul
>>
>> Reading document helps. I have done these steps manually before and
>> was again going ahead to run the script for the same. That's why I got
>> so many error messages. Looks like problem is solved. I get the
>> desired output.
>>
>>
>> On Fri, Mar 1, 2013 at 12:39 PM, Swapnil Kulkarni <
>> swapnilkulkarni2...@gmail.com> wrote:
>>
>>> I agree with Atul, if you go through documentation you will find where
>>> to change the passwords required by keystone commands.
>>>
>>> Cheers :)
>>> On Mar 1, 2013 12:22 PM, "Atul Jha"  wrote:
>>>
  Ashutosh,

 my suggestion would be go through the documentation try to understandwhat 
 each keystone command is doing. Just running a script and mailing to
 list for everything is not a good idea.

 Spend sometime with document, understand key concepts. just a su
 ggestion.

  --
 *From:* 
 openstack-bounces+atul.jha=csscorp@lists.launchpad.net[openstack-bounces+atul.jha=
 csscorp@lists.launchpad.net] on behalf of Ashutosh Narayan [
 aashutoshnara...@gmail.com]
 *Sent:* Friday, March 01, 2013 12:14 PM
 *To:* OpenStack
 *Subject:* [Openstack] Error while executing sample_data.sh script

   Hi folks,

  When I run the sample_data.sh script mentioned at the 
 link
  I
 get the following errors :

  Conflict occurred attempting to store user. (IntegrityError) (1062,
 "Duplicate entry 'admin' for key 'name'") (HTTP 409)
 Conflict occurred attempting to store role. (IntegrityError) (1062,
 "Duplicate entry 'admin' for key 'name'") (HTTP 409)
 usage: keystone user-role-add --user-id  --role-id 
   [--tenant-id ]
 keystone user-role-add: error: argument --user-id/--user_id: expected
 one argument
 Conflict occurred attempting to store tenant. (IntegrityError) (1062,
 "Duplicate entry 'service' for key 'name'") (HTTP 409)
 Conflict occurred attempting to store user. (IntegrityError) (1062,
 "Duplicate entry 'glance' for key 'name'") (HTTP 409)
 usage: keystone user-role-add --user-id  --role-id 
   [--tenant-id ]
 keystone user-role-add: error: argument --user-id/--user_id: expected
 one argument
 usage: keystone user-create --name  [--tenant-id ]
 [--pass ] [--email ]
 [--enabled ]
 keystone user-create: error: argument --tenant-id: expected one argument
 usage: keystone user-role-add --user-id  --role-id 
   [--tenant-id ]
 keystone user-role-add: error: argument --user-id/--user_id: expected
 one argument
 usage: keystone user-create --name  [--tenant-id ]
 [--pass ] [--email ]
 [--enabled ]
 keystone user-create: error: argument --tenant-id: expected one argument
 usage: keystone user-role-add --user-id  --role-id 
   [--tenant-id ]
 keystone user-role-add: error: argument --user-id/--user_id: expected
 one argument
 usage: keystone user-create --name  [--tenant-id ]
 [--pass ] [--email ]
 [--enabled ]
 keystone user-create: error: argument --tenant-id: expected one argument
 usage: keystone user-role-add --user-id  --role-id 
   [--tenant-id ]
 keystone user-role-add: error: argument --user-id/--user_id: expected
 one argument
 +-+---+
 |   Property  | Value |
 +-+---+
 |   adminurl  |  http://localhost:$(admin_port)s/v2.0 |
 |  id |626ff3533c7e452e8850a94e4d30309f   |
 | internalurl | http://localhost:$(public_port)s/v2.0 |
 |  publicurl  | http://localhost:$(public_port)s/v2.0 |
 |region   |   RegionOne   |
 |  service_id |1fe65f54d1714d369f7b8975de89d41d   |
 +-+---+
 +-+

Re: [Openstack] Rebooted, now can't ping my guest

2013-03-01 Thread Filipe Manco
Hello

I had the exactly same problem were the network stoped working after a
reboot in the network node.
The easy solution I could found was to delete all the networks and VMs and
create them again.
Everything is working fine since that, but I didn't reboot the node again
to test it.

Aaron, can you give an explanation of what the problem is, or point to your
patch? Thank you.

Regards


2013/3/1 The King in Yellow 

> In my case, it actually appears that my vms aren't up-- the instances
> panel says they are up, but looking at the console, it appears they aren't
> getting an IP address.  This is a new instance:
>
> Begin: Running /scripts/init-bottom ... done.
> [2.849416] EXT4-fs (vda1): re-mounted. Opts: (null)
> cloud-init start-local running: Thu, 28 Feb 2013 13:29:09 +. up 10.41 
> seconds
>
> no instance data found in start-local
>
> cloud-init-nonet waiting 120 seconds for a network device.
>
> cloud-init-nonet gave up waiting for a network device.
>
> ci-info: lo: 1 127.0.0.1   255.0.0.0   .
>
> ci-info: eth0  : 1 .   .   fa:16:3e:e0:17:f0
>
> route_info failed
>
> Waiting for network configuration...
>
> It looks like it made an OVS port, though.  This is on the compute node,
> openvswitch-agent.log:
>
>
> 2013-02-28 08:34:19DEBUG [quantum.agent.linux.utils]
> Command: ['sudo', '/usr/bin/quantum-rootwrap',
> '/etc/quantum/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'get',
> 'Interface', 'qvo4f36c3ea-5c', 'external_ids']
> Exit code: 0
> Stdout: '{attached-mac="fa:16:3e:e0:17:f0",
> iface-id="4f36c3ea-5c49-4625-a830-0c81f27ba139", iface-status=active,
> vm-uuid="239d3051-255e-4213-9511-af0a82fcc744"}\n'
> Stderr: ''
> 2013-02-28 08:34:19DEBUG [quantum.agent.linux.utils] Running command:
> sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf ovs-vsctl
> --timeout=2 get Interface qvo62721ee8-08 external_ids
> 2013-02-28 08:34:19DEBUG [quantum.agent.linux.utils]
> :
> root@os-compute-01:/var/log/quantum# ovs-vsctl show
> 3a52a17f-9846-4b32-b309-b49faf91bfc4
> Bridge br-int
> Port "qvo62721ee8-08"
> tag: 1
> Interface "qvo62721ee8-08"
> Port "qvo1ed73bcc-9d"
> tag: 1
> Interface "qvo1ed73bcc-9d"
> Port "qvoce0c94a9-ef"
> tag: 1
> Interface "qvoce0c94a9-ef"
> Port "qvo135e78dd-8e"
> tag: 4095
> Interface "qvo135e78dd-8e"
> Port "qvof37b7a55-a3"
> tag: 1
> Interface "qvof37b7a55-a3"
>
> Port br-int
> Interface br-int
> type: internal
> Port patch-tun
> Interface patch-tun
> type: patch
> options: {peer=patch-int}
> Port "qvoaed25b41-9c"
> tag: 1
> Interface "qvoaed25b41-9c"
> Port "qvo4f36c3ea-5c"
> tag: 1
> Interface "qvo4f36c3ea-5c"
> Bridge br-tun
>
> Port patch-int
> Interface patch-int
> type: patch
> options: {peer=patch-tun}
>  Port "gre-1"
> Interface "gre-1"
> type: gre
> options: {in_key=flow, out_key=flow,
> remote_ip="10.10.10.1"}
>
> Port br-tun
> Interface br-tun
> type: internal
> ovs_version: "1.4.0+build0"
> root@os-compute-01:/var/log/quantum#
>
>
> I supposed it should be getting address via DHCP from quantum-dhcp-agent
> on the network node?  It was running, nothing regarding this MAC in the
> logs.  I restarted quantum-dhcp-agent and rebooted, no change.
>
> In fact, I got two CirrOS vms up, logged on the console and manually IPed
> them (10.5.5.10/24 and 10.5.5.11/24), and they can't ping each other.  I
> would expect them to, right?  They should both be connected to OVS switch
> br-int, right?
>
> Any pointers?
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Filipe Manco
about.me/fmanco
___
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] Keystone Grizzly-3 Tokens not getting saved to database

2013-03-01 Thread Dolph Mathews
Your keystone.log should have a more complete backtrace of the error -- can
you post that?

As for your token table being empty, are you sure you're using the SQL
driver (keystone.token.backends.sql.Token)? I believe the default driver is
in-memory (keystone.token.backends.kvs.Token). The token table will be
created by db_sync regardless of which driver is configured.


-Dolph


On Thu, Feb 28, 2013 at 5:23 PM, Miller, Mark M (EB SW Cloud - R&D -
Corvallis)  wrote:

>  Hello,
>
> ** **
>
> I have some tests that attempt to retrieve tenants/projects from Keystone
> using an admin user’s token. The test gave the following error:
>
> ** **
>
> {"error": {"message": "coercing to Unicode: need string or buffer,
> NoneType found", "code": 400, "title": "Bad Request"}}
>
> ** **
>
> The same code works fine if I use the X-Auth-Token from the keystone.conf
> file. I checked the database to look at the tokens and found that the
> “token” table is empty. Does anyone have any ideas as to why tokens are not
> getting stored on my system? I assume it is some keystone.conf parameter,
> but I really do not know.
>
> ** **
>
> Regards,
>
> ** **
>
> 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
>
>
___
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] Rebooted, now can't ping my guest

2013-03-01 Thread Sylvain Bauza

There is a known bug for the network bridges, when rebooting :
https://bugs.launchpad.net/quantum/+bug/1091605

Try to delete/recreate your br-int/br-ex and then restart 
openvswitch_plugin/l3/dhcp agents, it should fix the issue.


-Sylvain

Le 01/03/2013 15:04, The King in Yellow a écrit :
In my case, it actually appears that my vms aren't up-- the instances 
panel says they are up, but looking at the console, it appears they 
aren't getting an IP address.  This is a new instance:


Begin: Running /scripts/init-bottom ... done.
[2.849416] EXT4-fs (vda1): re-mounted. Opts: (null)
cloud-init start-local running: Thu, 28 Feb 2013 13:29:09 +. up 10.41 
seconds

no instance data found in start-local

cloud-init-nonet waiting 120 seconds for a network device.

cloud-init-nonet gave up waiting for a network device.

ci-info: lo: 1 127.0.0.1   255.0.0.0   .

ci-info: eth0  : 1 .   .   fa:16:3e:e0:17:f0

route_info failed

Waiting for network configuration...

It looks like it made an OVS port, though.  This is on the compute 
node, openvswitch-agent.log:



2013-02-28 08:34:19DEBUG [quantum.agent.linux.utils]
Command: ['sudo', '/usr/bin/quantum-rootwrap', 
'/etc/quantum/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'get', 
'Interface', 'qvo4f36c3ea-5c', 'external_ids']

Exit code: 0
Stdout: '{attached-mac="fa:16:3e:e0:17:f0", 
iface-id="4f36c3ea-5c49-4625-a830-0c81f27ba139", iface-status=active, 
vm-uuid="239d3051-255e-4213-9511-af0a82fcc744"}\n'

Stderr: ''
2013-02-28 08:34:19DEBUG [quantum.agent.linux.utils] Running 
command: sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf 
ovs-vsctl --timeout=2 get Interface qvo62721ee8-08 external_ids

2013-02-28 08:34:19DEBUG [quantum.agent.linux.utils]
:
root@os-compute-01:/var/log/quantum# ovs-vsctl show
3a52a17f-9846-4b32-b309-b49faf91bfc4
Bridge br-int
Port "qvo62721ee8-08"
tag: 1
Interface "qvo62721ee8-08"
Port "qvo1ed73bcc-9d"
tag: 1
Interface "qvo1ed73bcc-9d"
Port "qvoce0c94a9-ef"
tag: 1
Interface "qvoce0c94a9-ef"
Port "qvo135e78dd-8e"
tag: 4095
Interface "qvo135e78dd-8e"
Port "qvof37b7a55-a3"
tag: 1
Interface "qvof37b7a55-a3"

Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qvoaed25b41-9c"
tag: 1
Interface "qvoaed25b41-9c"
Port "qvo4f36c3ea-5c"
tag: 1
Interface "qvo4f36c3ea-5c"
Bridge br-tun

Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "gre-1"
Interface "gre-1"
type: gre
options: {in_key=flow, out_key=flow, 
remote_ip="10.10.10.1"}


Port br-tun
Interface br-tun
type: internal
ovs_version: "1.4.0+build0"
root@os-compute-01:/var/log/quantum#


I supposed it should be getting address via DHCP from 
quantum-dhcp-agent on the network node?  It was running, nothing 
regarding this MAC in the logs.  I restarted quantum-dhcp-agent and 
rebooted, no change.


In fact, I got two CirrOS vms up, logged on the console and manually 
IPed them (10.5.5.10/24  and 10.5.5.11/24 
), and they can't ping each other.  I would 
expect them to, right? They should both be connected to OVS switch 
br-int, right?


Any pointers?



___
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] Rebooted, now can't ping my guest

2013-03-01 Thread Brad Knowles
On Mar 1, 2013, at 9:11 AM, Sylvain Bauza  wrote:

> There is a known bug for the network bridges, when rebooting : 
> https://bugs.launchpad.net/quantum/+bug/1091605

Hmm.  Reading that page, it's not clear to me exactly where this bug is 
actually fixed.  From what I can tell, it looks like it was rolled into 
grizzly-2, but was it ever actually backported to Folsom?

It looks like that was the intent but then perhaps it was never done.  I dunno. 
 I'm new at reading these bug reports, so I'm trying to understand exactly what 
the current status is.

Thanks!

--
Brad Knowles 
Senior Consultant


___
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] Rebooted, now can't ping my guest

2013-03-01 Thread Balamurugan V G
It says its fixed in quantum
2012.2.3as well.
How do we get 2012.3 in Ubuntu 12.04?

Regrads,
Balu

On Fri, Mar 1, 2013 at 8:51 PM, Brad Knowles wrote:

> On Mar 1, 2013, at 9:11 AM, Sylvain Bauza 
> wrote:
>
> > There is a known bug for the network bridges, when rebooting :
> > https://bugs.launchpad.net/quantum/+bug/1091605
>
> Hmm.  Reading that page, it's not clear to me exactly where this bug is
> actually fixed.  From what I can tell, it looks like it was rolled into
> grizzly-2, but was it ever actually backported to Folsom?
>
> It looks like that was the intent but then perhaps it was never done.  I
> dunno.  I'm new at reading these bug reports, so I'm trying to understand
> exactly what the current status is.
>
> Thanks!
>
> --
> Brad Knowles 
> Senior Consultant
>
>
> ___
> 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] PAM authentication for Folsom Keystone

2013-03-01 Thread Brant Knudson
I tried setting up httpd fronting keystone but wasn't able to figure out
how to get it to work. I configured Apache to require LDAP authentication
for keystone tokens. One problem is that keystone clients today aren't
doing http basic authentication. e.g., if you run "nova --os-username=admin
--os-password=whatever list" it doesn't do http basic auth, it does
keystone auth where it sends the username/password in the post data.

Here's the apache config file that I tried to use for keystone token auth,
in case anyone finds it interesting (note that it "worked" as far as you
can get a token using curl):

---

Listen 35357


  WSGIScriptAlias /  /opt/stack/keystone/httpd/admin
  
AuthType Basic
AuthName OpenStack
AuthBasicProvider ldap
AuthLDAPURL
ldap://localhost/ou=Users,ou=OpenStack,dc=openstack,dc=org?cn?one
Require valid-user
  


Listen 5000


  WSGIScriptAlias /  /opt/stack/keystone/httpd/main
  
AuthType Basic
AuthName OpenStack
AuthBasicProvider ldap
AuthLDAPURL
ldap://localhost/ou=Users,ou=OpenStack,dc=openstack,dc=org?cn?one
Require valid-user
  


---

I think a problem with this config is that it should require basic auth
only when doing a POST /v2.0/tokens request, and not require auth for GET.

Here's the curl command to get a token, which worked with this config:

$ curl --user admin:adminpwd \
 -H "Content-Type: application/json" \
 -d '{"auth": {}}' \
 http://localhost:35357/v2.0/tokens


On Thu, Feb 28, 2013 at 2:25 AM, Alvaro Lopez  wrote:

> On Tue 26 Feb 2013 (13:41), Joshua wrote:
> > Matt at this point I am just trying to log into keystone using users I
> > created on the Unix system.
>
> You mean authenticate against keystone using your system users?
>
> You should be able to do so by running keystone as a WSGI behind an
> Apache http server that will make the authentication (PAM in this case,
> but can be any auth method supported by apache) and then using the
> external authentication method [1].
>
> [1]
> http://docs.openstack.org/developer/keystone/external-auth.html#using-httpd-authentication
>
> Regards,
> --
> Álvaro López García  al...@ifca.unican.es
> Instituto de Física de Cantabria http://devel.ifca.es/~aloga/
> Ed. Juan Jordá, Campus UC  tel: (+34) 942 200 969
> Avda. de los Castros s/n
> 39005 Santander (SPAIN)
> _
> "Premature optimization is the root of all evil (or at least most of it)
>  in programming." -- Donald Knuth
>
>
>
> ___
> 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 multinode test

2013-03-01 Thread Paras pradhan
Can somebody check if my endpoints are correct. 192.168.122.25 is my
proxy node in which port  is on with self signed certs.

--
public: http://192.168.122.25:/v1/AUTH_%(tenant_id)s
internal: http://192.168.122.25:/v1/AUTH_%(tenant_id)s
admin: http://192.168.122.25:/v1
-

Thanks,
Paras.

On Thu, Feb 28, 2013 at 11:05 PM, Gareth  wrote:
> That "goes infinite" seems like waiting connection. You should check
> connection first.
>
> To use "curl any_url" is ok. Any response depends on successful connection.
>
>
> On Fri, Mar 1, 2013 at 5:41 AM, Paras pradhan 
> wrote:
>>
>> Hi,
>>
>> I have a swift proxy node and a storage node. Also keystone resides in
>> another server. Swift is from ubuntu cloud archive i.e 1.7.4. I am
>> using private keys in swift proxy if it matters.The below command is
>> returning nothing and goes infinite.192.168.122.20 is my keystone
>> server.
>>
>> --
>> root@controller:/var/log# swift -V 2 -A
>> http://192.168.122.20:35357/v2.0 -U service:swift -K service_pass stat
>> --
>>
>> proxy-server.conf  is http://pastebin.com/B5hXqHns
>>
>>
>> How do start debugging? I am not seeing anything special on proxy node
>> syslog and keystone.log on keystone server.
>>
>> Thanks,
>> Paras
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> --
> Gareth
> Cloud Computing, Openstack, Fitness, Basketball
> Novice Openstack contributer
> My promise: if you find any spelling or grammar mistake in my email from Mar
> 1 2013, notice me
> and I'll donate 1$ or 1¥ to the organization specified by you.

___
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] Scale out

2013-03-01 Thread Dan Wendlandt
Yes, Grizzly will give you more options when scaling out the L3 gateway
node.  I'd suggest pausing for a bit until that new functionality is
included in the OpenStack documentation.

Dan

On Fri, Mar 1, 2013 at 6:00 AM, Simon Pasquier wrote:

> Hello Heiko,
> I think that there is a blueprint [1] currently in progress to address
> your needs. The Quantum developers might be able to give us more
> information.
> Simon
> [1] https://blueprints.launchpad.net/quantum/+spec/quantum-scheduler
>
>
> 2013/3/1 Heiko Krämer 
>
>>  Heyho Guys,
>>
>> i'm trying to setup Openstack with Quantum. That's not a big deal and
>> all components are running but Quantum L3 agent and dhcp agent runs on
>> one node (network node). So this node are a GW for external and internal
>> traffic. This topology will be a bottleneck in the near future.
>> My goal is now to scale out Quantum on other nodes like nova-network.
>>
>>
>> My first idea was to create a second router and configure this router on
>> a second node (l3 agent router_id ) with a second external network (l3
>> agent network_id). I can use now a second network node with a second
>> router and second external network to balance the traffic between this
>> tow nodes.
>>
>> So before i had: 1Gbit Uplink to WAN => 1 x network node with 1 ext NIC
>> Now: 2 x 1 Gbit Uplink to WAN => 2 x network node with 1 ext NIC
>>
>>
>> The main goal is to use the external NIC's of each compute node or of
>> many Network nodes but the maintainability, which vm or tenant are use
>> which network node, is not really good.
>>
>>
>> I would prefere i can Quantum scale out of the box and Quantum manage
>> port mapping on different nodes like a port scheduler mapper :)
>>
>>
>> Have anyone experience with that ? Ideas or network topologies ?
>>
>>
>>
>> Greetings
>> Heiko
>>
>> --
>> B. Sc. Informatik
>> Heiko Krämer
>> CIO/Administrator
>>
>> Twitter: @railshoster
>> Avarteq GmbH
>> Zweigstelle:
>> Prinzessinnenstr. 20, 10969 Berlin
>>
>> 
>> Geschäftsführer: Alexander Faißt, Dipl.-Inf.(FH) Julian Fischer
>> Handelsregister: AG Saarbrücken HRB 17413, Ust-IdNr.: DE262633168
>> Sitz:
>> Science Park 2
>> 66123 Saarbrücken
>>
>> Tel: +49 (0)681 / 309 64 190
>> Fax: +49 (0)681 / 309 64 191
>>
>> Visit:
>> http://www.enterprise-rails.de/
>>
>>
>> ___
>> 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
>
>


-- 
~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~
___
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] Rebooted, now can't ping my guest

2013-03-01 Thread Sylvain Bauza
As said, you can also commit the changes (thanks to Gerrit) on your own 
installation without waiting for 2012.2.3 ported to Ubuntu LTS.


Or, you can script by your own the fix. Anyway, you got the reason, it's 
up to you on how you'll populate the changes.


-Sylvain

Le 01/03/2013 16:25, Balamurugan V G a écrit :
It says its fixed in quantum 2012.2.3 
 as well. How do we 
get 2012.3 in Ubuntu 12.04?


Regrads,
Balu

On Fri, Mar 1, 2013 at 8:51 PM, Brad Knowles > wrote:


On Mar 1, 2013, at 9:11 AM, Sylvain Bauza
mailto:sylvain.ba...@digimind.com>>
wrote:

> There is a known bug for the network bridges, when rebooting :
> https://bugs.launchpad.net/quantum/+bug/1091605

Hmm.  Reading that page, it's not clear to me exactly where this
bug is actually fixed.  From what I can tell, it looks like it was
rolled into grizzly-2, but was it ever actually backported to Folsom?

It looks like that was the intent but then perhaps it was never
done.  I dunno.  I'm new at reading these bug reports, so I'm
trying to understand exactly what the current status is.

Thanks!

--
Brad Knowles mailto:bknow...@momentumsi.com>>
Senior Consultant


___
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] Keystone Grizzly-3 Tokens not getting saved to database

2013-03-01 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Attached  is my keystone.conf file.

Mark

From: KangEdda [mailto:dellab...@hotmail.com]
Sent: Thursday, February 28, 2013 5:09 PM
To: Miller, Mark M (EB SW Cloud - R&D - Corvallis); 
openstack@lists.launchpad.net
Subject: RE: [Openstack] Keystone Grizzly-3 Tokens not getting saved to database

Please give us details on your keystone.conf parameter and it's handler.
You know that unicode takes 2 bytes right? :D

Regards,


Edda Kang

The purpose of life is to live it, to taste experience to the utmost, to reach 
out eagerly and without fear for newer and richer experience.



From: mark.m.mil...@hp.com
To: openstack@lists.launchpad.net
Date: Thu, 28 Feb 2013 23:23:46 +
Subject: [Openstack] Keystone Grizzly-3 Tokens not getting saved to database
Hello,

I have some tests that attempt to retrieve tenants/projects from Keystone using 
an admin user's token. The test gave the following error:

{"error": {"message": "coercing to Unicode: need string or buffer, NoneType 
found", "code": 400, "title": "Bad Request"}}

The same code works fine if I use the X-Auth-Token from the keystone.conf file. 
I checked the database to look at the tokens and found that the "token" table 
is empty. Does anyone have any ideas as to why tokens are not getting stored on 
my system? I assume it is some keystone.conf parameter, but I really do not 
know.

Regards,

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


keystone.conf
Description: keystone.conf
___
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 multinode test

2013-03-01 Thread Paras pradhan
Ok it looks like a ssl issue. If I disable

#cert_file = /etc/swift/cert.crt
#key_file = /etc/swift/cert.key

it is working.

Do I need to change my endpoint to use ssl?

Thanks
Paras.


On Fri, Mar 1, 2013 at 10:05 AM, Paras pradhan  wrote:
> Can somebody check if my endpoints are correct. 192.168.122.25 is my
> proxy node in which port  is on with self signed certs.
>
> --
> public: http://192.168.122.25:/v1/AUTH_%(tenant_id)s
> internal: http://192.168.122.25:/v1/AUTH_%(tenant_id)s
> admin: http://192.168.122.25:/v1
> -
>
> Thanks,
> Paras.
>
> On Thu, Feb 28, 2013 at 11:05 PM, Gareth  wrote:
>> That "goes infinite" seems like waiting connection. You should check
>> connection first.
>>
>> To use "curl any_url" is ok. Any response depends on successful connection.
>>
>>
>> On Fri, Mar 1, 2013 at 5:41 AM, Paras pradhan 
>> wrote:
>>>
>>> Hi,
>>>
>>> I have a swift proxy node and a storage node. Also keystone resides in
>>> another server. Swift is from ubuntu cloud archive i.e 1.7.4. I am
>>> using private keys in swift proxy if it matters.The below command is
>>> returning nothing and goes infinite.192.168.122.20 is my keystone
>>> server.
>>>
>>> --
>>> root@controller:/var/log# swift -V 2 -A
>>> http://192.168.122.20:35357/v2.0 -U service:swift -K service_pass stat
>>> --
>>>
>>> proxy-server.conf  is http://pastebin.com/B5hXqHns
>>>
>>>
>>> How do start debugging? I am not seeing anything special on proxy node
>>> syslog and keystone.log on keystone server.
>>>
>>> Thanks,
>>> Paras
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>>
>> --
>> Gareth
>> Cloud Computing, Openstack, Fitness, Basketball
>> Novice Openstack contributer
>> My promise: if you find any spelling or grammar mistake in my email from Mar
>> 1 2013, notice me
>> and I'll donate 1$ or 1¥ to the organization specified by you.

___
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] Keystone Grizzly-3 Tokens not getting saved to database

2013-03-01 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Hello Dolph,

Thank you for responding. That was it. I guess the default token driver must 
have recently changed from sql to kvs.

Mark

From: Dolph Mathews [mailto:dolph.math...@gmail.com]
Sent: Friday, March 01, 2013 6:47 AM
To: Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Keystone Grizzly-3 Tokens not getting saved to database

Your keystone.log should have a more complete backtrace of the error -- can you 
post that?

As for your token table being empty, are you sure you're using the SQL driver 
(keystone.token.backends.sql.Token)? I believe the default driver is in-memory 
(keystone.token.backends.kvs.Token). The token table will be created by db_sync 
regardless of which driver is configured.


-Dolph

On Thu, Feb 28, 2013 at 5:23 PM, Miller, Mark M (EB SW Cloud - R&D - Corvallis) 
mailto:mark.m.mil...@hp.com>> wrote:
Hello,

I have some tests that attempt to retrieve tenants/projects from Keystone using 
an admin user's token. The test gave the following error:

{"error": {"message": "coercing to Unicode: need string or buffer, NoneType 
found", "code": 400, "title": "Bad Request"}}

The same code works fine if I use the X-Auth-Token from the keystone.conf file. 
I checked the database to look at the tokens and found that the "token" table 
is empty. Does anyone have any ideas as to why tokens are not getting stored on 
my system? I assume it is some keystone.conf parameter, but I really do not 
know.

Regards,

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

___
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] Are the Python APIs public or internal?

2013-03-01 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
I have a question about the keystone client. You just mentioned 
keystoneclient.v3. I was under the impression that the keystone client was 
going to be deprecated and replaced by the openstackclient. However, when I 
checked yesterday I noticed that the openstackclient was listed as "abandoned". 
Are you saying that an updated version of the keystoneclient will shortly be 
made available for V3? If so, would you please post the URL for the project?

Thanks,

Mark

From: openstack-bounces+mark.m.miller=hp@lists.launchpad.net 
[mailto:openstack-bounces+mark.m.miller=hp@lists.launchpad.net] On Behalf 
Of Dolph Mathews
Sent: Friday, March 01, 2013 5:51 AM
To: Lorin Hochstein
Cc: openstack@lists.launchpad.net (openstack@lists.launchpad.net)
Subject: Re: [Openstack] Are the Python APIs public or internal?

I believe they should certainly be treated as public API's -- just like any 
other library. I'd also treat them as stable if they've ever been included in a 
versioned release. That said, I'm sure it would be easy to find examples of 
methods & attributes within the library that are not intended to be consumed 
externally, but perhaps either the naming convention or documentation doesn't 
sufficiently indicate that.

In keysoneclient, we're making backwards incompatible changes in a new 
subpackage (keystoneclient.v3) while maintaing compatibility in the common 
client code. For example, you should always be able to initialize the client 
with a tenant_id / tenant_name, even though the client will soon be using 
project_id / project_name internally to reflect our revised lingo.


-Dolph

On Thu, Feb 28, 2013 at 11:07 PM, Lorin Hochstein 
mailto:lo...@nimbisservices.com>> wrote:
Here's an issue that came up in the operators doc sprint this week.

Let's say I wanted to write some Python scripts using the APIs exposed by the 
python-*client packages. As a concrete example, let's say I wrote a script that 
uses the keystone Python API that's exposed in the python-keystoneclient 
package:

https://github.com/lorin/openstack-ansible/blob/master/playbooks/keystone/files/keystone-init.py

Are these APIs "public" or "stable"  in some meaningful way? (i.e., can I count 
on this script still working across minor release upgrades)? Or should they be 
treated like "internal" APIs that could be changed at any time in the future? 
Or is this not defined at all?

Lorin


___
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] Are the Python APIs public or internal?

2013-03-01 Thread Dean Troyer
On Fri, Mar 1, 2013 at 11:50 AM, Miller, Mark M (EB SW Cloud - R&D -
Corvallis)  wrote:
> I have a question about the keystone client. You just mentioned
> keystoneclient.v3. I was under the impression that the keystone client was
> going to be deprecated and replaced by the openstackclient. However, when I
> checked yesterday I noticed that the openstackclient was listed as
> “abandoned”. Are you saying that an updated version of the keystoneclient
> will shortly be made available for V3? If so, would you please post the URL
> for the project?

Where is openstackclient marked abandoned?  It is still under
development, albiet at a slower pace than I'd like.  It is meant to be
a single CLI for OpenStack that leverages the libraries provided by
the individual project clients. So it uses the keystoneclient python
libs but not the cli/shell bits.

dt

-- 

Dean Troyer
dtro...@gmail.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] Are the Python APIs public or internal?

2013-03-01 Thread Dolph Mathews
+1; keystoneclient is not deprecated nor has openstackclient been abandoned.

The responsibility of implementing a CLI is simply being handed off to
openstackclient. Using 'keystone' on the CLI will therefore be deprecated
at some point in favor of using 'openstack'.

-Dolph


On Fri, Mar 1, 2013 at 11:58 AM, Dean Troyer  wrote:

> On Fri, Mar 1, 2013 at 11:50 AM, Miller, Mark M (EB SW Cloud - R&D -
> Corvallis)  wrote:
> > I have a question about the keystone client. You just mentioned
> > keystoneclient.v3. I was under the impression that the keystone client
> was
> > going to be deprecated and replaced by the openstackclient. However,
> when I
> > checked yesterday I noticed that the openstackclient was listed as
> > “abandoned”. Are you saying that an updated version of the keystoneclient
> > will shortly be made available for V3? If so, would you please post the
> URL
> > for the project?
>
> Where is openstackclient marked abandoned?  It is still under
> development, albiet at a slower pace than I'd like.  It is meant to be
> a single CLI for OpenStack that leverages the libraries provided by
> the individual project clients. So it uses the keystoneclient python
> libs but not the cli/shell bits.
>
> dt
>
> --
>
> Dean Troyer
> dtro...@gmail.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] [Quantum] provider:network_type=vlan problem

2013-03-01 Thread John Gruber
I'm installing nova and quantum in an environment where L3 routing and DHCP
are handled by other devices on a provider network for specific VLANs. I
don't want the service of the quantum-l3 or quantum-dhcp agents, as there
services are handled by external devices.

Nova compute is setup to use:
libvirt_type=kvm
libvirt_ovs_bridge=br-int
libvirt_vif_type=ethernet
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
libvirt_use_virtio_for_bridges=True

I am using the OVS plugin for Quantum Folsom.  Here is the OVS section of
my ovs_quantum_plugin.ini file.

[OVS]
tenant_network_type = vlan
network_vlan_ranges = physnet1:1:4,physnet1:60:64
bridge_mappings = physnet1:br-eth2

The output of ovs-vsctl show looks like the following:

efbab661-98dd-46b3-b5c1-e234c3afac8e
Bridge "br-eth2"
Port "phy-br-eth2"
Interface "phy-br-eth2"
Port "br-eth2"
Interface "br-eth2"
type: internal
Port "eth2"
Interface "eth2"
Bridge br-int
Port br-int
Interface br-int
type: internal
Port "int-br-eth2"
Interface "int-br-eth2"
ovs_version: "1.4.0+build0"

Interface eth2 is a VLAN trunk.  I can manually create ports in OVS and
then add link and ip address for VLANs 1-4,60-64 verifying connectivity.

I run the following commands to setup the logical network:

quantum net-create VLAN1 --router:external=True --shared
--provider:network_type=vlan --provider:physical_network=physnet1
--provider:segmentation_id=1
quantum net-create VLAN2 --router:external=True --shared
--provider:network_type=vlan --provider:physical_network=physnet1
--provider:segmentation_id=2
quantum net-create VLAN3 --router:external=True --shared
--provider:network_type=vlan --provider:physical_network=physnet1
--provider:segmentation_id=3
quantum net-create VLAN4 --router:external=True --shared
--provider:network_type=vlan --provider:physical_network=physnet1 --
provider:segmentation_id=4

quantum net-list show:

+--+---+-+
| id   | name  | subnets |
+--+---+-+
| 19af012e-fa1e-4fc2-aac8-7611ef33428b | VLAN4 | |
| 28310262-bcb3-43b9-8366-f31f5ac7a990 | VLAN1 | |
| 788bd827-5ba1-4b0f-99b4-e98040c9730d | VLAN2 | |
| be859d44-1d16-4923-b33b-c5dc292cc68f | VLAN3 | |
+--+---+-+

If I create a guest instance with networks VLAN1, VLAN2, VLAN3, VLAN4,
connected, but my nova created libvirtl.xml contains no entries for network
interfaces at all. The VM boots without NICs.

However if I add:

quantum subnet-create VLAN1 --gateway 10.0.0.1 10.0.0.0/24 --
--enable_dhcp=False
quantum subnet-create VLAN2 --gateway 10.0.1.1 10.0.1.0/24 --
--enable_dhcp=False
quantum subnet-create VLAN3 --gateway 10.0.2.1 10.0.2.0/24 --
--enable_dhcp=False
quantum subnet-create VLAN4 --gateway 10.0.3.1 10.0.3.0/24 --
--enable_dhcp=False

Thus making quantum net-list show:

+--+---+--+
| id   | name  | subnets
   |
+--+---+--+
| 19af012e-fa1e-4fc2-aac8-7611ef33428b | VLAN4 |
a451a6ad-ff4d-40e2-8a8a-2582bfd5a3ed |
| 28310262-bcb3-43b9-8366-f31f5ac7a990 | VLAN1 |
98c42f7e-15e3-4c9b-b323-54346086bfd4 |
| 788bd827-5ba1-4b0f-99b4-e98040c9730d | VLAN2 |
e022730c-b0f7-4158-b8ef-e56da0ceb227 |
| be859d44-1d16-4923-b33b-c5dc292cc68f | VLAN3 |
1b68886a-a693-4039-813b-23d085bb43d2 |
+--+---+--+

My generated libvirt.xml has NICs, but I'm stuck with allocation pools..
which I don't want or need. Also the interfaces seem to be bridged only to
the integration bridge in OVS.

Q1) The nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver driver is one of
many that say 'deprecated' in the source code. What should I be using?
 Just the generic?
Q2) How do I have provider networks which are VLAN tagged by OVS, have no
Quantum subnet assigned, yet will have nova-compute define vifs properly?

Thanks for your help in advance,

John Gruber
___
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] Error when using a custom raw CentOS 6.3 single partition image

2013-03-01 Thread Ivanov, Konstantin
Hello stackers,

I built a single partition raw image containing CentOS 6.3 as per this
instructions:

When I boot the image however I get this error (bolded in red):



2013-03-01 19:09:42 AUDIT nova.compute.manager
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] [instance:
2c946784-441e-4032-9fbc-43bfb1502738] Starting instance...
2013-03-01 19:09:42 AUDIT nova.compute.resource_tracker
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] Attempting claim: memory 512 MB, disk 0
GB, VCPUs 1
2013-03-01 19:09:42 AUDIT nova.compute.resource_tracker
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] Total memory: 7954 MB, used: 1024 MB,
free: 0 MB
2013-03-01 19:09:42 AUDIT nova.compute.resource_tracker
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] Memory limit: 11931 MB, free: 10907 MB
2013-03-01 19:09:42 AUDIT nova.compute.resource_tracker
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] Total disk: 314 GB, used: 0 GB, free: 314
GB
2013-03-01 19:09:42 AUDIT nova.compute.resource_tracker
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] Disk limit not specified, defaulting to
unlimited
2013-03-01 19:09:42 AUDIT nova.compute.resource_tracker
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] Total VCPUs: 4, used: 1
2013-03-01 19:09:42 AUDIT nova.compute.resource_tracker
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] VCPU limit not specified, defaulting to
unlimited
2013-03-01 19:09:49 INFO nova.virt.libvirt.driver
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] [instance:
2c946784-441e-4032-9fbc-43bfb1502738] Using config drive
2013-03-01 19:09:49 INFO nova.virt.libvirt.driver
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] [instance:
2c946784-441e-4032-9fbc-43bfb1502738] Creating image
2013-03-01 19:09:50 INFO nova.virt.libvirt.driver
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] [instance:
2c946784-441e-4032-9fbc-43bfb1502738] Creating config drive at
/var/lib/nova/instances/instance-001d/disk.config
2013-03-01 19:09:52 ERROR nova.virt.disk.api
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] Failed to mount container filesystem
'' on
'/var/lib/nova/instances/instance-001d/rootfs':
--
Failed to mount filesystem: Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount /dev/nbd14
/var/lib/nova/instances/instance-001d/rootfs
Exit code: 32
Stdout: ''
*Stderr: 'mount: /dev/nbd14 already mounted or
/var/lib/nova/instances/instance-001d/rootfs busy\n'*
--
Failed to mount filesystem: Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf guestmount --rw -a
/var/lib/nova/instances/instance-001d/disk -m /dev/sda
/var/lib/nova/instances/instance-001d/rootfs
Exit code: 1
Stdout: ''
Stderr: 'Traceback (most recent call last):\n  File
"/usr/bin/nova-rootwrap", line 89, in \n
 env=filtermatch.get_environment(userargs))\n  File
"/usr/lib/python2.7/subprocess.py", line 679, in __init__\nerrread,
errwrite)\n  File "/usr/lib/python2.7/subprocess.py", line 1249, in
_execute_child\nraise child_exception\nOSError: [Errno 2] No such file
or directory\n'
2013-03-01 19:09:52 ERROR nova.compute.manager
[req-f7ba7693-33b4-4fd5-9b01-908326f32d48 f8dcf284ebfc4f18bd14c3c392b5c5ce
90b5cb0ef6f34f798f61e2177e4db967] [instance:
2c946784-441e-4032-9fbc-43bfb1502738] Instance failed to spawn
2013-03-01 19:09:52 1018 TRACE nova.compute.manager [instance:
2c946784-441e-4032-9fbc-43bfb1502738] Traceback (most recent call last):
2013-03-01 19:09:52 1018 TRACE nova.compute.manager [instance:
2c946784-441e-4032-9fbc-43bfb1502738]   File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 747, in
_spawn
2013-03-01 19:09:52 1018 TRACE nova.compute.manager [instance:
2c946784-441e-4032-9fbc-43bfb1502738] block_device_info)
2013-03-01 19:09:52 1018 TRACE nova.compute.manager [instance:
2c946784-441e-4032-9fbc-43bfb1502738]   File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped
2013-03-01 19:09:52 1018 TRACE nova.compute.manager [instance:
2c946784-441e-4032-9fbc-43bfb1502738] temp_level, payload)
2013-03-01 19:09:52 1018 TRACE nova.compute.manager [instance:
2c946784-441e-4032-9fbc-43bfb1502738]   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-03-01 19:09:52 1018 TRACE n

Re: [Openstack] [Quantum] provider:network_type=vlan problem

2013-03-01 Thread John Gruber
Some added color... The interfaces are defined in Quantum and they have MAC
addresses generated... They just don't make it into the nova-compute
generated libvirt.xml.  There seems to be other stuff missing to, like the
bridge name. Is that supposed to be blank?

>From the nova-compute.log

2013-03-01 10:48:48 DEBUG nova.compute.manager
[req-35d0301e-ef44-4151-bfc4-9be13202e9c9 de223767529242ac85635b3863f6154b
33c19bf6b3c848f2842465ee27ef835f] [instance:
1466c180-2e03-4479-9fdb-2fe16201b516]

Instance network_info: |

[
VIF({'network': Network({'bridge': '', 'subnets': [], 'meta': {'injected':
False, 'tenant_id': u'c035fb76ea664bd59e9f64405933f105'}, 'id':
u'19af012e-fa1e-4fc2-aac8-7611ef33428b', 'label': u'VLAN4'}), 'meta': {},
'id': u'46f861de-6019-44cd-8835-a3044b2cac87', 'address':
u'fa:16:3e:fc:95:21'}),
VIF({'network': Network({'bridge': '', 'subnets': [], 'meta': {'injected':
False, 'tenant_id': u'c035fb76ea664bd59e9f64405933f105'}, 'id':
u'28310262-bcb3-43b9-8366-f31f5ac7a990', 'label': u'VLAN1'}), 'meta': {},
'id': u'8f17842d-2331-47de-bfad-6d6e5acd45f6', 'address':
u'fa:16:3e:37:2b:d8'}),
VIF({'network': Network({'bridge': '', 'subnets': [], 'meta': {'injected':
False, 'tenant_id': u'c035fb76ea664bd59e9f64405933f105'}, 'id':
u'788bd827-5ba1-4b0f-99b4-e98040c9730d', 'label': u'VLAN2'}), 'meta': {},
'id': u'721175a2-1021-4747-a7a1-1ef7a0ea92bb', 'address':
u'fa:16:3e:12:ba:2b'}),
VIF({'network': Network({'bridge': '', 'subnets': [], 'meta': {'injected':
False, 'tenant_id': u'c035fb76ea664bd59e9f64405933f105'}, 'id':
u'be859d44-1d16-4923-b33b-c5dc292cc68f', 'label': u'VLAN3'}), 'meta': {},
'id': u'c39065d4-729b-484b-bcff-e7fa06e1f814', 'address':
u'fa:16:3e:70:54:a7'})
]

| _allocate_network
/usr/lib/python2.7/dist-packages/nova/compute/manager.py:719

2013-03-01 10:48:49 DEBUG nova.virt.libvirt.config
[req-35d0301e-ef44-4151-bfc4-9be13202e9c9 de223767529242ac85635b3863f6154b
33c19bf6b3c848f2842465ee27ef835f] Generated XML 
  1466c180-2e03-4479-9fdb-2fe16201b516
  instance-000d
  524288
  1
  
hvm

  
  

  
  


  
  
  

  
  
  


  




  

  to_xml /usr/lib/python2.7/dist-packages/nova/virt/libvirt/config.py:66


John Gruber


On Fri, Mar 1, 2013 at 12:58 PM, John Gruber wrote:

> I'm installing nova and quantum in an environment where L3 routing and
> DHCP are handled by other devices on a provider network for specific VLANs.
> I don't want the service of the quantum-l3 or quantum-dhcp agents, as there
> services are handled by external devices.
>
> Nova compute is setup to use:
> libvirt_type=kvm
> libvirt_ovs_bridge=br-int
> libvirt_vif_type=ethernet
> libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
> libvirt_use_virtio_for_bridges=True
>
> I am using the OVS plugin for Quantum Folsom.  Here is the OVS section of
> my ovs_quantum_plugin.ini file.
>
> [OVS]
> tenant_network_type = vlan
> network_vlan_ranges = physnet1:1:4,physnet1:60:64
> bridge_mappings = physnet1:br-eth2
>
> The output of ovs-vsctl show looks like the following:
>
> efbab661-98dd-46b3-b5c1-e234c3afac8e
> Bridge "br-eth2"
> Port "phy-br-eth2"
> Interface "phy-br-eth2"
> Port "br-eth2"
> Interface "br-eth2"
> type: internal
> Port "eth2"
> Interface "eth2"
> Bridge br-int
> Port br-int
> Interface br-int
> type: internal
> Port "int-br-eth2"
> Interface "int-br-eth2"
> ovs_version: "1.4.0+build0"
>
> Interface eth2 is a VLAN trunk.  I can manually create ports in OVS and
> then add link and ip address for VLANs 1-4,60-64 verifying connectivity.
>
> I run the following commands to setup the logical network:
>
> quantum net-create VLAN1 --router:external=True --shared
> --provider:network_type=vlan --provider:physical_network=physnet1
> --provider:segmentation_id=1
> quantum net-create VLAN2 --router:external=True --shared
> --provider:network_type=vlan --provider:physical_network=physnet1
> --provider:segmentation_id=2
> quantum net-create VLAN3 --router:external=True --shared
> --provider:network_type=vlan --provider:physical_network=physnet1
> --provider:segmentation_id=3
> quantum net-create VLAN4 --router:external=True --shared
> --provider:network_type=vlan --provider:physical_network=physnet1 --
> provider:segmentation_id=4
>
> quantum net-list show:
>
> +--+---+-+
> | id   | name  | subnets |
> +--+---+-+
> | 19af012e-fa1e-4fc2-aac8-7611ef33428b | VLAN4 | |
> | 28310262-bcb3-43b9-8366-f31f5ac7a990 | VLAN1 | |
> | 788bd827-5ba1-4b0f-99b4-e98040c9730d | VLAN2 | |
> | be859d44-1d16-4923-b33b-c5dc292cc68f | VLAN3 | |
> +--+---+-+
>
> If I create a guest instance with networks VLAN1, VLAN2, 

Re: [Openstack] [Nova] Right method to delete a tap interface

2013-03-01 Thread Edgar Magana
Hi Chris,

Well, which one should I invoke if  I am not using OVS nor LinuxBridge?
Should I open a bug about having this method included in linux_net.py?

I can take care of adding that method.

Edgar

On 2/28/13 5:51 PM, "Chris Wright"  wrote:

>* Edgar Magana (emag...@plumgrid.com) wrote:
>> I found a method to create a tap interface under:
>> nova/nova/network/linux_net.py
>> def create_tap_dev(dev, mac_address=None):
>> 
>> But I can't find the one for deleting a tap interface, can somebody
>>tell me
>> the right way to do it?
>
>I believe it's done w/ "ip link delete" which is hand coded in a couple
>of spots.  One caller of create_tap_dev
>QuantumLinuxBridgeInterfaceDriver::plug does it in ::unplug (opencoded).
>Other LibvirtGenericVIFDriver::plug_ovs_ethernet does it in
>unplug_ovs_ethernet via delete_ovs_vif_port
>
>thanks,
>-chris
>



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

2013-03-01 Thread Vishvananda Ishaya

On Mar 1, 2013, at 8:05 AM, Paras pradhan  wrote:

> Can somebody check if my endpoints are correct. 192.168.122.25 is my
> proxy node in which port  is on with self signed certs.
> 
> --
> public: http://192.168.122.25:/v1/AUTH_%(tenant_id)s
> internal: http://192.168.122.25:/v1/AUTH_%(tenant_id)s
> admin: http://192.168.122.25:/v1
> -

if you are using ssl, these should be https://

Vish

> 
> Thanks,
> Paras.


___
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] 2012.2.1 missing several nova dependency packages.

2013-03-01 Thread Wyllys Ingersoll
Im trying to install the nova packages from the Ubuntu 12.04 LTS folsom 
archives, but some of the required dependencies are no longer available.

My sources.list file has this entry:
deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main

If I remove that entry, I can get the 2012.1.3 release and it will work, but 
why is it not in the 2012.2.1 tree?

Thanks,
  Wyllys

$ sudo apt-get install python-nova
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  python-cinderclient python-cliff python-cmd2 python-novaclient python-paramiko
  python-pyparsing python-quantumclient
The following NEW packages will be installed:
  python-cinderclient python-cliff python-cmd2 python-nova python-novaclient
  python-paramiko python-pyparsing python-quantumclient
0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
Need to get 3,121 kB/4,679 kB of archives.
After this operation, 26.2 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Err http://ubuntu-cloud.archive.canonical.com/ubuntu/ 
precise-updates/folsom/main python-nova all 
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0
  404  Not Found
Failed to fetch 
http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/n/nova/python-nova_2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0_all.deb
  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?


___
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] Are the Python APIs public or internal?

2013-03-01 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Thank you for the clarification. I must have found a branch that had been 
abandoned and not the project as a whole.

Mark

From: Dolph Mathews [mailto:dolph.math...@gmail.com]
Sent: Friday, March 01, 2013 10:04 AM
To: Dean Troyer
Cc: Miller, Mark M (EB SW Cloud - R&D - Corvallis); Lorin Hochstein; 
openstack@lists.launchpad.net (openstack@lists.launchpad.net)
Subject: Re: [Openstack] Are the Python APIs public or internal?

+1; keystoneclient is not deprecated nor has openstackclient been abandoned.

The responsibility of implementing a CLI is simply being handed off to 
openstackclient. Using 'keystone' on the CLI will therefore be deprecated at 
some point in favor of using 'openstack'.

-Dolph

On Fri, Mar 1, 2013 at 11:58 AM, Dean Troyer 
mailto:dtro...@gmail.com>> wrote:
On Fri, Mar 1, 2013 at 11:50 AM, Miller, Mark M (EB SW Cloud - R&D -
Corvallis) mailto:mark.m.mil...@hp.com>> wrote:
> I have a question about the keystone client. You just mentioned
> keystoneclient.v3. I was under the impression that the keystone client was
> going to be deprecated and replaced by the openstackclient. However, when I
> checked yesterday I noticed that the openstackclient was listed as
> "abandoned". Are you saying that an updated version of the keystoneclient
> will shortly be made available for V3? If so, would you please post the URL
> for the project?
Where is openstackclient marked abandoned?  It is still under
development, albiet at a slower pace than I'd like.  It is meant to be
a single CLI for OpenStack that leverages the libraries provided by
the individual project clients. So it uses the keystoneclient python
libs but not the cli/shell bits.

dt

--

Dean Troyer
dtro...@gmail.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] 2012.2.1 missing several nova dependency packages.

2013-03-01 Thread Martinx - ジェームズ
Try: "apt-get update" before...


On 1 March 2013 16:42, Wyllys Ingersoll  wrote:

> Im trying to install the nova packages from the Ubuntu 12.04 LTS folsom
> archives, but some of the required dependencies are no longer available.**
> **
>
> ** **
>
> My sources.list file has this entry:
>
> deb http://ubuntu-cloud.archive.canonical.com/ubuntuprecise-updates/folsom 
> main
> 
>
> ** **
>
> If I remove that entry, I can get the 2012.1.3 release and it will work,
> but why is it not in the 2012.2.1 tree?
>
> ** **
>
> Thanks,
>
>   Wyllys
>
> ** **
>
> $ sudo apt-get install python-nova
>
> Reading package lists... Done
>
> Building dependency tree   
>
> Reading state information... Done
>
> The following extra packages will be installed:
>
>   python-cinderclient python-cliff python-cmd2 python-novaclient
> python-paramiko
>
>   python-pyparsing python-quantumclient
>
> The following NEW packages will be installed:
>
>   python-cinderclient python-cliff python-cmd2 python-nova
> python-novaclient
>
>   python-paramiko python-pyparsing python-quantumclient
>
> 0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
>
> Need to get 3,121 kB/4,679 kB of archives.
>
> After this operation, 26.2 MB of additional disk space will be used.
>
> Do you want to continue [Y/n]? 
>
> Err 
> http://ubuntu-cloud.archive.canonical.com/ubuntu/precise-updates/folsom/main 
> python-nova all
> 2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0
>
>   404  Not Found
>
> Failed to fetch
> http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/n/nova/python-nova_2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0_all.deb
> 404  Not Found
>
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
>
> ** **
>
> ** **
>
> ___
> 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] 2012.2.1 missing several nova dependency packages.

2013-03-01 Thread Wyllys Ingersoll
I did try that.  It made no difference.

From: Martinx - ジェームズ [mailto:thiagocmarti...@gmail.com]
Sent: Friday, March 01, 2013 2:48 PM
To: Wyllys Ingersoll
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] 2012.2.1 missing several nova dependency packages.

Try: "apt-get update" before...

On 1 March 2013 16:42, Wyllys Ingersoll 
mailto:wyllys.ingers...@evault.com>> wrote:
Im trying to install the nova packages from the Ubuntu 12.04 LTS folsom 
archives, but some of the required dependencies are no longer available.

My sources.list file has this entry:
deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main

If I remove that entry, I can get the 2012.1.3 release and it will work, but 
why is it not in the 2012.2.1 tree?

Thanks,
  Wyllys

$ sudo apt-get install python-nova
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  python-cinderclient python-cliff python-cmd2 python-novaclient python-paramiko
  python-pyparsing python-quantumclient
The following NEW packages will be installed:
  python-cinderclient python-cliff python-cmd2 python-nova python-novaclient
  python-paramiko python-pyparsing python-quantumclient
0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
Need to get 3,121 kB/4,679 kB of archives.
After this operation, 26.2 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Err http://ubuntu-cloud.archive.canonical.com/ubuntu/ 
precise-updates/folsom/main python-nova all 
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0
  404  Not Found
Failed to fetch 
http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/n/nova/python-nova_2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0_all.deb
  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?



___
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] 2012.2.1 missing several nova dependency packages.

2013-03-01 Thread Adam Gandelman

On 03/01/2013 11:42 AM, Wyllys Ingersoll wrote:


Im trying to install the nova packages from the Ubuntu 12.04 LTS 
folsom archives, but some of the required dependencies are no longer 
available.


My sources.list file has this entry:

deb http://ubuntu-cloud.archive.canonical.com/ubuntu 
precise-updates/folsom main


If I remove that entry, I can get the 2012.1.3 release and it will 
work, but why is it not in the 2012.2.1 tree?


Thanks,

  Wyllys

$ sudo apt-get install python-nova

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  python-cinderclient python-cliff python-cmd2 python-novaclient 
python-paramiko


  python-pyparsing python-quantumclient

The following NEW packages will be installed:

  python-cinderclient python-cliff python-cmd2 python-nova 
python-novaclient


  python-paramiko python-pyparsing python-quantumclient

0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.

Need to get 3,121 kB/4,679 kB of archives.

After this operation, 26.2 MB of additional disk space will be used.

Do you want to continue [Y/n]?

Err http://ubuntu-cloud.archive.canonical.com/ubuntu/ 
precise-updates/folsom/main python-nova all 
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0


  404  Not Found

Failed to fetch 
http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/n/nova/python-nova_2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0_all.deb 
404  Not Found


E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?




An update (2012.2.1+stable-20121212-a99a802e-0ubuntu1.2~cloud0) was 
pushed out in the last few hours that supersedes (and expires) the 
package you're attempting to download.  Run apt-get update before 
installing and apt should pull the correct version. You might find 
http://status.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/folsom_versions.html 
useful in the future.


HTH,
Adam


___
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] 2012.2.1 missing several nova dependency packages.

2013-03-01 Thread Martinx - ジェームズ
Try this (WITH CARE):

rm -f /var/cache/apt/archives/*
rm -f /var/cache/apt/archives/partial/*
apt-get update
apt-get install 


On 1 March 2013 16:52, Wyllys Ingersoll  wrote:

> I did try that.  It made no difference.
>
> ** **
>
> *From:* Martinx - ジェームズ [mailto:thiagocmarti...@gmail.com]
> *Sent:* Friday, March 01, 2013 2:48 PM
> *To:* Wyllys Ingersoll
> *Cc:* openstack@lists.launchpad.net
> *Subject:* Re: [Openstack] 2012.2.1 missing several nova dependency
> packages.
>
> ** **
>
> Try: "apt-get update" before...
>
> ** **
>
> On 1 March 2013 16:42, Wyllys Ingersoll 
> wrote:
>
> Im trying to install the nova packages from the Ubuntu 12.04 LTS folsom
> archives, but some of the required dependencies are no longer available.**
> **
>
>  
>
> My sources.list file has this entry:
>
> deb http://ubuntu-cloud.archive.canonical.com/ubuntuprecise-updates/folsom 
> main
> 
>
>  
>
> If I remove that entry, I can get the 2012.1.3 release and it will work,
> but why is it not in the 2012.2.1 tree?
>
>  
>
> Thanks,
>
>   Wyllys
>
>  
>
> $ sudo apt-get install python-nova
>
> Reading package lists... Done
>
> Building dependency tree   
>
> Reading state information... Done
>
> The following extra packages will be installed:
>
>   python-cinderclient python-cliff python-cmd2 python-novaclient
> python-paramiko
>
>   python-pyparsing python-quantumclient
>
> The following NEW packages will be installed:
>
>   python-cinderclient python-cliff python-cmd2 python-nova
> python-novaclient
>
>   python-paramiko python-pyparsing python-quantumclient
>
> 0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
>
> Need to get 3,121 kB/4,679 kB of archives.
>
> After this operation, 26.2 MB of additional disk space will be used.
>
> Do you want to continue [Y/n]? 
>
> Err 
> http://ubuntu-cloud.archive.canonical.com/ubuntu/precise-updates/folsom/main 
> python-nova all
> 2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0
>
>   404  Not Found
>
> Failed to fetch
> http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/n/nova/python-nova_2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0_all.deb
> 404  Not Found
>
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
>
>  
>
>  
>
>
> ___
> 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] 2012.2.1 missing several nova dependency packages.

2013-03-01 Thread Wyllys Ingersoll
Thank you, that explains the odd behavior, because I know these things were 
working for me the other day.

Now, after running "apt-get update" (again), I am able to get the latest 
package updates.

Thanks,
  Wyllys


From: openstack-bounces+wyllys.ingersoll=evault@lists.launchpad.net 
[mailto:openstack-bounces+wyllys.ingersoll=evault@lists.launchpad.net] On 
Behalf Of Adam Gandelman
Sent: Friday, March 01, 2013 2:54 PM
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] 2012.2.1 missing several nova dependency packages.

On 03/01/2013 11:42 AM, Wyllys Ingersoll wrote:
Im trying to install the nova packages from the Ubuntu 12.04 LTS folsom 
archives, but some of the required dependencies are no longer available.

My sources.list file has this entry:
deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main

If I remove that entry, I can get the 2012.1.3 release and it will work, but 
why is it not in the 2012.2.1 tree?

Thanks,
  Wyllys

$ sudo apt-get install python-nova
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  python-cinderclient python-cliff python-cmd2 python-novaclient python-paramiko
  python-pyparsing python-quantumclient
The following NEW packages will be installed:
  python-cinderclient python-cliff python-cmd2 python-nova python-novaclient
  python-paramiko python-pyparsing python-quantumclient
0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
Need to get 3,121 kB/4,679 kB of archives.
After this operation, 26.2 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Err http://ubuntu-cloud.archive.canonical.com/ubuntu/ 
precise-updates/folsom/main python-nova all 
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0
  404  Not Found
Failed to fetch 
http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/n/nova/python-nova_2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0_all.deb
  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?


An update (2012.2.1+stable-20121212-a99a802e-0ubuntu1.2~cloud0) was pushed out 
in the last few hours that supersedes (and expires) the package you're 
attempting to download.  Run apt-get update before installing and apt should 
pull the correct version. You might find 
http://status.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/folsom_versions.html
 useful in the future.

HTH,
Adam

___
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] Rebooted, now can't ping my guest

2013-03-01 Thread The King in Yellow
On Fri, Mar 1, 2013 at 10:11 AM, Sylvain Bauza
wrote:

>  There is a known bug for the network bridges, when rebooting :
> https://bugs.launchpad.net/quantum/+bug/1091605
>
> Try to delete/recreate your br-int/br-ex and then restart
> openvswitch_plugin/l3/dhcp agents, it should fix the issue.
>

Thanks!  Now, I can create a new instance, and that works.  My previous
instances don't work, however.  What do I need to do to get them reattached?


root@os-network:/var/log/quantum# ping 10.5.5.6
PING 10.5.5.6 (10.5.5.6) 56(84) bytes of data.
^C
--- 10.5.5.6 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1008ms

root@os-network:/var/log/quantum# ping 10.5.5.7
PING 10.5.5.7 (10.5.5.7) 56(84) bytes of data.
64 bytes from 10.5.5.7: icmp_req=1 ttl=64 time=2.13 ms
64 bytes from 10.5.5.7: icmp_req=2 ttl=64 time=1.69 ms
64 bytes from 10.5.5.7: icmp_req=3 ttl=64 time=1.93 ms
64 bytes from 10.5.5.7: icmp_req=4 ttl=64 time=1.01 ms
^C
--- 10.5.5.7 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 1.013/1.692/2.132/0.424 ms
root@os-network:/var/log/quantum#
___
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] provider:network_type=vlan problem

2013-03-01 Thread Sumit Naiksatam
Hi John,

This isn't just an issue with provider networks. Please check the
following bug for some history on this:
https://bugs.launchpad.net/nova/+bug/1039665

I can confirm that I do see the same behavior with the latest code.

Thanks,
~Sumit.

On Fri, Mar 1, 2013 at 11:19 AM, John Gruber  wrote:
> Some added color... The interfaces are defined in Quantum and they have MAC
> addresses generated... They just don't make it into the nova-compute
> generated libvirt.xml.  There seems to be other stuff missing to, like the
> bridge name. Is that supposed to be blank?
>
> From the nova-compute.log
>
> 2013-03-01 10:48:48 DEBUG nova.compute.manager
> [req-35d0301e-ef44-4151-bfc4-9be13202e9c9 de223767529242ac85635b3863f6154b
> 33c19bf6b3c848f2842465ee27ef835f] [instance:
> 1466c180-2e03-4479-9fdb-2fe16201b516]
>
> Instance network_info: |
>
> [
> VIF({'network': Network({'bridge': '', 'subnets': [], 'meta': {'injected':
> False, 'tenant_id': u'c035fb76ea664bd59e9f64405933f105'}, 'id':
> u'19af012e-fa1e-4fc2-aac8-7611ef33428b', 'label': u'VLAN4'}), 'meta': {},
> 'id': u'46f861de-6019-44cd-8835-a3044b2cac87', 'address':
> u'fa:16:3e:fc:95:21'}),
> VIF({'network': Network({'bridge': '', 'subnets': [], 'meta': {'injected':
> False, 'tenant_id': u'c035fb76ea664bd59e9f64405933f105'}, 'id':
> u'28310262-bcb3-43b9-8366-f31f5ac7a990', 'label': u'VLAN1'}), 'meta': {},
> 'id': u'8f17842d-2331-47de-bfad-6d6e5acd45f6', 'address':
> u'fa:16:3e:37:2b:d8'}),
> VIF({'network': Network({'bridge': '', 'subnets': [], 'meta': {'injected':
> False, 'tenant_id': u'c035fb76ea664bd59e9f64405933f105'}, 'id':
> u'788bd827-5ba1-4b0f-99b4-e98040c9730d', 'label': u'VLAN2'}), 'meta': {},
> 'id': u'721175a2-1021-4747-a7a1-1ef7a0ea92bb', 'address':
> u'fa:16:3e:12:ba:2b'}),
> VIF({'network': Network({'bridge': '', 'subnets': [], 'meta': {'injected':
> False, 'tenant_id': u'c035fb76ea664bd59e9f64405933f105'}, 'id':
> u'be859d44-1d16-4923-b33b-c5dc292cc68f', 'label': u'VLAN3'}), 'meta': {},
> 'id': u'c39065d4-729b-484b-bcff-e7fa06e1f814', 'address':
> u'fa:16:3e:70:54:a7'})
> ]
>
> | _allocate_network
> /usr/lib/python2.7/dist-packages/nova/compute/manager.py:719
>
> 2013-03-01 10:48:49 DEBUG nova.virt.libvirt.config
> [req-35d0301e-ef44-4151-bfc4-9be13202e9c9 de223767529242ac85635b3863f6154b
> 33c19bf6b3c848f2842465ee27ef835f] Generated XML 
>   1466c180-2e03-4479-9fdb-2fe16201b516
>   instance-000d
>   524288
>   1
>   
> hvm
> 
>   
>   
> 
>   
>   
> 
> 
>   
>   
>   
> 
>   
>   
>   
> 
> 
>   
> 
> 
> 
> 
>   
> 
>   to_xml /usr/lib/python2.7/dist-packages/nova/virt/libvirt/config.py:66
>
>
> John Gruber
>
>
> On Fri, Mar 1, 2013 at 12:58 PM, John Gruber 
> wrote:
>>
>> I'm installing nova and quantum in an environment where L3 routing and
>> DHCP are handled by other devices on a provider network for specific VLANs.
>> I don't want the service of the quantum-l3 or quantum-dhcp agents, as there
>> services are handled by external devices.
>>
>> Nova compute is setup to use:
>> libvirt_type=kvm
>> libvirt_ovs_bridge=br-int
>> libvirt_vif_type=ethernet
>> libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
>> libvirt_use_virtio_for_bridges=True
>>
>> I am using the OVS plugin for Quantum Folsom.  Here is the OVS section of
>> my ovs_quantum_plugin.ini file.
>>
>> [OVS]
>> tenant_network_type = vlan
>> network_vlan_ranges = physnet1:1:4,physnet1:60:64
>> bridge_mappings = physnet1:br-eth2
>>
>> The output of ovs-vsctl show looks like the following:
>>
>> efbab661-98dd-46b3-b5c1-e234c3afac8e
>> Bridge "br-eth2"
>> Port "phy-br-eth2"
>> Interface "phy-br-eth2"
>> Port "br-eth2"
>> Interface "br-eth2"
>> type: internal
>> Port "eth2"
>> Interface "eth2"
>> Bridge br-int
>> Port br-int
>> Interface br-int
>> type: internal
>> Port "int-br-eth2"
>> Interface "int-br-eth2"
>> ovs_version: "1.4.0+build0"
>>
>> Interface eth2 is a VLAN trunk.  I can manually create ports in OVS and
>> then add link and ip address for VLANs 1-4,60-64 verifying connectivity.
>>
>> I run the following commands to setup the logical network:
>>
>> quantum net-create VLAN1 --router:external=True --shared
>> --provider:network_type=vlan --provider:physical_network=physnet1
>> --provider:segmentation_id=1
>> quantum net-create VLAN2 --router:external=True --shared
>> --provider:network_type=vlan --provider:physical_network=physnet1
>> --provider:segmentation_id=2
>> quantum net-create VLAN3 --router:external=True --shared
>> --provider:network_type=vlan --provider:physical_network=physnet1
>> --provider:segmentation_id=3
>> quantum net-create VLAN4 --router:external=True --shared
>> --provider:network_type=vlan --provider:physical_network=physnet1 --
>> provider:segmentation_id=4
>>
>> quantum net-list show:
>>
>> +---

[Openstack] Best OpenStack+VMware starting point?

2013-03-01 Thread Brad Knowles
Folks,

So, we're trying to figure out what would be the best starting point for us to 
try to implement the combination of OpenStack+VMware.  I found the pages at [1] 
- [6] etc..., and thought that this would be a pretty simple process.  And then 
we ran into various bugs and other problems, such as [7], [8], and [9] as well 
as discovering some other pages that were a mix of being both helpful and a 
little confusing and self-contradictory, such as [10], [11], [12], and [13].  
This has been a week long process.

We're committed to testing Grizzly no matter what, and we're going to test with 
VMware no matter what, and I'm committed to doing my part to help get the 
documentation updated to properly support doing an installation of Grizzly (see 
[14]).

However, given our experience this past week, we're wondering what the best 
starting point would be for testing OpenStack+VMware, and what our chances are 
of getting a configuration that might be able to be considered "production 
ready" or at least "near production ready".

Am I correct in my feeling that grizzly-3 really is the best starting point 
right now?

Does anyone have any suggested starting points that may be able to help us get 
up and running more quickly on OpenStack+VMware?  Because the existing 
documentation on the VMware part seems to be a little self-contradictory and 
it's hard to know what really is the best and most current information.

Thanks!


[1] http://docs.openstack.org/folsom/openstack-compute/admin/content/vmware.html
[2] 
http://docs.openstack.org/folsom/openstack-compute/admin/content/hypervisor-configuration-basics.html
[3] 
http://docs.openstack.org/folsom/openstack-compute/admin/content/configuring-hypervisors.html
[4] https://wiki.openstack.org/wiki/VMware-vSphere-support
[5] http://www.vmware.com/products/vsphere-hypervisor/support.html
[6] https://bugs.launchpad.net/nova/+bug/1063885
[7] https://bugs.launchpad.net/nova/+bug/1065092
[8] https://bugs.launchpad.net/nova/+bug/1078668
[9] https://bugs.launchpad.net/horizon/+bug/1079882
[10] https://review.openstack.org/#/c/16497/
[11] http://www.slideshare.net/opencompute/vmware-nova-compute-driver
[12] 
http://www.slideshare.net/openstackindia/vmware-compute-driver-for-openstack
[13] https://blueprints.launchpad.net/nova/+spec/vmware-compute-driver
[14] https://bugs.launchpad.net/openstack-manuals/+bug/1133699

--
Brad Knowles 
Senior Consultant


___
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] Are the Python APIs public or internal?

2013-03-01 Thread David Kranz
The Tempest (QA) team certainly considers them to be public and we just 
started getting some contributions that are testing novaclient. In other 
work I am also a consumer of several of these APIs so I really hope they 
don't break.


 -David

On 3/1/2013 8:50 AM, Dolph Mathews wrote:
I believe they should certainly be treated as public API's -- just 
like any other library. I'd also treat them as stable if they've ever 
been included in a versioned release. That said, I'm sure it would be 
easy to find examples of methods & attributes within the library that 
are not intended to be consumed externally, but perhaps either the 
naming convention or documentation doesn't sufficiently indicate that.


In keysoneclient, we're making backwards incompatible changes in a new 
subpackage (keystoneclient.v3) while maintaing compatibility in the 
common client code. For example, you should always be able to 
initialize the client with a tenant_id / tenant_name, even though the 
client will soon be using project_id / project_name internally to 
reflect our revised lingo.



-Dolph


On Thu, Feb 28, 2013 at 11:07 PM, Lorin Hochstein 
mailto:lo...@nimbisservices.com>> wrote:


Here's an issue that came up in the operators doc sprint this week.

Let's say I wanted to write some Python scripts using the APIs
exposed by the python-*client packages. As a concrete example,
let's say I wrote a script that uses the keystone Python API
that's exposed in the python-keystoneclient package:


https://github.com/lorin/openstack-ansible/blob/master/playbooks/keystone/files/keystone-init.py

Are these APIs "public" or "stable"  in some meaningful way?
(i.e., can I count on this script still working across minor
release upgrades)? Or should they be treated like "internal" APIs
that could be changed at any time in the future? Or is this not
defined at all?

Lorin


___
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] [Nova] Right method to delete a tap interface

2013-03-01 Thread Chris Wright
* Edgar Magana (emag...@plumgrid.com) wrote:
> Hi Chris,
> 
> Well, which one should I invoke if  I am not using OVS nor LinuxBridge?
> Should I open a bug about having this method included in linux_net.py?
> 
> I can take care of adding that method.

I think you could move the opencoded ip link del to a tiny del_tap_dev
helper, replace the relevant opencoded callsites, and then also call
from your context.  Alternative would be to simply opencode it yourself.

thanks,
-chris

___
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] Possible keystone/common/controller.py Token Bug

2013-03-01 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Hello,

In trying to understand the Keystone Grizzly-3 release, I decided to add a 
service via a REST API call using an admin user's token instead of the admin 
token found in keystone.conf. When I do I get error:


Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1.g3-py2.7.egg/keystone/common/wsgi.py",
 line 231, in __call__
result = method(context, **params)
  File 
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1.g3-py2.7.egg/keystone/common/controller.py",
 line 66, in wrapper
context, kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1.g3-py2.7.egg/keystone/common/controller.py",
 line 32, in _build_policy_check_credentials
token_data = token_ref['token_data']
KeyError: 'token_data'
(access): 2013-03-01 13:53:26,754 INFO 15.253.58.148 - - [01/Mar/2013:21:53:26 
+] "POST http://15.253.58.165:35357/v3/services HTTP/1.0" 500 156
(eventlet.wsgi.server): 2013-03-01 13:53:26,755 DEBUG 15.253.58.148 - - 
[01/Mar/2013 13:53:26] "POST /v3/services HTTP/1.1" 500 328 0.020434


When I change line 32 in the file from "token_data = token_ref['token_data']" 
to "token_data = token_ref", the code appears to work.


def _build_policy_check_credentials(self, action, context, kwargs):

LOG.debug(_('RBAC: Authorizing %s(%s)') % (
action,
', '.join(['%s=%s' % (k, kwargs[k]) for k in kwargs])))

try:
token_ref = self.token_api.get_token(
context=context, token_id=context['token_id'])
except exception.TokenNotFound:
LOG.warning(_('RBAC: Invalid token'))
raise exception.Unauthorized()

creds = {}

#   token_data = token_ref['token_data']
token_data = token_ref


So my question is do I need to have "token_data" in the token table somehow or 
is this a code bug?

Regards,

Mark Miller
___
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 Community Weekly Newsletter (Feb 22 - Mar 1)

2013-03-01 Thread Stefano Maffulli


   Highlights of the week


 Important CLA changes coming this weekend (2nd try)
 

Last weekend the change was blocked at the last minute by a request to 
amend the CLA text. We're trying again this weekend.


Starting on March 3, 2013 1700UTC all contributors MUST review and agree 
to the new OpenStack Individual Contributor License Agreement and 
provide updated contact information at 
https://review.openstack.org/#/settings/agreements. On that day the 
Gerrit interface will be changing to present the new CLA text referring 
to the OpenStack Foundation, and will prompt you to agree to it there. 
Any previous agreement with OpenStack LLC will be marked expired at that 
time. The text of the new agreement is available for your convenience 
. You must also sign up 
for an OpenStack Foundation Individual Membership with the same E-mail 
address as used for your Gerrit contact information: 
http://openstack.org/register/.



 What's new in OpenStack Grizzly ?
 

Folsom brought us two new core projects : Quantum 
 (Networking) and Cinder 
 (Volumes). Two new projects 
have been incubated : Ceilometer 
 (metering) led by Nicolas 
Barcet  (VP Products at eNovance), 
and Heat  (Cloud Orchestration). 
Oslo  is a new incubated project 
which produces a set of python libraries containing infrastructure code 
shared by all OpenStack projects. More details for each OpenStack 
project on this post by eNovance.



 OpenStack Ceilometer and Heat projects graduated
 

The OpenStack Technical Committee 
 have voted 
these last weeks about graduation of Heat  
and Ceilometer , to change their status 
from /incubation/ to /integrated/*. *Heat and Ceilometer will be 
released as part as OpenStack for the next release cycle /Havana/, due 
in October 2013.



 **Raspberry Pi as a transparent squid caching proxy*
 
*

How does a hacker improve build times when he has a slow Internet 
connection? A fascinating use of a tiny sub-$50 computer (RaspberryPi) 
to build cloud images for OpenStack. By Steve Baker 




 **Data placement in OpenStack Object Storage Swift*
 *

Technical deep dive in how OpenStack Object Storage solves one of the 
hard problems of all distributed storage system: how to effectively 
place the data within the storage cluster. Swift has a 
"unique-as-possible" placement algorithm which ensures that the data is 
placed efficiently and with as much protection from hardware failure as 
possible.



 **The life of an OpenStack libvirt image*
 *

The main stages of a Virtual Machine disk image as it transfers through 
OpenStack to be booted under libvirt explained by Pádraig Brady 
.



   Security Advisories

 * OSSA-2013-006] VNC proxy can connect to the wrong VM (CVE-2013-0335)
   



   Tips and Tricks

 * By Daniel P. Berrangé : Installing a 4
   node Fedora 18 OpenStack Folsom cluster with PackStack
   

 * By Victoria Martínez de la Cruz :
   Attention newcomers! #openstack-101 is now open at Freenode
   

 * By Anita Kuno : The Structure and Habits of
   Git
   
 * By Andreas Jaeger
   :
   Coordinating efforts to create OpenStack packages for openSUSE and
   SUSE Linux Enterprise Server
   


   Upcoming Events

 * OpenStack Sessions @ Barcamp Bangalore13
    Mar 02, 2013 --
   Bangalore, India Details 
 * Pulse Open Cloud Summit
   
Mar
   03, 2013 -- MGM Grand in

Re: [Openstack] Possible keystone/common/controller.py Token Bug

2013-03-01 Thread Dolph Mathews
Looks like a valid bug to me -- this code just merged a week ago.

How did you create the token? I'm guessing it was generated by v2 and
utilized here on v3?


-Dolph


On Fri, Mar 1, 2013 at 5:03 PM, Miller, Mark M (EB SW Cloud - R&D -
Corvallis)  wrote:

>  Hello,
>
> ** **
>
> In trying to understand the Keystone Grizzly-3 release, I decided to add a
> service via a REST API call using an admin user’s token instead of the
> admin token found in keystone.conf. When I do I get error:
>
> ** **
>
> ** **
>
> Traceback (most recent call last):
>
>   File
> "/usr/local/lib/python2.7/dist-packages/keystone-2013.1.g3-py2.7.egg/keystone/common/wsgi.py",
> line 231, in __call__
>
> result = method(context, **params)
>
>   File
> "/usr/local/lib/python2.7/dist-packages/keystone-2013.1.g3-py2.7.egg/keystone/common/controller.py",
> line 66, in wrapper
>
> context, kwargs)
>
>   File
> "/usr/local/lib/python2.7/dist-packages/keystone-2013.1.g3-py2.7.egg/keystone/common/controller.py",
> line 32, in _build_policy_check_credentials
>
> token_data = token_ref['token_data']
>
> KeyError: 'token_data'
>
> (access): 2013-03-01 13:53:26,754 INFO 15.253.58.148 - -
> [01/Mar/2013:21:53:26 +] "POST 
> http://15.253.58.165:35357/v3/servicesHTTP/1.0"; 500 156
> 
>
> (eventlet.wsgi.server): 2013-03-01 13:53:26,755 DEBUG 15.253.58.148 - -
> [01/Mar/2013 13:53:26] "POST /v3/services HTTP/1.1" 500 328 0.020434
>
> ** **
>
> ** **
>
> When I change line 32 in the file from “token_data =
> token_ref['token_data']” to “token_data = token_ref”, the code appears to
> work.
>
> ** **
>
> ** **
>
> def _build_policy_check_credentials(self, action, context, kwargs):
>
> ** **
>
> LOG.debug(_('RBAC: Authorizing %s(%s)') % (
>
> action,
>
> ', '.join(['%s=%s' % (k, kwargs[k]) for k in kwargs])))
>
> ** **
>
> try:
>
> token_ref = self.token_api.get_token(
>
> context=context, token_id=context['token_id'])
>
> except exception.TokenNotFound:
>
> LOG.warning(_('RBAC: Invalid token'))
>
> raise exception.Unauthorized()
>
> ** **
>
> creds = {}
>
> ** **
>
> #   token_data = token_ref['token_data']
>
> token_data = token_ref
>
> ** **
>
> ** **
>
> So my question is do I need to have “token_data” in the token table
> somehow or is this a code bug?
>
> ** **
>
> Regards,
>
>
> Mark Miller
>
> ___
> 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] Possible keystone/common/controller.py Token Bug

2013-03-01 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
You are correct. I am trying to see if our previous code built around v2.0 
works with v3. I have been using the v3 REST APIs to put entries into the 
keystone database and then am running my regression tests using v2.0 REST 
calls. We will be moving fully to v3, but for now I have a lot of people asking 
about compatibility.

Mark

From: Dolph Mathews [mailto:dolph.math...@gmail.com]
Sent: Friday, March 01, 2013 4:46 PM
To: Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Cc: openstack@lists.launchpad.net (openstack@lists.launchpad.net); Yee, Guang
Subject: Re: [Openstack] Possible keystone/common/controller.py Token Bug

Looks like a valid bug to me -- this code just merged a week ago.

How did you create the token? I'm guessing it was generated by v2 and utilized 
here on v3?


-Dolph

On Fri, Mar 1, 2013 at 5:03 PM, Miller, Mark M (EB SW Cloud - R&D - Corvallis) 
mailto:mark.m.mil...@hp.com>> wrote:
Hello,

In trying to understand the Keystone Grizzly-3 release, I decided to add a 
service via a REST API call using an admin user's token instead of the admin 
token found in keystone.conf. When I do I get error:


Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1.g3-py2.7.egg/keystone/common/wsgi.py",
 line 231, in __call__
result = method(context, **params)
  File 
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1.g3-py2.7.egg/keystone/common/controller.py",
 line 66, in wrapper
context, kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/keystone-2013.1.g3-py2.7.egg/keystone/common/controller.py",
 line 32, in _build_policy_check_credentials
token_data = token_ref['token_data']
KeyError: 'token_data'
(access): 2013-03-01 13:53:26,754 INFO 15.253.58.148 - - [01/Mar/2013:21:53:26 
+] "POST http://15.253.58.165:35357/v3/services HTTP/1.0" 500 156
(eventlet.wsgi.server): 2013-03-01 13:53:26,755 DEBUG 15.253.58.148 - - 
[01/Mar/2013 13:53:26] "POST /v3/services HTTP/1.1" 500 328 0.020434


When I change line 32 in the file from "token_data = token_ref['token_data']" 
to "token_data = token_ref", the code appears to work.


def _build_policy_check_credentials(self, action, context, kwargs):

LOG.debug(_('RBAC: Authorizing %s(%s)') % (
action,
', '.join(['%s=%s' % (k, kwargs[k]) for k in kwargs])))

try:
token_ref = self.token_api.get_token(
context=context, token_id=context['token_id'])
except exception.TokenNotFound:
LOG.warning(_('RBAC: Invalid token'))
raise exception.Unauthorized()

creds = {}

#   token_data = token_ref['token_data']
token_data = token_ref


So my question is do I need to have "token_data" in the token table somehow or 
is this a code bug?

Regards,

Mark Miller

___
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] Are the Python APIs public or internal?

2013-03-01 Thread Daryl Walleck
I certainly use them daily. I actually use an interesting wrapper called 
Supernova (http://rackerhacker.github.com/supernova/) which allows for 
multi-user/multi-environment configurations. While the clients may not be as 
critical as the APIs themselves, they're something I certainly rely on heavily.

Daryl

From: openstack-bounces+daryl.walleck=rackspace@lists.launchpad.net 
[openstack-bounces+daryl.walleck=rackspace@lists.launchpad.net] on behalf 
of David Kranz [david.kr...@qrclab.com]
Sent: Friday, March 01, 2013 3:36 PM
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] Are the Python APIs public or internal?

The Tempest (QA) team certainly considers them to be public and we just started 
getting some contributions that are testing novaclient. In other work I am also 
a consumer of several of these APIs so I really hope they don't break.

 -David

On 3/1/2013 8:50 AM, Dolph Mathews wrote:
I believe they should certainly be treated as public API's -- just like any 
other library. I'd also treat them as stable if they've ever been included in a 
versioned release. That said, I'm sure it would be easy to find examples of 
methods & attributes within the library that are not intended to be consumed 
externally, but perhaps either the naming convention or documentation doesn't 
sufficiently indicate that.

In keysoneclient, we're making backwards incompatible changes in a new 
subpackage (keystoneclient.v3) while maintaing compatibility in the common 
client code. For example, you should always be able to initialize the client 
with a tenant_id / tenant_name, even though the client will soon be using 
project_id / project_name internally to reflect our revised lingo.


-Dolph


On Thu, Feb 28, 2013 at 11:07 PM, Lorin Hochstein 
mailto:lo...@nimbisservices.com>> wrote:
Here's an issue that came up in the operators doc sprint this week.

Let's say I wanted to write some Python scripts using the APIs exposed by the 
python-*client packages. As a concrete example, let's say I wrote a script that 
uses the keystone Python API that's exposed in the python-keystoneclient 
package:

https://github.com/lorin/openstack-ansible/blob/master/playbooks/keystone/files/keystone-init.py

Are these APIs "public" or "stable"  in some meaningful way? (i.e., can I count 
on this script still working across minor release upgrades)? Or should they be 
treated like "internal" APIs that could be changed at any time in the future? 
Or is this not defined at all?

Lorin


___
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] Best OpenStack+VMware starting point?

2013-03-01 Thread Frans Thamura
Hi brad

Can get the binary and the example

We are now helping 2 vsphere cloud based provider

Also to understand vmware and openstack.integration.

My mind said both a compete product.

Frans Thamura
Meruvian
Integrated Hypermedia Solution Provider
On Mar 2, 2013 4:39 AM, "Brad Knowles"  wrote:

> Folks,
>
> So, we're trying to figure out what would be the best starting point for
> us to try to implement the combination of OpenStack+VMware.  I found the
> pages at [1] - [6] etc..., and thought that this would be a pretty simple
> process.  And then we ran into various bugs and other problems, such as
> [7], [8], and [9] as well as discovering some other pages that were a mix
> of being both helpful and a little confusing and self-contradictory, such
> as [10], [11], [12], and [13].  This has been a week long process.
>
> We're committed to testing Grizzly no matter what, and we're going to test
> with VMware no matter what, and I'm committed to doing my part to help get
> the documentation updated to properly support doing an installation of
> Grizzly (see [14]).
>
> However, given our experience this past week, we're wondering what the
> best starting point would be for testing OpenStack+VMware, and what our
> chances are of getting a configuration that might be able to be considered
> "production ready" or at least "near production ready".
>
> Am I correct in my feeling that grizzly-3 really is the best starting
> point right now?
>
> Does anyone have any suggested starting points that may be able to help us
> get up and running more quickly on OpenStack+VMware?  Because the existing
> documentation on the VMware part seems to be a little self-contradictory
> and it's hard to know what really is the best and most current information.
>
> Thanks!
>
>
> [1]
> http://docs.openstack.org/folsom/openstack-compute/admin/content/vmware.html
> [2]
> http://docs.openstack.org/folsom/openstack-compute/admin/content/hypervisor-configuration-basics.html
> [3]
> http://docs.openstack.org/folsom/openstack-compute/admin/content/configuring-hypervisors.html
> [4] https://wiki.openstack.org/wiki/VMware-vSphere-support
> [5] http://www.vmware.com/products/vsphere-hypervisor/support.html
> [6] https://bugs.launchpad.net/nova/+bug/1063885
> [7] https://bugs.launchpad.net/nova/+bug/1065092
> [8] https://bugs.launchpad.net/nova/+bug/1078668
> [9] https://bugs.launchpad.net/horizon/+bug/1079882
> [10] https://review.openstack.org/#/c/16497/
> [11] http://www.slideshare.net/opencompute/vmware-nova-compute-driver
> [12]
> http://www.slideshare.net/openstackindia/vmware-compute-driver-for-openstack
> [13] https://blueprints.launchpad.net/nova/+spec/vmware-compute-driver
> [14] https://bugs.launchpad.net/openstack-manuals/+bug/1133699
>
> --
> Brad Knowles 
> Senior Consultant
>
>
> ___
> 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][Swift][keystone]: swift-init proxy start failed

2013-03-01 Thread Tao, Dao (David, ISS-MSL-SH)
Hi, Experts

Could someone give me a help on below issue when I start swift proxy service.  
Is something wrong with the config.
Thanks in advance.

root@folsom-storage:/etc/swift# swift-init proxy start
Starting proxy-server...(/etc/swift/proxy-server.conf)
Traceback (most recent call last):
  File "/usr/bin/swift-proxy-server", line 22, in 
run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 138, in 
run_wsgi
loadapp('config:%s' % conf_file, global_conf={'log_name': log_name})
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, 
in loadapp
return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, 
in loadobj
return context.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, 
in create
return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 207, 
in invoke
app = filter(app)
  File "/usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py", 
line 815, in auth_filter
return AuthProtocol(app, conf)
  File "/usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py", 
line 219, in __init__
os.makedirs(self.signing_dirname)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/root/keystone-signing'


root@folsom-storage:/etc/swift# vi proxy-server.conf
[DEFAULT]
bind_port = 8080
user = swift

[pipeline:main]
pipeline = healthcheck cache authtoken keystone proxy-server

[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
account_autocreate = true

[filter:keystone]
paste.filter_factory = keystone.middleware.swift_auth:filter_factory
operator_roles = Member,admin, swiftoperator

[filter:authtoken]
paste.filter_factory = keystone.middleware.auth_token:filter_factory
# Delaying the auth decision is required to support token-less
# usage for anonymous referrers ('.r:*').
delay_auth_decision = 10
service_port = 5000
service_host = 192.168.0.1
auth_port = 35357
auth_host = 192.168.0.1
auth_protocol = http
auth_uri = http://192.168.0.1:5000/
auth_token = password
admin_token = password
admin_tenant_name = service
admin_user = swift
admin_password = swift

[filter:cache]
use = egg:swift#memcache
set log_name = cache

[filter:catch_errors]
use = egg:swift#catch_errors

[filter:healthcheck]
use = egg:swift#healthcheck

Keystone is configured on 192.168.0.1:
keystone endpoint-list
+--+---+--+---+--+
|id|   region  |publicurl   
  |  internalurl  | 
adminurl |
+--+---+--+---+--+
| 0621ace42619443d9d66a717dc41f6ea | RegionOne |  
http://192.168.0.1:8773/services/Cloud  | 
http://192.168.0.1:8773/services/Cloud|  
http://192.168.0.1:8773/services/Admin  |
| 4a7f461a0de44a0a850cc681e4584318 | RegionOne | 
http://192.168.0.1:8774/v2/$(tenant_id)s |
http://192.168.0.1:8774/v2/$(tenant_id)s   | 
http://192.168.0.1:8774/v2/$(tenant_id)s |
| 4f941d8ce5be494896e27a1511527ff4 | RegionOne | 
http://192.168.0.4:8080/v1/AUTH_$(tenant_id)s | 
http://192.168.0.4:8080/v1/AUTH_$(tenant_id)s |
http://192.168.0.1:8080/v1|
| 5f431e96bc4140a086e45757165e3f58 | RegionOne |   
http://192.168.0.1:5000/v2.0   |  http://192.168.0.1:5000/v2.0  
   |  http://192.168.0.1:35357/v2.0   |
| 75fe8e7e5f2c43a2b46b596266688390 | RegionOne |
http://192.168.0.1:9292/v2|   http://192.168.0.1:9292/v2
  |http://192.168.0.1:9292/v2|
| 9c0d4921854d48209b0c84109536fddc | RegionOne | 
http://192.168.0.1:9696/ |http://192.168.0.1:9696/  
 | http://192.168.0.1:9696/ |
| c09985140ef14472afdfe3b9e4cb7c60 | RegionOne | 
http://192.168.0.1:8776/v1/$(tenant_id)s |
http://192.168.0.1:8776/v1/$(tenant_id)s   | 
http://192.168.0.1:8776/v1/$(tenant_id)s |
| cd22ee5a9b23443d9c28e8ce38729617 | RegionOne | 
http://192.168.0.1:9696/ |http://192.168.0.1:9696/  
 | http://192.168.0.1:9696/ |
+--+---+--+---+--+

root@folsom-controller:/etc/keystone# cat keystone.conf
[DEFAULT]
# A "shared secret"

[Openstack] [Swift] Define storage size for specified tenant/user

2013-03-01 Thread jeffty
Hi All,

I can upload/download in swift by execute 'swift upload' and 'swift
download'. Is it possible to create storage and define its size for a
specified tenant/user without providing any instance?

Then the user can upload/download his own files in swift and don't need
to own an vm instance.

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