[Openstack] [keystone] Keystone service creation (HTTP 500)

2016-02-24 Thread Alexandr Porunov
1123 ERROR keystone.common.wsgi return Connection(*args, **kwargs) 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__ 2016-02-24 15:18:29.100 1123 ERROR keyst

Re: [Openstack] [keystone] Keystone service creation (HTTP 500)

2016-02-24 Thread Alexandr Porunov
ke sure to hit “Reply all” so that it goes back to the > mailing list, but I’m not sure why it’s not connected. I’d try > connecting from the mysql CLI client and see what happens > > Mohammed > > On Wed, Feb 24, 2016 at 10:04 AM, Alexandr Porunov > wrote: > > Hello Moham

Re: [Openstack] [keystone] Keystone service creation (HTTP 500)

2016-02-24 Thread Alexandr Porunov
Also there is a strange thing. This command: su -s /bin/sh -c "keystone-manage db_sync" keystone shows: No handlers could be found for logger "oslo_config.cfg" On Wed, Feb 24, 2016 at 11:27 PM, Alexandr Porunov < alexandr.poru...@gmail.com> wrote: > Mohammed, >

Re: [Openstack] [keystone] Keystone service creation (HTTP 500)

2016-02-24 Thread Alexandr Porunov
.889 1053 ERROR keystone.common.wsgi OperationalError: (_mysql_exceptions.OperationalError) (1045, "Access denied for user 'keystone'@'controller' (using password: YES)") ... It is the full log file: http://paste.openstack.org/show/488107/ Best Regards, Alexandr On Wed, Feb 24, 2016

Re: [Openstack] [keystone] Keystone service creation (HTTP 500)

2016-02-24 Thread Alexandr Porunov
... [revoke] driver = sql ... command still do not work.. Log file as always: http://paste.openstack.org/show/488107/ Best Regards, Alexandr On Thu, Feb 25, 2016 at 6:13 AM, Adam Young wrote: > On 02/24/2016 04:29 PM, Alexandr Porunov wrote: > > Also there is a strange thing.

Re: [Openstack] [keystone] Keystone service creation (HTTP 500)

2016-02-25 Thread Alexandr Porunov
and has given me access: GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'192.168.56.111' IDENTIFIED BY 'KEYSTONE_DBPASS'; Now I can create create the service entity for the Identity service. Thanks for helping. Sincerely, Alexandr On Thu, Feb 25, 2016 at 10:20 AM

[Openstack] [Glance] Error 503 when creating image

2016-02-25 Thread Alexandr Porunov
Hello everyone, I am trying to upload the image to the Image service like in this tutorial: http://docs.openstack.org/liberty/install-guide-rdo/glance-verify.html I have done all steps, but this step fails: glance image-create --name "cirros" --file cirros-0.3.4-x86_64-disk.img --disk-format qcow

Re: [Openstack] [Glance] Error 503 when creating image

2016-02-25 Thread Alexandr Porunov
But I have put admin's variables. Haven't I? On Thu, Feb 25, 2016 at 6:15 PM, Remo Mattei wrote: > Only admin can use public > > It will not work if that is a normal tenant > > Inviato da iPhone > > Il giorno 25 feb 2016, alle ore 07:56, Alexandr Porunov <

Re: [Openstack] [Glance] Error 503 when creating image

2016-02-25 Thread Alexandr Porunov
On Thu, Feb 25, 2016 at 11:21 PM, Alexandr Porunov < alexandr.poru...@gmail.com> wrote: > The same error. > > glance image-create --progress --file ./cirros-0.3.4-x86_64-disk.img > --name cirros --disk-format qcow2 --container-format bare > 503 Service Unavailable: Th

Re: [Openstack] [Glance] Error 503 when creating image

2016-02-25 Thread Alexandr Porunov
stonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data But I don't know how to repair it On Thu, Feb 25, 2016 at 11:22 PM, Remo Mattei wrote: > Check your logs and see what it says you may want to add —debug to that

[Openstack] [neutron] 503 Service Unavailable

2016-02-26 Thread Alexandr Porunov
Hello everyone, I am trying to install neutron. I have passed all steps except the verify step: http://docs.openstack.org/liberty/install-guide-rdo/neutron-verify.html $ neutron ext-list 503 Service Unavailable The server is currently unavailable. Please try again at a later time. There is log

Re: [Openstack] [neutron] 503 Service Unavailable

2016-02-27 Thread Alexandr Porunov
n.conf. > > Neil > > > *From: *Alexandr Porunov > *Sent: *Friday, 26 February 2016 20:39 > *To: *Openstack > *Subject: *[Openstack] [neutron] 503 Service Unavailable > > Hello everyone, > > I am trying to install neutron. I have passed all steps except the verify &

[Openstack] [neutron] all agents are dead

2016-02-27 Thread Alexandr Porunov
Hello everyone, I am trying to install neutron. I have passed all steps except the verify step: http://docs.openstack.org/liberty/install-guide-rdo/neutron-verify-option2.html "neutron agent-list" shows agents but all agents aren't alive. All agents have parameter alive: xxx. But in the verify s

Re: [Openstack] [neutron] all agents are dead

2016-02-27 Thread Alexandr Porunov
try restating > the services on controller node > On Feb 27, 2016 3:24 PM, "Alexandr Porunov" > wrote: > >> Hello everyone, >> >> I am trying to install neutron. I have passed all steps except the verify >> step: >> >> http://docs.openstack.org/li

[Openstack] Which storage is the best for temporary store?

2016-03-10 Thread Alexandr Porunov
Hello, I need a temporary storage for users videos. This is my scenario: 1. User uploads a video file chunk by chunk. 2. My application stores each chunk in the temporary storage. 3. When video loading is finished then my transformation server transforms this video and stores into permanent storag

[Openstack] Fwd: Which storage is the best for temporary store?

2016-03-11 Thread Alexandr Porunov
ine and change >bits on each chunk, it’s not good for Swift. > > If the temporary tier doesn’t need too much space (lower than 3TB), you > can just use several high speed disks as a raid0 pool to have nice IOPs. > > Regard // Hugo > ​ > > 2016-03-10 18:54 GMT+08:00 Al

[Openstack] [Controller] Questions about horizontal scalability of controller

2016-03-29 Thread Alexandr Porunov
Hello, I have finished the installation guide: http://docs.openstack.org/liberty/install-guide-rdo/ But now I have a lot of questions about controllers scalability. Please, answer if you can. If I understood correctly, all requests to any node (compute or storage) will pass through controller no

[Openstack] [Fuel] Can we use different compute nodes with different capacity?

2016-03-31 Thread Alexandr Porunov
Hello, I want to use totally different compute nodes for different purposes. Is it normal practice? Also, if I have a server with a lot of RAM and a lot of disk space is it normal practice to install swift and nova on this server to use maximum of the server? Application will use only RAM and sto

[Openstack] [OpenStack] [Fuel] [Networks] Verification failed

2016-04-03 Thread Alexandr Porunov
Hello, I have created two networks in VirtualBox: vboxnet0 : 192.168.56.0 /24 vboxnet1 : 192.168.57.0 /24 vboxnet0 is a public network (gateway on 192.168.56.10) vboxnet1 is a private network Each virtual machine is connected to the private and public networks (Fuel Master and two Fuel Slaves (Co

[Openstack] Can we send requests directly on a bare metal machine?

2016-04-08 Thread Alexandr Porunov
Hello, I want to use only these projects: - Object Storage (Swift) - Bare Metal (Ironic) - Telemetry (Ceilometer) - Image Service (Glance) Do I need Controllers and Neutron nodes for using them? Can we send requests directly on a bare metal machine without passing them through controller/neutron

[Openstack] [Ironic] Can we send requests directly on a bare metal machine?

2016-04-08 Thread Alexandr Porunov
On Fri, Apr 8, 2016 at 8:56 PM, Alexandr Porunov wrote: > Hello, > > I want to use only these projects: > - Object Storage (Swift) > - Bare Metal (Ironic) > - Telemetry (Ceilometer) > - Image Service (Glance) > > Do I need Controllers and Neutron nodes for using t

[Openstack] [Swift] How to add new regions/zones into a swift cluster?

2016-05-19 Thread Alexandr Porunov
Hello everyone! I am trying to install swift without others products but I have problem with adding drives to the swift ring. I use this command: swift-ring-builder account.builder add --region USA --zone New_York --ip 192.168.57.51 --port 6002 --device d1 --weight 100 It shows me: "Usage: swift-

Re: [Openstack] [Swift] How to add new regions/zones into a swift cluster?

2016-05-19 Thread Alexandr Porunov
gt; > 1: > https://github.com/openstack/swift/blob/master/swift/common/ring/utils.py#L559-L562 > (2016/05/19 19:13), Alexandr Porunov wrote: > > Hello everyone! > > > > I am trying to install swift without others products but I have problem > > with adding drives to

[Openstack] [Swift] LookupError: Entry point 'copy' not found

2016-05-20 Thread Alexandr Porunov
I try to install swift but without success. When I run this command: swift-init proxy start It show me an error: Traceback (most recent call last): File "/usr/bin/swift-proxy-server", line 23, in sys.exit(run_wsgi(conf_file, 'proxy-server', **options)) File "/usr/lib/python2.7/site-packa

Re: [Openstack] [Swift] LookupError: Entry point 'copy' not found

2016-05-21 Thread Alexandr Porunov
lexandr On Sat, May 21, 2016 at 3:19 AM, Mark Kirkwood < mark.kirkw...@catalyst.net.nz> wrote: > On 20/05/16 20:37, Alexandr Porunov wrote: > >> I try to install swift but without success. >> When I run this command: >> swift-init proxy start >> >> It sho

[Openstack] [Swift] How to configure multi-region replication?

2016-06-29 Thread Alexandr Porunov
I have to configure special multi-region replication. If I put an object into region A or B I need to create 3 local replicas and 1 replica in other regions. If I put an object into region C I need to create 2 local replicas and 1 replica in other regions. Does it possible to configure replication

Re: [Openstack] [Swift] How to configure multi-region replication?

2016-06-30 Thread Alexandr Porunov
xy that originally wrote the object, once it's commited to the > storage layer the part placement in the ring for the container holding the > object will determine where the object should live... you may have to > elaborate on the use-case there - I'm not sure anyone working on S

[Openstack] [Swift] Is it possible to change a replication factor?

2016-06-30 Thread Alexandr Porunov
Is it possible to change a replication factor from 2 to 3 or vice versa from 3 to 2 in a running cluster? Best regards, Alexandr ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org U

[Openstack] [Swift] Is it possible to collect metrics from Swift without Statsd?

2016-08-09 Thread Alexandr Porunov
Hello, I need to collect different metrics from swift servers and store those metrics into OpenTSDB. I found that there is way to collect metrics with statsd and graphite but it isn't suitable for me because I have to store metrics into OpenTSDB. Is there any way to store metrics from openstack sw

Re: [Openstack] [Swift] Is it possible to collect metrics from Swift without Statsd?

2016-08-09 Thread Alexandr Porunov
n Tue, Aug 9, 2016 at 7:34 PM, John Dickinson wrote: > Any way we could get the stats you need upstream in swift (emitted via > statsd) and then use something like https://github.com/danslimmon/ > statsd-opentsdb-backend to get it in to opentsdb? > > --John > > > > &g

[Openstack] [OpenStack] [Swift] Is it possible to create chunked upload?

2016-08-23 Thread Alexandr Porunov
Hello, My server accepts files in chunks (4 Kbytes each chunk. File's size can be till 8 GB). Is it possible somehow store those chunks in Swift like a single file? Does somebody know any solution to solve this problem? Sincerely, Alexandr ___ Mailing l

Re: [Openstack] [OpenStack] [Swift] Is it possible to create chunked upload?

2016-08-23 Thread Alexandr Porunov
idual object (0 - 4095 bytes) and then when I recieve the second chunk (with 4096 - 8192 bytes) I have to append that chunk to the first object. Is it correct? How can we append second chunk? Sincerely, Alexandr On Tue, Aug 23, 2016 at 5:49 PM, Jay Pipes wrote: > On 08/23/2016 10:13 AM, Alexandr

Re: [Openstack] [OpenStack] [Swift] Is it possible to create chunked upload?

2016-08-23 Thread Alexandr Porunov
/swift/overview_ > large_objects.html, specifically "Static Large Objects" on that page. > This will allow you to upload discrete objects and then stitch them > together into a single logical object of arbitrary size. > > --John > > > > > > On 23 Aug 2016, at 1

[Openstack] [OpenStack] [Swift] Is it possible to stream a file from a Java server to OpenStack Swift?

2016-09-13 Thread Alexandr Porunov
Hello, Is it possible to stream a file from a Java server to OpenStack Swift? I need to store very large files in the OpenStack swift through the Java server. Java server performs authentication, validation and other special logic after that it sends file into OpenStack Swift. The problem is tha

[Openstack] [OpenStack] [Swift] Segments count minimization.

2016-09-13 Thread Alexandr Porunov
Hello, Does somebody know how to minimize segments count of a file? I have to implement an upload file service with the chunked upload feature. If a client lose connection for some time we have to be able continue to upload the file after connection is established (From the last successfuly upload

Re: [Openstack] [OpenStack] [Swift] Segments count minimization.

2016-09-13 Thread Alexandr Porunov
find swifty folks in > #openstack-swift on Freenode if you wanna chat! > > -Clay > > 1. final paragraph of http://docs.openstack.org/developer/swift/overview_ > large_objects.html#uploading-the-manifest > > On Tue, Sep 13, 2016 at 5:21 AM, Alexandr Porunov < > alexandr.poru...@gmail.com

Re: [Openstack] [OpenStack] [Swift] Segments count minimization.

2016-09-13 Thread Alexandr Porunov
, 2016 at 10:37 AM, Alexandr Porunov < > alexandr.poru...@gmail.com> wrote: > >> >> Correct me if I am wrong. Algorithm is the next: >> 1. Upload 1MB sub-segments (up to 500 sub-segments per segment). After >> they will be uploaded I will use "copy"

Re: [Openstack] [OpenStack] [Swift] Is it possible to stream a file from a Java server to OpenStack Swift?

2016-09-13 Thread Alexandr Porunov
Thanks again Clay! I will try JOSS Now I am joined to #openstack-swift Best regards, Alexandr On Wed, Sep 14, 2016 at 12:21 AM, Alexandr Porunov < alexandr.poru...@gmail.com> wrote: > Thanks again Clay! > > I will try JOSS > > Now I am joined to #openstack-swift > &g

[Openstack] [OpenStack] [Swift] Can we use tempauth with version 2 or 3 of identity?

2016-09-19 Thread Alexandr Porunov
Hello, I am using tempauth for authentication. Here what I use: curl -v -H 'X-Auth-User: admin:admin' -H 'X-Auth-Key: admin' http://192.168.0.58:8080/auth/v1.0/ But I need to use v2 or v3 because I use a Java Client (jclouds) which can use only v2 or v3 authentication. I tried: curl -H "Content-

[Openstack] [OpenStack] [keystone] How to make keystone highly available?

2016-09-19 Thread Alexandr Porunov
Hello, I am thinking about using the keystone as an authentication system but I am afraid about failures which can affect all the cluster. In fact if the keystone server dies then our full cluster will stop. It would be better if we could use HA with the keystone. Then if our primary keystone serv

Re: [Openstack] [OpenStack] [keystone] How to make keystone highly available?

2016-09-19 Thread Alexandr Porunov
; > Il giorno 19 set 2016, alle ore 11:46, Alexandr Porunov < > alexandr.poru...@gmail.com> ha scritto: > > Hello, > > I am thinking about using the keystone as an authentication system but I > am afraid about failures which can affect all the cluster. In fact if the > ke

Re: [Openstack] [OpenStack] [keystone] How to make keystone highly available?

2016-09-20 Thread Alexandr Porunov
Hello everyone, Thank you all for your advice! In my case one keystone server can easily hold a load. I don't need to balance a load between two or more keystone servers. However I need two keystone servers for high availability. So, I decided just to use two keystone servers with the same virtual

Re: [Openstack] [OpenStack] [keystone] How to make keystone highly available?

2016-09-20 Thread Alexandr Porunov
ent SPOF. Sincerely, Alexandr On Tue, Sep 20, 2016 at 10:56 PM, Turbo Fredriksson wrote: > On Sep 20, 2016, at 3:09 PM, Alexandr Porunov wrote: > > > So, I decided just to use two keystone servers with the same virtual IP > address. > > Now that you've made your decisi

Re: [Openstack] [OpenStack] [keystone] How to make keystone highly available?

2016-09-20 Thread Alexandr Porunov
n wrote: > On Sep 20, 2016, at 10:06 PM, Alexandr Porunov wrote: > > > If you care about high availability (as I do) then you need to have > > additional keystone instance which will prevent your cluster from SPOF. > > That was the idea. One node is already dedicated

Re: [Openstack] [OpenStack] [keystone] How to make keystone highly available?

2016-09-21 Thread Alexandr Porunov
e keystone server to send request to another keystone server to get a token. It isn't really effective because you send your request to both keystone servers rather than one keystone server. But in your situation I think it doesn't matter. Sincerely, Alexandr On Wed, Sep 21, 201

[Openstack] [OpenStack] [Keystone] How to manage permissions for a role in keystone?

2016-09-22 Thread Alexandr Porunov
Hello, I have installed Swift and Keystone. Now I want to create several users with different permissions: reader - can read from the next containers: "video", "audio", "subtitles", "photos" media_manager - can do anything in the next containers: "video", "audio", "subtitles", "photos" crypt_mana

[Openstack] [OpenStack] [Keystone] How to use two keystone servers?

2016-09-23 Thread Alexandr Porunov
Hello, I have next nodes: swift_proxy1 - 192.168.0.11 swift_proxy2 - 192.168.0.12 keystone1 - 192.168.0.21 keystone2 - 192.168.0.22 I wonder to know if it is possible to use two keystone servers if we use "uuid" or "fernet" tokens. With uuid I can use Galera Cluster to use the same database. The

Re: [Openstack] [OpenStack] [keystone] How to make keystone highly available?

2016-09-30 Thread Alexandr Porunov
> How do you handle database high availability and replication? Especially in my case, I don't care about tokens which will be lost after first keystone server dies. My services can authenticate again and get new tokens. It isn't critical. But if in your case it isn't acceptable then I would have

[Openstack] [Keystone] How to use several endpoints for Swift proxy nodes?

2016-10-11 Thread Alexandr Porunov
Hello, I am using a Java client (Openstack4j) for send objects to the openstack swift. Openstack4j doesn't allow to manually set proxy node IP addresses. You have to use keystone endpoint for it and it will create a token and will use the endpoint for proxy which was returned by keystone. Sometime

[Openstack] [OpenStack] [Swift] Does Swift3 supports SLO (Manifest creation)?

2016-10-11 Thread Alexandr Porunov
Hello, I want to use S3 API for OpenStack Swift but I need chunked upload for my files. I want to save many small object (1-10 MB) and retrieve them as a single object. For it I need to be able to create a manifest file. Does Swift3 support manifest creation? If yes then where can I see an example

Re: [Openstack] [OpenStack] [Swift] Does Swift3 supports SLO (Manifest creation)?

2016-10-11 Thread Alexandr Porunov
ster/swift3/ > test/functional/test_multi_upload.py > > (2016/10/12 4:32), Alexandr Porunov wrote: > > Hello, > > > > I want to use S3 API for OpenStack Swift but I need chunked upload for my > > files. I want to save many small object (1-10 MB) and retrieve them as

[Openstack] [OpenStack] [Swift] How to install Swift3 middleware?

2016-10-12 Thread Alexandr Porunov
Hello, I want to use S3 api for Swift. I have installed swift3 as here: git clone https://github.com/openstack/swift3 cd swift3 python setup.py install Then I have configured my proxy-server.conf as here: [pipeline:main] pipeline = catch_errors gatekeeper healthcheck proxy-logging cache contai

Re: [Openstack] [OpenStack] [Swift] How to install Swift3 middleware?

2016-10-12 Thread Alexandr Porunov
lled Swift3 on Helion Open Stack 2.0, and the published > instructions didn't work for me at all. > > On Wed, Oct 12, 2016 at 10:26 AM, Alexandr Porunov > wrote: > > Hello, > > > > I want to use S3 api for Swift. > > > > I have installed swift3 as here:

Re: [Openstack] [OpenStack] [Swift] How to install Swift3 middleware?

2016-10-12 Thread Alexandr Porunov
n Thu, Oct 13, 2016 at 12:17 AM, Mark Kirkwood < mark.kirkw...@catalyst.net.nz> wrote: > > > On 13/10/16 06:26, Alexandr Porunov wrote: > >> Hello, >> >> I want to use S3 api for Swift. >> >> I have installed swift3 as here: >> >> git clo

Re: [Openstack] [OpenStack] [Swift] How to install Swift3 middleware?

2016-10-12 Thread Alexandr Porunov
orrectly. > > When you ran that first step (setup.py), did you get errors? > > John > > On Wed, Oct 12, 2016 at 10:03 PM, Alexandr Porunov > wrote: > > Hello, > > > > It still doesn't work... The same error is shown. Maybe I missed > something? > &g

Re: [Openstack] [OpenStack] [Swift] How to install Swift3 middleware?

2016-10-13 Thread Alexandr Porunov
ft3 > >>>>> cd swift3 > >>>>> python setup.py install > > sudo pip install -r requirements.txt > (you may need also "sudo pip install -r test-requirements.txt" for testing) > > If you could share sort of logs why proxy-server got failed, it

[Openstack] [OpenStack] [Swift] How to use s3curl or s3cmd with Swift3?

2016-10-13 Thread Alexandr Porunov
Hello, I try to use s3curl to test swift3 but I miss something. Here is the command which I use: ./s3curl.pl - 'swift' -key '3d8b70ad194a4cf6857e59ec638d' -get - -s -v http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a It shows: Can't locate Digest/HMAC_SHA1.pm in @INC (@INC contains

Re: [Openstack] [OpenStack] [Swift] How to use s3curl or s3cmd with Swift3?

2016-10-13 Thread Alexandr Porunov
ft3 doesn't require Swift url so you can request to the > host directly. > > Regards, > Kota > > > (2016/10/13 17:29), Alexandr Porunov wrote: > > Hello, > > > > I try to use s3curl to test swift3 but I miss something. > > > > Here is th

Re: [Openstack] [OpenStack] [Swift] How to use s3curl or s3cmd with Swift3?

2016-10-13 Thread Alexandr Porunov
c0df49"}], "type": "object-store", "id": "83436928701349379c7e643954acbb8d", "name": "swift"}, {"endpoints": [{"region_id": "USA_east_1", "url": "http://keystone:5000/v3";, "region&q

Re: [Openstack] [OpenStack] [Swift] How to use s3curl or s3cmd with Swift3?

2016-10-13 Thread Alexandr Porunov
it? On Thu, Oct 13, 2016 at 12:10 PM, Turbo Fredriksson wrote: > On Oct 13, 2016, at 9:29 AM, Alexandr Porunov wrote: > > > Can't locate Digest/HMAC_SHA1.pm in @INC (@INC contains: > > You need to install the "libdigest-hmac

Re: [Openstack] [OpenStack] [Swift] How to use s3curl or s3cmd with Swift3?

2016-10-13 Thread Alexandr Porunov
Thu, Oct 13, 2016 at 12:42 PM, Alexandr Porunov < alexandr.poru...@gmail.com> wrote: > To get token I use the next command: > > curl -i \ > -H "Content-Type: application/json" \ > -d ' > { "auth": { > "identity": { >

[Openstack] [OpenStack] [Swift] Does Swift3 support v4 signature for S3?

2016-10-14 Thread Alexandr Porunov
Hello, On gitgub they tell us: Support AWS Signature Version 2 (Version 4 is not ready) But in changelog they tell that they support v4: Amazon S3 Signature V4 support I tried to use aws java s3 client and mino java client to send requests to swift but without success. Both show either 403 or 40

[Openstack] [OpenStack] [Swift] How to create alias for a container?

2016-10-15 Thread Alexandr Porunov
Hello, Is it possible to create aliases for a container? I have a container "ContainerA" I need to work with (put/remove/copy/get objects) but using the name "ContainerB". Is it possible to create such aliases? If yes then how? Sincerely, Alexandr ___ M

Re: [Openstack] [OpenStack] [Swift] Does Swift3 support v4 signature for S3?

2016-10-17 Thread Alexandr Porunov
d71db9b4 > 1c179ced0e > > It has been restricted with only keystone authentication though. > The docs in README.rst is wrong. I pushed the fix for the docs, > https://review.openstack.org/#/c/387126/ > > Thanks, > Kota > > (2016/10/15 6:00), Alexandr Porunov wrote: > &g

[Openstack] [OpenStack] [Keystone] Performance difference between ferret and uuid tokens

2016-12-10 Thread Alexandr Porunov
Hello, I read a blog about performance comparison between fernet and uuid tokens. They said that fernet tokens is 30% faster for creation but 400% slower for validation. Is it true? I want to use Keystone for Swift. I will have many requests with the same tokens so I need faster validation than f

Re: [Openstack] [OpenStack] [Keystone] Performance difference between ferret and uuid tokens

2016-12-10 Thread Alexandr Porunov
ly used. We switched to > pymysql as has openstack-ansible and several other deployments. > > On Sat, Dec 10, 2016 at 3:23 PM, Steve Martinelli > wrote: > >> On Sat, Dec 10, 2016 at 10:59 AM, Alexandr Porunov < >> alexandr.poru...@gmail.com> wrote: >> >&

[Openstack] [Swift] How to use Swift3 module with Nginx proxy for version 4 signature?

2016-12-14 Thread Alexandr Porunov
Hello, I want to use Nginx as a proxy for OpenStack Swift with Swift3 module (S3 api). I read that it supports verison 4 signature but I am not sure how to use it. I am using a client which work only with version 4 signature and sends requests like this: ./ Does somebody know how to configure Ng

[Openstack] [OpenStack] [Swift] Bug: Swift doesn't save last "end of file" characters

2017-01-17 Thread Alexandr Porunov
Hello, I am using Openstack Newton. I found a small bug in the Swift. It doesn't copy last "end of line" characters. Here is my test (I copy my.cnf file): # cat -A my.cnf [client-server]$ !includedir /etc/my.cnf.d$ $ # openstack object create mybucket my.cnf # openstack object save mybucket my.c

[Openstack] [OpenStack] [Keystone] Is it possible to cache ec2 credentials?

2017-01-19 Thread Alexandr Porunov
Hello, I want to use ec2 credentials. But I don't know about it's route of validating. Is it much slower than tokens validation? I don't know exactly what is the route of ec2 validation but here is what I think: 1) Service node accept a request with ec2 credentials. 2) Service asks Keystone to c

[Openstack] [Keystone] What is credential-keys? Do we need to rotate them?

2017-01-20 Thread Alexandr Porunov
Hello, I found not only fernet_keys but also credential-keys in /etc/keystone/ What is it? Do we need to rotate them? Sincerely, Alexandr ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.open

Re: [Openstack] [Keystone] What is credential-keys? Do we need to rotate them?

2017-01-20 Thread Alexandr Porunov
tial-encryption > > On 01/20/2017 07:49 PM, Alexandr Porunov wrote: > > Hello, > > > > I found not only fernet_keys but also credential-keys in /etc/keystone/ > > > > What is it? Do we need to rotate them? > > > > Sincerely, > > Alexandr > &g

[Openstack] [Swift] How to add a new node without ring copy?

2017-01-22 Thread Alexandr Porunov
Hello, I read different articles about how to add a new node and they all says this: 1) Add a node to ring builder 2) Rebalance ring 3) Copy ring to each node. Is it possible to skip "copy" step by doing first and second step on each node? Will then all nodes have the same ring? I.e. I mean to do

Re: [Openstack] [Swift] How to add a new node without ring copy?

2017-01-22 Thread Alexandr Porunov
7 03:16, Vladimir Maliaev wrote: > >> Anyway you will copy ring files to new node. Which node you are going to >> copy from? >> I think that to have only one set of ring files is helpful in >> troubleshooting if something goes wrong. >> >> On Jan 22, 2017 6:08 AM, "Alex

[Openstack] [Swift] How to get a list of devices from the ring in Java / Bash?

2017-01-27 Thread Alexandr Porunov
Hello, I need to get a list / array of devices in Java or Bash. Is it possible to get? Are there any API or something like that? I know we can obtain a list with the next command: swift-ring-builder object.builder But it return a string with the list of devices which are quite hard to parse. In

[Openstack] [Swift] Bug: swift-ring-builder set_weight doesn't work

2017-01-28 Thread Alexandr Porunov
Hello, I can't change a weight of the device. Here is a list of my devices: Devices:id region zone ip address port replication ip replication port name weight partitions balance meta 0 1 1 host1 6000 host1 6000d1 1000.00

Re: [Openstack] [Swift] Bug: swift-ring-builder set_weight doesn't work

2017-01-30 Thread Alexandr Porunov
h to correct the usage documentation for the long version of the > set_weight command. > > > On Sun, Jan 29, 2017 at 8:33 AM, Alexandr Porunov < > alexandr.poru...@gmail.com> wrote: > >> Hello, >> >> I can't change a weight of the device. >> Here is a l

Re: [Openstack] [Swift] How to get a list of devices from the ring in Java / Bash?

2017-01-31 Thread Alexandr Porunov
it into an easier to pass list. > > There could be a much simpler way, but I'm a Python dev, so this is what > I'd do ;) > > Regards, > Matt > > On Sat, Jan 28, 2017 at 6:21 AM, Alexandr Porunov < > alexandr.poru...@gmail.com> wrote: > >> Hello, >>

[Openstack] [OpenStack] [Swift] How to set maximum size of the log file?

2017-02-07 Thread Alexandr Porunov
Hello, I found out that my log file is almost 3GB. How to set a size limit? Best regards, Alexandr ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.ope