Re: [Openstack] Swift proxy logs

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


2013/7/16 Chuck Thier 

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


[Openstack] Swift proxy logs

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

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

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


Re: [Openstack] Swift Client

2013-07-05 Thread CHABANI Mohamed El Hadi
Okey thank's, i will check this approach.
___
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

2013-07-05 Thread CHABANI Mohamed El Hadi
To use Cyberduck of course.

I thing i should also use a different middleware instead of Tempauth, how
can i replace it by devauth or swauth ?


2013/7/5 CHABANI Mohamed El Hadi 

> Hi Hugo,
>
> I didn't use Owncloud, i tried before Cyberduck and had a problem such
> 'unrecongnized SSL message' !
>
> My purpose is just to test ! i'm using a SAIO installation, with an Ubuntu
> 12.04, with tempauth middleware exactly according to :
> http://docs.openstack.org/developer/swift/development_saio.html
>
> Any docs or help, to set up this client will be highly appreciated :)
>
>
>
>
> 2013/7/5 Kuo Hugo 
>
>> --- I ever used ---
>> 1) CyberDuck
>> 2) Owncloud  (What's the problem in your test?)
>> 3) Gladinet client
>> 4) SwiftStack Web Console
>> 5) Most of AWS S3 client tools, but you need to enable Swift3 middleware
>> support
>> 6) OpenStack DashBoard
>> 7) Maldivica gateway
>>
>> -- I never use but should work --
>> 8) SME
>>
>> Hope it help
>>
>>
>> +Hugo Kuo+
>> h...@swiftstack.com
>> tonyt...@gmail.com
>> +886 935004793
>>
>>
>> 2013/7/5 CHABANI Mohamed El Hadi 
>>
>>> Hi people,
>>>
>>> I want to use my Swift all in One with a graphical client, to put /
>>> retrieve objects. i heard that we can use Cyberduck (but there is problem
>>> of port) or Owncloud as Swift client but didn't find good references.
>>>
>>> If any person could help me or suggest other clients, it would be really
>>> great.
>>>
>>> Thank you
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
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

2013-07-05 Thread CHABANI Mohamed El Hadi
Hi Hugo,

I didn't use Owncloud, i tried before Cyberduck and had a problem such
'unrecongnized SSL message' !

My purpose is just to test ! i'm using a SAIO installation, with an Ubuntu
12.04, with tempauth middleware exactly according to :
http://docs.openstack.org/developer/swift/development_saio.html

Any docs or help, to set up this client will be highly appreciated :)




2013/7/5 Kuo Hugo 

> --- I ever used ---
> 1) CyberDuck
> 2) Owncloud  (What's the problem in your test?)
> 3) Gladinet client
> 4) SwiftStack Web Console
> 5) Most of AWS S3 client tools, but you need to enable Swift3 middleware
> support
> 6) OpenStack DashBoard
> 7) Maldivica gateway
>
> -- I never use but should work --
> 8) SME
>
> Hope it help
>
>
> +Hugo Kuo+
> h...@swiftstack.com
> tonyt...@gmail.com
> +886 935004793
>
>
> 2013/7/5 CHABANI Mohamed El Hadi 
>
>> Hi people,
>>
>> I want to use my Swift all in One with a graphical client, to put /
>> retrieve objects. i heard that we can use Cyberduck (but there is problem
>> of port) or Owncloud as Swift client but didn't find good references.
>>
>> If any person could help me or suggest other clients, it would be really
>> great.
>>
>> Thank you
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
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

2013-07-04 Thread CHABANI Mohamed El Hadi
Hi people,

I want to use my Swift all in One with a graphical client, to put /
retrieve objects. i heard that we can use Cyberduck (but there is problem
of port) or Owncloud as Swift client but didn't find good references.

If any person could help me or suggest other clients, it would be really
great.

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


[Openstack] Debug level / Swift

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

I want to active the Debug level on Swift because a 503 internal error, but
i don't know how, any help please ?

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


Re: [Openstack] Swift objects permissions

2013-07-01 Thread CHABANI Mohamed El Hadi
Thank's for the replay, in addition to this, i had a problem in the object
name...it works now !


2013/7/1 Hua ZZ Zhang 

> currently Swift R/W ACL is for container level. make sure that you set ACL
> on the container "test".
> if you also want to authorize listing that container, add ACL like "
> .r:*,.rlistings".
>
> see detailed doc here:
> http://docs.openstack.org/developer/swift/misc.html#id5
>
> -Edward Zhang
>
>
> [image: Inactive hide details for CHABANI Mohamed El Hadi ---2013-07-01 下午
> 05:39:04---CHABANI Mohamed El Hadi  El Hadi ---2013-07-01 下午 05:39:04---CHABANI Mohamed El Hadi <
> chabani.mohamed.h...@gmail.com>
>
>
>*CHABANI Mohamed El Hadi *
>Sent by: "Openstack" cn.ibm@lists.launchpad.net>
>
>2013-07-01 下午 05:39
>
>
> To
>
>
>"openstack@lists.launchpad.net" ,
>
>
> cc
>
>
> Subject
>
>
>[Openstack] Swift objects permissions
>
>
> Hi people,
>
> I'm trying to show a picture in my browser from a swift cluser (SAIO),
> when i do 
> '*http://myadressip:8080/v1/AUTH_test/test/myfiles/test.jpeg*<http://myadressip:8080/v1/AUTH_test/test/myfiles/test.jpeg>'
> i get
> *
> "This server could not verify that you are authorized to access the
> document you requested."*
>
> I set also the Read ACL  = ".r:*"
>
> Should i add additional configurations or permissions ?
>
> Thank's___
> 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 objects permissions

2013-07-01 Thread CHABANI Mohamed El Hadi
Hi people,

I'm trying to show a picture in my browser from a swift cluser (SAIO), when
i do '*http://myadressip:8080/v1/AUTH_test/test/myfiles/test.jpeg*' i get

*"This server could not verify that you are authorized to access the
document you requested."*

I set also the Read ACL  = ".r:*"

Should i add additional configurations or permissions ?

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


Re: [Openstack] Swift / Keystone authentication

2013-06-27 Thread CHABANI Mohamed El Hadi
You are great :) i commented the "# Use syslog for logging." which was
uncommented by default ! and now the keystone.log is working.

Tha


2013/6/26 Miller, Mark M (EB SW Cloud - R&D - Corvallis) <
mark.m.mil...@hp.com>

>  Here are some logging options we use in keystone.conf:
>
> ** **
>
> # === Logging Options ===
>
> # Print debugging output
>
> # (includes plaintext request logging, potentially including passwords)***
> *
>
> debug = True
>
> ** **
>
> # Print more verbose output
>
> verbose = True
>
> ** **
>
> # Name of log file to output to. If not set, logging will go to stdout.***
> *
>
> log_file = keystone.log
>
> ** **
>
> # The directory to keep log files in (will be prepended to --logfile)
>
> log_dir = /var/log/keystone
>
> ** **
>
> # Use syslog for logging.
>
> # use_syslog = False
>
> ** **
>
> # syslog facility to receive log lines
>
> # syslog_log_facility = LOG_USER
>
> ** **
>
> # If this option is specified, the logging configuration file specified is
> 
>
> # used and overrides any other logging options specified. Please see the**
> **
>
> # Python logging module documentation for details on logging configuration
> 
>
> # files.
>
> # log_config = /etc/keystone/logging.conf
>
> ** **
>
> # A logging.Formatter log message format string which may use any of the**
> **
>
> # available logging.LogRecord attributes.
>
> # log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
>
> ** **
>
> # Format string for %(asctime)s in log records.
>
> log_date_format = %Y-%m-%d %H:%M:%S
>
> ** **
>
> # onready allows you to send a notification when the process is ready to
> serve****
>
> # For example, to have it notify using systemd, one could set shell
> command:
>
> # onready = systemd-notify --ready
>
> # or a module with notify() method:
>
> # onready = keystone.common.systemd
>
> ** **
>
> ** **
>
> *From:* CHABANI Mohamed El Hadi [mailto:chabani.mohamed.h...@gmail.com]
> *Sent:* Wednesday, June 26, 2013 6:25 AM
> *To:* Jamie Lennox
> *Cc:* Miller, Mark M (EB SW Cloud - R&D - Corvallis);
> openstack@lists.launchpad.net; tu...@tudorholton.com
>
> *Subject:* Re: [Openstack] Swift / Keystone authentication
>
> ** **
>
> *Mark Miller : *Until yesterday the container.recon didn't exist at all,
> this morning when rectifying a mistake in the keystone.conf, the keystone
> service started and these files (account.recon, container and object.recon)
> were created and the problem is solved.
>
> Now the problem is that there is no logs in Keystone.log, only in syslog
> (i set the permissions as mentioned )
>
> *Tudor : *Thank you for the advice :)  i will keep it in mind.
>
> *Jamie Lennox :* - How can i put Swift into debug mode ? i've changed the
> "debug" and "verbose" variables in Keystone.conf to"*True*" but nothing
> happened !
>
>   - For the bug, i don't think that is my case, i
> don't have the same exceptions, this one is much more complicated than mine
> :)
>
> ** **
>
> Thanks to all of you !
>
> ** **
>
> 2013/6/26 Jamie Lennox 
>
> On Tue, 2013-06-25 at 18:05 +0200, CHABANI Mohamed El Hadi wrote:
> > my logs looks like that : http://pastebin.ubuntu.com/5798930/i
> > didn't really understand a lot of things ! any suggestions please ?
>
> So the logs are not really informative, they just show that swift is
> crashing. Generally you should put swift into debug mode via the config
> files so there is some information there.
>
> However given that this has happened today i would suggest that this is
> being caused by the same bug that is being discussed in
> http://lists.openstack.org/pipermail/openstack-dev/2013-June/010861.html
> which is this bug: https://bugs.launchpad.net/keystone/+bug/1193112
>
>
>
>
> > 2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis)
> > 
> > Bottom line the keystone service attempting to start but is
> > running into a problem and cannot start. Check
> > the /var/log/syslog file.
> >
> >
> >
> > From: CHABANI Mohamed El Hadi
> > [mailto:chabani.mohamed.h...@gmail.com]
> > Sent: Tuesday, June 25, 2013 8:46 AM
> > To: Miller, Mark M (EB SW Cloud - R&D - Corvallis)
> > Cc: Виль Суркин; openstack@lists.launchpad.net
> >
> &

Re: [Openstack] Swift / Keystone authentication

2013-06-26 Thread CHABANI Mohamed El Hadi
*Mark Miller : *Until yesterday the container.recon didn't exist at all,
this morning when rectifying a mistake in the keystone.conf, the keystone
service started and these files (account.recon, container and object.recon)
were created and the problem is solved.

Now the problem is that there is no logs in Keystone.log, only in syslog (i
set the permissions as mentioned )

*Tudor : *Thank you for the advice :)  i will keep it in mind.

*Jamie Lennox :* - How can i put Swift into debug mode ? i've changed the
"debug" and "verbose" variables in Keystone.conf to"*True*" but nothing
happened !
  - For the bug, i don't think that is my case, i
don't have the same exceptions, this one is much more complicated than mine
:)

Thanks to all of you !


2013/6/26 Jamie Lennox 

> On Tue, 2013-06-25 at 18:05 +0200, CHABANI Mohamed El Hadi wrote:
> > my logs looks like that : http://pastebin.ubuntu.com/5798930/i
> > didn't really understand a lot of things ! any suggestions please ?
>
> So the logs are not really informative, they just show that swift is
> crashing. Generally you should put swift into debug mode via the config
> files so there is some information there.
>
> However given that this has happened today i would suggest that this is
> being caused by the same bug that is being discussed in
> http://lists.openstack.org/pipermail/openstack-dev/2013-June/010861.html
> which is this bug: https://bugs.launchpad.net/keystone/+bug/1193112
>
>
>
> > 2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis)
> > 
> > Bottom line the keystone service attempting to start but is
> >     running into a problem and cannot start. Check
> > the /var/log/syslog file.
> >
> >
> >
> > From: CHABANI Mohamed El Hadi
> > [mailto:chabani.mohamed.h...@gmail.com]
> > Sent: Tuesday, June 25, 2013 8:46 AM
> > To: Miller, Mark M (EB SW Cloud - R&D - Corvallis)
> > Cc: Виль Суркин; openstack@lists.launchpad.net
> >
> >
> > Subject: Re: [Openstack] Swift / Keystone authentication
> >
> >
> > Yes you are right :) !
> >
> >  When trying 'service keystone status' i get : keystone
> > stop/waiting..however when i do service keystone start, it
> > shows 'keystone start/running, process 32462' i'm missing
> > something here ? because i've installed keystone without
> > changing his database (no need).
> >
> >
> >
> >
> > 2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis)
> > 
> >
> > The keystone service will open these 2 ports. They are defined
> > in file /etc/keystone/keystone.conf
> >
> >
> >
> > From: Openstack [mailto:openstack-bounces
> > +mark.m.miller=hp@lists.launchpad.net] On Behalf Of
> > CHABANI Mohamed El Hadi
> > Sent: Tuesday, June 25, 2013 7:48 AM
> > To: Виль Суркин
> >
> >
> > Cc: openstack@lists.launchpad.net
> > Subject: Re: [Openstack] Swift / Keystone authentication
> >
> >
> >
> >
> > When i tried with port : 5000 and even 35357 i got :
> > Authorization Failed: [Errno 111] Connection refused
> >
> >
> > These 2 ports are not open i guess, should i open them
> > manually ? (the keystone service is start/running)
> >
> >
> >
> >
> >
> >
> > 2013/6/25 Виль Суркин 
> >
> > You should authenticate in keystone service, not in
> > swift-proxy.
> >
> >
> > Keystone's Public API usually binds to TCP port 5000.
> >
> >
> >
> >
> >
> > --
> >
> >
> > Виль Суркин
> >
> >
> >
> >
> >
> > вторник, 25 июня 2013 г. в 18:38, CHABANI Mohamed El Hadi
> > написал:
> >
> > Hi,
> >
> >
> > I'm trying to install Swift from this Guide, and for
> > the authentication service (Keystone) i'm a bit lost,
> > should i install Keystone as a full-fledged service
> > with the MySql database ? i want just to use Swift for
> > test purpose (but not SAIO version), so idon't need a
> > lot of bandwidth or storage space, i finished the
> > nodes configuration and wh

Re: [Openstack] Swift / Keystone authentication

2013-06-25 Thread CHABANI Mohamed El Hadi
my logs looks like that : http://pastebin.ubuntu.com/5798930/i didn't
really understand a lot of things ! any suggestions please ?


2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis) <
mark.m.mil...@hp.com>

>  Bottom line the keystone service attempting to start but is running into
> a problem and cannot start. Check the /var/log/syslog file. 
>
> ** **
>
> *From:* CHABANI Mohamed El Hadi [mailto:chabani.mohamed.h...@gmail.com]
> *Sent:* Tuesday, June 25, 2013 8:46 AM
> *To:* Miller, Mark M (EB SW Cloud - R&D - Corvallis)
> *Cc:* Виль Суркин; openstack@lists.launchpad.net
>
> *Subject:* Re: [Openstack] Swift / Keystone authentication
>
> ** **
>
> Yes you are right :) !
>
>  When trying *'service keystone status'* i get : *keystone 
> stop/waiting*..however
> when i do *service keystone start*, it shows* 'keystone start/running,
> process 32462'* i'm missing something here ? because i've installed
> keystone without changing his database (no need). 
>
> ** **
>
> 2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis) <
> mark.m.mil...@hp.com>
>
> The keystone service will open these 2 ports. They are defined in file
> /etc/keystone/keystone.conf
>
>  
>
> *From:* Openstack [mailto:openstack-bounces+mark.m.miller=
> hp@lists.launchpad.net] *On Behalf Of *CHABANI Mohamed El Hadi
> *Sent:* Tuesday, June 25, 2013 7:48 AM
> *To:* Виль Суркин
>
>
> *Cc:* openstack@lists.launchpad.net
> *Subject:* Re: [Openstack] Swift / Keystone authentication
>
>  
>
> When i tried with port : 5000 and even 35357 i got : *Authorization
> Failed: [Errno 111] Connection refused*
>
> These 2 ports are not open i guess, should i open them manually ? (the
> keystone service is start/running)
>
>  
>
>  
>
> 2013/6/25 Виль Суркин 
>
> You should authenticate in keystone service, not in swift-proxy. 
>
> Keystone's Public API usually binds to TCP port 5000.
>
>  
>
> -- 
>
> Виль Суркин
>
>  
>
> вторник, 25 июня 2013 г. в 18:38, CHABANI Mohamed El Hadi написал:
>
> Hi,
>
> I'm trying to install Swift from this 
> Guide<http://docs.openstack.org/trunk/openstack-object-storage/admin/content/ch_installing-openstack-object-storage.html>,
> and for the authentication service (Keystone) i'm a bit lost, should i
> install Keystone as a full-fledged service with the MySql database ? i want
> just to use Swift for test purpose (but not SAIO version), so idon't need a
> lot of bandwidth or storage space, i finished the nodes configuration and
> when verifying the installation with : *swift -V 2.0 -A
> http://127.0.0.1:/v2.0 -U swift:swift -K swift stat *
> i get :* **Unauthorised. Check username, password and tenant name/id*
>
> Or with :* keystone --os-username=swift --os-password=swift --os-auth-url=
> http://127.0.0.1:/v2.0 token-get*  i get : 
>
> *This server could not verify that you are authorized to access the
> document you requested. Either you supplied the wrong credentials (e.g.,
> bad password), or your browser does not understand how to supply the
> credentials required.*
>
> Any sugestions ? here my 
> proxy-server.conf<http://pastebin.ubuntu.com/5797979/>
> .
>
>  
>
> Thank you
>
>  
>
>  
>
> ___
>
> Mailing list: https://launchpad.net/~openstack
>
> Post to : openstack@lists.launchpad.net
>
> Unsubscribe : https://launchpad.net/~openstack
>
> More help : https://help.launchpad.net/ListHelp
>
>   
>
>  
>
> ** **
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift / Keystone authentication

2013-06-25 Thread CHABANI Mohamed El Hadi
Yes you are right :) !

 When trying *'service keystone status'* i get : *keystone
stop/waiting*..however
when i do *service keystone start*, it shows* 'keystone start/running,
process 32462'* i'm missing something here ? because i've installed
keystone without changing his database (no need).


2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis) <
mark.m.mil...@hp.com>

>  The keystone service will open these 2 ports. They are defined in file
> /etc/keystone/keystone.conf
>
> ** **
>
> *From:* Openstack [mailto:openstack-bounces+mark.m.miller=
> hp....@lists.launchpad.net] *On Behalf Of *CHABANI Mohamed El Hadi
> *Sent:* Tuesday, June 25, 2013 7:48 AM
> *To:* Виль Суркин
>
> *Cc:* openstack@lists.launchpad.net
> *Subject:* Re: [Openstack] Swift / Keystone authentication
>
> ** **
>
> When i tried with port : 5000 and even 35357 i got : *Authorization
> Failed: [Errno 111] Connection refused*
>
> These 2 ports are not open i guess, should i open them manually ? (the
> keystone service is start/running)
>
> ** **
>
> ** **
>
> 2013/6/25 Виль Суркин 
>
> You should authenticate in keystone service, not in swift-proxy. 
>
> Keystone's Public API usually binds to TCP port 5000.
>
> ** **
>
> -- 
>
> Виль Суркин
>
> ** **
>
> вторник, 25 июня 2013 г. в 18:38, CHABANI Mohamed El Hadi написал:
>
> Hi,
>
> I'm trying to install Swift from this 
> Guide<http://docs.openstack.org/trunk/openstack-object-storage/admin/content/ch_installing-openstack-object-storage.html>,
> and for the authentication service (Keystone) i'm a bit lost, should i
> install Keystone as a full-fledged service with the MySql database ? i want
> just to use Swift for test purpose (but not SAIO version), so idon't need a
> lot of bandwidth or storage space, i finished the nodes configuration and
> when verifying the installation with : *swift -V 2.0 -A
> http://127.0.0.1:/v2.0 -U swift:swift -K swift stat *
> i get :* **Unauthorised. Check username, password and tenant name/id*
>
> Or with :* keystone --os-username=swift --os-password=swift --os-auth-url=
> http://127.0.0.1:/v2.0 token-get*  i get : 
>
> *This server could not verify that you are authorized to access the
> document you requested. Either you supplied the wrong credentials (e.g.,
> bad password), or your browser does not understand how to supply the
> credentials required.*
>
> Any sugestions ? here my 
> proxy-server.conf<http://pastebin.ubuntu.com/5797979/>
> .
>
> ** **
>
> Thank you
>
> ** **
>
> ** **
>
> ___
>
> Mailing list: https://launchpad.net/~openstack
>
> Post to : openstack@lists.launchpad.net
>
> Unsubscribe : https://launchpad.net/~openstack
>
> More help : https://help.launchpad.net/ListHelp
>
>  ** **
>
> ** **
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift / Keystone authentication

2013-06-25 Thread CHABANI Mohamed El Hadi
*Remo Mattei* : wich log file ? because in keystone.log there is nothing !


2013/6/25 Remo Mattei 

> Hi,
> can you do a netstat  -ant and see what it says? Also I would check the
> logs, /var/log and look for any errors? If you are using Redhat base
> (Fedora, CentOS etc, you may have to open up the iptables since by default
> it does not have those ports open).
>
> My 2 cents.
>
> Remo
>
> On Jun 25, 2013, at 07:48 , CHABANI Mohamed El Hadi <
> chabani.mohamed.h...@gmail.com> wrote:
>
> When i tried with port : 5000 and even 35357 i got : *Authorization
> Failed: [Errno 111] Connection refused*
>
> These 2 ports are not open i guess, should i open them manually ? (the
> keystone service is start/running)
>
>
>
> 2013/6/25 Виль Суркин 
>
>> You should authenticate in keystone service, not in swift-proxy.
>> Keystone's Public API usually binds to TCP port 5000.
>>
>> --
>> Виль Суркин
>>
>> вторник, 25 июня 2013 г. в 18:38, CHABANI Mohamed El Hadi написал:
>>
>> Hi,
>>
>> I'm trying to install Swift from this 
>> Guide<http://docs.openstack.org/trunk//openstack-object-storage/admin/content/ch_installing-openstack-object-storage.html>,
>> and for the authentication service (Keystone) i'm a bit lost, should i
>> install Keystone as a full-fledged service with the MySql database ? i want
>> just to use Swift for test purpose (but not SAIO version), so idon't need a
>> lot of bandwidth or storage space, i finished the nodes configuration and
>> when verifying the installation with : *swift -V 2.0 -A
>> http://127.0.0.1:/v2.0 -U swift:swift -K swift stat *
>> i get :* **Unauthorised. Check username, password and tenant name/id*
>>
>> Or with :* keystone --os-username=swift --os-password=swift
>> --os-auth-url=http://127.0.0.1:/v2.0 token-get*  i get :
>>
>> *This server could not verify that you are authorized to access the
>> document you requested. Either you supplied the wrong credentials (e.g.,
>> bad password), or your browser does not understand how to supply the
>> credentials required.*
>>
>> Any sugestions ? here my 
>> proxy-server.conf<http://pastebin.ubuntu.com/5797979/>
>> .
>>
>>
>> Thank you
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>>
> !DSPAM:2,51c9add5327235423259852!
> ___
>
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
> !DSPAM:2,51c9add5327235423259852!
>
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift / Keystone authentication

2013-06-25 Thread CHABANI Mohamed El Hadi
*Remo Mattei* : when i cheched with netstat -an : the port 5000 is not open
either the port 35357, i don't know why ! and no i'm on Ubuntu 12.04, they
are supposed to be open when the keystone run no ?!


*Виль Суркин :* No i didn't add any additional configurations, i'm looking
now how to add the endpoint and servicesand i've already errors ! we
must pass by this step to test Keystone with Swift ?



2013/6/25 Remo Mattei 

> Hi,
> can you do a netstat  -ant and see what it says? Also I would check the
> logs, /var/log and look for any errors? If you are using Redhat base
> (Fedora, CentOS etc, you may have to open up the iptables since by default
> it does not have those ports open).
>
> My 2 cents.
>
> Remo
>
> On Jun 25, 2013, at 07:48 , CHABANI Mohamed El Hadi <
> chabani.mohamed.h...@gmail.com> wrote:
>
> When i tried with port : 5000 and even 35357 i got : *Authorization
> Failed: [Errno 111] Connection refused*
>
> These 2 ports are not open i guess, should i open them manually ? (the
> keystone service is start/running)
>
>
>
> 2013/6/25 Виль Суркин 
>
>> You should authenticate in keystone service, not in swift-proxy.
>> Keystone's Public API usually binds to TCP port 5000.
>>
>> --
>> Виль Суркин
>>
>> вторник, 25 июня 2013 г. в 18:38, CHABANI Mohamed El Hadi написал:
>>
>> Hi,
>>
>> I'm trying to install Swift from this 
>> Guide<http://docs.openstack.org/trunk//openstack-object-storage/admin/content/ch_installing-openstack-object-storage.html>,
>> and for the authentication service (Keystone) i'm a bit lost, should i
>> install Keystone as a full-fledged service with the MySql database ? i want
>> just to use Swift for test purpose (but not SAIO version), so idon't need a
>> lot of bandwidth or storage space, i finished the nodes configuration and
>> when verifying the installation with : *swift -V 2.0 -A
>> http://127.0.0.1:/v2.0 -U swift:swift -K swift stat *
>> i get :* **Unauthorised. Check username, password and tenant name/id*
>>
>> Or with :* keystone --os-username=swift --os-password=swift
>> --os-auth-url=http://127.0.0.1:/v2.0 token-get*  i get :
>>
>> *This server could not verify that you are authorized to access the
>> document you requested. Either you supplied the wrong credentials (e.g.,
>> bad password), or your browser does not understand how to supply the
>> credentials required.*
>>
>> Any sugestions ? here my 
>> proxy-server.conf<http://pastebin.ubuntu.com/5797979/>
>> .
>>
>>
>> Thank you
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>>
> !DSPAM:2,51c9add5327235423259852!
> ___
>
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
> !DSPAM:2,51c9add5327235423259852!
>
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift / Keystone authentication

2013-06-25 Thread CHABANI Mohamed El Hadi
When i tried with port : 5000 and even 35357 i got : *Authorization Failed:
[Errno 111] Connection refused*

These 2 ports are not open i guess, should i open them manually ? (the
keystone service is start/running)



2013/6/25 Виль Суркин 

> You should authenticate in keystone service, not in swift-proxy.
> Keystone's Public API usually binds to TCP port 5000.
>
> --
> Виль Суркин
>
> вторник, 25 июня 2013 г. в 18:38, CHABANI Mohamed El Hadi написал:
>
> Hi,
>
> I'm trying to install Swift from this 
> Guide<http://docs.openstack.org/trunk//openstack-object-storage/admin/content/ch_installing-openstack-object-storage.html>,
> and for the authentication service (Keystone) i'm a bit lost, should i
> install Keystone as a full-fledged service with the MySql database ? i want
> just to use Swift for test purpose (but not SAIO version), so idon't need a
> lot of bandwidth or storage space, i finished the nodes configuration and
> when verifying the installation with : *swift -V 2.0 -A
> http://127.0.0.1:/v2.0 -U swift:swift -K swift stat *
> i get :* **Unauthorised. Check username, password and tenant name/id*
>
> Or with :* keystone --os-username=swift --os-password=swift --os-auth-url=
> http://127.0.0.1:/v2.0 token-get*  i get :
>
> *This server could not verify that you are authorized to access the
> document you requested. Either you supplied the wrong credentials (e.g.,
> bad password), or your browser does not understand how to supply the
> credentials required.*
>
> Any sugestions ? here my 
> proxy-server.conf<http://pastebin.ubuntu.com/5797979/>
> .
>
>
> Thank you
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
>
___
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 / Keystone authentication

2013-06-25 Thread CHABANI Mohamed El Hadi
Hi,

I'm trying to install Swift from this
Guide,
and for the authentication service (Keystone) i'm a bit lost, should i
install Keystone as a full-fledged service with the MySql database ? i want
just to use Swift for test purpose (but not SAIO version), so idon't need a
lot of bandwidth or storage space, i finished the nodes configuration and
when verifying the installation with : *swift -V 2.0 -A
http://127.0.0.1:/v2.0 -U swift:swift -K swift stat *
i get :* **Unauthorised. Check username, password and tenant name/id*

Or with :* keystone --os-username=swift --os-password=swift --os-auth-url=
http://127.0.0.1:/v2.0 token-get*  i get :

*This server could not verify that you are authorized to access the
document you requested. Either you supplied the wrong credentials (e.g.,
bad password), or your browser does not understand how to supply the
credentials required.*

Any sugestions ? here my proxy-server.conf
.


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


Re: [Openstack] Swift Object Storage authentication

2013-06-19 Thread CHABANI Mohamed El Hadi
During the installation of Swift, i didn't touch any Keystone
configuration, so do you think that i should install Keystone separately
according to :
http://docs.openstack.org/grizzly/openstack-compute/install/apt/content/install-keystone.html?
and configure Swift to work with it ?


2013/6/19 Kuo Hugo 

> Hi CHABANI,
>
> Currently the problem is on Keystone instead of Swift. (Sorry for missing
> your proxy conf)
>
> Depends on the returned msg, it's unauthorized by keystone.
> Please make sure there's correct username/password/role/tenant setup.
> I'd suggestion that you can use keystone API to retrieve the
> authentication information before test with swift client.
>
> Cheers
> Hugo
>
> +Hugo Kuo+
> h...@swiftstack.com
> tonyt...@gmail.com
> +886 935004793
>
>
> 2013/6/19 CHABANI Mohamed El Hadi 
>
>> Hi Hugo,
>>
>> Here is my proxy-sever.conf http://paste.openstack.org/show/38944/ (i've
>> already attached a pic in the first mail :)  )
>>
>> Thanks
>>
>>
>> 2013/6/19 Kuo Hugo 
>>
>>> Hi CHABANI ,
>>>
>>> Would you please show me the proxy-server.conf ?
>>>
>>> You can paste on http://paste.openstack.org/  or   gist.
>>>
>>> Cheers
>>>
>>>
>>> +Hugo Kuo+
>>> h...@swiftstack.com
>>> tonyt...@gmail.com
>>> +886 935004793
>>>
>>>
>>> 2013/6/19 CHABANI Mohamed El Hadi 
>>>
>>>> Hi all,
>>>>
>>>> I'm trying to install Swift Object Storage according
>>>> http://docs.openstack.org/grizzly/openstack-compute/install/apt/content/ch_installing-openstack-object-storage.html
>>>>
>>>> when i try to validate my installation with :
>>>>
>>>> *swift -V 2.0 -A http://127.0.0.1:5000/v2.0 -U swift:swift -K swift
>>>> stat*
>>>>
>>>> i get : "*Unauthorised. Check username, password and tenant name/id*"
>>>>
>>>>  i tried to use differents possibilities for user name and password
>>>> (admin, demo...) but nothing is working, the username and password should
>>>> be the same as in the proxy server no ? i don't know if i missed others
>>>> things i'm new in Swift.
>>>>
>>>> i attached here my proxy-server.conf for more details.
>>>>
>>>> Thanks for your 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
>>>>
>>>>
>>>
>>
>
___
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 Object Storage authentication

2013-06-19 Thread CHABANI Mohamed El Hadi
Hi Hugo,

Here is my proxy-sever.conf http://paste.openstack.org/show/38944/ (i've
already attached a pic in the first mail :)  )

Thanks


2013/6/19 Kuo Hugo 

> Hi CHABANI ,
>
> Would you please show me the proxy-server.conf ?
>
> You can paste on http://paste.openstack.org/  or   gist.
>
> Cheers
>
>
> +Hugo Kuo+
> h...@swiftstack.com
> tonyt...@gmail.com
> +886 935004793
>
>
> 2013/6/19 CHABANI Mohamed El Hadi 
>
>> Hi all,
>>
>> I'm trying to install Swift Object Storage according
>> http://docs.openstack.org/grizzly/openstack-compute/install/apt/content/ch_installing-openstack-object-storage.html
>>
>> when i try to validate my installation with :
>>
>> *swift -V 2.0 -A http://127.0.0.1:5000/v2.0 -U swift:swift -K swift stat*
>>
>> i get : "*Unauthorised. Check username, password and tenant name/id*"
>>
>>  i tried to use differents possibilities for user name and password
>> (admin, demo...) but nothing is working, the username and password should
>> be the same as in the proxy server no ? i don't know if i missed others
>> things i'm new in Swift.
>>
>> i attached here my proxy-server.conf for more details.
>>
>> Thanks for your 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
>>
>>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp