Re: [Openstack] Issues with latests trunk

2013-03-21 Thread Tyler North
Dolph, I changed the /etc/keystone/keystone.conf file as you suggested, the
line looks like:
[sql]
connection = mysql://root:password@localhost/keystone?charset=utf8

I changed this to:
connection = mysql://

However when I run ./stack.sh the file reverts back to the original text,
with devstack giving me the same error


On Tue, Mar 19, 2013 at 7:58 PM, Dolph Mathews wrote:

> What is the protocol of your sql connection string in keystone.conf?
> mysql+mysqldb:// ? If so, try changing it to just mysql:// which I think
> will match what python-mysql installs.
>
>   http://docs.sqlalchemy.org/en/rel_0_7/core/engines.html#database-urls
>
>
> -Dolph
>
>
> On Tue, Mar 19, 2013 at 6:17 PM, Tyler North wrote:
>
>> Avinash, thank you for your response. The python-mysql adapter was
>> installed on the machine, I just tried updating it but still got the same
>> error
>>
>>
>>
>> On Tue, Mar 12, 2013 at 9:29 PM, Prasad, Avinash <
>> avinash.pra...@nttdata.com> wrote:
>>
>>>  Hi,
>>> Is the MySQL adapter for python isntalled in your machine. Because the
>>> error corresponds to th unavailability of the MySQLdb adapter.
>>>
>>> Kindly have a look into that.
>>>
>>> Regards,
>>> Avinash
>>>  --
>>> *From:* 
>>> openstack-bounces+avinash.prasad=nttdata@lists.launchpad.net[openstack-bounces+avinash.prasad=
>>> nttdata@lists.launchpad.net] on behalf of Tyler North [
>>> tyl...@pistoncloud.com]
>>> *Sent:* Tuesday, March 12, 2013 6:05 PM
>>> *To:* openstack@lists.launchpad.net
>>> *Subject:* [Openstack] Issues with latests trunk
>>>
>>>   Hey everyone,
>>>
>>>  I'm trying to run the latest version of devstack-trunk( latest commit
>>> on git log is: 87387596631602b5f676eae65823b4f0c5c71e66a).
>>>
>>>  Im running it currently on Ubuntu 12.04 and whenever I run ./stack.sh
>>> I get the following error:
>>>
>>>
>>> Unable to communicate with identity service: {"error": {"message": "An
>>> unexpected error prevented the server from fulfilling your request. No
>>> module named MySQLdb", "code": 500, "title": "Internal Server Error"}}.
>>> (HTTP 500)
>>> + KEYSTONE_SERVICE=
>>> + keystone endpoint-create --region RegionOne --service_id --publicurl
>>> http://10.1.10.231:5000/v2.0 --adminurl 
>>> http://10.1.10.231:35357/v2.0--internalurl
>>> http://10.1.10.231:5000/v2.0
>>> usage: keystone endpoint-create [--region ] --service-id
>>>  [--publicurl ]
>>> [--adminurl ]
>>> [--internalurl ]
>>> keystone endpoint-create: error: argument --service-id/--service_id:
>>> expected one argument
>>>
>>>
>>>  Any help as to where to look for /solve the problem would be
>>> appreciated
>>>
>>> Thanks
>>>  Tyler
>>>
>>> __
>>> Disclaimer:This email and any attachments are sent in strictest
>>> confidence for the sole use of the addressee and may contain legally
>>> privileged, confidential, and proprietary data. If you are not the intended
>>> recipient, please advise the sender by replying promptly to this email and
>>> then delete and destroy this email and any attachments without any further
>>> use, copying or forwarding
>>>
>>
>>
>> ___
>> 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] DNS options for nova

2013-03-21 Thread Michael Still
Hi.

I've been playing with the DNS drivers in nova recently, and I'm
trying to decide if anyone actually uses it. The only driver in the
codebase that looks useful a the moment is the LDAP backed DNS driver
that Wikimedia wrote.

There's also stackforge project called Moniker which implements DNS as
a service, but its a lot more complicated that the nova DNS driver
(multiple daemons, a database, message queues).

So... Do you use the nova DNS drivers? Would you be filled with rage
if I deleted them?

On the flip side, would you use a TSIG dyndns driver if I added it to
nova? What if I moved the DNS driver layer to the compute manger in
nova so that it worked as well with Quantum?

Or are you using Moniker? If so, what do you think of it? Or does
Quantum have a solution to this that I should be looking at?

Thanks,
Michael

___
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] [EHO] Publishing our first screencast!

2013-03-21 Thread John van Ommen
Great video.

I know that OpenStack does baremetal
(http://www.mirantis.com/blog/bare-metal-provisioning-with-openstack-cloud/);

Is it possible to do this on bare metal servers instead of VMs?

John

On Thu, Mar 21, 2013 at 12:46 PM, Dmitry Mescheryakov
 wrote:
> Hello folks,
>
> We've prepared a screencast demonstrating proof-of-concept
> implementation of Hadoop cluster provisioning:
> http://www.youtube.com/watch?v=UUt2gqGHcPg
>
> And by the way, it is the first time we're showing our Horizon-based
> UI in action!
>
> You may find more info at http://eho.mirantis.com
>
> Dmitry
>
> ___
> 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] Dashboard gone - Internal Server Error

2013-03-21 Thread Martinx - ジェームズ
Tks Sandeep!

But my Dashboard isn't working with `COMPRESS_OFFLINE = False'... With or
without the Ubuntu theme...

Anyway, I'll wait for new packages.

Best,
Thiago


On 21 March 2013 06:46, Sandeep Raman  wrote:

> With Ubuntu theme and COMPRESS_OFFLINE = False it works.
> With default theme and COMPRESS_OFFLINE = False it works, however the UI
> format is shabby because the tags {% compress js %} and {% endcompress %}
> is removed from _scripts.html.
>
> On Thu, Mar 21, 2013 at 11:28 AM, Martinx - ジェームズ <
> thiagocmarti...@gmail.com> wrote:
>
>> Ah! Okay! Tks!!!
>>
>>
>> On 21 March 2013 02:43, Sandeep Raman  wrote:
>>
>>> Please remember the bug link i provided in another email. It seems to be
>>> a packaging bug. The Ubuntu theme with COMPRESS section disabled [per the
>>> bug response] works.
>>>
>>> I'm currently installing RC1 bits on Raring. I'll post back the
>>> experience with dashboard.
>>>
>>> On Thu, Mar 21, 2013 at 10:51 AM, Martinx - ジェームズ <
>>> thiagocmarti...@gmail.com> wrote:
>>>
 Oops!

 I just did:

 aptitude purge openstack-dashboard-ubuntu-theme
 #2013.1+git201303201651~precise-0ubuntu1

 ..and the "Internal Server Error" message disapear... But, Dashboard
 still doesn't work...

 A new error page appear now:

 ---
  Something went wrong!

 An unexpected error has occurred. Try refreshing the page. If that
 doesn't help, contact your local administrator.

 Home 

 Help 
  ---

 Apache2 error.log doesn't show anything more.

 Tks,
 Thiago


 On 20 March 2013 21:28, Martinx - ジェームズ wrote:

> Guys,
>
>  Of of nothing, my Dashboard
> (1:2013.1+git201303201651~precise-0ubuntu1) gives "Internal Server Error".
>
>  Apache error.log contains:
>
>  http://paste.openstack.org/show/34196/
>
>  I'm running:
>
>  cd /usr/share/openstack-dashboard
>  python manage.py compress
>  service apache2 restart
>
>  ...but the problem just sat here and don't go away.
>
> I'm using Ubuntu 12.04.2 with Grizzly G3+RC1 from PPA.
>
> Help!
>
> Tks,
> Thiago
>


 ___
 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] [EHO] Publishing our first screencast!

2013-03-21 Thread Dmitry Mescheryakov
Hello folks,

We've prepared a screencast demonstrating proof-of-concept
implementation of Hadoop cluster provisioning:
http://www.youtube.com/watch?v=UUt2gqGHcPg

And by the way, it is the first time we're showing our Horizon-based
UI in action!

You may find more info at http://eho.mirantis.com

Dmitry

___
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] Weekly EHO meeting

2013-03-21 Thread Sergey Lukjanov
Hello community, 

Today there will be our second weekly community meeting about EHO at 18:00 UTC 
on our irc channel #eho at freenode.

Come along.

--
Sergey Lukjanov
Mirantis Inc.
___
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] Technical Committee Nominations are Open

2013-03-21 Thread Thierry Carrez
Monty Taylor wrote:
> Now that the TC elections have ended, we now have three at-large seats open.
> 
> https://wiki.openstack.org/wiki/TC_Elections_Spring_2013
> 
> Mar 15 - 21: Open candidacy to directly-elected TC positions

Reminder: Just a few hours left to self-nominate yourself !

-- 
Thierry Carrez (ttx)
Chair, OpenStack Technical Committee

___
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] Compute endpoint auth problem.

2013-03-21 Thread Vishvananda Ishaya
Try nova --debug --os-region-name RegionTwo image-list and see where it is 
connecting. I guess you have another typo.

Btw, in the future the dev list is not the right place for these questions.

Should be done on openstack@lists.launchpad.net

Vish
On Mar 21, 2013, at 9:34 AM, "Wainer, Gabriel (Brazil R&D-ECL)" 
 wrote:

> Thanks for the heads up Ishaya. I was messing with the tenant_id. I have 
> changed to use the '$(tenant_id)s' and now seems to be correct!
> 
> 
> root@regions:~# nova --os-region-name RegionTwo image-list
> ERROR: ConnectionRefused: '[Errno 111] Connection refused'
> 
> I know it's a generic error, but do you have any clue?
> 
> Thanks again,
> Gabriel.
> 
> 
> -Original Message-
> From: Vishvananda Ishaya [mailto:vishvana...@gmail.com] 
> Sent: quinta-feira, 21 de março de 2013 12:55
> To: OpenStack Development Mailing List
> Subject: Re: [openstack-dev] Compute endpoint auth problem.
> 
> Your endpoint is wrong in region two.
> 
> It looks like you hardcoded admin as the tenant_id in region two which is 
> never correct. Tenant_id
> in keystone is usually a long uuid string without dashes.
> 
> You likely need to replace the '8774' with $(compute_port)s and the 'admin' 
> with '$(tenant_id)s'
> 
> Vish
> 
> On Mar 21, 2013, at 6:45 AM, "Wainer, Gabriel (Brazil R&D-ECL)" 
>  wrote:
> 
>> Hello folks,
>> 
>> I'm playing with multiple endpoints for the same service, and I want to call 
>> nova for different compute endpoints but I'm having a hard time figuring out 
>> the credentials needed to make it work.
>> 
>> I have two devstacks running and  I'm using  one keystone having both 
>> compute endpoints in the catalog. Below are the catalog entries for them. I 
>> suppressed other entries to improve readability:
>> 
>> $ keystone endpoint-list
>> 
>> Id   | 5824302b5b844e5a8e90b236c96fc3f4 
>> region   | RegionOne
>> publicURL| http://172.16.101.239:$(compute_port)s/v2/$(tenant_id)s 
>> internalURL  | http://172.16.101.239:$(compute_port)s/v2/$(tenant_id)s 
>> adminURL | http://172.16.101.239:$(compute_port)s/v2/$(tenant_id)s 
>> service_id   | 8ae8f03c2e1f452cb22e6a7acf70480f |
>> 
>> 
>> Id   | 6a3e1123d2924048acec4bd06009413e 
>> region   | RegionTwo 
>> publicURL| http://172.16.103.231:8774/v2/admin  
>> internalURL  | http://172.16.103.231:8774/v2/admin   
>> adminURL | http://172.16.103.231:8774/v2/admin   
>> service_id   | 8ae8f03c2e1f452cb22e6a7acf70480f |
>> 
>> So in this case the RegionOne endpoint works as seen below:
>> 
>> stack@regions:/opt/stack/devstack$ nova --os-region-name RegionOne image-list
>> +--+-+++
>> | ID   | Name| 
>> Status | Server |
>> +--+-+++
>> | 17a7ea2a-fc47-4d06-8879-3fd7b707e4e2 | cirros-0.3.0-x86_64-uec | 
>> ACTIVE ||
>> | 4fe2aae8-1b72-41b2-87c5-493834b427d4 | cirros-0.3.0-x86_64-uec-kernel  | 
>> ACTIVE ||
>> | 22415a33-c20c-4f67-b0a3-5e56ee984e06 | cirros-0.3.0-x86_64-uec-ramdisk | 
>> ACTIVE ||
>> +--+-+++
>> 
>> But using the RegionTwo gives me a http 401:
>> 
>> stack@regions:/opt/stack/devstack$ nova --os-region-name RegionTwo image-list
>> ERROR: n/a (HTTP 401)
>> 
>> 
>> I noticed that the working endpoint is the one from the devstack install 
>> which I am using the keystone.
>> 
>> Any ideas? I think it is related to nova's api-paste.ini [filter:authtoken] 
>> config.
>> 
>> Thanks,
>> Gabriel.
>> 
>> ___
>> OpenStack-dev mailing list
>> openstack-...@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> ___
> OpenStack-dev mailing list
> openstack-...@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> ___
> 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] Assigning specific networks while creating instances using nova REST API in Folsom - SOLVED

2013-03-21 Thread Balamurugan V G
Looking in to
/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py gave
some insights and found that the API can take a parameter 'networks' as
shown below:

curl  -X 'POST'
http://1.1.1.1:8774/v2/4a8c3029619e4afbaa39f85fcd121003/servers -d '{
"server": { "flavorRef": "6", "imageRef":
"dd13a38c-3e1f-49f1-afbe-c6f62cd46ffb", "name": "test4", "*networks*": [{"*
uuid*": "02016649-f9a6-4623-b82f-f5a2c95d2b7a"}, {"*uuid*":
"4784ed46-7f09-4e57-b279-e65529442bd5"}] } }' -H 'Accept: application/json'
-H "X-Auth-Token: 7738bc36849f4b35bd4623e50b249ff3" -H 'Content-type:
application/json'

This associated the desired networks in the order specified, exactly what I
wanted.

Wish this has been documented. I'll file a documentation bug.

Regards,
Balu


On Thu, Mar 21, 2013 at 9:00 PM, Balamurugan V G wrote:

> Hi,
>
> I have a Folsom 2012.2 with Quantum and trying to create the instances
> using the REST API as below:
>
> curl  -X 'POST'
> http://1.1.1.1:8774/v2/4a8c3029619e4afbaa39f85fcd121003/servers -d '{
> "server": { "flavorRef": "6", "imageRef":
> "dd13a38c-3e1f-49f1-afbe-c6f62cd46ffb", "name": "test" } }' -H 'Accept:
> application/json' -H "X-Auth-Token: 1b5f64418cdf4a99a79aada03621cfa9" -H
> 'Content-type: application/json'
>
> But this assigns the instance to all networks available for the tenant. So
> if I have multiple networks for a tenant, how do I assign the instance to
> specific networks. I am referring to the documentation at
> http://docs.openstack.org/api/openstack-compute/2/content/CreateServers.htmlbut
>  do not see anything for this.
>
> I can achieve this using CLI but I need to use the REST API to achieve the
> same.
>
> Is this not implemented in Folsom? If so, would it be implemented in
> Grizzly?
>
> Thanks,
> Balu
>
___
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] DHCP lease not accepted when libvirt_use_virtio_for_bridges=true

2013-03-21 Thread Vishvananda Ishaya
Well phooey:

 987 if network_ref['multi_host']:
 988 _add_dhcp_mangle_rule(dev)

The mangle rule is only added my nova-network in multihost mode.

Can you verify whether or not adding the rule on the compute or network node 
fixes it?

That way we can either remove the check on multi_host or add it in plug_vif on 
the
compute host.

BTW:

> iptables -D POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM 
> --checksum-fill


that should be -A not -D

Vish

On Mar 20, 2013, at 1:43 PM, Lorin Hochstein  wrote:

> 
> On Wed, Mar 20, 2013 at 4:15 PM, Nathanael Burton 
>  wrote:
> On Wed, Mar 20, 2013 at 3:51 PM, Lorin Hochstein  
> wrote:
> I'm doing a Folsom deployment with FlatDHCP (not multihost).
> 
> When I try to boot a quantal image, the instance doesn't pick up the DHCP 
> lease. I've confirmed that dnsmasq is sending out the DHCPOFFER, and I can 
> see by tcpdump on the compute host that the DHCP packets are making it to the 
> vnet0 interface.
> 
> 
> Note that I tried adding this iptables rule as mentioned here 
> , 
> but that didn't resolve it.
> 
> iptables -D POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM 
> --checksum-fill
> 
> 
> 
> However, the problem goes away if I change this setting on the compute hosts 
> in /etc/nova/nova.conf
> 
> libvirt_use_virtio_for_bridges=true
> 
> to:
> 
>libvirt_use_virtio_for_bridges=false
> 
> 
> Anybody know what would cause this?
> 
> 
> I'm on Ubuntu 12.04 with the cloud-archive packages, with KVM as the 
> hypervisor
> 
> 
> You didn't restart nova-network without killing and restarting dnsmasq, did 
> you?
> 
> Nate
> 
> 
> 
> Of course not! (Well, maybe...). But just tried again, killing dnsmasq and 
> restarting nova-network doesn't seem to help. I'm guessing the issue is 
> confined to the compute node, and since I'm not running multihost, I don't 
> think I even need to restart nova-network each time I make a virtio-related 
> change on the compute node...
> 
> Lorin
> 
> 
> -- 
> Lorin Hochstein
> Lead Architect - Cloud Services
> Nimbis Services, Inc.
> www.nimbisservices.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


[Openstack] [OpenStack] Assigning specific networks while creating instances using nova REST API in Folsom

2013-03-21 Thread Balamurugan V G
Hi,

I have a Folsom 2012.2 with Quantum and trying to create the instances
using the REST API as below:

curl  -X 'POST'
http://1.1.1.1:8774/v2/4a8c3029619e4afbaa39f85fcd121003/servers -d '{
"server": { "flavorRef": "6", "imageRef":
"dd13a38c-3e1f-49f1-afbe-c6f62cd46ffb", "name": "test" } }' -H 'Accept:
application/json' -H "X-Auth-Token: 1b5f64418cdf4a99a79aada03621cfa9" -H
'Content-type: application/json'

But this assigns the instance to all networks available for the tenant. So
if I have multiple networks for a tenant, how do I assign the instance to
specific networks. I am referring to the documentation at
http://docs.openstack.org/api/openstack-compute/2/content/CreateServers.htmlbut
do not see anything for this.

I can achieve this using CLI but I need to use the REST API to achieve the
same.

Is this not implemented in Folsom? If so, would it be implemented in
Grizzly?

Thanks,
Balu
___
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] ANNOUNCE: Ultimate OpenStack Grizzly Guide, with super easy Quantum!

2013-03-21 Thread Razique Mahroua
great guide, thanks a lot !
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 21 mars 2013 à 15:26, Jean-Baptiste RANSY  a écrit :
  

  
  
Hello Thiago,
  
  I think it's better to use rootwrap in sudoers :
  
  nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap
  /etc/nova/rootwrap.conf *
  cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap
  /etc/cinder/rootwrap.conf *
  quantum ALL = (root) NOPASSWD: /usr/bin/quantum-rootwrap
  /etc/quantum/rootwrap.conf *
  
  NOTE : with quantum (l3, dhcp, etc ..) you can encounter issue
  with rootwrap, especially with namespaces (i don't know if this is
  still the case)
  To fix that, just add 'root_helper = sudo
  /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf' in the .ini
  file of each quantum service.
  
  I don't know why root_helper isn't in each quantum service sample
  files if it must be configured ... is it normal or not ?
  If this addition (to add root_helper in each ini file) should not
  be necessary, I think i identified the root problem.
  In the dhcp_agent for example, just need to replace each
  occurrences of 'self.conf.root_helper' by 'self.root_helper'
  
  If someone has the answer, let me know if I should open a bug or
  not.
  
  Regards,
  
  
  jbr_
  
  
  On 03/21/2013 01:19 AM, Martinx - ジェームズ wrote:


  1 problem fixed with:



  visudo
  
  
  ---
  quantum ALL=NOPASSWD: ALL
  cinder ALL=NOPASSWD: ALL
  nova ALL=NOPASSWD: ALL
  ---



Guide updated...
  
  

On 20 March 2013 19:51, Martinx - ジェームズ
  
  wrote:
  

  Hi!
  
  
   I'm working with Grizzly G3+RC1 on top of Ubuntu
12.04.2 and here is the guide I wrote:
  
  
   Ultimate OpenStack Grizzly Guide
  
  
   It covers:
  
  
   * Ubuntu 12.04.2
   * Basic Ubuntu setup
   * KVM
   * OpenvSwitch
   * Name Resolution for OpenStack components;
   * LVM for Instances
   * Keystone
   * Glance
   * Quantum - Single Flat, Super Green!!
   * Nova
   * Cinder / tgt
   * Dashboard
  
  
   It is still a draft but, every time I deploy Ubuntu
and Grizzly, I follow this little guide...
  
  
   I would like some help to improve this guide... If
I'm doing something wrong, tell me! Please!
  
  
   Probably I'm doing something wrong, I don't know
yet, but I'm seeing some errors on the logs, already
reported here on this list. Like for example:
nova-novncproxy conflicts with novnc (no VNC console for
now), dhcp-agent.log / auth.log points to some problems
with `sudo' or the `rootwarp' subsystem when dealing
with metadata (so it isn't working)...
  
  
   But in general, it works great!!
  
  
  Best!
  Thiago

  


  
  
  
  
  ___
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/~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] ANNOUNCE: Ultimate OpenStack Grizzly Guide, with super easy Quantum!

2013-03-21 Thread Jean-Baptiste RANSY
Hello Thiago,

I think it's better to use rootwrap in sudoers :

nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf *
cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap
/etc/cinder/rootwrap.conf *
quantum ALL = (root) NOPASSWD: /usr/bin/quantum-rootwrap
/etc/quantum/rootwrap.conf *

NOTE : with quantum (l3, dhcp, etc ..) you can encounter issue with
rootwrap, especially with namespaces (i don't know if this is still the
case)
To fix that, just add 'root_helper = sudo /usr/bin/quantum-rootwrap
/etc/quantum/rootwrap.conf' in the .ini file of each quantum service.

I don't know why root_helper isn't in each quantum service sample files
if it must be configured ... is it normal or not ?
If this addition (to add root_helper in each ini file) should not be
necessary, I think i identified the root problem.
In the dhcp_agent for example, just need to replace each occurrences of
'self.conf.root_helper' by 'self.root_helper'

If someone has the answer, let me know if I should open a bug or not.

Regards,


jbr_


On 03/21/2013 01:19 AM, Martinx - ジェームズ wrote:
> 1 problem fixed with:
>
> visudo
>
> ---
> quantum ALL=NOPASSWD: ALL
> cinder ALL=NOPASSWD: ALL
> nova ALL=NOPASSWD: ALL
> ---
>
> Guide updated...
>
>
> On 20 March 2013 19:51, Martinx - ジェームズ
> mailto:thiagocmarti...@gmail.com>> wrote:
>
> Hi!
>
>  I'm working with Grizzly G3+RC1 on top of Ubuntu 12.04.2 and here
> is the guide I wrote:
>
>  Ultimate OpenStack Grizzly Guide
> 
>
>  It covers:
>
>  * Ubuntu 12.04.2
>  * Basic Ubuntu setup
>  * KVM
>  * OpenvSwitch
>  * Name Resolution for OpenStack components;
>  * LVM for Instances
>  * Keystone
>  * Glance
>  * Quantum - Single Flat, Super Green!!
>  * Nova
>  * Cinder / tgt
>  * Dashboard
>
>  It is still a draft but, every time I deploy Ubuntu and Grizzly,
> I follow this little guide...
>
>  I would like some help to improve this guide... If I'm doing
> something wrong, tell me! Please!
>
>  Probably I'm doing something wrong, I don't know yet, but I'm
> seeing some errors on the logs, already reported here on this
> list. Like for example: nova-novncproxy conflicts with novnc (no
> VNC console for now), dhcp-agent.log / auth.log points to some
> problems with `sudo' or the `rootwarp' subsystem when dealing with
> metadata (so it isn't working)...
>
>  But in general, it works great!!
>
> Best!
> Thiago
>
>
>
>
> ___
> 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] [Swift]

2013-03-21 Thread Tomáš Šoltys
Hi,

I have rather basic question.

I've read through various documentation but I still do not sufficiently
understand how the authentication works.

So far I have managed to create a tenant, user and add him a role which is
also listed in proxy-server.conf in operator_roles
This works fine but I would like to have more users.

My goal is to have several users which can access objects stored via swift
service and have various access rights. Similar to permissions on
Linux/Unix system. And I would like to have it done via keystone.

Is this possible?

Thanks,
Tomas
___
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] [DevStack] DevStackInstallation with XEN

2013-03-21 Thread Bob Ball
Hi,

That particular guide is out of date I'm afraid.  We have an action to update 
the guide fully, but I have made some interim edits to clarify the current 
situation.  The better news is that installing DevStack on a XenServer is now 
easier than when the guide was written.

The README.md from devstack explains how to get it set up on a XenServer: 
https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md

There is also a script which makes deployment fully automated at 
https://raw.github.com/citrix-openstack/qa/master/install-devstack-xen.sh.

In terms of the specific questions:
1-3
Use the new approach above which is significantly simpler and more automated, 
that should resolve the problems.

4. The localrc config file on github is different with the one in video. Which 
is correct? Or it is environment depended?
It is dependent upon the environment, in particular the network setup.  The 
all-in-one script above (install-devstack-xen.sh)  has some defaults in the 
localrc which work in many cases, but things like the IP addresses may need to 
be updated if they don't fit your existing environment.

5. Is it feasible to use devstack with Suse OpenXen instead of Xenserver? any 
help document?
You should be able to use devstack with this, yes.  Perhaps following 
http://devstack.org/guides/single-machine.html and making sure that you set the 
VIRT_DRIVER and any other settings that are needed for the Xen integration.
Note that I haven't personally used devstack with the xen integration, so there 
may be issues - but I'm sure we can work through them.

Bob

From: openstack-bounces+bob.ball=citrix@lists.launchpad.net 
[mailto:openstack-bounces+bob.ball=citrix@lists.launchpad.net] On Behalf Of 
HuYanrui
Sent: 21 March 2013 10:07
To: openstack@lists.launchpad.net
Subject: [Openstack] [DevStack] DevStackInstallation with XEN

Gents,
Not sure if can get reply here for such installation issues.
I want to install DevStack with XenServer (to verify some idea with Openstack 
on Xen hepervisor) and blocked by some problems.

What I refer:
https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md
https://wiki.openstack.org/wiki/XenServer/DevStack
And a video instruction on youtube.

My issues are:

1. there is step of build_xva.sh on github. but have on wiki and video.
Is this step must?
2. I tried build_xva.sh on a ubuntu machine installed xe and xm, but the script 
stopped at xe vm-list 
Is this my configuration issue? seems a low level error.
3. Without build_xva, I direct use install_os_domU, but failed at start the VM. 
By switch to the ALLINONE vm, it stop at configuration screen.
4. The localrc config file on github is different with the one in video. Which 
is correct? Or it is environment depended?
5. Is it feasible to use devstack with Suse OpenXen instead of Xenserver? any 
help document?

___
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] [DevStack] DevStackInstallation with XEN

2013-03-21 Thread Antonio Tirri
Hi, I tell you my experience.

In order to deploy a single node installation is enough to set the localrc
file as showed here
https://wiki.openstack.org/wiki/XenServer/VirtualBox

then you have to run only the script ./install_os_domU.sh

The video you metioned is not up to date. My suggestion is to install this
configuration on a physical machine (not a VM). Moreover, it is better that
dom0 is not behind a proxy server.

Antonio

On 21 March 2013 11:07, HuYanrui  wrote:

> **
> Gents,
> Not sure if can get reply here for such installation issues.
> I want to install DevStack with XenServer (to verify some idea with
> Openstack on Xen hepervisor) and blocked by some problems.
>
> What I refer:
> https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md
> https://wiki.openstack.org/wiki/XenServer/DevStack
> And a video instruction on youtube.
>
> My issues are:
>
> 1. there is step of build_xva.sh on github. but have on wiki and video.
> Is this step must?
> 2. I tried build_xva.sh on a ubuntu machine installed xe and xm, but the
> script stopped at xe vm-list 
> Is this my configuration issue? seems a low level error.
> 3. Without build_xva, I direct use install_os_domU, but failed at start
> the VM. By switch to the ALLINONE vm, it stop at configuration screen.
> 4. The localrc config file on github is different with the one in video.
> Which is correct? Or it is environment depended?
> 5. Is it feasible to use devstack with Suse OpenXen instead of Xenserver?
> any help document?
>
>
> ___
> 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] [DevStack] DevStackInstallation with XEN

2013-03-21 Thread HuYanrui
Gents,
Not sure if can get reply here for such installation issues.
I want to install DevStack with XenServer (to verify some idea with Openstack 
on Xen hepervisor) and blocked by some problems.

What I refer:
https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md
https://wiki.openstack.org/wiki/XenServer/DevStack
And a video instruction on youtube.

My issues are:

1. there is step of build_xva.sh on github. but have on wiki and video.
Is this step must?
2. I tried build_xva.sh on a ubuntu machine installed xe and xm, but the script 
stopped at xe vm-list 
Is this my configuration issue? seems a low level error.
3. Without build_xva, I direct use install_os_domU, but failed at start the VM. 
By switch to the ALLINONE vm, it stop at configuration screen.
4. The localrc config file on github is different with the one in video. Which 
is correct? Or it is environment depended?
5. Is it feasible to use devstack with Suse OpenXen instead of Xenserver? any 
help document?

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


Re: [Openstack] Dashboard gone - Internal Server Error

2013-03-21 Thread Sandeep Raman
It was short-lived. See my latest response in the bug id
https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/1143897

On Thu, Mar 21, 2013 at 3:16 PM, Sandeep Raman wrote:

> With Ubuntu theme and COMPRESS_OFFLINE = False it works.
> With default theme and COMPRESS_OFFLINE = False it works, however the UI
> format is shabby because the tags {% compress js %} and {% endcompress %}
> is removed from _scripts.html.
>
> On Thu, Mar 21, 2013 at 11:28 AM, Martinx - ジェームズ <
> thiagocmarti...@gmail.com> wrote:
>
>> Ah! Okay! Tks!!!
>>
>>
>> On 21 March 2013 02:43, Sandeep Raman  wrote:
>>
>>> Please remember the bug link i provided in another email. It seems to be
>>> a packaging bug. The Ubuntu theme with COMPRESS section disabled [per the
>>> bug response] works.
>>>
>>> I'm currently installing RC1 bits on Raring. I'll post back the
>>> experience with dashboard.
>>>
>>> On Thu, Mar 21, 2013 at 10:51 AM, Martinx - ジェームズ <
>>> thiagocmarti...@gmail.com> wrote:
>>>
 Oops!

 I just did:

 aptitude purge openstack-dashboard-ubuntu-theme
 #2013.1+git201303201651~precise-0ubuntu1

 ..and the "Internal Server Error" message disapear... But, Dashboard
 still doesn't work...

 A new error page appear now:

 ---
  Something went wrong!

 An unexpected error has occurred. Try refreshing the page. If that
 doesn't help, contact your local administrator.

 Home 

 Help 
  ---

 Apache2 error.log doesn't show anything more.

 Tks,
 Thiago


 On 20 March 2013 21:28, Martinx - ジェームズ wrote:

> Guys,
>
>  Of of nothing, my Dashboard
> (1:2013.1+git201303201651~precise-0ubuntu1) gives "Internal Server Error".
>
>  Apache error.log contains:
>
>  http://paste.openstack.org/show/34196/
>
>  I'm running:
>
>  cd /usr/share/openstack-dashboard
>  python manage.py compress
>  service apache2 restart
>
>  ...but the problem just sat here and don't go away.
>
> I'm using Ubuntu 12.04.2 with Grizzly G3+RC1 from PPA.
>
> Help!
>
> Tks,
> Thiago
>


 ___
 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] Dashboard gone - Internal Server Error

2013-03-21 Thread Sandeep Raman
With Ubuntu theme and COMPRESS_OFFLINE = False it works.
With default theme and COMPRESS_OFFLINE = False it works, however the UI
format is shabby because the tags {% compress js %} and {% endcompress %}
is removed from _scripts.html.

On Thu, Mar 21, 2013 at 11:28 AM, Martinx - ジェームズ  wrote:

> Ah! Okay! Tks!!!
>
>
> On 21 March 2013 02:43, Sandeep Raman  wrote:
>
>> Please remember the bug link i provided in another email. It seems to be
>> a packaging bug. The Ubuntu theme with COMPRESS section disabled [per the
>> bug response] works.
>>
>> I'm currently installing RC1 bits on Raring. I'll post back the
>> experience with dashboard.
>>
>> On Thu, Mar 21, 2013 at 10:51 AM, Martinx - ジェームズ <
>> thiagocmarti...@gmail.com> wrote:
>>
>>> Oops!
>>>
>>> I just did:
>>>
>>> aptitude purge openstack-dashboard-ubuntu-theme
>>> #2013.1+git201303201651~precise-0ubuntu1
>>>
>>> ..and the "Internal Server Error" message disapear... But, Dashboard
>>> still doesn't work...
>>>
>>> A new error page appear now:
>>>
>>> ---
>>>  Something went wrong!
>>>
>>> An unexpected error has occurred. Try refreshing the page. If that
>>> doesn't help, contact your local administrator.
>>>
>>> Home 
>>>
>>> Help 
>>>  ---
>>>
>>> Apache2 error.log doesn't show anything more.
>>>
>>> Tks,
>>> Thiago
>>>
>>>
>>> On 20 March 2013 21:28, Martinx - ジェームズ wrote:
>>>
 Guys,

  Of of nothing, my Dashboard
 (1:2013.1+git201303201651~precise-0ubuntu1) gives "Internal Server Error".

  Apache error.log contains:

  http://paste.openstack.org/show/34196/

  I'm running:

  cd /usr/share/openstack-dashboard
  python manage.py compress
  service apache2 restart

  ...but the problem just sat here and don't go away.

 I'm using Ubuntu 12.04.2 with Grizzly G3+RC1 from PPA.

 Help!

 Tks,
 Thiago

>>>
>>>
>>> ___
>>> 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] Could s/o clarify if DHCP and L3 agents *must* be on different hosts if namespaces are disabled ?

2013-03-21 Thread Robert van Leeuwen
>> Yes, this works. The problem is ensuring the network isolation. That
>> is, someone can make changes in the routing table on the host which
>> will enable one to gain access to the quantum networks. That is why we
>> suggest that they run on different hosts. We have a review that is

>Damn, makes sense. Once you explain this, the reasons are clear.

Depending on the setup you could might be able to create policy based routing 
rules on the quantum l3-node to prevent this.
(e.g. traffic originating from the subnets "within quantum" are always routed 
to router x on the outside world)

Another small issue I can think of is that you might get a-symetrical routing. 
(traffic returning from the DHCP ip instead of the L3 ip)
Not sure if you can fix that with Policy Based Routing, never tried.

Cheers,
Robert van Leeuwen
___
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] Problems connecting VM to external network (quantum)

2013-03-21 Thread Salvatore Orlando
Hi Samuel,

in your logs you should have another traceback related to the failure
in creating the qg-xx interface.
This might help us shed some light on your issue. The only likely
cause I can think of at the moment is that the external bridge
(usually br-ex) is not correctly configured.

Salvatore

On 20 March 2013 16:04, Samuel Winchenbach  wrote:
> Hi all,
>
> I am following the steps listed in
> http://docs.openstack.org/folsom/openstack
> -
> network/admin/content/l3_workflow.html
>
> The l3-agent.log fills with messages like this:
> http://ix.io/4Oy
>
>
> I am using a gre network type, and
> nova.virt.libvirt.vif.LibvirtHybirdOVSBridgeDriver
> with namespaces and overlapping IPs
>
> Has anyone seen this problem before?  The internal quantum network seems to
> work fine.  Using namespaces I can ping running VMs.
>
> Thanks,
> Sam
>
>
> ___
> 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] [Quantum] Need suggestion on networking

2013-03-21 Thread balaji patnala
Do we have any other way to reach VM public IPs, with out using name space
nat router gvien in the below link.

Lets say that i will configure my dhcp-agent with the pool of Public IPs,
which will be assigned to VMs by Quantum.

Iam curious that if there is any possible setup which we can create with
out using name space NAT router.

balaji


On Thu, Mar 21, 2013 at 7:21 AM, Dan Wendlandt  wrote:

> if you want private networks, but also to give VMs public IPs, you will
> want to create one or more private networks + subnets, create a router,
> uplink each subnet to the router, create an external network + subnet using
> your public IPs, and then allocate a floating ip for each VM that needs a
> public address.  You can mostly follow the workflow outlined here:
> http://docs.openstack.org/trunk/openstack-network/admin/content/l3_workflow.html
>
> dan
>
>  On Wed, Feb 20, 2013 at 2:57 AM, Anil Vishnoi wrote:
>
>>  Hi,
>>
>> I did Openstack(Folsom+Quantum) setup, with one controller node ( also
>> running networking services) and 8 compute nodes. Both controller node and
>> compute nodes have 2 NIC each, one on public network (internet) and one on
>> private network.
>>
>> My requirement is that for each tenant, every VM should be connected to
>> private network as well as it should also have public IP address, so that
>> user can directly access that machine over internet. I might add some more
>> compute node as well, and my VM counts can grow in range of 200-300+. You
>> can assume that we do have these many public IP's available.
>>
>> My plan is to create vlan based private network for each tenant, but i am
>> confused on the public network part of it. Shell i use provider network or
>> use router/floating ip based networking. I want to user openvswtich (vlan)
>> plugin for networking.Any suggestions?
>>
>> Thanks
>> Anil
>>
>> ___
>> 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
>
>
___
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] Could s/o clarify if DHCP and L3 agents *must* be on different hosts if namespaces are disabled ?

2013-03-21 Thread Sylvain Bauza

Hi Gary,

Le 20/03/2013 17:26, Gary Kotton a écrit :

Yes, this works. The problem is ensuring the network isolation. That
is, someone can make changes in the routing table on the host which
will enable one to gain access to the quantum networks. That is why we
suggest that they run on different hosts. We have a review that is
open to enable one to enforce this when the agents starts (this is
disabled by default to ensure backward compatability and to enable one
to run an all in one setup - for proof of concepts and testing)



Damn, makes sense. Once you explain this, the reasons are clear.




So, am I wrong ? What is the terrible thing which could happe in a
next few days if still keeping my environment as it is ?


No, it is not terrible at all.


Great, my mind feels lighter ;-)

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