Re: [Openstack] Ceilometer Install

2013-04-26 Thread Riki Arslan
The command line I am using is: "sudo /usr/local/bin/ceilometer-api".

However, the ceilometer.ini file is missing. The version of Ceilometer I am
using is "ceilometer-2013.1~g2.tar.gz". And, I only have the following
configuration files:

/etc/ceilometer/ceilometer.conf
/etc/ceilometer/policy.json
/etc/ceilometer/sources.json

Thanks.


On Fri, Apr 26, 2013 at 1:10 AM, Doug Hellmann
wrote:

>
>
>
> On Thu, Apr 25, 2013 at 8:37 AM, Riki Arslan wrote:
>
>> I thought Ceilometer did not set a dependency on any DB drivers. I have
>> installed the driver Mongo using "sudo pip install pymongo".
>>
>
> Ceilometer does use a database. You have to install the right driver. If
> you want Mongo, then it sounds like you've done the right thing. It's
> possible mako is also being used somewhere else, I'm not sure.
>
>
>>
>> Regarding the current problem; the traceback is as follows:
>>
>> Traceback (most recent call last):
>>   File "/usr/local/bin/ceilometer-api", line 5, in 
>> pkg_resources.run_script('ceilometer==0.0.0', 'ceilometer-api')
>>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in
>> run_script
>> self.require(requires)[0].run_script(script_name, ns)
>>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in
>> run_script
>> execfile(script_filename, namespace, namespace)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/EGG-INFO/scripts/ceilometer-api",
>> line 38, in 
>> service.prepare_service()
>>   File
>> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/service.py",
>> line 80, in prepare_service
>> cfg.CONF(argv[1:], project='ceilometer')
>>   File
>> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/openstack/common/cfg.py",
>> line 1024, in __call__
>> self._cli_values, leftovers = self._parse_cli_opts(args)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/openstack/common/cfg.py",
>> line 1527, in _parse_cli_opts
>> opt._add_to_cli(self._oparser, group)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py",
>> line 591, in _add_to_cli
>> container = self._get_argparse_container(parser, group)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py",
>> line 633, in _get_argparse_container
>> return group._get_argparse_group(parser)
>> AttributeError: 'OptGroup' object has no attribute '_get_argparse_group'
>>
>
> That is coming from oslo.config. Can you post the ceilometer.ini file and
> command line you are using to start the service?
>
> Doug
>
>
>>
>> Thank for the help.
>>
>>
>> On Thu, Apr 25, 2013 at 3:27 PM, Doug Hellmann <
>> doug.hellm...@dreamhost.com> wrote:
>>
>>>
>>>
>>> On Thursday, April 25, 2013, Riki Arslan wrote:
>>>
 I have encountered other problems too.

 First of all, when starting the Central Agent I have had Glance
 endpoint 404 not found errors. As, Julien pointed out (
 https://bugs.launchpad.net/ceilometer/+bug/1083104), I have removed
 the "v1" from the Glance URLs and it worked well.

 Secondly, when starting the API Server, I have received "ImportError:
 No module named mako.template" error. Thus, I have installed python-mako
 module (sudo apt-get install python-mako), and the error disappeared.

>>>
>>> Mako is a dependency do sqlalchemy, I think. Are you using the
>>> sqlalchemy storage driver for ceilometer?
>>>
>>>

 Now, I am receiving another error within the API Server. The error is
 as follows:
 "AttributeError: 'OptGroup' object has no attribute
 '_get_argparse_group'"

>>>
>>> That sounds like a problem with the config module. Was there a full
>>> traceback? If not, try adding the --debug option when starting the service.
>>>
>>> Doug
>>>
>>>

 Do you think it has something to do with mod_wsgi (
 http://docs.openstack.org/developer/ceilometer/install/mod_wsgi.html)?

 I would appreciate your help on this.

 Thanks.


 On Thu, Apr 25, 2013 at 12:27 AM, Riki Arslan <
 riki.ars...@cloudturk.net> wrote:

> Hi Doug,
>
> Your email helped me. It was actually glanceclient version 0.5.1 that
> was causing the conflict. After updating it, the conflict error 
> disappeared.
>
> I hope this would help someone else too.
>
> Thanks again.
>
>
> On Wed, Apr 24, 2013 at 11:49 PM, Doug Hellmann <
> doug.hellm...@dreamhost.com> wrote:
>
>>
>>
>>
>> On Wed, Apr 24, 2013 at 9:17 AM, Riki Arslan <
>> riki.ars...@cloudturk.net> wrote:
>>
>>> Hi,
>>>
>>> We are trying to install "ceilometer-2013.1~g2.tar.gz" which
>>> presumably has Folsom compatibility.
>>>
>>> The requirment is "python-keystoneclient>=0.2,<0.3" and we have
>>> the version 2.3.
>>>
>>> But, 

[Openstack] Swift container's rwx permissions

2013-04-26 Thread Shashank Sahni
Hi everyone,

I've been experimenting with using Swift(1.8) as Hadoop's DFS backend.

https://github.com/DmitryMezhensky/Hadoop-and-Swift-integration

After a few glitches, I'm able to create/access/delete objects/containers
using hadoop's cli fs tool. But whenever I'm trying to run the job it fails
with the following error.

ERROR security.UserGroupInformation: PriviledgedActionException as:dharmesh
cause:java.io.IOException: The ownership/permissions on the staging
directory
swift://hadooptest.rackspace/tmp/app/mapred/staging/dharmesh/.staging is
not as expected. It is owned by and permissions are rwxrwxrwx. The
directory must be owned by the submitter dharmesh or by dharmesh and
permissions must be rwx--

Note that, the local system username is "dharmesh" and the openstack
account and associated tenant is "dharmesh" too.

I tried setting the permissions by creating "tmp" container using "swift
post -r 'dharmesh:dharmesh'", but unfortunately ended up with the same
result. Is there an other way to set rwx ACLs in swift?

--
Shashank Sahni
___
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 Training

2013-04-26 Thread Heling Yao
Hi Chris,

Rackspace has a free CloudU training and certification program (
http://www.rackspace.com/knowledge_center/cloudu/), which should provide
you with a solid grounding in the area of cloud computing.

And to learn openstack, in addition to what John said, there are many
aspects of OpenStack, such as OpenStack operations, business opportunities
etc. Getting involved in the community is a good start.

Speaking of using laptop, I just installed RDO from Redhat (
openstack.redhat.com) in a xen vm, and it worked like a charm :-)


Cheers,

Heling


On Fri, Apr 26, 2013 at 4:15 AM, Chris Bartels  wrote:

> Hi,
>
> ** **
>
> My experience with virtualization has been limited to the ProxmoxVE
> platform, and with it I’m quite adept after working with it for a few
> years, however I’m looking forward to migrating to OpenStack & would like
> to find a way to learn as much about it as I can, in as efficient a manner
> as possible.
>
> ** **
>
> I’m currently in the process of selling my laptop on eBay so that I can
> buy a cheap used server with which to tinker with the new OpenStack Grizzly
> release so I can start to learn first-hand about working with the software,
> so I have that to look forward to, but I’m also on the lookout for more
> opportunities to soak up information.
>
> ** **
>
> Today I found the ‘OpenStack Foundation’ YouTube channel, and have been
> watching videos all morning. I’m happy with this to a degree. One in
> particular entitled “Solving The OpenStack Talent Gap” turned me on to a
> resource called ‘Cloud Academy’, which seemed promising at first, but after
> getting registered with them- as far as I can tell they don’t have training
> content up & available yet, as their project is in its infancy apparently.
> 
>
> ** **
>
> So I come to you all here on the list for suggestions as to whether there
> exists reputable formal online training that I can sign up for somewhere-
> free is better however I don’t mind spending a thousand dollars for
> top-notch training if it provides an industry recognized certification at
> the end such as the CompTIA A+ (which I’m signed up for this fall, btw-
> because it’s the closest I can get to what I’m after at the local community
> college).
>
> ** **
>
> What do people here know that I don’t know about OpenStack learning &
> training? Do any programs stand out as being great that you know of?
>
> ** **
>
> Please advise.
>
> ** **
>
> ** **
>
> Kindest Regards,
>
> -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
>
>
___
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] No Network and Router sections in Grizzly's Admin tab

2013-04-26 Thread Ashutosh Narayan
Hi folks,

I have just installed Grizzly release on CentOS 6.3 after following the
documentations
given on this link - http://openstack.redhat.com/Quickstart
After logging in with admin user, I do not see "Networks" and "Routers"
section under
Admin tab. I have installed Grizzly using packstack --allinone command.
Did this miss out Network configuration ?

(keystone_admin)]# nova network-list
++-+-+
| ID | Label   | Cidr|
++-+-+
| 1  | novanetwork | 192.168.32.0/22 |
++-+-+

Please suggest where I went wrong.


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


[Openstack] [Quantum] V2 Grizzly net-gateway-xxx 404

2013-04-26 Thread Heiko Krämer
Hey guys,

I'm trying to use:
/quantum net-gateway-list /

or something else of this command. I get every time 404:

/quantum net-gateway-list//
//404 Not Found//
//
//The resource could not be found.//
/
I think any extension is missing in my conf?! But i can't find any doc :(

quantum.conf:
/
core_plugin =
quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2//
//service_plugins =
quantum.plugins.services.agent_loadbalancer.plugin.LoadBalancerPlugin//
//router_scheduler_driver =
quantum.scheduler.l3_agent_scheduler.ChanceScheduler/



Greetings and Thx
Heiko
___
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] Query on Openstack Nova-network

2013-04-26 Thread Sreerekha Shenoy (sresheno)
Hi,
We are a team attempting a PoC on Openstack with a single node deployment to 
start with.
It currently has Keystone, Glance and Nova enabled.

As a part of this PoC, we learnt that Openstack with Nova-network in FlatDHCP 
mode,
uses two subnets on the Host machine:
-  Public Subnet for floating IPs :
o Openstack manages the mapping of floating to fixed IPs for VMs.
o VMs are not aware of the additional public IP assigned.

-  Private Subnet for Fixed IPs:
o Openstack boots up the VM with this IP address and VM is aware of 
it
o BR100 created to manage the VMnet fabric for traffic on this 
subnet.

Few Queries:

-For applications on such a setup that use IP-sensitive protocols like SIP, how 
do we handle the scenarios?
Are we expected to have SIP ALG to do additional SIP based NAT'ng apart from 
what nova-network manages?

-Does this NAT'ng of Floating to Fixed IP not really pull down the performance 
overall?

-What if I need my VMs to be spawned on a public subnet for general 
accessibility
"without any NAT'ng" involved? Is there anyways Openstack can help?

Thanks,
Best Regards,
Rekha

___
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] [Announce] OpenStack Grizzly Multi Node Install Guide by Msekni Bilel

2013-04-26 Thread skible.openst...@gmail.com

Hi,

So I have been working on this with a couple of OpenStackers from all 
over the world (Tokyo, US, Germany, ..) and we are happy to present our 
guide to deploy OpenStack Grizzly in Multi Node/Single node.


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

This is well tested to work on Ubuntu 12.04 and 13.04 64bits ! This is 
the readme 
 file of 
the guide if you want to know more :)


P.S: if you ever happen to hear of an open cloud operator position, you 
might wana contact me about it ! I am going homeless by the end of the 
month :p


Kind regards,
Bilel MSEKNI 
___
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] V2 Grizzly net-gateway-xxx 404

2013-04-26 Thread Akihiro MOTOKI
Hi Heiko,

net-gateway-* feature is provided by network gateway extension.
This extension is specific to Nicira NVP plugin and not supported by other
plugins (in Grizzly release).

Thanks,
Akihiro



2013/4/26 Heiko Krämer 

>  Hey guys,
>
> I'm trying to use:
> *quantum net-gateway-list *
>
> or something else of this command. I get every time 404:
>
> *quantum net-gateway-list**
> **404 Not Found**
> **
> **The resource could not be found.**
> *
> I think any extension is missing in my conf?! But i can't find any doc :(
>
> quantum.conf:
> *
> core_plugin =
> quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2**
> **service_plugins =
> quantum.plugins.services.agent_loadbalancer.plugin.LoadBalancerPlugin**
> **router_scheduler_driver =
> quantum.scheduler.l3_agent_scheduler.ChanceScheduler*
>
>
>
> Greetings and Thx
> Heiko
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Akihiro MOTOKI 
___
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] V2 Grizzly net-gateway-xxx 404

2013-04-26 Thread Heiko Krämer
All right,

thx for the information Akihiro.

greetings
Heiko

On 26.04.2013 12:53, Akihiro MOTOKI wrote:
> Hi Heiko,
>
> net-gateway-* feature is provided by network gateway extension.
> This extension is specific to Nicira NVP plugin and not supported by
> other plugins (in Grizzly release).
>
> Thanks,
> Akihiro
>
>
>
> 2013/4/26 Heiko Krämer  >
>
> Hey guys,
>
> I'm trying to use:
> /quantum net-gateway-list /
>
> or something else of this command. I get every time 404:
>
> /quantum net-gateway-list//
> //404 Not Found//
> //
> //The resource could not be found.//
> /
> I think any extension is missing in my conf?! But i can't find any
> doc :(
>
> quantum.conf:
> /
> core_plugin =
> quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2//
> //service_plugins =
> quantum.plugins.services.agent_loadbalancer.plugin.LoadBalancerPlugin//
> //router_scheduler_driver =
> quantum.scheduler.l3_agent_scheduler.ChanceScheduler/
>
>
>
> Greetings and Thx
> Heiko
>
> ___
> Mailing list: https://launchpad.net/~openstack
> 
> Post to : openstack@lists.launchpad.net
> 
> Unsubscribe : https://launchpad.net/~openstack
> 
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> -- 
> Akihiro MOTOKI mailto:amot...@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] [Announce] OpenStack Grizzly Multi Node Install Guide by Msekni Bilel

2013-04-26 Thread daniels cai
thanks for your guide , Bilel , it really helps.

Daniels Cai
http://dnscai.com


On Fri, Apr 26, 2013 at 6:49 PM, skible.openst...@gmail.com <
skible.openst...@gmail.com> wrote:

>  Hi,
>
> So I have been working on this with a couple of OpenStackers from all over
> the world (Tokyo, US, Germany, ..) and we are happy to present our guide to
> deploy OpenStack Grizzly in Multi Node/Single node.
>
>
> https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst
>
> This is well tested to work on Ubuntu 12.04 and 13.04 64bits ! This is the
> readme file 
> of the guide if you want to know more :)
>
> P.S: if you ever happen to hear of an open cloud operator position, you
> might wana contact me about it ! I am going homeless by the end of the
> month :p
>
> Kind regards,
> Bilel MSEKNI
>
> ___
> 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] Glance not connecting for image creation

2013-04-26 Thread aliki aliki
Hello, 

I am new to openstack and I am trying the basic installation for controller 
node following this:

http://docs.openstack.org/folsom/basic-install/content/basic-install_controller.html
 

I have reached the stage where I try to configure glance. 
glance-manage db_sync works properly

However when I try to create image with the glance image-create command I get 
the error:
Error communicating with /v1/images: [Errno 113] No route to host

This error varies between 110-113 depending on the master ip I use when running 
the keystone-endpoint.sh.

Please help, or at least tell me what the master in the keystone-endpoint.sh 
stands for, so as to understand the problem.

ps. the conf files are just as they are described in the tutorial I mentioned 
above.

Thanks in advance!

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


[Openstack] [Grizzly] VMs not authorized by metadata server

2013-04-26 Thread Michaël Van de Borne

Hi there,

I've installed Grizzly on 3 servers:
compute (howard)
controller (leonard)
network (rajesh)).

Namespaces are ON
Overlapping IPs are ON

When booting, my VMs can reach the metadata server (on the controller 
node), but it responds a "500 Internal Server Error"


*Here is the error from the log of nova-api:*
2013-04-26 15:35:28.149 19902 INFO nova.metadata.wsgi.server [-] (19902) 
accepted ('192.168.202.105', 54871)


2013-04-26 15:35:28.346 ERROR nova.network.quantumv2 
[req-52ffc3ae-a15e-4bf4-813c-6596618eb430 None None] _get_auth_token() 
failed
2013-04-26 15:35:28.346 19902 TRACE nova.network.quantumv2 Traceback 
(most recent call last):
2013-04-26 15:35:28.346 19902 TRACE nova.network.quantumv2   File 
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", 
line 40, in _get_auth_token
2013-04-26 15:35:28.346 19902 TRACE nova.network.quantumv2 
httpclient.authenticate()
2013-04-26 15:35:28.346 19902 TRACE nova.network.quantumv2   File 
"/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 193, in 
authenticate
2013-04-26 15:35:28.346 19902 TRACE nova.network.quantumv2 
content_type="application/json")
2013-04-26 15:35:28.346 19902 TRACE nova.network.quantumv2   File 
"/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 131, in 
_cs_request
2013-04-26 15:35:28.346 19902 TRACE nova.network.quantumv2 raise 
exceptions.Unauthorized(message=body)
2013-04-26 15:35:28.346 19902 TRACE nova.network.quantumv2 Unauthorized: 
{"error": {"message": "The request you have made requires 
authentication.", "code": 401, "title": "Not Authorized"}}

2013-04-26 15:35:28.346 19902 TRACE nova.network.quantumv2
2013-04-26 15:35:28.347 ERROR nova.api.metadata.handler 
[req-52ffc3ae-a15e-4bf4-813c-6596618eb430 None None] Failed to get 
metadata for instance id: 05141f81-04cc-4493-86da-d2c05fd8a2f9
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler Traceback 
(most recent call last):
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/api/metadata/handler.py", line 
179, in _handle_instance_id_request
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler 
remote_address)
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/api/metadata/handler.py", line 
90, in get_metadata_by_instance_id
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler 
instance_id, address)
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/api/metadata/base.py", line 417, 
in get_metadata_by_instance_id
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler return 
InstanceMetadata(instance, address)
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/api/metadata/base.py", line 143, 
in __init__
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler 
conductor_api=capi)
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 
359, in get_instance_nw_info
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler result = 
self._get_instance_nw_info(context, instance, networks)
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 
367, in _get_instance_nw_info
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler nw_info = 
self._build_network_info_model(context, instance, networks)
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 
777, in _build_network_info_model
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler client = 
quantumv2.get_client(context, admin=True)
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", 
line 67, in get_client
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler return 
_get_client(token=token)
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", 
line 49, in _get_client
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler token = 
_get_auth_token()
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", 
line 43, in _get_auth_token
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler 
LOG.exception(_("_get_auth_token() failed"))
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler 
self.gen.next()
2013-04-26 15:35:28.347 19902 TRACE nova.api.metadata.handler   File 
"/usr/lib/python2.7/dist-packages/nova/ne

Re: [Openstack] [Quantum] V2 Grizzly net-gateway-xxx 404

2013-04-26 Thread Heiko Krämer
So the usecase is,

i've a shared private net for shared services that can use by all tenants.

I've created a router, shared-net and subnet for this.
Now i'm trying to attach to the user-tenant router an interface with any
IP of the service-shared net, but thats not working:

quantum router-interface-add 424a4e14-54c1-4cd3-b0ef-69deeba3d24c
7e522217-4633-4def-b1eb-5be2eb3f2335
Unable to complete operation for network
39610c0f-228f-4a78-b65c-e523f49bbeed. The IP address 10.0.101.1 is in use.

It's possible to attach an interface of an other subnet to a router ?
It's to make it possible to communicate between user-tenant and
shared-tenant (not external network).

I'm using openvswitch and gre with namespaces so for each tenant one router.


I'm trying now since many hours to combine two internal networks...

Usecase:

tenant1 (10.0.0.0/24):
router1
vm1:
IP: 10.0.0.20

tenant2(10.0.1.0/24):
router2
vm2:
IP: 10.0.1.8

tenant3(10.0.2.0/24):
router3
vm3
ip: 10.0.2.9


now should it possible:
connect from vm1 and vm2 to vm3
not from vm1 to vm2

i need attach a port of the shared-net to the router of each tenant


I'm going to crazy :D


Greetings and thx
Heiko


On 26.04.2013 12:53, Akihiro MOTOKI wrote:
> Hi Heiko,
>
> net-gateway-* feature is provided by network gateway extension.
> This extension is specific to Nicira NVP plugin and not supported by
> other plugins (in Grizzly release).
>
> Thanks,
> Akihiro
>
>
>
> 2013/4/26 Heiko Krämer  >
>
> Hey guys,
>
> I'm trying to use:
> /quantum net-gateway-list /
>
> or something else of this command. I get every time 404:
>
> /quantum net-gateway-list//
> //404 Not Found//
> //
> //The resource could not be found.//
> /
> I think any extension is missing in my conf?! But i can't find any
> doc :(
>
> quantum.conf:
> /
> core_plugin =
> quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2//
> //service_plugins =
> quantum.plugins.services.agent_loadbalancer.plugin.LoadBalancerPlugin//
> //router_scheduler_driver =
> quantum.scheduler.l3_agent_scheduler.ChanceScheduler/
>
>
>
> Greetings and Thx
> Heiko
>
> ___
> Mailing list: https://launchpad.net/~openstack
> 
> Post to : openstack@lists.launchpad.net
> 
> Unsubscribe : https://launchpad.net/~openstack
> 
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> -- 
> Akihiro MOTOKI mailto:amot...@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] [Grizzly] cannot attach volume to instance due to wrong iscsi target

2013-04-26 Thread Michaël Van de Borne

Hi all,

I installed three nodes like this topology:
http://docs.openstack.org/trunk/openstack-network/admin/content/connectivity.html

Here are my subnets:
management: 192.168.203.X/24
data: 192.168.201.X/24
external & API: 192.168.202.X/24

I'm running ubuntu 12.04.

When I try to attach a volume to a VM, I get the following error in 
nova-compute.log:
2013-04-26 16:27:59.439 WARNING nova.virt.libvirt.volume 
[req-f5b4e121-a3ac-456d-b5cb-ba389c7fb409 
6d72da42f39648c48d3dfb4cd190107d 93a48de7ef674f07a96e169383c34399] ISCSI 
volume not yet found at: vdr. Will rescan & retry.  Try number: 0
2013-04-26 16:27:59.490 ERROR nova.compute.manager 
[req-f5b4e121-a3ac-456d-b5cb-ba389c7fb409 
6d72da42f39648c48d3dfb4cd190107d 93a48de7ef674f07a96e169383c34399] 
[instance: 05141f81-04cc-4493-86da-d2c05fd8a2f9] Failed to attach volume 
d9424219-33f6-40c8-88d9-ecba4c8aa6be at /dev/vdr
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] Traceback (most recent call last):
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2859, 
in _attach_volume
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] mountpoint)
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 
957, in attach_volume
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] disk_info)
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 
943, in volume_driver_method
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] return method(connection_info, 
*args, **kwargs)
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9]   File 
"/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", 
line 242, in inner
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] retval = f(*args, **kwargs)
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/volume.py", line 
245, in connect_volume
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] 
self._run_iscsiadm(iscsi_properties, ("--rescan",))
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9]   File 
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/volume.py", line 
179, in _run_iscsiadm
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] check_exit_code=check_exit_code)
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9]   File 
"/usr/lib/python2.7/dist-packages/nova/utils.py", line 239, in execute
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] cmd=' '.join(cmd))
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] ProcessExecutionError: Unexpected 
error while running command.
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] Command: sudo nova-rootwrap 
/etc/nova/rootwrap.conf iscsiadm -m node -T 
iqn.2010-10.org.openstack:volume-d9424219-33f6-40c8-88d9-ecba4c8aa6be -p 
_/*192.168.202.103*/_:3260 --rescan
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] Exit code: 255
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] Stdout: ''
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9] Stderr: 'iscsiadm: No portal found.\n'
2013-04-26 16:27:59.490 30092 TRACE nova.compute.manager [instance: 
05141f81-04cc-4493-86da-d2c05fd8a2f9]
2013-04-26 16:27:59.849 ERROR nova.openstack.common.rpc.amqp 
[req-f5b4e121-a3ac-456d-b5cb-ba389c7fb409 
6d72da42f39648c48d3dfb4cd190107d 93a48de7ef674f07a96e169383c34399] 
Exception during message handling



As we can see, the compute node tries to reach the API interface 
(192.168.202.103) of the controller node. Of course, it cannot, since 
the compute node only knows the data and the management subnets.


Is this the default behaviour and I'm missing a parameter somewhere?
I set this key in nova.conf:
iscsi_ip_address=192.168.203.103

but still no luck

any clue?

yours,

michaël


--
Michaël Van d

[Openstack] OpenStack Community Weekly Newsletter (Apr 12 – 25)

2013-04-26 Thread Stefano Maffulli


   Special post-Summit issue

 * OpenStack Design Summit Havana, from a Ceilometer point of view
   
   by Julien Danjou 
 * Havana Design Summit: Swift API Discussions
   
   by SwiftStack Team 
 * OpenStack Summit Portland Aftermath
    by Kyle Mestery
   
 * OpenStack Developer Summit: Heat Followup
   

   by Duncan McGreggor 
 * Havana!  by OpenStack Security
   Blog 
 * Portland OpenStack Summit
   
   by John Bresnahan 
 * Dan’s Partial Summary of the Nova Track
   

   by Dan Smith 
 * The Rocket Ship to Havana – OpenStack Summit Spring 2013
   

   by Clint Byrum 
 * Women of OpenStack at the Portland Summit
   

   by Anne Gentle 
 * Michael’s surprisingly unreliable predictions for the Havana Nova
   release  by
   Michael Still 
 * Havana Design Summit: Extending ACLs and Metadata
   

   by SwiftStack Team 
 * Design Summit in Portland
   
:
   Day 1
   
,Day
   2
   
,
   Day 3
   
,
   Day 4
   

   by eNovance 
 * Havana Design Summit: Swift Extensions Talk
   

   by SwiftStack Team 
 * Havana Design Summit: Extending ACLs and Metadata
   

   by SwiftStack Team 
 * OpenStack Design Summit
   days 1-2
   , days 3-4
    by Elizabeth Krumbach
   
 * “Stack Shop” cover of Macklemore’s Thrift Shop
   
   by Rob Hirschfeld
   
   and others
 * The Making of Cloud of USB Sticks
   
   by eglute


 OpenStack docs and tooling in 20 minutes
 


Howto get started with all the tooling and setup needed to build, 
review, and contribute to OpenStack Documentation. By Joe Heck 
.



   How It’s Made: the OpenStack API Reference Page
   


The site at http://api.openstack.org  is a 
collection of HTML pages, and one page has an especially interesting 
story about how it is built. Anne Gentle  
reveals the secret.



 Storage != Transfer
 

John Bresnahan argues that concepts of data transfer and data storage 
should not be conflated into a single solution.  He believes that 
OpenStack can benefit from a new component that offloads the burden of 
optimally transferring images from existing components like nova-compute 
and swift.



   Report from Previous Events

 * 3rd Swiss OpenStack User Group Meetup
   



   Tips and Tricks

 * By Sébastien Han : Ceph and Cinder
   multi-backend
   
 * By Chmouel B

[Openstack] ceilometer and heat tutorial

2013-04-26 Thread Michaël Van de Borne

Hi all,

I'm looking for install and usage tutorials for ceilometer and heat. The 
best I could find so far are these:

- ceilometer: http://docs.openstack.org/developer/ceilometer/install.html
- heat: 
https://wiki.openstack.org/wiki/Heat/GettingStartedUsingMasterOnUbuntu


Unfortunately, they seem to be intended for developers. Still have to 
git clone the softwares.


I'm looking for tutorials like this one: 
http://docs.openstack.org/trunk/basic-install/content/
(using apt-get, telling how to configure everything on every node, and 
finishing with a simple use case to validate the installation).


Does anyone have something like this?

thank you,

michaël


--
Michaël Van de Borne
R&D Engineer, SOA team, CETIC
Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli
www.cetic.be, rue des Frères Wright, 29/3, B-6041 Charleroi


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


Re: [Openstack] Ceilometer Install

2013-04-26 Thread Doug Hellmann
It sounds like you haven't completed the installation instructions. I don't
know if the manual steps listed at
http://docs.openstack.org/developer/ceilometer/install/manual.html work
with the tarball, but they should be close.

Doug


On Fri, Apr 26, 2013 at 3:46 AM, Riki Arslan wrote:

> The command line I am using is: "sudo /usr/local/bin/ceilometer-api".
>
> However, the ceilometer.ini file is missing. The version of Ceilometer I
> am using is "ceilometer-2013.1~g2.tar.gz". And, I only have the following
> configuration files:
>
> /etc/ceilometer/ceilometer.conf
> /etc/ceilometer/policy.json
> /etc/ceilometer/sources.json
>
> Thanks.
>
>
> On Fri, Apr 26, 2013 at 1:10 AM, Doug Hellmann <
> doug.hellm...@dreamhost.com> wrote:
>
>>
>>
>>
>> On Thu, Apr 25, 2013 at 8:37 AM, Riki Arslan 
>> wrote:
>>
>>> I thought Ceilometer did not set a dependency on any DB drivers. I have
>>> installed the driver Mongo using "sudo pip install pymongo".
>>>
>>
>> Ceilometer does use a database. You have to install the right driver. If
>> you want Mongo, then it sounds like you've done the right thing. It's
>> possible mako is also being used somewhere else, I'm not sure.
>>
>>
>>>
>>> Regarding the current problem; the traceback is as follows:
>>>
>>> Traceback (most recent call last):
>>>   File "/usr/local/bin/ceilometer-api", line 5, in 
>>> pkg_resources.run_script('ceilometer==0.0.0', 'ceilometer-api')
>>>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in
>>> run_script
>>> self.require(requires)[0].run_script(script_name, ns)
>>>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235,
>>> in run_script
>>> execfile(script_filename, namespace, namespace)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/EGG-INFO/scripts/ceilometer-api",
>>> line 38, in 
>>> service.prepare_service()
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/service.py",
>>> line 80, in prepare_service
>>> cfg.CONF(argv[1:], project='ceilometer')
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/openstack/common/cfg.py",
>>> line 1024, in __call__
>>> self._cli_values, leftovers = self._parse_cli_opts(args)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/ceilometer-0.0.0-py2.7.egg/ceilometer/openstack/common/cfg.py",
>>> line 1527, in _parse_cli_opts
>>> opt._add_to_cli(self._oparser, group)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py",
>>> line 591, in _add_to_cli
>>> container = self._get_argparse_container(parser, group)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py",
>>> line 633, in _get_argparse_container
>>> return group._get_argparse_group(parser)
>>> AttributeError: 'OptGroup' object has no attribute '_get_argparse_group'
>>>
>>
>> That is coming from oslo.config. Can you post the ceilometer.ini file and
>> command line you are using to start the service?
>>
>> Doug
>>
>>
>>>
>>> Thank for the help.
>>>
>>>
>>> On Thu, Apr 25, 2013 at 3:27 PM, Doug Hellmann <
>>> doug.hellm...@dreamhost.com> wrote:
>>>


 On Thursday, April 25, 2013, Riki Arslan wrote:

> I have encountered other problems too.
>
> First of all, when starting the Central Agent I have had Glance
> endpoint 404 not found errors. As, Julien pointed out (
> https://bugs.launchpad.net/ceilometer/+bug/1083104), I have removed
> the "v1" from the Glance URLs and it worked well.
>
> Secondly, when starting the API Server, I have received "ImportError:
> No module named mako.template" error. Thus, I have installed python-mako
> module (sudo apt-get install python-mako), and the error disappeared.
>

 Mako is a dependency do sqlalchemy, I think. Are you using the
 sqlalchemy storage driver for ceilometer?


>
> Now, I am receiving another error within the API Server. The error is
> as follows:
> "AttributeError: 'OptGroup' object has no attribute
> '_get_argparse_group'"
>

 That sounds like a problem with the config module. Was there a full
 traceback? If not, try adding the --debug option when starting the service.

 Doug


>
> Do you think it has something to do with mod_wsgi (
> http://docs.openstack.org/developer/ceilometer/install/mod_wsgi.html)?
>
> I would appreciate your help on this.
>
> Thanks.
>
>
> On Thu, Apr 25, 2013 at 12:27 AM, Riki Arslan <
> riki.ars...@cloudturk.net> wrote:
>
>> Hi Doug,
>>
>> Your email helped me. It was actually glanceclient version 0.5.1 that
>> was causing the conflict. After updating it, the conflict error 
>> disappeared.
>>
>> I hope this would help someone else too.
>>
>> Thanks again.
>>
>>
>> On Wed, A

Re: [Openstack] [Quantum] V2 Grizzly net-gateway-xxx 404

2013-04-26 Thread Darragh O'Reilly


have a look at this
https://answers.launchpad.net/quantum/+question/227321

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


Re: [Openstack] [Grizzly] cannot attach volume to instance due to wrong iscsi target

2013-04-26 Thread Darragh O'Reilly
its not really obvious, but I believe the iscsi_ip_address needs to be set in 
the nova.conf on the **controller** - just want to check you did it there.


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

2013-04-26 Thread Will Dennis (Live.com)
+1 on Devstack; it's a great learning (labbing) tool in itself. You can even
do a multi-node installation with it.

 

Hi Chris,

 

Do check out the recent OpenStack Operations Guide at
http://docs.openstack.org/ops/OpenStackOperationsGuide.pdf -- it's a good
resource to get you going on a real implementation.

 

Finally, (haven't yet used them but) Mirantis does hold OpenStack training
classes - see http://www.mirantis.com/openstack-training/ for details.

 

Please keep the list updated on what else you find - I'm a OS newb as well
and looking for all the training sources I can find :) I'm sure they're a
lot of us out here as well.

 

Best,

Will

 

From: Openstack
[mailto:openstack-bounces+willarddennis=live@lists.launchpad.net] On
Behalf Of John Griffith
Sent: Thursday, April 25, 2013 4:24 PM
To: ch...@christopherbartels.com
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] OpenStack Training

 

 

 

On Thu, Apr 25, 2013 at 2:15 PM, Chris Bartels
 wrote:

Hi,

 

My experience with virtualization has been limited to the ProxmoxVE
platform, and with it I'm quite adept after working with it for a few years,
however I'm looking forward to migrating to OpenStack & would like to find a
way to learn as much about it as I can, in as efficient a manner as
possible.

 

I'm currently in the process of selling my laptop on eBay so that I can buy
a cheap used server with which to tinker with the new OpenStack Grizzly
release so I can start to learn first-hand about working with the software,
so I have that to look forward to, but I'm also on the lookout for more
opportunities to soak up information.

 

Today I found the 'OpenStack Foundation' YouTube channel, and have been
watching videos all morning. I'm happy with this to a degree. One in
particular entitled "Solving The OpenStack Talent Gap" turned me on to a
resource called 'Cloud Academy', which seemed promising at first, but after
getting registered with them- as far as I can tell they don't have training
content up & available yet, as their project is in its infancy apparently.

 

So I come to you all here on the list for suggestions as to whether there
exists reputable formal online training that I can sign up for somewhere-
free is better however I don't mind spending a thousand dollars for
top-notch training if it provides an industry recognized certification at
the end such as the CompTIA A+ (which I'm signed up for this fall, btw-
because it's the closest I can get to what I'm after at the local community
college).

 

What do people here know that I don't know about OpenStack learning &
training? Do any programs stand out as being great that you know of?

 

Please advise.

 

 

Kindest Regards,

-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

Hey Chris,

 

Welcome, I don't have much input regarding your questions on the best
training resources other than docs and diving in to OpenStack.

 

That being said, you might want to reconsider selling your laptop, you can
run OpenStack in a VM on your laptop just fine, and in fact checkout:
http://devstack.org for a very easy way to get started and experimenting
with OpenStack.

 

Good Luck,

John

___
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 container's rwx permissions

2013-04-26 Thread Clay Gerrard
Wow, so I glanced quickly at the github project to try and get some
context, but I think I actually start getting *more* confused when I see
"swift" in the same class name as "file-system" ;)

I'd like you (or maybe vaidy, hi vaidy!) to correct me if I'm wrong, but
this hadoop integration will *not* access the filesystem of the object
servers directly?  Everything will happen on a pool of processing boxes
that will talk to swift via HTTP - same as any other client?

In that case, the error message is just a leaky abstraction showing
through.  HDFS probably has permission errors that it tries to helpfully
map back to file system constructs which just don't apply when you're
trying to "simulate" a file system on object storage.  You'll have to get
down the the HTTP to understand what's causing the error.  Presumably a 401
from Swift, so access to swift logs would be helpful.

OTOH, if we're * actually* talking about filesystem permissions; then I'm
totally confused.  But ACL's definitely won't help.  They're just a row
sitting in a sqlite database - probably on a totally different server from
where the one replica of this object is sitting on the filesystem. Nothing
you can set in the api will change the filesystem permissions of the
directory structure or files on the object servers.

Maybe do you have some more overview info on the general approach?  I don't
really have any Hadoop experience, so maybe it'd be better if there's a
hadoop expert out there that also has some experience with swift and can
help get you on the right track...

-Clay



In


On Fri, Apr 26, 2013 at 1:11 AM, Shashank Sahni wrote:

> Hi everyone,
>
> I've been experimenting with using Swift(1.8) as Hadoop's DFS backend.
>
> https://github.com/DmitryMezhensky/Hadoop-and-Swift-integration
>
> After a few glitches, I'm able to create/access/delete objects/containers
> using hadoop's cli fs tool. But whenever I'm trying to run the job it fails
> with the following error.
>
> ERROR security.UserGroupInformation: PriviledgedActionException
> as:dharmesh cause:java.io.IOException: The ownership/permissions on the
> staging directory
> swift://hadooptest.rackspace/tmp/app/mapred/staging/dharmesh/.staging is
> not as expected. It is owned by and permissions are rwxrwxrwx. The
> directory must be owned by the submitter dharmesh or by dharmesh and
> permissions must be rwx--
>
> Note that, the local system username is "dharmesh" and the openstack
> account and associated tenant is "dharmesh" too.
>
> I tried setting the permissions by creating "tmp" container using "swift
> post -r 'dharmesh:dharmesh'", but unfortunately ended up with the same
> result. Is there an other way to set rwx ACLs in swift?
>
> --
> Shashank Sahni
>
> ___
> 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] ceilometer and heat tutorial

2013-04-26 Thread Steven Hardy
On Fri, Apr 26, 2013 at 05:02:54PM +0200, Michaël Van de Borne wrote:
> Hi all,
> 
> I'm looking for install and usage tutorials for ceilometer and heat.
> The best I could find so far are these:
> - ceilometer: http://docs.openstack.org/developer/ceilometer/install.html
> - heat: https://wiki.openstack.org/wiki/Heat/GettingStartedUsingMasterOnUbuntu
> 
> Unfortunately, they seem to be intended for developers. Still have
> to git clone the softwares.
> 
> I'm looking for tutorials like this one:
> http://docs.openstack.org/trunk/basic-install/content/
> (using apt-get, telling how to configure everything on every node,
> and finishing with a simple use case to validate the installation).
> 
> Does anyone have something like this?

For Heat, the we don't yet have this sort of package-orientated
documentation, for Ubuntu this is because heat is not yet packaged for
Ubuntu, it is now in Debian Experimental though:

https://launchpad.net/debian/experimental/+source/heat/2013.1-1

Heat is packaged for Fedora, there are some instructions here:

http://fedoraproject.org/wiki/Test_Day:2012-09-18_OpenStack

HTH,

Steve


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


[Openstack] Bridging question

2013-04-26 Thread Daniel Ellison
Hi all,

I have Nova all set up on a single server and am able to start/stop/delete VM 
instances no problem. I have a bridge at br100 which sits on eth1 and is not 
connected to anything. eth0 is connected to the Internet. Before installing 
Openstack I was using KVM and virsh to manage my VMs. In order to do the 
Openstack install with fewer working parts, I brought down all KVM instances 
and deleted the br0 bridge they were using.

Everything works beautifully with respect to nova-network. Since I can't easily 
port my KVM instances to Openstack, I wanted to start them up again under 
virsh. I recreated the br0 bridge as it was before. So far so good. I can start 
my "legacy" VMs and all works as expected. There's only one issue, and I don't 
even know if it's important.

Before starting a Nova VM eth0 has no IP, which is expected as it's being 
covered by br0. But when I start one of the Nova VMs that has a floating IP, 
eth0 gains its IP! Everything seems to continue working, but it doesn't make 
sense to me.

I don't know if this is expected behaviour or I simply have things configured 
wrong. Since it all still works I'm not overly concerned, but it does bug me. 
If anyone has insight into this I would be grateful.

Thanks,
Daniel
___
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] Bridging question

2013-04-26 Thread David Wittman
Daniel,

This is the expected behavior. With nova-network, FLIPs are assigned as a
secondary address on the host interface, and traffic is routed to your
instances via NAT rules. I'd recommend reading the following blog post from
Mirantis for more information:

http://www.mirantis.com/blog/configuring-floating-ip-addresses-networking-openstack-public-private-clouds/

-Dave


On Fri, Apr 26, 2013 at 4:58 PM, Daniel Ellison  wrote:

> Hi all,
>
> I have Nova all set up on a single server and am able to start/stop/delete
> VM instances no problem. I have a bridge at br100 which sits on eth1 and is
> not connected to anything. eth0 is connected to the Internet. Before
> installing Openstack I was using KVM and virsh to manage my VMs. In order
> to do the Openstack install with fewer working parts, I brought down all
> KVM instances and deleted the br0 bridge they were using.
>
> Everything works beautifully with respect to nova-network. Since I can't
> easily port my KVM instances to Openstack, I wanted to start them up again
> under virsh. I recreated the br0 bridge as it was before. So far so good. I
> can start my "legacy" VMs and all works as expected. There's only one
> issue, and I don't even know if it's important.
>
> Before starting a Nova VM eth0 has no IP, which is expected as it's being
> covered by br0. But when I start one of the Nova VMs that has a floating
> IP, eth0 gains its IP! Everything seems to continue working, but it doesn't
> make sense to me.
>
> I don't know if this is expected behaviour or I simply have things
> configured wrong. Since it all still works I'm not overly concerned, but it
> does bug me. If anyone has insight into this I would be grateful.
>
> Thanks,
> Daniel
> ___
> 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] cinder-volume ignoring rabbit config?

2013-04-26 Thread Dennis Jacobfeuerborn

Hi,
I'm trying to get the cinder-volume service working on a compute node 
but for some strange reason it seems to ignore the rabbit host 
configuration values.


In the log I see this:

2013-04-27 03:05:35DEBUG [qpid.messaging.io.raw] OPEN[31bbb00]: 
localhost:5672
2013-04-27 03:05:35ERROR [cinder.openstack.common.rpc.impl_qpid] 
Unable to connect to AMQP server: [Errno 111] ECONNREFUSED. Sleeping 1 
seconds


Yet in the cinder.conf file I specified:
...
rabbit_host=10.16.171.3
rabbit_hosts=10.16.171.3:5672
...

There is no "localhost" or "127.0.0.1" present anywhere in that files 
and yet the service tries to connect to localhost:5672.

Any ideas what might be going on here?

Regards,
  Dennis

___
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] some sites don't work now

2013-04-26 Thread Gareth
Hi

=
[root@krugle-opensearch ~]# ping status.openstack.org
PING static.openstack.org (166.78.153.26) 56(84) bytes of data.

--- static.openstack.org ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4000ms

=
[root@krugle-opensearch ~]# ping logs.openstack.org
PING static.openstack.org (166.78.153.26) 56(84) bytes of data.

--- static.openstack.org ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3000ms


-- 
Gareth

*Cloud Computing, Openstack, Fitness, Basketball
*
*OpenStack contributor*
*My promise: if you find any spelling or grammar mistakes in my email from
Mar 1 2013, notify me *
*and I'll donate $1 or ¥1 to an open organization you specify.*
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp