[Openstack] [openstack][nova-compute][xenapi] network bridge br100 can't allocate PIF-uuids

2012-11-01 Thread Ben Liu
I build up a XCP nova-compute node with FlatDHCPManager

XCP server network configure:

Eth0 -> xenbr0

Eth1 is automatically configured as xenbr1 by XCP server also

 

I make a br100 network on XCP server which is known as dom0 with the
command:

xe network create name-label=br100

then br100 is associated with xapi0 automatically

 

nova-compute node is setup on a VM of XCP server without nova-network(single
host mode)

nova-compute node name is xen1

 

when I boot a instance on xen1, the bridge xapi0 is automatically generated
on XCP server

my problems is:

instance has a VIF named vif2.0 associated with it but without no IP address
allocated

 

on XCP server, brctl show command info is:

bridge   interfaces

-

xapi0 vif2.0

xenbr0   eth0

vif1.0

bridge xapi0 does not has a physical NIC associate with, doe this normal?

 

On XCP server, xe network-list name-label=br100 params=all shows:

VIF-uuids: 33232475e234 (any way)

PIF-uuids:

PIF-uuids does not contain anything

 

My problem is Xen vm Instance can't get IP address. Anyone can help?

___
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] Recover data after VM crash

2012-10-12 Thread Ben

Hi the list,

I have an instance in inconsistent state, and I would like to recover 
the data stored in.


The story : I had a very high load average on the instance, so I decided 
to reboot it with nova reboot command. The instance didn't went up (may 
be root fs corruption ?), so I tried to rescue it with nova rescue command.


Now when I try to start the instance, I see in the compute log an 
exception message telling that kernel.rescue file is not present. Same 
thing if I try to unrescue (playing with state in db to allow the command).


So I'm stuck with a probably broken image, in a broken rescue state.

Questions :
- how can I rescue or unrescue the instance ?
- how can I recover the data (by mounting instance file to browse its 
content ?)


Thanks

Ben

___
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] Instance can't get metadata

2012-08-30 Thread Ben

Le 30/08/2012 04:20, Vishvananda Ishaya a écrit :


On Aug 29, 2012, at 4:16 PM, Ben  wrote:


And about nova.conf format, should I prefix options or not ?


no. The new format is without -- and -- will not work in folsom.

Vish


Ok, thank you for the information, I was wondering.

Ben

___
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] Instance can't get metadata

2012-08-29 Thread Ben

Hi Vish,

Thanks for your fast answer.
I tried these options on all nodes, but it didn't seems to work 
(connection refused again).
I have googled a bit more, and I saw I can load nova-api on each compute 
nodes, with only the metadata service (--enabled_apis=metadata).

This setup works well and enable HA for api so it can be a good solution.
Thanks for the help and sorry for not googling enough before asking ;)

And about nova.conf format, should I prefix options or not ?

Ben


Le 30/08/2012 00:19, Vishvananda Ishaya a écrit :

Try:
--metadata_host=94.xx.xx.50
--dmz_cidr=94.xx.xx.50/32

Vish

On Aug 29, 2012, at 3:14 PM, Ben  wrote:


Hi the list,

I had issues with nova-scheduler, but after upgrading ubuntu packages, the 
problem have disapeared.

Now, I have another well know problem : on a multinode setup, I have a 
connection refused when the instance tries to get metadata from nova-api :

2012-08-29 22:00:05,968 - util.py[WARNING]: 
'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [0/120s]: url 
error [[Errno 111] Connection refused]

If I watch to iptables, I can see that 169.254.169.254 is rerouted to itself 
(.52, the compute node) instead of the controller node (.50)

# iptables -t nat -L -v | grep -n3 169.254.169.254

45-Chain nova-network-PREROUTING (1 references)
46- pkts bytes target prot opt in out source destination
47:   17  1020 DNAT   tcp  --  anyany anywhere 169.254.169.254  
tcp dpt:http to:94.xx.xx.52:8775

I tried these option in nova.conf but it didn't solved the problem
--dmz_cidr=94.xx.xx.50/32
--ec2_dmz_host=94.xx.xx.50

How can I force nova-compute to reroute the metadata request on the controller 
node instead of itself ?

Another non-related question : my nova.conf have its options prefixed with -- 
(example --multi_host=true)
I saw some nova.conf with no prefix, just the name of the option (example 
multi_host=true).
What is the good format ?


Thank you,

Ben

___
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] Instance can't get metadata

2012-08-29 Thread Ben

Hi the list,

I had issues with nova-scheduler, but after upgrading ubuntu packages, 
the problem have disapeared.


Now, I have another well know problem : on a multinode setup, I have a 
connection refused when the instance tries to get metadata from nova-api :


2012-08-29 22:00:05,968 - util.py[WARNING]: 
'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed 
[0/120s]: url error [[Errno 111] Connection refused]


If I watch to iptables, I can see that 169.254.169.254 is rerouted to 
itself (.52, the compute node) instead of the controller node (.50)


# iptables -t nat -L -v | grep -n3 169.254.169.254

45-Chain nova-network-PREROUTING (1 references)
46- pkts bytes target prot opt in out source 
destination
47:   17  1020 DNAT   tcp  --  anyany anywhere 
169.254.169.254  tcp dpt:http to:94.xx.xx.52:8775


I tried these option in nova.conf but it didn't solved the problem
--dmz_cidr=94.xx.xx.50/32
--ec2_dmz_host=94.xx.xx.50

How can I force nova-compute to reroute the metadata request on the 
controller node instead of itself ?


Another non-related question : my nova.conf have its options prefixed 
with -- (example --multi_host=true)
I saw some nova.conf with no prefix, just the name of the option 
(example multi_host=true).

What is the good format ?


Thank you,

Ben

___
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] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Ben
Hum, ok but why ? I'm running essex out of the box packaged in Ubuntu 
12.04. I didn't modify the code (except comment the raise line in cfg.py 
for this problem), but I did a lot of reinstall, modify configuration, 
drop nova db, etc.


What would cause this circular import ? Can I tweak the code to avoid 
this circular import (as workaround to validate this hypothesis) ?


Thanks to all for your help.

Ben


Le 22/08/2012 18:00, Vishvananda Ishaya a écrit :

You have a circular import somewhere That is causing scheduler/driver.py to be 
imported twice.

Vish
On Aug 22, 2012, at 8:33 AM, Ben  wrote:


# grep -R scheduler_host_manager /usr/lib/python2.7/dist-packages/nova
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py: 
cfg.StrOpt('scheduler_host_manager',
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py:   
FLAGS.scheduler_host_manager)
Fichier binaire /usr/lib/python2.7/dist-packages/nova/scheduler/driver.pyc 
concordant
grep: /usr/lib/python2.7/dist-packages/nova/CA/reqs/.gitignore: Aucun fichier 
ou dossier de ce type
grep: /usr/lib/python2.7/dist-packages/nova/CA/.gitignore: Aucun fichier ou 
dossier de ce type
grep: /usr/lib/python2.7/dist-packages/nova/CA/projects/.gitignore: Aucun 
fichier ou dossier de ce type

If I comment the portion of code that raise the error (in 
_is_opt_registered(opts, opt) of cfg.py), I get the following error :

ClassNotFound: Class SimpleScheduler could not be found: cannot import name vnc

I have the same error if I replace --scheduler_driver by --scheduler_manager in 
nova.conf.

novnc is not installed because it give a configure error, but nova-vncproxy is 
well installed.

I suspect the error raised is not the original error, only side effect...
I joined the trace of nova-scheduler before and after the code comment.

What can I try now ?

Ben

Le 22/08/2012 17:00, Joseph Suh a écrit :

Ben,

It is possible to have the option specified in a code. Try grep -r on whole 
code.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: "Joseph Suh" 
Cc: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 10:47:35 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi Joseph,

Thank you for your answer. Yes, but where could be that option ? It's
not duplicated in my nova.conf file, and this is the file the
nova-scheduler uses.
My nova.conf file joined.

Regards,

Ben


Le 22/08/2012 16:37, Joseph Suh a écrit :

Ben,

As the error message suggests, it is due to a duplicated option of 
scheduler_host_manager. It is specified more than once somewhere.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 8:27:39 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi,

No idea for my scheduler problem ? It was working at the beginning (I
suppose because I could launch instances), but I did a lot of
modification, modifying networks, deleting nova db, rebuild it, etc.

Any idea on what I can do to identify the problem ? Where can I find the
mentionned option except in nova.conf ?

Ben

Le 22/08/2012 00:46, Ben a écrit :

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I
start nova-scheduler on controller node, the process dies instantly with
this error :

CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have
checked my nova.conf file, and I only see this line :

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben


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


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




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


Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Ben

# grep -R scheduler_host_manager /usr/lib/python2.7/dist-packages/nova
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py: 
cfg.StrOpt('scheduler_host_manager',
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py: 
  FLAGS.scheduler_host_manager)
Fichier binaire 
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.pyc concordant
grep: /usr/lib/python2.7/dist-packages/nova/CA/reqs/.gitignore: Aucun 
fichier ou dossier de ce type
grep: /usr/lib/python2.7/dist-packages/nova/CA/.gitignore: Aucun fichier 
ou dossier de ce type
grep: /usr/lib/python2.7/dist-packages/nova/CA/projects/.gitignore: 
Aucun fichier ou dossier de ce type


If I comment the portion of code that raise the error (in 
_is_opt_registered(opts, opt) of cfg.py), I get the following error :


ClassNotFound: Class SimpleScheduler could not be found: cannot import 
name vnc


I have the same error if I replace --scheduler_driver by 
--scheduler_manager in nova.conf.


novnc is not installed because it give a configure error, but 
nova-vncproxy is well installed.


I suspect the error raised is not the original error, only side effect...
I joined the trace of nova-scheduler before and after the code comment.

What can I try now ?

Ben

Le 22/08/2012 17:00, Joseph Suh a écrit :

Ben,

It is possible to have the option specified in a code. Try grep -r on whole 
code.

Thanks,

Joseph

- Original Message -----
From: "Ben" 
To: "Joseph Suh" 
Cc: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 10:47:35 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi Joseph,

Thank you for your answer. Yes, but where could be that option ? It's
not duplicated in my nova.conf file, and this is the file the
nova-scheduler uses.
My nova.conf file joined.

Regards,

Ben


Le 22/08/2012 16:37, Joseph Suh a écrit :

Ben,

As the error message suggests, it is due to a duplicated option of 
scheduler_host_manager. It is specified more than once somewhere.

Thanks,

Joseph

----- Original Message -
From: "Ben" 
To: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 8:27:39 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi,

No idea for my scheduler problem ? It was working at the beginning (I
suppose because I could launch instances), but I did a lot of
modification, modifying networks, deleting nova db, rebuild it, etc.

Any idea on what I can do to identify the problem ? Where can I find the
mentionned option except in nova.conf ?

Ben

Le 22/08/2012 00:46, Ben a écrit :

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I
start nova-scheduler on controller node, the process dies instantly with
this error :

CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have
checked my nova.conf file, and I only see this line :

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben


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

--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--allow_admin_api=true
--use_deprecated_auth=false
--auth_strategy=keystone
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--s3_host=94.103.xx.xx
--ec2_host=94.103.xx.xx
--rabbit_host=94.103.xx.xx
--cc_host=94.103.xx.xx
--nova_url=http://94.103.xx.xx:8774/v1.1/
--routing_source_ip=94.103.xx.xx
--glance_api_servers=94.103.xx.xx:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.28
--sql_connection=mysql://novadbadmin:hiddenp...@94.103.xx.xx/nova
--ec2_url=http://94.103.xx.xx:8773/services/Cloud
--keystone_ec2_url=http://94.103.xx.xx:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--libvirt_type=kvm
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
--vnc_enabled=true
--vncproxy_url=http://94.103.xx.xx:6080
--vnc_console_proxy_url=http://94.103.xx.xx:6080
# network specific settings
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth0
--flat_interface=eth1
--flat_network_bridge=br100
--fixed_range=192.168.28.0/25
--floating_range=94.103.136.55/29
--network_size=128
--flat_network_dhcp_start=192.168.28.2
--flat_injected=False
--force_dhcp_release
--iscsi_helper=tgtadm
--connection_type=libvirt
--root_helper=sudo nova-rootwrap
--ver

Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Ben

Hi Joseph,

Thank you for your answer. Yes, but where could be that option ? It's 
not duplicated in my nova.conf file, and this is the file the 
nova-scheduler uses.

My nova.conf file joined.

Regards,

Ben


Le 22/08/2012 16:37, Joseph Suh a écrit :

Ben,

As the error message suggests, it is due to a duplicated option of 
scheduler_host_manager. It is specified more than once somewhere.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 8:27:39 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi,

No idea for my scheduler problem ? It was working at the beginning (I
suppose because I could launch instances), but I did a lot of
modification, modifying networks, deleting nova db, rebuild it, etc.

Any idea on what I can do to identify the problem ? Where can I find the
mentionned option except in nova.conf ?

Ben

Le 22/08/2012 00:46, Ben a écrit :

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I
start nova-scheduler on controller node, the process dies instantly with
this error :

CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have
checked my nova.conf file, and I only see this line :

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben


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

--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--allow_admin_api=true
--use_deprecated_auth=false
--auth_strategy=keystone
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--s3_host=94.103.xx.xx
--ec2_host=94.103.xx.xx
--rabbit_host=94.103.xx.xx
--cc_host=94.103.xx.xx
--nova_url=http://94.103.xx.xx:8774/v1.1/
--routing_source_ip=94.103.xx.xx
--glance_api_servers=94.103.xx.xx:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.28
--sql_connection=mysql://novadbadmin:hiddenp...@94.103.xx.xx/nova
--ec2_url=http://94.103.xx.xx:8773/services/Cloud
--keystone_ec2_url=http://94.103.xx.xx:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--libvirt_type=kvm
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
--vnc_enabled=true
--vncproxy_url=http://94.103.xx.xx:6080
--vnc_console_proxy_url=http://94.103.xx.xx:6080
# network specific settings
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth0
--flat_interface=eth1
--flat_network_bridge=br100
--fixed_range=192.168.28.0/25
--floating_range=94.103.136.55/29
--network_size=128
--flat_network_dhcp_start=192.168.28.2
--flat_injected=False
--force_dhcp_release
--iscsi_helper=tgtadm
--connection_type=libvirt
--root_helper=sudo nova-rootwrap
--verbose
--libvirt_use_virtio_for_bridges
--ec2_private_dns_show
--novnc_enable=true
--novncproxy_base_url=http://94.103.xx.xx:6080/vnc_auto.html
--vncserver_proxyclient_address=127.0.0.1
--vncserver_listen=0.0.0.0

___
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] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Ben

Hi,

No idea for my scheduler problem ? It was working at the beginning (I 
suppose because I could launch instances), but I did a lot of 
modification, modifying networks, deleting nova db, rebuild it, etc.


Any idea on what I can do to identify the problem ? Where can I find the 
mentionned option except in nova.conf ?


Ben

Le 22/08/2012 00:46, Ben a écrit :

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I
start nova-scheduler on controller node, the process dies instantly with
this error :

CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have
checked my nova.conf file, and I only see this line :

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben


___
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] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-21 Thread Ben

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I 
start nova-scheduler on controller node, the process dies instantly with 
this error :


CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have 
checked my nova.conf file, and I only see this line :


--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben

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

2012-05-08 Thread ghassen ben hamida
Hi,
i have installed nova, glance, keystone and horizon into a single node.
Version : essex
OS: Ubuntu 12.04
eveything work fine, now i need to install swift in another node.
there is any tutorial explaining how to do that and how to configure my
installed cloud controller with the swift node?
thx
___
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] Instance unreachable

2012-05-06 Thread ghassen ben hamida
Hi,
I install openstack essex on ubuntu 12.04.
everything seems running correctly,
I can launch instances with nova boot command and also from the dashboard,
an IP inside the range is assigned.
The problem is that i can't ping or ssh the instances.
I have configured the groupsecure rules to allow ping and ssh but the
problem persist.
any idea about that please ?
thx
___
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] Problem When uploading a windows Image

2012-04-22 Thread ghassen ben hamida
I'm trying runnig a windows image on nova
I run the image under KVM (qemu), i have disabled the firewall and have
activated the RDP connection.
I run succesfully the "euca-bundle-image" command but i'm trying to execute
the "euca-upload-bundle" i have the following error !
any idea about that !! i really need help !

#euca-upload-bundle -b image-bucket -m /tmp/windows.img.manifest.xml
Checking bucket: image-bucket
Traceback (most recent call last):
  File "/usr/bin/euca-upload-bundle", line 261, in 
main()
  File "/usr/bin/euca-upload-bundle", line 239, in main
bucket_instance = ensure_bucket(conn, bucket, canned_acl)
  File "/usr/bin/euca-upload-bundle", line 94, in ensure_bucket
bucket_instance = connection.get_bucket(bucket)
  File "/usr/lib/python2.6/site-packages/boto/s3/connection.py", line 275,
in get_bucket
rs = bucket.get_all_keys(headers, maxkeys=0)
  File "/usr/lib/python2.6/site-packages/boto/s3/bucket.py", line 204, in
get_all_keys
headers=headers, query_args=s)
  File "/usr/lib/python2.6/site-packages/boto/s3/connection.py", line 342,
in make_request
data, host, auth_path, sender)
  File "/usr/lib/python2.6/site-packages/boto/connection.py", line 460, in
make_request
return self._mexe(method, path, data, headers, host, sender)
  File "/usr/lib/python2.6/site-packages/boto/connection.py", line 438, in
_mexe
raise e
socket.gaierror: [Errno -2] Name or service not known
___
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]Swift + Keystone + Cyberduck

2012-04-10 Thread Ben McGraw
I wouldn't mind some proof of Cyberduck working with Keystone properly.

Which version of Cyberduck?  What version of swift and keystone?

-b

2012/4/10 Kuo Hugo 

> Actually , both cyberduck and gladinet client works with Keystone
> properly.
> Is there any further information in your test ?
> What do you need around ?
>
> William Herry  於 2012年4月10日上午9:32 寫道:
>
>>  Hi
>>
>> I am try to use Cyberduck as the client of Swift storage, my swift use
>> keystone as the auth system, any one has successful experience can share
>> with me, or is there any other client software for swift
>>
>> In fact I can't make Cyberduck work when I use tempauth as the auth,
>> which can work with cloudberry and cloudfuse, but as I know, in windows
>> only Cyberduck can support Keystone
>>
>> Thanks
>>
>> William
>>
>> --
>>
>> ===
>> William Herry
>>
>> williamherrych...@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
>>
>>
>
>
> --
> +Hugo Kuo+
> tonyt...@gmail.com
> + 886 935004793
>
>
> _______
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
-Ben (Grue)
Sr. Software Engineer at PistonCloud.com
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [OpenStack Foundation] Foundation Structure: An Alternative

2012-03-09 Thread Ben Cherian
Josh,

Good work on the alternate proposal.

Mark, Jonathan,

Thanks for the quick response.

I tend to prefer a simpler approach to membership classes and I like the
idea of only having one corporate class. The only real difference between
the associate member and the strategic member is the amount of money they
put in and that paying more money guarantees them a position on the board.

Here's another idea: What if we decouple the fundraising from the board
membership? I think there are enough benefits that companies would want to
pay the foundation for like:

- Logo and trademark usage
- Access to benchmarks, best practices, and other intelligent materials
- And most important, IMO, having the foundation defend the member in cause
of a legal threat or patent issue

Most companies building businesses around OpenStack would pay for
protection.

Then, you can decide who is on the Foundation board without thinking about
how much they're corporation paid and rather elect people based on value
and merit.

Thoughts?

- Ben


On Fri, Mar 9, 2012 at 2:27 PM, Mark Collier  wrote:

> Josh,
>
> Thanks for taking the time to consider the proposed structure and provide
> your thoughts on it.  I don't think your concerns are very far off from
> what we are wanting to address with the Associate Member category, which
> allows more companies to be represented at a lower price point.  The
> current funding proposal is on the wiki for reference:
> http://wiki.openstack.org/Governance/Foundation/Funding
>
> Let me address a few of your points regarding the proposed plan:
>
> *Accessibility*:  Associate Member fees start at $50k/year which is
> substantially lower than a $200k/year flat fee model.  The members will
> elect resprenstatives as a class to the Board.  Those Board members will
> have the same roles and responsibilities as any other Board member.
> Additionally, companies who wish to show their support for OpenStack may
> also become a sponsor without paying the full Associate Member fee.
> Sponsor levels have not been worked out, but I suspect they will start in
> the 20k/year range.
>
> *Board Size*:  My sense is that with a flat fee of 200k/year, we 
> wouldstillget many more than 15-20 interested parties, which would quickly 
> overwhelm
> the board, making it unmanageable.  The Associate Member concept mitigates
> this issue by allowing the class to grow (for accessibility), without the
> seats balooning, by having elected representatives.  It also reduces the
> risk of shaking up the board makeup and size through acquisition.
>
> *Strategic Member fees*:  One small clarification: the proposal calls for
> Strategic Members to make a commitment of $500k/year for 5 years, paid
> annually (not up front). This figure was driven primarily by the need to
> arrive at a reasonable board size, while also raising substantial funds for
> foundation operations.
>
> *Strategic Member dominance*:  Board members who are appointed by
> Strategic Members will make up only 1/3 of the board, and will have the
> same roles and responsibilties as the other board members.
>
> *Requirement** for **S**trategic **M**embers** to have full time staff*:
> The current structure proposal states that Strategic Members must "Provide
> dedicated resources (e.g. developers, legal resources)" and the funding
> proposal states that "...the general expectation is a resource commitment
> that is consistent with staffing two full time equivalents" so it looks
> like we are on the same page re: 2 FTE requirement.
>
> I hope many other folks take the opporunity to weigh in, both on this
> mailing list as well as in the webinars we'll be holding next week and in
> any other forum that suits your fancy.  I'll also try to keep up with all
> of the blogging and tweeting, as if that's possible!
>
> Mark
>
>
>
> From: Joshua McKenty 
> Date: Fri, 9 Mar 2012 11:20:17 -0800
> To: OpenStack , <
> foundat...@lists.openstack.org>
> Subject: [OpenStack Foundation] Foundation Structure: An Alternative
>
>  I'll be the first to admit that I'm not a diplomatic person. When we
> were launching OpenStack, this was a bit of an advantage (if we had waited
> for permission before releasing the Nova source code, we'd still be
> waiting) - but since the first summit, the community has grown so quickly,
> and become so diverse, that I have tried to leave discussions of
> governance, foundation structure, dispute resolution, and most particularly
> monetary corporate contributions, to others with more... tact.
>
> But now I feel I have no choice but to speak up; I'm deeply concerned.
>
> The biggest, splashiest openstack stories of the past two years have all
> had the names of hug

Re: [Openstack] Creating account and user in swift

2012-01-27 Thread Khaled Ben Bahri

But on storage servers, what's kind of error it can be??

I followed the link below to configure them

http://swift.openstack.org/howto_installmultinode.html

Best regards
Khaled
From: chmo...@openstack.org
Date: Fri, 27 Jan 2012 10:05:01 -0800
Subject: Re: [Openstack] Creating account and user in swift
To: khaled-...@hotmail.com
CC: openstack@lists.launchpad.net

Well your proxy configuration looks correct, the probably may lie somewhere 
else on the storage servers.
Chmouel.

On Fri, Jan 27, 2012 at 10:01 AM, Khaled Ben Bahri  
wrote:






Hi Chmouel

Yes of course, 
I have it there
this is th file proxy-server.conf

__
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key


bind_ip = 157.159.103.228
bind_port = 8080
workers = 8
user = swift

[pipeline:main]
pipeline = healthcheck cache tempauth proxy-server

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


account_autocreate = true

[filter:tempauth]
use = egg:swift#tempauth
user_system_root = testpass .admin
user_system_tester = testing

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

[filter:cache]


use = egg:swift#memcache
_

> From: chmo...@openstack.org
> To: openstack@lists.launchpad.net


> Date: Fri, 27 Jan 2012 09:04:34 -0800
> Subject: Re: [Openstack] Creating account and user in swift
> 
> 
> did you have account_autocreate in there ? for example that's my config
> with tempauth :


> 
> [app:proxy-server]
> use = egg:swift#proxy
> allow_account_management = true
> account_autocreate = true
> 
> 
> Khaled Ben Bahri  writes:


> 
> > Hi Adrian,
> >
> > When i add user in the same account of the admin,
> > I got this error when i tried to test the second user:
> > Account HEAD failed: https://127.0.0.1:8080/v1/AUTH_system 403


> > Forbidden
> >
> > Khaled
> 
> ___
> 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] Creating account and user in swift

2012-01-27 Thread Khaled Ben Bahri

Hi Chmouel

Yes of course, 
I have it there
this is th file proxy-server.conf

__
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_ip = 157.159.103.228
bind_port = 8080
workers = 8
user = swift

[pipeline:main]
pipeline = healthcheck cache tempauth proxy-server

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

[filter:tempauth]
use = egg:swift#tempauth
user_system_root = testpass .admin
user_system_tester = testing

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

[filter:cache]
use = egg:swift#memcache
_

> From: chmo...@openstack.org
> To: openstack@lists.launchpad.net
> Date: Fri, 27 Jan 2012 09:04:34 -0800
> Subject: Re: [Openstack] Creating account and user in swift
> 
> 
> did you have account_autocreate in there ? for example that's my config
> with tempauth :
> 
> [app:proxy-server]
> use = egg:swift#proxy
> allow_account_management = true
> account_autocreate = true
> 
> 
> Khaled Ben Bahri  writes:
> 
> > Hi Adrian,
> >
> > When i add user in the same account of the admin,
> > I got this error when i tried to test the second user:
> > Account HEAD failed: https://127.0.0.1:8080/v1/AUTH_system 403
> > Forbidden
> >
> > Khaled
> 
> ___
> 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] Creating account and user in swift

2012-01-27 Thread Khaled Ben Bahri

I'm using the swift utility
swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K testpass

with tis first user it works perfectly
but with the second user
I got that error

Date: Fri, 27 Jan 2012 09:04:26 -0800
Subject: Re: [Openstack] Creating account and user in swift
From: sbroe...@internap.com
To: khaled-...@hotmail.com
CC: openstack@lists.launchpad.net

Are you using the "swift" utility or are you using REST?How are you performing 
the GET Authorization?

On Fri, Jan 27, 2012 at 9:00 AM, Khaled Ben Bahri  
wrote:





Hi,

I added an entry like this one but it doesn't work
I got this error
Account HEAD failed: https://x.x.x.x:8080/v1/AUTH_system 403 Forbidden


Date: Fri, 27 Jan 2012 08:56:59 -0800
Subject: Re: [Openstack] Creating account and user in swift
From: sbroe...@internap.com
To: khaled-...@hotmail.com

CC: openstack@lists.launchpad.net

Try adding an entry like the following:
user_test_tester3 = testing3


On Fri, Jan 27, 2012 at 2:44 AM, Khaled Ben Bahri  
wrote:





Hi folks,

I installed swift with "tempauth" authentication subsystem 
To create a user I have to write a new line in the proxy-server.conf on the 
section  [filter:temauth] like this :
user_system_root = testpass .admin https://PROXY_IP:8080/v1/AUTH_system



as i inderstood, the format is actually :
user__ =   [group] [other options] [storage_url]

I added a new user in new account 
user_newaccount_user1 = passuser1 .swift https://PROXY_IP:8080/v1/AUTH_system



After that, to get an x url for this user by executing this command
curl -k -v -H 'X-Storage-User: newaccount:user1' -H 'X-Storage-Pass: passuser1' 
https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0



When i want to check that I can HEAD the new account, I got the error 403 




root@ubuntu-KVM:/etc/swift# curl -k -v -H 'X-Auth-Token: 
AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658' https://x.x.x.x:8080/v1/AUTH_system


* About to connect() to x.x.x.x port 8080 (#0)
*   Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x) port 8080 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs


* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):


* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
* Server certificate:


*subject: C=FR; ST=Some-State; O=Internet Widgits Pty Ltd
*start date: 2012-01-26 18:17:34 GMT
*expire date: 2012-02-25 18:17:34 GMT

* SSL: unable to obtain common name from peer certificate
> GET /v1/AUTH_system HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o 
> zlib/1.2.3.4 libidn/1.18


> Host: x.x.x.x:8080
> Accept: */*
> X-Auth-Token: AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658
> 
< HTTP/1.1 403 Forbidden
< Content-Length: 157
< Content-Type: text/html; charset=UTF-8


< Date: Fri, 27 Jan 2012 10:00:57 GMT
< 

 
  403 Forbidden
 
 
  403 Forbidden
  Access was denied to this resource.





 
* Connection #0 to host x.x.x.x left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):



Can any one please know any thing about this

Best regards


Khaled

  

___

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] Creating account and user in swift

2012-01-27 Thread Khaled Ben Bahri

Hi,

I added an entry like this one but it doesn't work
I got this error
Account HEAD failed: https://x.x.x.x:8080/v1/AUTH_system 403 Forbidden

Date: Fri, 27 Jan 2012 08:56:59 -0800
Subject: Re: [Openstack] Creating account and user in swift
From: sbroe...@internap.com
To: khaled-...@hotmail.com
CC: openstack@lists.launchpad.net

Try adding an entry like the following:
user_test_tester3 = testing3

On Fri, Jan 27, 2012 at 2:44 AM, Khaled Ben Bahri  
wrote:





Hi folks,

I installed swift with "tempauth" authentication subsystem 
To create a user I have to write a new line in the proxy-server.conf on the 
section  [filter:temauth] like this :
user_system_root = testpass .admin https://PROXY_IP:8080/v1/AUTH_system


as i inderstood, the format is actually :
user__ =   [group] [other options] [storage_url]

I added a new user in new account 
user_newaccount_user1 = passuser1 .swift https://PROXY_IP:8080/v1/AUTH_system


After that, to get an x url for this user by executing this command
curl -k -v -H 'X-Storage-User: newaccount:user1' -H 'X-Storage-Pass: passuser1' 
https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0


When i want to check that I can HEAD the new account, I got the error 403 




root@ubuntu-KVM:/etc/swift# curl -k -v -H 'X-Auth-Token: 
AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658' https://x.x.x.x:8080/v1/AUTH_system

* About to connect() to x.x.x.x port 8080 (#0)
*   Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x) port 8080 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs

* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):

* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
* Server certificate:

*subject: C=FR; ST=Some-State; O=Internet Widgits Pty Ltd
*start date: 2012-01-26 18:17:34 GMT
*expire date: 2012-02-25 18:17:34 GMT

* SSL: unable to obtain common name from peer certificate
> GET /v1/AUTH_system HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o 
> zlib/1.2.3.4 libidn/1.18

> Host: x.x.x.x:8080
> Accept: */*
> X-Auth-Token: AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658
> 
< HTTP/1.1 403 Forbidden
< Content-Length: 157
< Content-Type: text/html; charset=UTF-8

< Date: Fri, 27 Jan 2012 10:00:57 GMT
< 

 
  403 Forbidden
 
 
  403 Forbidden
  Access was denied to this resource.




 
* Connection #0 to host x.x.x.x left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):



Can any one please know any thing about this

Best regards

Khaled

  

___

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] Creating account and user in swift

2012-01-27 Thread Khaled Ben Bahri

Hi Adrian,

When i add user in the same account of the admin,
I got this error when i tried to test the second user:
Account HEAD failed: https://127.0.0.1:8080/v1/AUTH_system 403 Forbidden

Khaled
From: adrian_f_sm...@dell.com
To: khaled-...@hotmail.com
CC: openstack@lists.launchpad.net
Date: Fri, 27 Jan 2012 15:14:50 +
Subject: RE: [Openstack] Creating account and user in swift



Here’s the documentation I was referring 
to,https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L79
 It states, # There are special groups of:#   .reseller_admin = can do anything 
to any account for this auth#   .admin = can do anything within the account# If 
neither of these groups are specified, the user can only access containers# 
that have been explicitly allowed for them by a .admin or .reseller_admin. 
Adrian  From: Khaled Ben Bahri [mailto:khaled-...@hotmail.com] 
Sent: Friday, January 27, 2012 2:14 PM
To: Smith, Adrian F
Cc: openstack@lists.launchpad.net
Subject: RE: [Openstack] Creating account and user in swift Hi,

.admin is not indicated to mention that the user is an admin for swift??
I think that we can create users who are not from the admin group

I changed that line to mention the name of account at the end of line but it 
still the same error
user_newaccount_user1 = passuser1 https://PROXY_IP:8080/v1/AUTH_newaccount

It still give the same error

can any one help me

KhaledFrom: adrian_f_sm...@dell.com
To: khaled-...@hotmail.com
CC: openstack@lists.launchpad.net
Date: Fri, 27 Jan 2012 11:19:57 +
Subject: RE: [Openstack] Creating account and user in swiftI’m guessing the 
problem is that the user isn’t a member of the “.admin” group. This is a 
requirement to perform operations on the root URL. To include the user in this 
group add .admin like this, user_newaccount_user1 = passuser1 .swift .admin 
https://PROXY_IP:8080/v1/AUTH_system Adrian From: 
openstack-bounces+adrian_f_smith=dell@lists.launchpad.net 
[mailto:openstack-bounces+adrian_f_smith=dell@lists.launchpad.net] On 
Behalf Of Khaled Ben Bahri
Sent: Friday, January 27, 2012 10:45 AM
To: openstack@lists.launchpad.net
Subject: [Openstack] Creating account and user in swift Hi folks,

I installed swift with "tempauth" authentication subsystem 
To create a user I have to write a new line in the proxy-server.conf on the 
section  [filter:temauth] like this :
user_system_root = testpass .admin https://PROXY_IP:8080/v1/AUTH_system

as i inderstood, the format is actually :
user__ =   [group] [other options] [storage_url]

I added a new user in new account 
user_newaccount_user1 = passuser1 .swift https://PROXY_IP:8080/v1/AUTH_system

After that, to get an x url for this user by executing this commandcurl -k -v 
-H 'X-Storage-User: newaccount:user1' -H 'X-Storage-Pass: passuser1' 
https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0

When i want to check that I can HEAD the new account, I got the error 403 




root@ubuntu-KVM:/etc/swift# curl -k -v -H 'X-Auth-Token: 
AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658' https://x.x.x.x:8080/v1/AUTH_system
* About to connect() to x.x.x.x port 8080 (#0)
*   Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x) port 8080 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
* Server certificate:
*subject: C=FR; ST=Some-State; O=Internet Widgits Pty Ltd
*start date: 2012-01-26 18:17:34 GMT
*expire date: 2012-02-25 18:17:34 GMT
* SSL: unable to obtain common name from peer certificate
> GET /v1/AUTH_system HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o 
> zlib/1.2.3.4 libidn/1.18
> Host: x.x.x.x:8080
> Accept: */*
> X-Auth-Token: AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658
> 
< HTTP/1.1 403 Forbidden
< Content-Length: 157
< Content-Type: text/html; charset=UTF-8
< Date: Fri, 27 Jan 2012 10:00:57 GMT
< 

 
  403 Forbidden
 
 
  403 Forbidden
  Access was denied to this resource.



 
* Connection #0 to host x.x.x.x left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):



Can any one please know any thing about this

Best regards
Khaled___
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] Creating account and user in swift

2012-01-27 Thread Khaled Ben Bahri

Hi,

.admin is not indicated to mention that the user is an admin for swift??
I think that we can create users who are not from the admin group

I changed that line to mention the name of account at the end of line but it 
still the same error
user_newaccount_user1 = passuser1 https://PROXY_IP:8080/v1/AUTH_newaccount

It still give the same error

can any one help me

Khaled
From: adrian_f_sm...@dell.com
To: khaled-...@hotmail.com
CC: openstack@lists.launchpad.net
Date: Fri, 27 Jan 2012 11:19:57 +
Subject: RE: [Openstack] Creating account and user in swift



I’m guessing the problem is that the user isn’t a member of the “.admin” group. 
This is a requirement to perform operations on the root URL. To include the 
user in this group add .admin like this, user_newaccount_user1 = passuser1 
.swift .admin https://PROXY_IP:8080/v1/AUTH_system Adrian From: 
openstack-bounces+adrian_f_smith=dell@lists.launchpad.net 
[mailto:openstack-bounces+adrian_f_smith=dell@lists.launchpad.net] On 
Behalf Of Khaled Ben Bahri
Sent: Friday, January 27, 2012 10:45 AM
To: openstack@lists.launchpad.net
Subject: [Openstack] Creating account and user in swift Hi folks,

I installed swift with "tempauth" authentication subsystem 
To create a user I have to write a new line in the proxy-server.conf on the 
section  [filter:temauth] like this :
user_system_root = testpass .admin https://PROXY_IP:8080/v1/AUTH_system

as i inderstood, the format is actually :
user__ =   [group] [other options] [storage_url]

I added a new user in new account 
user_newaccount_user1 = passuser1 .swift https://PROXY_IP:8080/v1/AUTH_system

After that, to get an x url for this user by executing this commandcurl -k -v 
-H 'X-Storage-User: newaccount:user1' -H 'X-Storage-Pass: passuser1' 
https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0

When i want to check that I can HEAD the new account, I got the error 403 




root@ubuntu-KVM:/etc/swift# curl -k -v -H 'X-Auth-Token: 
AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658' https://x.x.x.x:8080/v1/AUTH_system
* About to connect() to x.x.x.x port 8080 (#0)
*   Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x) port 8080 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
* Server certificate:
*subject: C=FR; ST=Some-State; O=Internet Widgits Pty Ltd
*start date: 2012-01-26 18:17:34 GMT
*expire date: 2012-02-25 18:17:34 GMT
* SSL: unable to obtain common name from peer certificate
> GET /v1/AUTH_system HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o 
> zlib/1.2.3.4 libidn/1.18
> Host: x.x.x.x:8080
> Accept: */*
> X-Auth-Token: AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658
> 
< HTTP/1.1 403 Forbidden
< Content-Length: 157
< Content-Type: text/html; charset=UTF-8
< Date: Fri, 27 Jan 2012 10:00:57 GMT
< 

 
  403 Forbidden
 
 
  403 Forbidden
  Access was denied to this resource.



 
* Connection #0 to host x.x.x.x left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):



Can any one please know any thing about this

Best regards
Khaled___
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] Creating account and user in swift

2012-01-27 Thread Khaled Ben Bahri

Hi folks,

I installed swift with "tempauth" authentication subsystem 
To create a user I have to write a new line in the proxy-server.conf on the 
section  [filter:temauth] like this :
user_system_root = testpass .admin https://PROXY_IP:8080/v1/AUTH_system

as i inderstood, the format is actually :
user__ =   [group] [other options] [storage_url]

I added a new user in new account 
user_newaccount_user1 = passuser1 .swift https://PROXY_IP:8080/v1/AUTH_system

After that, to get an x url for this user by executing this command
curl -k -v -H 'X-Storage-User: newaccount:user1' -H 'X-Storage-Pass: passuser1' 
https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0

When i want to check that I can HEAD the new account, I got the error 403 




root@ubuntu-KVM:/etc/swift# curl -k -v -H 'X-Auth-Token: 
AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658' https://x.x.x.x:8080/v1/AUTH_system
* About to connect() to x.x.x.x port 8080 (#0)
*   Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x) port 8080 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
* Server certificate:
*subject: C=FR; ST=Some-State; O=Internet Widgits Pty Ltd
*start date: 2012-01-26 18:17:34 GMT
*expire date: 2012-02-25 18:17:34 GMT
* SSL: unable to obtain common name from peer certificate
> GET /v1/AUTH_system HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o 
> zlib/1.2.3.4 libidn/1.18
> Host: x.x.x.x:8080
> Accept: */*
> X-Auth-Token: AUTH_tk76c7fbcfa4864cea8d6bc09bf5731658
> 
< HTTP/1.1 403 Forbidden
< Content-Length: 157
< Content-Type: text/html; charset=UTF-8
< Date: Fri, 27 Jan 2012 10:00:57 GMT
< 

 
  403 Forbidden
 
 
  403 Forbidden
  Access was denied to this resource.



 
* Connection #0 to host x.x.x.x left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):



Can any one please know any thing about this

Best regards
Khaled

  ___
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 supported file system

2012-01-23 Thread Khaled Ben Bahri

Hi john,

Thanks for your answer
I will try it, and tell you
the shared folder wich i mounted is in nfs wich doesn't support xattrs
I wonder if i can mount a shared folder in a file system that supports xattrs

Best regards
Khaled

> Subject: Re: [Openstack] Swift supported file system
> From: m...@not.mn
> Date: Mon, 23 Jan 2012 08:30:28 -0600
> CC: florian.hi...@gmail.com; openstack@lists.launchpad.net
> To: khaled-...@hotmail.com
> 
> The storage volumes referenced in the ring are identified by an IP, port, and 
> mount point. So, it is possible to use network attached storage for swift (as 
> long as it still supports xattrs). However, I don't know if this has ever 
> really been tried (especially in production), and I'd be surprised if you get 
> any benefits doing this (rather than using local hard drives).
> 
> --John
> 
> 
> On Jan 23, 2012, at 8:04 AM, Khaled Ben Bahri wrote:
> 
> > Thanks a lot
> > 
> > and for using a shared folder mounted on nfs as the storage backend for 
> > swift? is it possible??
> > 
> > best regards
> > Khaled
> > 
> > > Subject: Re: [Openstack] Swift supported file system
> > > From: m...@not.mn
> > > Date: Mon, 23 Jan 2012 07:47:44 -0600
> > > CC: florian.hi...@gmail.com; openstack@lists.launchpad.net
> > > To: khaled-...@hotmail.com
> > > 
> > > That functionality is left up to a client. For example, you could use 
> > > FUSE to spoof swift as a filesystem or you could use a client like 
> > > Cyberduck or even write your own. Last week someone on this mailing list 
> > > talked about adding webDAV support to swift.
> > > 
> > > All of these "work" in that they present swift to the user as a 
> > > filesystem. However, swift doesn't follow POSIX semantics and therefore 
> > > any attempt to force swift into such a model will have drawbacks (mostly 
> > > with regards to performance).
> > > 
> > > --John
> > > 
> > > 
> > > On Jan 23, 2012, at 4:47 AM, Khaled Ben Bahri wrote:
> > > 
> > > > Thanks for your answer,
> > > > 
> > > > For the first question I meant, tha i wish to mount a shared forlder 
> > > > that uses swift for storage
> > > > 
> > > > Best Regards
> > > > Khaled
> > > > 
> > > > Date: Fri, 20 Jan 2012 13:59:56 -0600
> > > > From: florian.hi...@gmail.com
> > > > To: openstack@lists.launchpad.net
> > > > Subject: Re: [Openstack] Swift supported file system
> > > > 
> > > > On Friday, January 20, 2012 at 12:47 PM, Khaled Ben Bahri wrote:
> > > > Hi,
> > > > 
> > > > Can any one please tell me if we can mount and use for openstack swift 
> > > > a mounted shared folder as a storage device
> > > > 
> > > > Do you mean use shared storage as the storage backend for swift? Or do 
> > > > you wish to mount a shared folder that uses swift for storage (ala 
> > > > dropbox/jungledisk/fuse) ?
> > > > 
> > > > 
> > > > 
> > > > Is it necessary that storage devices have to be mounted on /srv/node??
> > > > 
> > > > You can change where you mount devices with the "devices" config option 
> > > > in the default section of your config.
> > > > 
> > > > --
> > > > Florian Hines | @pandemicsyn
> > > > http://about.me/pandemicsyn
> > > > 
> > > > 
> > > > 
> > > > ___ Mailing list: 
> > > > https://launchpad.net/~openstack Post to : 
> > > > openstack@lists.launchpad.net Unsubscribe : 
> > > > https://launchpad.net/~openstack More help : 
> > > > https://help.launchpad.net/ListHelp
> > > > ___
> > > > Mailing list: https://launchpad.net/~openstack
> > > > Post to : openstack@lists.launchpad.net
> > > > Unsubscribe : https://launchpad.net/~openstack
> > > > More help : https://help.launchpad.net/ListHelp
> > >
> 
  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift supported file system

2012-01-23 Thread Khaled Ben Bahri

Thanks a lot

and for using a shared folder mounted on nfs as the storage backend for swift? 
is it possible??

best regards
Khaled

> Subject: Re: [Openstack] Swift supported file system
> From: m...@not.mn
> Date: Mon, 23 Jan 2012 07:47:44 -0600
> CC: florian.hi...@gmail.com; openstack@lists.launchpad.net
> To: khaled-...@hotmail.com
> 
> That functionality is left up to a client. For example, you could use FUSE to 
> spoof swift as a filesystem or you could use a client like Cyberduck or even 
> write your own. Last week someone on this mailing list talked about adding 
> webDAV support to swift.
> 
> All of these "work" in that they present swift to the user as a filesystem. 
> However, swift doesn't follow POSIX semantics and therefore any attempt to 
> force swift into such a model will have drawbacks (mostly with regards to 
> performance).
> 
> --John
> 
> 
> On Jan 23, 2012, at 4:47 AM, Khaled Ben Bahri wrote:
> 
> > Thanks for your answer,
> > 
> > For the first question I meant, tha i wish to mount a shared forlder that 
> > uses swift for storage
> > 
> > Best Regards
> > Khaled
> > 
> > Date: Fri, 20 Jan 2012 13:59:56 -0600
> > From: florian.hi...@gmail.com
> > To: openstack@lists.launchpad.net
> > Subject: Re: [Openstack] Swift supported file system
> > 
> > On Friday, January 20, 2012 at 12:47 PM, Khaled Ben Bahri wrote:
> > Hi,
> > 
> > Can any one please tell me if we can mount and use for openstack swift a 
> > mounted shared folder as a storage device
> > 
> > Do you mean use shared storage as the storage backend for swift?  Or do you 
> > wish to mount a shared folder that uses swift for storage (ala 
> > dropbox/jungledisk/fuse) ?
> > 
> > 
> >  
> > Is it necessary that storage devices have to be mounted on /srv/node??
> > 
> > You can change where you mount devices with the "devices" config option in 
> > the default section of your config.
> > 
> > --
> > Florian Hines | @pandemicsyn
> > http://about.me/pandemicsyn
> >  
> > 
> > 
> > ___ Mailing list: 
> > https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net 
> > Unsubscribe : https://launchpad.net/~openstack More help : 
> > https://help.launchpad.net/ListHelp
> > ___
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> 
  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift supported file system

2012-01-23 Thread Khaled Ben Bahri

Thanks for your answer,

For the first question I meant, tha i wish to mount a shared forlder that uses 
swift for storage

Best Regards
Khaled

Date: Fri, 20 Jan 2012 13:59:56 -0600
From: florian.hi...@gmail.com
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] Swift supported file system


On Friday, January 20, 2012 at 12:47 PM, Khaled Ben Bahri wrote:





Hi,

Can any one please tell me if we can mount and use for openstack swift a 
mounted shared folder as a storage device

Do you mean use shared storage as the storage backend for swift?  Or do you 
wish to mount a shared folder that uses swift for storage (ala 
dropbox/jungledisk/fuse) ?


 Is it necessary that storage devices have to be mounted on /srv/node??

You can change where you mount devices with the "devices" config option in the 
default section of your config.
--Florian Hines | @pandemicsynhttp://about.me/pandemicsyn 



___
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 supported file system

2012-01-20 Thread Khaled Ben Bahri

Hi,

Can any one please tell me if we can mount and use for openstack swift a 
mounted shared folder as a storage device

Is it necessary that storage devices have to be mounted on /srv/node??

Thanks in advance 
Best regards
Khaled
  ___
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] (no subject)

2012-01-20 Thread Khaled Ben Bahri


when I check log file on storage nodes, 
i found that data4 is not mounted, 
data4 is a shared folder that i mounted on storage nodes to have a bigger 
storage space

Is it necessary that storage devices have to be mounted on /srv/node?? or i can 
mount them on other directory
Can I use a list of shared folder mounted on nodes to use it as a storage 
device,  
I mounted a shared folder in order to have a bigger space for storage, because 
the hard disk of the node is not so big, 

I will restart configuring from the begining and tell you the result

Khaled
From: chmo...@openstack.org
Date: Fri, 20 Jan 2012 09:42:24 -0600
Subject: Re: [Openstack] (no subject)
To: khaled-...@hotmail.com
CC: openstack@lists.launchpad.net

One can always learn, I never used that option (but I don't use much of the 
tempauth server). You probably want to look over the logs of the storage node 
see if there is any ERROR in the logs there.


Chmouel.

On Fri, Jan 20, 2012 at 9:36 AM, Khaled Ben Bahri  
wrote:







I followed the example in this link :
http://swift.openstack.org/howto_installmultinode.html#config-proxy

Best regards


Khaled
From: chmo...@openstack.org
Date: Fri, 20 Jan 2012 09:32:27 -0600
Subject: Re: [Openstack] (no subject)
To: khaled-...@hotmail.com


CC: openstack@lists.launchpad.net

On Fri, Jan 20, 2012 at 9:25 AM, Khaled Ben Bahri  
wrote:


> user_system_root = testpass .admin https://x.x.x.x:8080/v1/AUTH_system



This doesn't seem right (the https URL at the end should not be there)

Chmouel.  

  ___
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] (no subject)

2012-01-20 Thread Khaled Ben Bahri


I followed the example in this link :
http://swift.openstack.org/howto_installmultinode.html#config-proxy

Best regards
Khaled
From: chmo...@openstack.org
Date: Fri, 20 Jan 2012 09:32:27 -0600
Subject: Re: [Openstack] (no subject)
To: khaled-...@hotmail.com
CC: openstack@lists.launchpad.net

On Fri, Jan 20, 2012 at 9:25 AM, Khaled Ben Bahri  
wrote:
> user_system_root = testpass .admin https://x.x.x.x:8080/v1/AUTH_system



This doesn't seem right (the https URL at the end should not be there)

Chmouel.  ___
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] (no subject)

2012-01-20 Thread Khaled Ben Bahri

Hi,

This is the content of the proxy-server.conf
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_port = 8080
workers = 8
user = swift

[pipeline:main]
pipeline = healthcheck cache swift3 tempauth proxy-server

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

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

[filter:tempauth]
use = egg:swift#tempauth
user_system_root = testpass .admin https://x.x.x.x:8080/v1/AUTH_system

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

[filter:cache]
use = egg:swift#memcache
memcache_servers = x.x.x.x:11211


Best regards
Khaled

> From: chmo...@openstack.org
> Date: Fri, 20 Jan 2012 09:14:53 -0600
> Subject: Re: [Openstack] (no subject)
> To: khaled-...@hotmail.com
> CC: m...@not.mn; openstack@lists.launchpad.net
> 
> Hi,
> 
> What is the content of your proxy-server.conf ? I would be interested
> to know what is your auth server and can you reproduce this problem
> with the tempauth auth server.
> 
> This could mean a lot of different problems, make sure of the basic
> stuff lke file permissions on the storage nodes.
> 
> Chmouel.
> 
> On Fri, Jan 20, 2012 at 2:57 AM, Khaled Ben Bahri
>  wrote:
> > Hi,
> > I restarted proxyserver, and i checked to head the account by executing this
> > command :
> >
> > curl -k -v -H 'X-Auth-Token: ' 
> >
> > but I got the same error
> >
> > This what i found in the syslog file:
> >
> > Jan 20 09:43:34 node1 proxy-server - x.x.x.x 20/Jan/2012/08/43/34 GET
> > /auth/v1.0 HTTP/1.0 200 -
> > curl/7.21.6%20%28x86_64-pc-linux-gnu%29%20libcurl/7.21.6%20OpenSSL/1.0.0e%20zlib/1.2.3.4%20libidn/1.22%20librtmp/2.3
> > - - - - - - 0.0012
> > Jan 20 09:45:19 node1 proxy-server Account GET returning 503 for [] (txn:
> > txf1ab6d3bbe994668a816d3ec585ab8eb) (client_ip: x.x.x.x)
> > Jan 20 09:45:19 node1 proxy-server x.x.x.x x.x.x.x 20/Jan/2012/08/45/19 GET
> > /v1/AUTH_system HTTP/1.0 503 -
> > curl/7.21.6%20%28x86_64-pc-linux-gnu%29%20libcurl/7.21.6%20OpenSSL/1.0.0e%20zlib/1.2.3.4%20libidn/1.22%20librtmp/2.3
> > system%2CAUTH_tkec61648aa80744f18ebb28ece90073b1 - - -
> > txf1ab6d3bbe994668a816d3ec585ab8eb - 0.0082
> >
> > Can you please help me to solve this problem
> >
> >
> > Thanks in advance for any help
> >
> > Best regards
> > Khaled
> >
> >
> >> Subject: Re: [Openstack] (no subject)
> >> From: m...@not.mn
> >> Date: Thu, 19 Jan 2012 18:35:20 -0600
> >> CC: openstack@lists.launchpad.net
> >> To: khaled-...@hotmail.com
> >
> >>
> >> look in syslog on your proxy server to see what caused the error.
> >>
> >> --John
> >>
> >>
> >> On Jan 19, 2012, at 6:28 PM, Khaled Ben Bahri wrote:
> >>
> >> > Hi all,
> >> >
> >> > I tryed to install OpenStack swift,
> >> >
> >> > after creating and configuring all nodes, when i want to check that
> >> > swift works,
> >> > I execute this command :
> >> > swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K
> >> > testpass stat
> >> >
> >> > but I have an error :
> >> > Account HEAD failed: https://x.x.x.x:8080/v1/AUTH_system 503 Internal
> >> > Server Error
> >> > Can any one please help me
> >> >
> >> > Thanks in advance for any help
> >> >
> >> > Best regards
> >> > Khaled
> >> > ___
> >> > Mailing list: https://launchpad.net/~openstack
> >> > Post to : openstack@lists.launchpad.net
> >> > Unsubscribe : https://launchpad.net/~openstack
> >> > More help : https://help.launchpad.net/ListHelp
> >>
> >
> > ___
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] (no subject)

2012-01-20 Thread Khaled Ben Bahri

Hi,
I restarted proxyserver, and i checked to head the account by executing this 
command :
curl -k -v -H 'X-Auth-Token: ' 

but I got the same error

This what i found in the syslog file:

Jan 20 09:43:34 node1 proxy-server - x.x.x.x 20/Jan/2012/08/43/34 GET 
/auth/v1.0 HTTP/1.0 200 - 
curl/7.21.6%20%28x86_64-pc-linux-gnu%29%20libcurl/7.21.6%20OpenSSL/1.0.0e%20zlib/1.2.3.4%20libidn/1.22%20librtmp/2.3
 - - - - - - 0.0012
Jan 20 09:45:19 node1 proxy-server Account GET returning 503 for [] (txn: 
txf1ab6d3bbe994668a816d3ec585ab8eb) (client_ip: x.x.x.x)
Jan 20 09:45:19 node1 proxy-server x.x.x.x x.x.x.x 20/Jan/2012/08/45/19 GET 
/v1/AUTH_system HTTP/1.0 503 - 
curl/7.21.6%20%28x86_64-pc-linux-gnu%29%20libcurl/7.21.6%20OpenSSL/1.0.0e%20zlib/1.2.3.4%20libidn/1.22%20librtmp/2.3
 system%2CAUTH_tkec61648aa80744f18ebb28ece90073b1 - - - 
txf1ab6d3bbe994668a816d3ec585ab8eb - 0.0082

Can you please help me to solve this problem

Thanks in advance for any help

Best regards 
Khaled


> Subject: Re: [Openstack] (no subject)
> From: m...@not.mn
> Date: Thu, 19 Jan 2012 18:35:20 -0600
> CC: openstack@lists.launchpad.net
> To: khaled-...@hotmail.com
> 
> look in syslog on your proxy server to see what caused the error.
> 
> --John
> 
> 
> On Jan 19, 2012, at 6:28 PM, Khaled Ben Bahri wrote:
> 
> > Hi all,
> > 
> > I tryed to install OpenStack swift,
> > 
> > after creating and configuring all nodes, when i want to check that swift 
> > works,
> > I execute this command :
> > swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K 
> > testpass stat
> > 
> > but I have an error :
> > Account HEAD failed: https://x.x.x.x:8080/v1/AUTH_system 503 Internal 
> > Server Error
> > Can any one please help me
> > 
> > Thanks in advance for any help
> > 
> > Best regards
> > Khaled
> > ___
> > 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 subject)

2012-01-19 Thread Khaled Ben Bahri

Hi all,

I tryed to install OpenStack swift,

after creating and configuring all nodes, when i want to check that swift works,
I execute this command :
swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K testpass 
stat

but I have an error :
Account HEAD failed: https://x.x.x.x:8080/v1/AUTH_system 503 Internal Server 
Error
Can any one please help me

Thanks in advance for any help

Best regards
Khaled___
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] [Errno 113] EHOSTUNREACH

2012-01-17 Thread Khaled Ben Bahri

Hi all,

I installed openstack swift on 7 vms,
I added to the proxy-server, the configuration lines to include the s3 interface

When i'm logged to the proxy server, i can execute different commands of swift,
But I want to use the swift client tool from a distant machine, I have this 
error 

[Errno 113] EHOSTUNREACH

Please is there any one who know this kind of problem, and help me to solve it

Thanks in advance

Best regards
Khaled

  ___
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] S3 API for Swift

2011-12-06 Thread Khaled Ben Bahri

Hi Anne,

I think that's it :)

Thanks for your help

Best regards
Khaled

> From: a...@openstack.org
> Date: Mon, 5 Dec 2011 07:46:25 -0600
> Subject: Re: [Openstack] S3 API for Swift
> To: khaled-...@hotmail.com
> CC: openstack@lists.launchpad.net
> 
> Hi Khaled -
> Is this what you are looking for?
> "The Swift3 middleware emulates the S3 REST API on top of Object Storage."
> from
> http://docs.openstack.org/diablo/openstack-object-storage/admin/content/configuring-openstack-object-storage-with-s3_api.html
> 
> Hope this is helpful.
> Anne
> 
> On Mon, Dec 5, 2011 at 4:08 AM, Khaled Ben Bahri  
> wrote:
> > Hi all,
> >
> > I wonder if there are any API dedicated for openstack Swift that can be used
> > for application that use Amazon S3 in order to have more portability
> >
> > I don't find enough information about this.
> > Have any one please, informations about this.
> >
> > Thanks in advance
> >
> > Best regards
> > Khaled
> >
> >
> > ___
> > 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] S3 API for Swift

2011-12-05 Thread Khaled Ben Bahri

Hi all,

I wonder if there are any API dedicated for openstack Swift that can be used 
for application that use Amazon S3 in order to have more portability

I don't find enough information about this.
Have any one please, informations about this.

Thanks in advance

Best regards
Khaled

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

2011-11-28 Thread Khaled Ben Bahri

Hi Marcelo,

Thanks a lot :-)

I will try it

Best Regards
Khaled

Subject: Re: [Openstack] Swift client tool
From: btorch...@zeroaccess.org
Date: Mon, 28 Nov 2011 11:02:24 -0600
CC: openstack@lists.launchpad.net
To: khaled-...@hotmail.com



Hi Khaled,
All you need to do is to copy the swift tool to your other linux box. Or get 
the latest from github https://raw.github.com/openstack/swift/master/bin/swift 


Marcelo martinsopenstack-swiftbtorch...@zeroaccess.org
“Knowledge is the wings on which our aspirations take flight and soar. When it 
comes to surfing and life if you know what to do you can do it. If you desire 
anything become educated about it and succeed. “



On Nov 28, 2011, at 10:31 AM, Khaled Ben Bahri wrote:Hi all,

I installed Open stack Swift  and I want to store and retrieve files from a 
distant client.
I can use it when I'm logged on the proxy server

Can any one help me to install a swift client tool

Thanks for any help

Best regards
Khaled___
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 client tool

2011-11-28 Thread Khaled Ben Bahri

Hi all,

I installed Open stack Swift  and I want to store and retrieve files from a 
distant client.
I can use it when I'm logged on the proxy server

Can any one help me to install a swift client tool

Thanks for any help

Best regards
Khaled___
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 account not found

2011-11-25 Thread Khaled Ben Bahri

Hi Chmouel,

Yes I'm using tempauth

this is the proxy-server.conf
___
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_port = 8080
workers = 8
user = swift

[pipeline:main]
pipeline = healthcheck cache tempauth proxy-server

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

[filter:tempauth]
use = egg:swift#tempauth
user_system_root = testpass .admin https://X.X.X.X:8080/v1/AUTH_system

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

[filter:cache]
use = egg:swift#memcache
memcache_servers = X.X.X.X:11211


I will add the line wich specify the account_autocreate and try again


Thanks a lot

Regards
Khaled


> From: chmo...@openstack.org
> Date: Fri, 25 Nov 2011 19:57:37 +0100
> Subject: Re: [Openstack] swift account not found
> To: khaled-...@hotmail.com
> CC: openstack@lists.launchpad.net
> 
> Hi Khaled,
> 
> You are using the tempauth middleware for auth right? Are you sure you
> have the system:root/testpass account:user password in your middleware
>  config (this is inside proxy-server.conf).
> 
> What version of swift do you have ? On latest version you need to have
> the account_autocreate setting like specified here:
> 
> http://docs.openstack.org/diablo/openstack-compute/starter/content/Proxy_server_configuration.html
> 
> Chmouel.
> 
> On Fri, Nov 25, 2011 at 5:43 PM, Khaled Ben Bahri
>  wrote:
> > Hi all,
> >
> > I tryed to install swift on 7 nodes : the first is the proxy server, and the
> > others are storage servers
> >
> > after creating and configuring all nodes, when i want to check that swift
> > works,
> > I execute this command :
> >
> > swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K
> > testpass stat
> >
> > but I have an error :
> >
> > Account not found
> >
> >
> > I followed this site step by step :
> > http://swift.openstack.org/howto_installmultinode.html
> >
> >
> > Can any one please help me
> >
> > Thanks in advance for any help
> >
> > Best regards
> > Khaled
> >
> > ___
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] swift account not found

2011-11-25 Thread Khaled Ben Bahri

I installed swift one week ago and I didn't find this kind of problem

But this time when I install it again, this error occured
I tried to remove and create the account builder again but it still the same 
error

Has any one a solution?

Thanks in advance

Regards
Khaled

> Date: Fri, 25 Nov 2011 14:09:13 -0500
> From: david.kr...@qrclab.com
> To: openstack@lists.launchpad.net
> Subject: Re: [Openstack] swift account not found
> 
> I saw the same thing with the version from a week ago after updating 
> swift packages of a completely working diablo system.
> 
> David
> 
> On 11/25/2011 11:43 AM, Khaled Ben Bahri wrote:
> > Hi all,
> >
> > I tryed to install swift on 7 nodes : the first is the proxy server, 
> > and the others are storage servers
> >
> > after creating and configuring all nodes, when i want to check that 
> > swift works,
> > I execute this command :
> > swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K 
> > testpass stat
> >
> > but I have an error :
> >
> > Account not found
> >
> >
> > I followed this site step by step :
> > http://swift.openstack.org/howto_installmultinode.html
> >
> >
> > Can any one please help me
> >
> > Thanks in advance for any help
> >
> > Best regards
> > Khaled
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> 
> 
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] swift account not found

2011-11-25 Thread Khaled Ben Bahri

Hi all,

I tryed to install swift on 7 nodes : the first is the proxy server, and the 
others are storage servers

after creating and configuring all nodes, when i want to check that swift works,
I execute this command :
swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K testpass 
stat

but I have an error :

Account not found


I followed this site step by step :
http://swift.openstack.org/howto_installmultinode.html


Can any one please help me

Thanks in advance for any help

Best regards
Khaled
  ___
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 dashboard

2011-10-07 Thread Khaled Ben Bahri

Hi,

for windows OS there are cyberduck software http://cyberduck.ch/
On linux System, there are dashboard for Nova but I wonder if we can configure 
it for swift

Regards

Khaled

Date: Fri, 7 Oct 2011 08:14:16 -0300
From: corre...@gmail.com
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] openstack dashboard

I appreciate too!
Is it possible to use Dashboard as interface to Swift to do "users" activities, 
for example, a web interface like Dropbox where users can upload and download 
files? I've seen tutorials with Cyberduck, but just one client isn't cool. 


Thanks!

On Fri, Oct 7, 2011 at 6:19 AM, Khaled Ben Bahri  wrote:






Hi,

can any one help me please to configure dashboard for openstack swift, or if 
there are any other web interface for swift 
what I found is for nova.

thanks in advance for any help
Best regards
Khaled

  

___

Mailing list: https://launchpad.net/~openstack

Post to : openstack@lists.launchpad.net

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp




-- 
- MSc. Correa, J.L.




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

2011-10-07 Thread Khaled Ben Bahri

Hi,

can any one help me please to configure dashboard for openstack swift, or if 
there are any other web interface for swift 
what I found is for nova.

thanks in advance for any help
Best regards
Khaled
  ___
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] user interface

2011-10-06 Thread Khaled Ben Bahri

Hi Tres,

Thanks for your help :)
I will try it 

Best regards
Khaled

Subject: Re: [Openstack] user interface
From: t...@treshenry.net
Date: Wed, 5 Oct 2011 12:00:29 -0400
CC: openstack@lists.launchpad.net
To: khaled-...@hotmail.com



Hi Khaled,
The OpenStack Dashboard includes basic support for Swift if you are looking for 
a simple web interface to manage containers and objects. Instructions for 
installing Dashboard and enabling Swift can be found at: 
http://wiki.openstack.org/OpenStackDashboard
Tres
On Oct 5, 2011, at 11:11 AM, Khaled Ben Bahri wrote:Hi all,

To manage files at swift I use swift tool commands (st)
I wonder if there are any graphical user interface or web interface for ubuntu 
system
I found cyberduck software for windows and MacOs, and it works fine.


thanks in advance for any help

Best regards
Khaled
___
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] user interface

2011-10-05 Thread Khaled Ben Bahri

Hi all,

To manage files at swift I use swift tool commands (st)
I wonder if there are any graphical user interface or web interface for ubuntu 
system
I found cyberduck software for windows and MacOs, and it works fine.


thanks in advance for any help

Best regards
Khaled
  ___
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] access to openstack swift cluster

2011-10-04 Thread Khaled Ben Bahri

Hi,

Thanks for your help
I succeed to make a client for swift :)

Best regards
Khaled

> Subject: Re: [Openstack] access to openstack swift cluster
> From: tom...@napierala.org
> Date: Mon, 3 Oct 2011 19:02:35 +0200
> CC: btorch...@zeroaccess.org; openstack@lists.launchpad.net
> To: khaled-...@hotmail.com
> 
> 
> On 3 paź 2011, at 17:49, Khaled Ben Bahri wrote:
> 
> > Hi,
> > 
> > these command are executed when i'm logged on the proxy server, but i want 
> > to manage files from outside the proxy
> > and these  commands don't work from another computer
> > 
> > I don't know if there are any commands or configuration to make it to 
> > manage files from outside the proxy
> 
> FIrst of all, you have to install swift tool. Then you have to change your 
> request to use IP address instead of variable PROXY_LOCAL_NET_IP, so it looks 
> like:
> swift -A https://157.159.103.40:8080/auth/v1.0 -U system:root -K testpass list
> 
> Regards,
> -- 
> Tomasz 'Zen' Napierała
> 
> 
> 
> 
> 
  ___
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] access to openstack swift cluster

2011-10-03 Thread Khaled Ben Bahri

Hi,

thanks for the advice
this not a problem, i installed swift on virtual machines and i will delete 
them :)

these command are executed when i'm logged on the proxy server, but i want to 
manage files from outside the proxy
and these  commands don't work from another computer

I don't know if there are any commands or configuration to make it to manage 
files from outside the proxy

thanks in advance

regards
Khaled

> Subject: Re: [Openstack] access to openstack swift cluster
> From: tom...@napierala.org
> Date: Mon, 3 Oct 2011 17:24:51 +0200
> CC: btorch...@zeroaccess.org; openstack@lists.launchpad.net
> To: khaled-...@hotmail.com
> 
> 
> On 3 paź 2011, at 16:56, Khaled Ben Bahri wrote:
> 
> > Hi 
> > 
> > This is the proxy-server.conf
> > 
> > [DEFAULT]
> > cert_file = /etc/swift/cert.crt
> > key_file = /etc/swift/cert.key
> > bind_port = 8080
> > workers = 8
> > user = swift
> > [pipeline:main]
> > pipeline = healthcheck cache tempauth proxy-server
> > [app:proxy-server]
> > use = egg:swift#proxy
> > allow_account_management = true
> > [filter:tempauth]
> > use = egg:swift#tempauth
> > user_system_root = testpass .admin 
> > https://157.159.103.40:8080/v1/AUTH_system
> > [filter:healthcheck]
> > use = egg:swift#healthcheck
> > [filter:cache]
> > use = egg:swift#memcache
> > memcache_servers = 157.159.103.40:11211
> > 
> > 
> > 
> > when I connect to the proxy server, I can manage files
> > swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K 
> > testpass upload myfiles fichier_test
> > swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K 
> > testpass list
> > 
> > these are commands used i 'm logged on the proxy node to stor a file named 
> > 'fichier_test' 
> > and the second is to list created containers
> > 
> > I want to store file without logging to the proxy server but i don't know 
> > how to do this
> 
> I assume you checked that you can connect to port 8080 from outside the proxy.
> What I suspect is that you don't have 
> > $PROXY_LOCAL_NET_IP
> 
> defined on external system
> 
> Anyway, you just disclosed your credentials to the list (which means the 
> whole world), and considering fact, that your system is open to the world, I 
> would change system:root user and password, and also set up firewall.
> 
> Regards,
> -- 
> Tomasz 'Zen' Napierała
> 
> 
> 
> 
> 
  ___
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] access to openstack swift cluster

2011-10-03 Thread Khaled Ben Bahri

Hi 

This is the proxy-server.conf

[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_port = 8080
workers = 8
user = swift
[pipeline:main]
pipeline = healthcheck cache tempauth proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
[filter:tempauth]
use = egg:swift#tempauth
user_system_root = testpass .admin https://157.159.103.40:8080/v1/AUTH_system
[filter:healthcheck]
use = egg:swift#healthcheck
[filter:cache]
use = egg:swift#memcache
memcache_servers = 157.159.103.40:11211



when I connect to the proxy server, I can manage files
swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K testpass 
upload myfiles fichier_test
swift -A https://$PROXY_LOCAL_NET_IP:8080/auth/v1.0 -U system:root -K testpass 
list

these are commands used i 'm logged on the proxy node to stor a file named 
'fichier_test' 
and the second is to list created containers

I want to store file without logging to the proxy server but i don't know how 
to do this

Thank's in advance

Best regards
Khaled


> Subject: Re: [Openstack] access to openstack swift cluster
> From: tom...@napierala.org
> Date: Mon, 3 Oct 2011 16:23:44 +0200
> CC: btorch...@zeroaccess.org; openstack@lists.launchpad.net
> To: khaled-...@hotmail.com
> 
> 
> On 3 paź 2011, at 15:52, Khaled Ben Bahri wrote:
> 
> > Hi Marcelo,
> > 
> > I followed instructions described in " 
> > http://swift.openstack.org/howto_installmultinode.html " to install swift
> > i think that the used for authentication is tempauth
> > 
> 
> Please paste your proxy-server.conf and exact command you are using to 
> connect to proxy
> 
> Regards,
> -- 
> Tomasz 'Zen' Napierała
> 
> 
> 
> 
> 
  ___
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] access to openstack swift cluster

2011-10-03 Thread Khaled Ben Bahri

Hi Marcelo,

I followed instructions described in " 
http://swift.openstack.org/howto_installmultinode.html " to install swift
i think that the used for authentication is tempauth


best regards
Khaled
Subject: Re: [Openstack] access to openstack swift cluster
From: btorch...@zeroaccess.org
Date: Mon, 3 Oct 2011 05:55:01 -0500
CC: openstack@lists.launchpad.net
To: khaled-...@hotmail.com



Hi Khaled

What version of swift are you using and what authentication system ?
If you are using swauth (the preferred one), you need to make sure you have the 
"default_swift_cluster" properly defined within the "[filter:swauth]" section 
of the proxy config. 
Ex:default_swift_cluster = 
local#http://EXTERNAL_ADDR:PORT/v1#http://127.0.0.1:PORT/v1 If you are using 
SSL then replace HTTP for HTTPS

Now you can either create a new account which will have the proper cluster URL 
or you need to use the "swauth-set-account-service" tool to change the storage 
url for the old account.  
 

Marcelo martinsopenstack-swiftbtorch...@zeroaccess.org
“Knowledge is the wings on which our aspirations take flight and soar. When it 
comes to surfing and life if you know what to do you can do it. If you desire 
anything become educated about it and succeed. “



On Oct 3, 2011, at 3:29 AM, Khaled Ben Bahri wrote:Hi all,

I installed Openstack swift on 4 nodes and it works correctly
I cann access and store files when I'm connected on the proxy node
but I can't store files or do any thing when I'm not logged on the proxy node

Can any one please help me ?

thank's in advance

best regards
Khaled
___
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] access to openstack swift cluster

2011-10-03 Thread Khaled Ben Bahri

Hi all,

I installed Openstack swift on 4 nodes and it works correctly
I cann access and store files when I'm connected on the proxy node
but I can't store files or do any thing when I'm not logged on the proxy node

Can any one please help me ?

thank's in advance

best regards
Khaled
  ___
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] rebalance error

2011-09-20 Thread Khaled Ben Bahri

thanks a lot for your answer :)

regards
Khaled

Date: Tue, 20 Sep 2011 10:54:34 -0700
From: m...@markgius.com
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] rebalance error

I usually see this error when there are not enough zones to satisfy the number 
of replicas in the ring.  
When you created the ring, your create command ended with three numbers.  The 
second number is the number of replicas.  You need at least as many zones as 
there are replicas.

Mark

On Tue, Sep 20, 2011 at 9:08 AM, Khaled Ben Bahri  
wrote:






Hi,

I am following intructions described at : 
http://swift.openstack.org/1.2/howto_installmultinode.html  in order to install 
openstack swift


when I reach the step of rebalancing ring ( at the end of configuring the proxy 
node) , after adding entries to rings,
and when I execute the command : 
swift-ring-builder account.builder rebalance

I have this error :


Traceback (most recent call last):
  File "/usr/bin/swift-ring-builder", line 571, in 
Commands.__dict__.get(command, Commands.unknown)()
  File "/usr/bin/swift-ring-builder", line 443, in rebalance

parts, balance = builder.rebalance()
  File "/usr/lib/pymodules/python2.6/swift/common/ring/builder.py", line 200, 
in rebalance
self._initial_balance()
  File "/usr/lib/pymodules/python2.6/swift/common/ring/builder.py", line 351, 
in _initial_balance

while available_devs[index]['zone'] in other_zones:
IndexError: list index out of range



can any one help me please to solve this problem

best regards
Khaled

  

___

Mailing list: https://launchpad.net/~openstack

Post to : openstack@lists.launchpad.net

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp





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


[Openstack] rebalance error

2011-09-20 Thread Khaled Ben Bahri

Hi,

I am following intructions described at : 
http://swift.openstack.org/1.2/howto_installmultinode.html  in order to install 
openstack swift

when I reach the step of rebalancing ring ( at the end of configuring the proxy 
node) , after adding entries to rings,
and when I execute the command : 
swift-ring-builder account.builder rebalance
I have this error :


Traceback (most recent call last):
  File "/usr/bin/swift-ring-builder", line 571, in 
Commands.__dict__.get(command, Commands.unknown)()
  File "/usr/bin/swift-ring-builder", line 443, in rebalance
parts, balance = builder.rebalance()
  File "/usr/lib/pymodules/python2.6/swift/common/ring/builder.py", line 200, 
in rebalance
self._initial_balance()
  File "/usr/lib/pymodules/python2.6/swift/common/ring/builder.py", line 351, 
in _initial_balance
while available_devs[index]['zone'] in other_zones:
IndexError: list index out of range



can any one help me please to solve this problem

best regards
Khaled
  ___
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] configuring network for swift

2011-09-20 Thread Khaled Ben Bahri

thanks Hugo for your response,

when installing swift, i followed step in 
http://swift.openstack.org/howto_installmultinode.html 
my problem is in the step 6 of the paragraph :  "General OS configuration and 
partitioning for each node"

is the STORAGE_LOCAL_NET_IP and the PROXY_LOCAL_NET_IP two adresses for two 
local networks or no?

best regards
Khaled

> CC: openstack@lists.launchpad.net
> From: tonyt...@gmail.com
> Subject: Re: [Openstack] configuring network for swift
> Date: Tue, 20 Sep 2011 21:14:56 +0800
> To: khaled-...@hotmail.com
> 
> All for swift internal network in my case!
> But we test with a client which in same internal network though.
> 
> The only parameter of external ip, I thought is default_cluster_url
> That's the address for client 
> 
> 從我的 iPhone 傳送
> 
> Khaled Ben Bahri  於 2011/9/20 下午8:45 寫道:
> 
> > Hi all,
> > 
> > I started installing openStack Swift, and i don't find more information 
> > about network setup.
> > Please help me to answer to these questions to let me understand how to 
> > configure network for swift:
> > 
> > what's the difference between STORAGE_LOCAL_NET and PROXY_LOCAL_NET
> > Is the STORAGE_LOCAL_NET_IP the ip of the local network? should I publish 
> > it on every node or only on the storage nodes?
> > and The PROXY_LOCAL_NET_IP is it the adress of the external network or not?
> > 
> > thanks in advance for clarifying these questions
> > 
> > Best regards
> > Khaled
> > 
> > 
> > ___
> > 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] configuring network for swift

2011-09-20 Thread Khaled Ben Bahri

Hi all,

I started installing openStack Swift, and i don't find more information about 
network setup.
Please help me to answer to these questions to let me understand how to 
configure network for swift:

what's the difference between STORAGE_LOCAL_NET and PROXY_LOCAL_NET
Is the STORAGE_LOCAL_NET_IP the ip of the local network? should I publish it on 
every node or only on the storage nodes?
and The PROXY_LOCAL_NET_IP is it the adress of the external network or not?

thanks in advance for clarifying these questions

Best regards
Khaled


  ___
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] installation of openStack

2011-09-19 Thread Khaled Ben Bahri

thanks Hugo

I will try both on bare-metal and on vms

regards
Khaled

CC: vishvana...@gmail.com; openstack@lists.launchpad.net
From: tonyt...@gmail.com
Subject: Re: [Openstack] installation of openStack
Date: Mon, 19 Sep 2011 21:27:06 +0800
To: khaled-...@hotmail.com

Oh sorry , I misunderstood You mean SWIFT!In my test it's failed on virtualbox 
with multiple-servers The object-sever can't mount specified partition 
correctly:(
With same configuration on bare-metal. It works smoothly !
But SAIO is working in virtualbox though.

從我的 iPhone 傳送
Khaled Ben Bahri  於 2011/9/19 下午4:22 寫道:


thanks Vish

I have 3 vms working with vmware, and I want to install swift to test it on 
these vms
 should I do any special configuration or i simply use the deployment guide of 
openstack swift

regards
Khaled

Subject: Re: [Openstack] installation of openStack
From: vishvana...@gmail.com
Date: Mon, 19 Sep 2011 01:09:32 -0700
CC: openstack@lists.launchpad.net
To: khaled-...@hotmail.com



It works fine in a virtual machine. You should set:
--libvirt_type=qemu
so that it uses software virtualization. Note that the guests will be very slow.
Vish
On Sep 19, 2011, at 12:52 AM, Khaled Ben Bahri wrote:Hi all,

I am a novice in utilization of openstack, i want to install it on my computer 
to test it
is it possible to install it on virtual machines or it's not recommanded and i 
should to install it directly on hardware and not on vms??

thanks in advance

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

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


Re: [Openstack] installation of openStack

2011-09-19 Thread Khaled Ben Bahri

thanks Vish

I have 3 vms working with vmware, and I want to install swift to test it on 
these vms
 should I do any special configuration or i simply use the deployment guide of 
openstack swift

regards
Khaled

Subject: Re: [Openstack] installation of openStack
From: vishvana...@gmail.com
Date: Mon, 19 Sep 2011 01:09:32 -0700
CC: openstack@lists.launchpad.net
To: khaled-...@hotmail.com



It works fine in a virtual machine. You should set:
--libvirt_type=qemu
so that it uses software virtualization. Note that the guests will be very slow.
Vish
On Sep 19, 2011, at 12:52 AM, Khaled Ben Bahri wrote:Hi all,

I am a novice in utilization of openstack, i want to install it on my computer 
to test it
is it possible to install it on virtual machines or it's not recommanded and i 
should to install it directly on hardware and not on vms??

thanks in advance

Best regards
Khaled
___
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] installation of openStack

2011-09-19 Thread Khaled Ben Bahri

Hi all,

I am a novice in utilization of openstack, i want to install it on my computer 
to test it
is it possible to install it on virtual machines or it's not recommanded and i 
should to install it directly on hardware and not on vms??

thanks in advance

Best regards
Khaled
  ___
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] [NEW DEPENDENCY] Nova will depend on Tempo

2011-09-08 Thread Ben McGraw
Cool, thanks!

-Ben (Grue)

On Thu, Sep 8, 2011 at 3:49 PM, Rick Harris wrote:

>  The agreement is missing in trunk, but this pull-request adds it:
>
>  https://github.com/rackspace/Tempo/pull/8
>
>
>  On Sep 8, 2011, at 5:40 PM, Ben McGraw wrote:
>
> Am I missing a licensing agreement in the Tempo project?
>
>  -Ben (Grue)
>
> On Thu, Sep 8, 2011 at 3:15 PM, Rick Harris wrote:
>
>>  Just a quick announcement so no one is caught by surprise:
>>
>>  Once
>> https://code.launchpad.net/~rconradharris/nova/backup_schedule_extension/+merge/74665
>>  merges,
>>  Nova will have a new dependency on the Tempo project (
>> https://github.com/rackspace/Tempo).
>>
>>  Tempo is included in the pip-require and the Debian packages should be
>> updated shortly, so, hopefully this won't cause any problems.
>>
>>  Thanks,
>>
>>  Rick
>>
>>  P.S.
>>
>>  Reviews on
>> https://code.launchpad.net/~rconradharris/nova/backup_schedule_extension/+merge/74665
>>  would
>> be much appreciated!
>>
>>  This email may include confidential information. If you received it in
>> error, please delete it.
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>  This email may include confidential information. If you received it in
> error, please delete it.
>



-- 
-Ben (Grue)
Sr. Software Engineer at PistonCloud.com
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [NEW DEPENDENCY] Nova will depend on Tempo

2011-09-08 Thread Ben McGraw
Am I missing a licensing agreement in the Tempo project?

-Ben (Grue)

On Thu, Sep 8, 2011 at 3:15 PM, Rick Harris wrote:

>  Just a quick announcement so no one is caught by surprise:
>
>  Once
> https://code.launchpad.net/~rconradharris/nova/backup_schedule_extension/+merge/74665
>  merges,
>  Nova will have a new dependency on the Tempo project (
> https://github.com/rackspace/Tempo).
>
>  Tempo is included in the pip-require and the Debian packages should be
> updated shortly, so, hopefully this won't cause any problems.
>
>  Thanks,
>
>  Rick
>
>  P.S.
>
>  Reviews on
> https://code.launchpad.net/~rconradharris/nova/backup_schedule_extension/+merge/74665
>  would
> be much appreciated!
>
>  This email may include confidential information. If you received it in
> error, please delete it.
>
> ___
> 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] A possible alternative to Gerrit ...

2011-09-01 Thread Ben McGraw
++ from me as well.

On Thu, Sep 1, 2011 at 12:29 PM, Dan Prince wrote:

> ++
>
> The closer we can get to really using GitHub the better.
>
> Dan
>
> -Original Message-
> From: "Sandy Walsh" 
> Sent: Thursday, September 1, 2011 1:56pm
> To: "openstack@lists.launchpad.net" 
> Subject: [Openstack] A possible alternative to Gerrit ...
>
>  Hey!
>
> Last night I did some hacking on HubCap. HubCap is a simple script that
> monitors Pull Requests in GitHub. It spits out a static HTML page of the
> requests workflow status.
>
> It infers workflow status by looking for keywords in the comments. It's so
> simple it's stupid. The last keyword from a commentor is considered their
> vote. When we have a quorum, it can kick off a jenkins build. If that
> succeeds, it can be merged. It uses the core members already assigned to the
> repo.
>
> It's just a hack right now. But I think it could effectively let us use
> GitHub as intended and still have the voting power of LP.
>
> You can see a (static) sample of the output here from python-novaclient:
> http://www.darksecretsoftware.com/hubcap.html
>
> code is here: https://github.com/SandyWalsh/hubcap
>
> As fate would have it, I bounced this off a few people and learned about
> 0x44's Roundabout project:
> https://github.com/ChristopherMacGown/roundabout
>
> Roundabout is certainly more mature than HubCap, and has CI hooks, daemon
> code, etc, but no real workflow. I'm going to merge the hubcap code into
> Roundabout and press on from there for novaclient.
>
> Love to get your thoughts (and contributions) on this.
>
> Cheers,
> Sandy
> This email may include confidential information. If you received it in
> error, please delete it.
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
> This email may include confidential information. If you received it in
> error, please delete it.
>
>
> ___
> 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