registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #08652
[Bug 607912] [NEW] swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
Public bug reported:
Steps to reproduce:
bc@ubuntu:~/swift/trunk$ sqlite3 /etc/swift/auth.db 'select * from
account; select * from token;'
bc@ubuntu:~/swift/trunk$ swift-auth-create-account test tester testing
http://127.0.0.1:8080/v1/b1d452ee-49f3-43d6-b8dd-d863742fe8ad
bc@ubuntu:~/swift/trunk$ st -A http://127.0.0.1:11000/v1.0 -U test:tester -K testing stat
Account: b1d452ee-49f3-43d6-b8dd-d863742fe8ad
Containers: 0
Objects: 0
Bytes: 0
bc@ubuntu:~/swift/trunk$ sqlite3 /etc/swift/auth.db 'select * from account; select * from token;'
test|http://127.0.0.1:8080/v1/b1d452ee-49f3-43d6-b8dd-d863742fe8ad|b1d452ee-49f3-43d6-b8dd-d863742fe8ad|tester|testing
b1d452ee-49f3-43d6-b8dd-d863742fe8ad|tke67f7efa-869f-4baf-a00b-f820626d5e44|1279650877.95029
bc@ubuntu:~/swift/trunk$ swift-auth-create-account test tester testing
http://127.0.0.1:8080/v1/69c24e23-430e-47f1-a4f5-bde968e88601
bc@ubuntu:~/swift/trunk$ sqlite3 /etc/swift/auth.db 'select * from account; select * from token;'
test|http://127.0.0.1:8080/v1/b1d452ee-49f3-43d6-b8dd-d863742fe8ad|b1d452ee-49f3-43d6-b8dd-d863742fe8ad|tester|testing
test|http://127.0.0.1:8080/v1/69c24e23-430e-47f1-a4f5-bde968e88601|69c24e23-430e-47f1-a4f5-bde968e88601|tester|testing
b1d452ee-49f3-43d6-b8dd-d863742fe8ad|tke67f7efa-869f-4baf-a00b-f820626d5e44|1279650877.95029
bc@ubuntu:~/swift/trunk$ resetswift
No account-auditor running
Stopping account-server pid: 2312 signal: 15
Stopping account-server pid: 2311 signal: 15
Stopping account-server pid: 2310 signal: 15
Stopping account-server pid: 2309 signal: 15
No container-auditor running
No container-replicator running
Stopping container-server pid: 2323 signal: 15
Stopping container-server pid: 2322 signal: 15
Stopping container-server pid: 2321 signal: 15
Stopping container-server pid: 2320 signal: 15
No container-updater running
No object-auditor running
Stopping object-server pid: 2342 signal: 15
Stopping object-server pid: 2341 signal: 15
Stopping object-server pid: 2340 signal: 15
Stopping object-server pid: 2335 signal: 15
No object-replicator running
No object-updater running
Stopping proxy-server pid: 2305 signal: 15
No account-replicator running
Stopping auth-server pid: 2303 signal: 15
No account-reaper running
[sudo] password for bc:
meta-data=/dev/sdb1 isize=1024 agcount=4, agsize=1310238 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=5240950, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
rsyslog start/running, process 2886
Restarting memcached: memcached.
bc@ubuntu:~/swift/trunk$ startmain
Unable to increase file descriptor limit. Running as non-root?
Starting auth-server
Unable to increase file descriptor limit. Running as non-root?
Starting proxy-server
Unable to increase file descriptor limit. Running as non-root?
Starting account-server
Starting account-server
Starting account-server
Starting account-server
Unable to increase file descriptor limit. Running as non-root?
Starting container-server
Starting container-server
Starting container-server
Starting container-server
Unable to increase file descriptor limit. Running as non-root?
Starting object-server
Starting object-server
Starting object-server
Starting object-server
bc@ubuntu:~/swift/trunk$ st -A http://127.0.0.1:11000/v1.0 -U test:tester -K testing stat
Account not found
** Affects: swift
Importance: Undecided
Status: New
** Project changed: nova => swift
--
swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
https://bugs.launchpad.net/bugs/607912
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).
Follow ups
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: Chuck Thier, 2010-10-22
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: gholt, 2010-09-10
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: gholt, 2010-09-04
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: gholt, 2010-09-03
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: gholt, 2010-09-02
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: Chuck Thier, 2010-07-27
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: Chuck Thier, 2010-07-21
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: Adam Jacob, 2010-07-21
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: Adam Jacob, 2010-07-21
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: Launchpad Bug Tracker, 2010-07-21
-
[Bug 607912] Re: swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: Adam Jacob, 2010-07-21
-
[Bug 607912] [NEW] swift-auth-create-account lets you create multiple users with same params but only single token exists causing problems on reset
From: Beau Croteau, 2010-07-20
References