From anuj at linuxquestions.net Fri Nov 2 08:14:54 2012 From: anuj at linuxquestions.net (Anuj Singh) Date: Fri, 2 Nov 2012 01:14:54 -0700 Subject: [rhos-list] about Red Hat OpenStack One-Year Evaluation | not getting appropriate pool IDs Message-ID: <20121102011454.A29C55B1@m0005296.ppops.net> An HTML attachment was scrubbed... URL: From dhern at us.ibm.com Mon Nov 5 18:13:58 2012 From: dhern at us.ibm.com (David Hernandez) Date: Mon, 5 Nov 2012 12:13:58 -0600 Subject: [rhos-list] Unable to access Swift using Keystone on reboot Message-ID: I reboot my Swift server after days after intitial configuration and tried using the "swift list" command and got the following: [root at addicks~(keystone_admin)]$ swift list Message from syslogd at addicks at Nov 5 12:07:49 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx1dadc7db7836493f85f73057325faf6c) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:49 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx1dadc7db7836493f85f73057325faf6c) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:50 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx138f8595d2634c0ca9d82e2f83799b60) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:50 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx138f8595d2634c0ca9d82e2f83799b60) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:52 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx63fab3200eed4a17a311cb2fef663906) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:52 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx63fab3200eed4a17a311cb2fef663906) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:56 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx1085d568897643b183d4d528fbbc9f24) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:56 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx1085d568897643b183d4d528fbbc9f24) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:08:04 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx435e6a0906104f9f935b09dd9dada55e) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:08:04 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx435e6a0906104f9f935b09dd9dada55e) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:08:20 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx9d4e10fefe394b349221bb4db5ba85d5) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:08:20 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx9d4e10fefe394b349221bb4db5ba85d5) (client_ip: 127.0.0.1) Account GET failed: http://127.0.0.1:8080/v1/AUTH_91186334603648d78602bf5481e9393f?format=json 500 Internal Server Error [first 60 chars of response] 500 Internal Server Error The server has either erred or is Please help. Thanks. David Hernandez Contractor / HPSS IBM Global Business Services - US Federal 12301 Kurland Dr Suite 300 Houston, TX 77034-4812 Mobile 713-444-5755 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhern at us.ibm.com Mon Nov 5 21:05:30 2012 From: dhern at us.ibm.com (David Hernandez) Date: Mon, 5 Nov 2012 14:05:30 -0700 Subject: [rhos-list] Unable to access Swift using Keystone on reboot In-Reply-To: References: Message-ID: OK. I believe my problem with the "swift list" command was due to a problem I had with my storage devices. The original loopback devices that I used weren't working properly after I rebooted. I used the loopback device option outlined in the Swift Folsom preview documentation for my storage device. I reconfigured my storage devices using HPSS VFS mount points and then tried the "swift list" command and it worked properly with no errors. I then tried to upload some files to Swift using the following commands: head -c 1024 /dev/urandom > data.file ; swift upload c1 data.file head -c 1024 /dev/urandom > data2.file ; swift upload c1 data2.file head -c 1024 /dev/urandom > data3.file ; swift upload c2 data2.file I encountered errors while trying to run these commands. It was able to create the containers but no the objects within the containers. Message from syslogd at addicks at Nov 5 14:45:35 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx2c8deadbd8914ca08c93af9e35c75b53) Message from syslogd at addicks at Nov 5 14:45:35 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx2c8deadbd8914ca08c93af9e35c75b53) Message from syslogd at addicks at Nov 5 14:45:35 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx2c8deadbd8914ca08c93af9e35c75b53) Message from syslogd at addicks at Nov 5 14:45:35 ... ?<131>proxy-server Object PUT returning 503 for [500, 500, 500] (txn: tx2c8deadbd8914ca08c93af9e35c75b53) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 14:45:36 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx0c4164df59a74a1db901378abceb0e89) Message from syslogd at addicks at Nov 5 14:45:36 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx0c4164df59a74a1db901378abceb0e89) Message from syslogd at addicks at Nov 5 14:45:36 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx0c4164df59a74a1db901378abceb0e89) Message from syslogd at addicks at Nov 5 14:45:36 ... ?<131>proxy-server Object PUT returning 503 for [500, 500, 500] (txn: tx0c4164df59a74a1db901378abceb0e89) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 14:45:38 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: txc8258b68758e4b47b890607aa3b30c17) Message from syslogd at addicks at Nov 5 14:45:38 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: txc8258b68758e4b47b890607aa3b30c17) Message from syslogd at addicks at Nov 5 14:45:38 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: txc8258b68758e4b47b890607aa3b30c17) Message from syslogd at addicks at Nov 5 14:45:38 ... ?<131>proxy-server Object PUT returning 503 for [500, 500, 500] (txn: txc8258b68758e4b47b890607aa3b30c17) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 14:45:42 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx59fec9f1365f4d13bfac5c82f89081a1) Message from syslogd at addicks at Nov 5 14:45:42 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx59fec9f1365f4d13bfac5c82f89081a1) Message from syslogd at addicks at Nov 5 14:45:42 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx59fec9f1365f4d13bfac5c82f89081a1) Message from syslogd at addicks at Nov 5 14:45:42 ... ?<131>proxy-server Object PUT returning 503 for [500, 500, 500] (txn: tx59fec9f1365f4d13bfac5c82f89081a1) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 14:45:51 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx828dd3e96e624096bc0320c27c58de6c) Message from syslogd at addicks at Nov 5 14:45:51 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx828dd3e96e624096bc0320c27c58de6c) Message from syslogd at addicks at Nov 5 14:45:52 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: tx828dd3e96e624096bc0320c27c58de6c) Message from syslogd at addicks at Nov 5 14:45:52 ... ?<131>proxy-server Object PUT returning 503 for [500, 500, 500] (txn: tx828dd3e96e624096bc0320c27c58de6c) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 14:46:09 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: txb5d4c689af214fd9b451b88d591b0b79) Message from syslogd at addicks at Nov 5 14:46:09 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: txb5d4c689af214fd9b451b88d591b0b79) Message from syslogd at addicks at Nov 5 14:46:09 ... ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 self.gen.throw(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in mkstemp#012 yield fd, tmppath#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in PUT#012 file.put(fd, tmppath, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in put#012 write_metadata(fd, metadata)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 127.0.0.1:6000 (txn: txb5d4c689af214fd9b451b88d591b0b79) Message from syslogd at addicks at Nov 5 14:46:09 ... ?<131>proxy-server Object PUT returning 503 for [500, 500, 500] (txn: txb5d4c689af214fd9b451b88d591b0b79) (client_ip: 127.0.0.1) Object PUT failed: http://127.0.0.1:8080/v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file 503 Internal Server Error [root at addickslog(keystone_admin)]$ swift list c1 c2 [root at addickslog(keystone_admin)]$ swift list c1 [root at addickslog(keystone_admin)]$ swift list c2 [root at addickslog(keystone_admin)]$ Please advise. David Hernandez Contractor / HPSS IBM Global Business Services - US Federal 12301 Kurland Dr Suite 300 Houston, TX 77034-4812 Mobile 713-444-5755 From: David Hernandez/Houston/Contr/IBM at IBMUS To: rhos-list at redhat.com Date: 11/05/2012 12:17 PM Subject: [rhos-list] Unable to access Swift using Keystone on reboot Sent by: rhos-list-bounces at redhat.com I reboot my Swift server after days after intitial configuration and tried using the "swift list" command and got the following: [root at addicks~(keystone_admin)]$ swift list Message from syslogd at addicks at Nov 5 12:07:49 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx1dadc7db7836493f85f73057325faf6c) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:49 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx1dadc7db7836493f85f73057325faf6c) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:50 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx138f8595d2634c0ca9d82e2f83799b60) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:50 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx138f8595d2634c0ca9d82e2f83799b60) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:52 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx63fab3200eed4a17a311cb2fef663906) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:52 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx63fab3200eed4a17a311cb2fef663906) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:56 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx1085d568897643b183d4d528fbbc9f24) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:07:56 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx1085d568897643b183d4d528fbbc9f24) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:08:04 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx435e6a0906104f9f935b09dd9dada55e) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:08:04 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx435e6a0906104f9f935b09dd9dada55e) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:08:20 ... ?<131>proxy-server Account GET returning 503 for (503, 503, 503) (txn: tx9d4e10fefe394b349221bb4db5ba85d5) (client_ip: 127.0.0.1) Message from syslogd at addicks at Nov 5 12:08:20 ... ?<131>proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_91186334603648d78602bf5481e9393f' (txn: tx9d4e10fefe394b349221bb4db5ba85d5) (client_ip: 127.0.0.1) Account GET failed: http://127.0.0.1:8080/v1/AUTH_91186334603648d78602bf5481e9393f?format=json 500 Internal Server Error [first 60 chars of response] 500 Internal Server Error The server has either erred or is Please help. Thanks. David Hernandez Contractor / HPSS IBM Global Business Services - US Federal 12301 Kurland Dr Suite 300 Houston, TX 77034-4812 Mobile 713-444-5755 _______________________________________________ rhos-list mailing list rhos-list at redhat.com https://www.redhat.com/mailman/listinfo/rhos-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From derekh at redhat.com Mon Nov 5 21:53:49 2012 From: derekh at redhat.com (Derek Higgins) Date: Mon, 05 Nov 2012 21:53:49 +0000 Subject: [rhos-list] Unable to access Swift using Keystone on reboot In-Reply-To: References: Message-ID: <5098356D.1010300@redhat.com> Hi David, see below On 11/05/2012 09:05 PM, David Hernandez wrote: > OK. I believe my problem with the "swift list" command was due to a > problem I had with my storage devices. The original loopback devices > that I used weren't working properly after I rebooted. I used the > loopback device option outlined in the Swift Folsom preview > documentation for my storage device. I reconfigured my storage devices > using HPSS VFS mount points and then tried the "swift list" command and > it worked properly with no errors. I then tried to upload some files to > Swift using the following commands: > > head -c 1024 /dev/urandom > data.file ; swift upload c1 data.file > head -c 1024 /dev/urandom > data2.file ; swift upload c1 data2.file > head -c 1024 /dev/urandom > data3.file ; swift upload c2 data2.file > > I encountered errors while trying to run these commands. It was able to > create the containers but no the objects within the containers. > > Message from syslogd at addicks at Nov 5 14:45:35 ... > ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 > File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, > in __call__#012 res = getattr(self, req.method)(req)#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in > PUT#012 file.put(fd, tmppath, metadata)#012 File > "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 > self.gen.throw(type, value, traceback)#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in > mkstemp#012 yield fd, tmppath#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in > PUT#012 file.put(fd, tmppath, metadata)#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in > put#012 write_metadata(fd, metadata)#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in > write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), > metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object > Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file > 127.0.0.1:6000 (txn: tx2c8deadbd8914ca08c93af9e35c75b53) It looks like this error is being thrown when swift is trying to write extended attributes to the file. Can you verify that the storage device filesystem is mounted in such a way that allows extended attributes. I'm not familiar with HPSS VFS but if you were using ext4 you would need to mount the filesystem with the user_xattr option e.g. mount -o noatime,nodiratime,nobarrier,user_xattr /dev/sdb /srv/node/device1 thanks, Derek. From dhern at us.ibm.com Mon Nov 5 23:22:48 2012 From: dhern at us.ibm.com (David Hernandez) Date: Mon, 5 Nov 2012 17:22:48 -0600 Subject: [rhos-list] Unable to access Swift using Keystone on reboot In-Reply-To: <5098356D.1010300@redhat.com> References: <5098356D.1010300@redhat.com> Message-ID: Derek. Extended attributes are always enabled in VFS. VFS supports only ASCII extended attributes. Does Swift try to write binary extended attributes? Does Swift use setfattr to write extended atrributes? Thanks. David Hernandez Contractor / HPSS IBM Global Business Services - US Federal 12301 Kurland Dr Suite 300 Houston, TX 77034-4812 Mobile 713-444-5755 From: Derek Higgins To: David Hernandez/Houston/Contr/IBM at IBMUS Cc: rhos-list at redhat.com Date: 11/05/2012 03:54 PM Subject: Re: [rhos-list] Unable to access Swift using Keystone on reboot Hi David, see below On 11/05/2012 09:05 PM, David Hernandez wrote: > OK. I believe my problem with the "swift list" command was due to a > problem I had with my storage devices. The original loopback devices > that I used weren't working properly after I rebooted. I used the > loopback device option outlined in the Swift Folsom preview > documentation for my storage device. I reconfigured my storage devices > using HPSS VFS mount points and then tried the "swift list" command and > it worked properly with no errors. I then tried to upload some files to > Swift using the following commands: > > head -c 1024 /dev/urandom > data.file ; swift upload c1 data.file > head -c 1024 /dev/urandom > data2.file ; swift upload c1 data2.file > head -c 1024 /dev/urandom > data3.file ; swift upload c2 data2.file > > I encountered errors while trying to run these commands. It was able to > create the containers but no the objects within the containers. > > Message from syslogd at addicks at Nov 5 14:45:35 ... > ?<131>proxy-server ERROR 500 Traceback (most recent call last):#012 > File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 810, > in __call__#012 res = getattr(self, req.method)(req)#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in > PUT#012 file.put(fd, tmppath, metadata)#012 File > "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 > self.gen.throw(type, value, traceback)#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 251, in > mkstemp#012 yield fd, tmppath#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 604, in > PUT#012 file.put(fd, tmppath, metadata)#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 275, in > put#012 write_metadata(fd, metadata)#012 File > "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 89, in > write_metadata#012 setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), > metastr[:254])#012IOError: [Errno 22] Invalid argument#012 From Object > Server re: /v1/AUTH_91186334603648d78602bf5481e9393f/c2/data2.file > 127.0.0.1:6000 (txn: tx2c8deadbd8914ca08c93af9e35c75b53) It looks like this error is being thrown when swift is trying to write extended attributes to the file. Can you verify that the storage device filesystem is mounted in such a way that allows extended attributes. I'm not familiar with HPSS VFS but if you were using ext4 you would need to mount the filesystem with the user_xattr option e.g. mount -o noatime,nodiratime,nobarrier,user_xattr /dev/sdb /srv/node/device1 thanks, Derek. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaitcev at redhat.com Tue Nov 6 02:34:25 2012 From: zaitcev at redhat.com (Pete Zaitcev) Date: Mon, 5 Nov 2012 19:34:25 -0700 Subject: [rhos-list] Unable to access Swift using Keystone on reboot In-Reply-To: References: <5098356D.1010300@redhat.com> Message-ID: <20121105193425.62f7c3d8@lembas.zaitcev.lan> On Mon, 5 Nov 2012 17:22:48 -0600 David Hernandez wrote: > Does Swift try to write binary extended attributes? It may if user asks it to, but I think not for itself normally. > Does Swift use setfattr to write extended atrributes? Swift uses the syscall fsetxattr(2), while setfattr(1) is a shell command. With the defails aside, I thought about the problem of HPSS a little bit in general. I continue to think that your attempts of running Swift on top of HPSS VFS are ill-advised. If I may, you really need a different thing: a module for so-called "Swift LFS" (Local File System) which supports HPSS natively. Unfortunately, LFS does not yet exist. The Red Hat Storage team is working on an implementation of it, called "Gluster UFO" (Unified Storage Objects). If someone wrote a plugin that worked as "HPSS UFO", the issues of extended attributes, or any other kind of impedance matching, would be contained within such plugin. It could even bypass HPSS VFS altogether. I think it would be ideal for your needs -- as much as I understand them, of course. So, if you want to deploy Swift today, please use tried and tested storage back-ends. But by all means, feel free to help OpenStack community to develop LFS/UFO for tomorrow. Yours, -- Pete From dhern at us.ibm.com Tue Nov 6 17:33:02 2012 From: dhern at us.ibm.com (David Hernandez) Date: Tue, 6 Nov 2012 10:33:02 -0700 Subject: [rhos-list] Unable to access Swift using Keystone on reboot In-Reply-To: <20121105193425.62f7c3d8@lembas.zaitcev.lan> References: <5098356D.1010300@redhat.com> <20121105193425.62f7c3d8@lembas.zaitcev.lan> Message-ID: Pete. I consulted one of our developers and showed him the error we were getting when trying to write objects to HPSS. He told me that the xattr data contained in the object it was trying to write did contain some binary data.: [80][02]}q[01](U[0e]Content-Lengthq[02]U[04]1024q[03]U[04]nameq[04]U8/AUTH_91186334603648d78602bf5481e9393f/c3/tmp/data4.fileq[05]U[13]X-Object-Meta-Mtimeq[06]U\r1352219008.97q[07]U[04]ETagq[08]U 1868a60a20c5ed4a02ecb257f7019bebq\tU[0b]X-Timestampq\nU[10]1352219888.77388q[0b]U[0c]Content-Typeq[0c]U[18]application/octet The two digit hex values in the square brackets are the non-printable characters that were part of the xattr value. David Hernandez Contractor / HPSS IBM Global Business Services - US Federal 12301 Kurland Dr Suite 300 Houston, TX 77034-4812 Mobile 713-444-5755 From: Pete Zaitcev To: David Hernandez/Houston/Contr/IBM at IBMUS Cc: Derek Higgins , rhos-list at redhat.com, zaitcev at redhat.com Date: 11/05/2012 08:35 PM Subject: Re: Unable to access Swift using Keystone on reboot On Mon, 5 Nov 2012 17:22:48 -0600 David Hernandez wrote: > Does Swift try to write binary extended attributes? It may if user asks it to, but I think not for itself normally. > Does Swift use setfattr to write extended atrributes? Swift uses the syscall fsetxattr(2), while setfattr(1) is a shell command. With the defails aside, I thought about the problem of HPSS a little bit in general. I continue to think that your attempts of running Swift on top of HPSS VFS are ill-advised. If I may, you really need a different thing: a module for so-called "Swift LFS" (Local File System) which supports HPSS natively. Unfortunately, LFS does not yet exist. The Red Hat Storage team is working on an implementation of it, called "Gluster UFO" (Unified Storage Objects). If someone wrote a plugin that worked as "HPSS UFO", the issues of extended attributes, or any other kind of impedance matching, would be contained within such plugin. It could even bypass HPSS VFS altogether. I think it would be ideal for your needs -- as much as I understand them, of course. So, if you want to deploy Swift today, please use tried and tested storage back-ends. But by all means, feel free to help OpenStack community to develop LFS/UFO for tomorrow. Yours, -- Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmyers at redhat.com Thu Nov 8 16:19:42 2012 From: pmyers at redhat.com (Perry Myers) Date: Thu, 08 Nov 2012 11:19:42 -0500 Subject: [rhos-list] about Red Hat OpenStack One-Year Evaluation | not getting appropriate pool IDs In-Reply-To: <20121102011454.A29C55B1@m0005296.ppops.net> References: <20121102011454.A29C55B1@m0005296.ppops.net> Message-ID: <509BDB9E.8080707@redhat.com> Hi Anuj, On 11/02/2012 04:14 AM, Anuj Singh wrote: > Hi, > > [root at sandbox11 ~]# subscription-manager list --available | grep -A8 > "OpenStack" > [root at sandbox11 ~]# echo $? > 1 > [root at sandbox11 ~]# subscription-manager list --available | grep -A8 > "Red Hat Enterprise Linux Server" > Product Name: 30 Day Self-Supported Red Hat Enterprise Linux > Server, (2 > sockets) (Up to 1 guest) Evaluation > Product Id: RH0165327 > Pool Id: 8a85f9843a8e1af1013a9c1d13596f2d > Quantity: 1 > Service Level: None > Service Type: None > Multi-Entitlement: No > Expires: 11/25/2012 > [root at sandbox11 ~]# echo $? > 0 > [root at sandbox11 ~]# > > > ################### > On https://access.redhat.com/downloads if i click on Other Evaluations I > get: > > > Existing Evaluation Subscription > > Thank you for your request. It appears that you have already activated > an evaluation of Red Hat Essex Tech Preview. Please contact sales for > more information. > > > #################### > > Sales informed: > > Yes, your OpenStack is activated and registered. > > Also tried with: > yum clean all > subscription-manager register --force Did you activate the subscription on a system previously and then try to activate it on a second system? I think the subscriptions might be incorrectly configured to restrict you from only being able to activate on a single machine at a time. This is something that we need to correct. Also, can you provide output of: subscription-manager list --all --available subscription-manager list --installed And can you let me know what you see on: https://access.redhat.com/wapps/support/protected/subscriptions.html#showActive You should see something like: Red Hat Essex Tech Preview with a Quantity of 1 You can also go to: https://access.redhat.com/management/consumers/ And look at the machines you have registered in RHN to see if any of them are actively consuming that Red Hat Essex Tech Preview entitlement Let me know what the output of those commands are and what you see on those pages I mentioned above in the customer portal. Cheers, Perry From daniel at dumdan.com Sat Nov 10 08:06:52 2012 From: daniel at dumdan.com (Daniel Dumitriu) Date: Sat, 10 Nov 2012 03:06:52 -0500 Subject: [rhos-list] woes with RHOS + Quantum + OVS In-Reply-To: References: Message-ID: <1352534812.3663.38.camel@camelot.ddse.ca> Sorry, I cannot help with a suggestion. Your post, however, is very interesting because you brought up Quantum. Did you use the packages from "epel-testing" ? Did ou install the DHCP agent, as well ? How does Nova cooperate with Quantum ? Isn't there a conflict between "dnsmaq" and "quantum-dhcp" ? I ran, more or less, into the same problems and I am determined to - somehow - solve them. Frankly, the virtual network component is crucial for building "real world configurations" in the cloud. I do have an instance of libvirt running with OVS, (not on RHEL but on SL 6.3, because this all happens on my personal systems, home, and I haven't got that many RHEL private subscriptions) and all my working environments are running on top of it. That said, I must add that it is a total hack - I had to force libvirt to work with OVS, literally. I think that getting Quantum to work properly in OpenStack, with libvirt/KVM should be the first development priority, if we are to provision really isolated, multi-tenant, multi-layer configurations. (Of course, the second would be to stop naming the VMs "domains", in libvirt :-) ). -- ___________ Daniel Dumitriu daniel at dumdan.com Telephone: +1-416-626-9345 Mobile: +1-416-318-2487 -----Original Message----- From: Jonathan Mills To: rhos-list at redhat.com Subject: [rhos-list] woes with RHOS + Quantum + OVS Date: Mon, 10 Sep 2012 14:50:51 -0400 I have RHOS configured to run with Quantuam and Openvswitch. (I created my Openvswitch RPMS for RHEL6 by doing a 'git clone', preparing the source tarball, and using their included spec file.) As far as I can tell, OVS is happy. Running 'ovs-vsctl show' gives me reasonable output: # ovs-vsctl show 0c960ad6-2de7-4651-bfa9-9f0b3b134755 Bridge br-int Port br-int Interface br-int type: internal Port "gw-c83a1b4a-d7" tag: 4095 Interface "gw-c83a1b4a-d7" type: internal Port "eth1" Interface "eth1" ovs_version: "1.8.90" Openstack itself is happy, with all smiley faces. My problem emerges when I actually launch a VM with 'nova boot'. $ nova list +--------------------------------------+--------+--------+----------+ | ID | Name | Status | Networks | +--------------------------------------+--------+--------+----------+ | 2e446148-9d3f-430a-a4df-7d0ec0329e93 | jbmVM1 | ACTIVE | | +--------------------------------------+--------+--------+----------+ As you can see above, the 'Networks' column is empty. The result, for the VM, looks like this (from console log): SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device eth0: ERROR while getting interface flags: No such device Bind socket to interface: No such device Failed to bring up eth0. An interesting piece of this puzzle.....when I read the libvirt XML description file for this VM, it is literally missing a network device. Why would that happen? Other notes: The way my system is set up, it's a one-node test cluster. So nova-network and nova-compute run on the same box. This box has an eth0 with a public IP address. It has an eth1 with a 10.x.x.x address. I'm running my bridge on eth1. I have Openstack configured to have all its "fixed_ips" in the 10.x.x.x range, and it's "floating_ips" as real public IPs that should be added onto eth0. Can anyone think of some items that I can double-check to figure out what I've done wrong? email message attachment -------- Forwarded Message -------- From: Xu, HongnaX To: rhos-list at redhat.com Subject: [rhos-list] Some issues about install packages of Openstcak Date: Tue, 11 Sep 2012 06:48:34 +0000 Hi all It?s me again. I encountered some issues with openstack preview on RH enterprise server 6.3. 1. install RHEL. 2. Add myproxy in ~/.bashrc. 3. Wget http://google.com to verify the proxy is working. 4. Subscribe Openstack, I got no other channels except ?openstack?, it is not stabilized, yesterday I can list ?Red Hat Enterprise Linux Server?, I got it by the command ?subscription-manager list --available --proxy=MYPROCY:PORT?, Question 1: why there is only ?Openstack? channel?How could I subscribe Red Hat Enterprise Linux Server channel ? 5. with the default repos which were installed by the image, I think the packages with openstack should come from the ?Openstack? or ?Red Hat Enterprise Linux Server? channel, am I right? Then I yum search of yum update, the logs are: *************************** # yum update Loaded plugins: product-id, security, subscription-manager Updating certificate-based repositories. [Errno 110] Connection timed out Setting up Update Process No Packages marked for Update ****************************** #Yum search git Loaded plugins: product-id, security, subscription-manager Updating certificate-based repositories. [Errno 110] Connection timed out ================================== Matched: git =================================== cdparanoia-libs.x86_64 : Libraries for libcdda_paranoia (Paranoia III). eggdbus.x86_64 : Experimental D-Bus bindings for GObject gnupg2.x86_64 : Utility for secure communication and data storage grubby.x86_64 : Command line tool for updating bootloader configs hwdata.noarch : Hardware identification and configuration data libaio.x86_64 : Linux-native asynchronous I/O access library mailcap.noarch : Helper application and MIME type associations for file types mcelog.x86_64 : Tool to translate x86-64 CPU Machine Check Exception data. numad.x86_64 : NUMA user daemon pixman.x86_64 : Pixel manipulation library python-ethtool.x86_64 : Ethernet settings python bindings python-gudev.x86_64 : Python (PyGObject) bindings to the GUDev library python-iwlib.x86_64 : Wireless settings python bindings python-netaddr.noarch : Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC : network addresses setuptool.x86_64 : A text mode system configuration tool ********************** All the packages listed are not related with git, I don?t why they could be listed. And why I encounter 110 Error? Question 2: is it the exactly the reason that I can?t get the packages of Openstack ?? and how to fix it? 6. With a second machine I subscribe ?openstack? ?Red Hat Beta? ?Red Hat Enterprise Linux Server?, and set centos repo in /etc/yum.repos.d, and I could find the packages of dnsmasq-utils and git, Though encountered 110 Error with yum command either. Question 3: Is it no business with the repos what I set in /etc/yum.repos.d? I mean setting centos repo with my machine does?t influence setup openstack? the openstack packages should come from ?OpenStack? channel, Am I right? Question 4: how could I install the openstack packages on RH, I am desperate for experience on it. Best Regards, Hongna email message attachment -------- Forwarded Message -------- From: Alan Pevec To: rhos-list at redhat.com Subject: Re: [rhos-list] Some issues about install packages of Openstcak Date: Tue, 11 Sep 2012 11:14:47 +0200 On 09/11/2012 08:48 AM, Xu, HongnaX wrote: > And why I encounter 110 Error? Try setting proxy_* parameters in /etc/rhsm/rhsm.conf > is it the exactly the reason that I can?t get the packages of Openstack ?? and how to fix it? You must first see rhel-server-ost-6-preview-rpms in "yum repolist" output. If you still don't get it after setting proxy in rhsm.conf, please ask Red Hat customer service to verify entitlements in your RHN account. > 6.With a second machine I subscribe ?openstack? ?Red Hat Beta? ?Red Hat Enterprise Linux Server?, and set centos repo in /etc/yum.repos.d, and I could find the packages of dnsmasq-utils and git, Though encountered 110 Error with yum command either. Mixing centos and RHEL is definitely not supported. Regards, Alan _______________________________________________ rhos-list mailing list rhos-list at redhat.com https://www.redhat.com/mailman/listinfo/rhos-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhern at us.ibm.com Fri Nov 16 00:00:48 2012 From: dhern at us.ibm.com (David Hernandez) Date: Thu, 15 Nov 2012 18:00:48 -0600 Subject: [rhos-list] More Swift questions - IBM HPSS VFS as backend storage In-Reply-To: <20121105193425.62f7c3d8@lembas.zaitcev.lan> References: <5098356D.1010300@redhat.com> <20121105193425.62f7c3d8@lembas.zaitcev.lan> Message-ID: Hello again. As I mentioned in my last email, our VFS developer discovered that Swift does try to store binary extended attributes and HPSS VFS doesn't support them. Our developer made a modification to our VFS client that converts all writes to VFS extended attributes to BASE64 It converts the BASE64 xattrs back to their original format on reads. I've run a few tests using the 'swift' command and it appears to be working. I have a few more questions for the group. What is the largest amount of extended attribute data Swift will try to store for an account/container/object? The HPSS VFS default is set to 700 bytes but can be increased if necessary. I am currently using the swift command utility locally to upload and list containers and objects in my Swift (Essex Preview) install. What changes do I need to do to my configuration to allow secure remote client access to my Swift storage. I know I will need to create some self-signed certificates but don't know to get it to work with my current configuration. I would like still be able to access locally using the swift command which uses port 8080. How would I access my Swift storage through a web-server? Is there anything readily available that I can use? Are there any command line utilities available that can be used by a remote client to access my Swift storage? Something similar to FTP or even a FUSE type of mountable filesystem that can interface with Swift? Regards. David Hernandez Contractor / HPSS IBM Global Business Services - US Federal 12301 Kurland Dr Suite 300 Houston, TX 77034-4812 Mobile 713-444-5755 From: Pete Zaitcev To: David Hernandez/Houston/Contr/IBM at IBMUS Cc: Derek Higgins , rhos-list at redhat.com, zaitcev at redhat.com Date: 11/05/2012 08:35 PM Subject: Re: Unable to access Swift using Keystone on reboot On Mon, 5 Nov 2012 17:22:48 -0600 David Hernandez wrote: > Does Swift try to write binary extended attributes? It may if user asks it to, but I think not for itself normally. > Does Swift use setfattr to write extended atrributes? Swift uses the syscall fsetxattr(2), while setfattr(1) is a shell command. With the defails aside, I thought about the problem of HPSS a little bit in general. I continue to think that your attempts of running Swift on top of HPSS VFS are ill-advised. If I may, you really need a different thing: a module for so-called "Swift LFS" (Local File System) which supports HPSS natively. Unfortunately, LFS does not yet exist. The Red Hat Storage team is working on an implementation of it, called "Gluster UFO" (Unified Storage Objects). If someone wrote a plugin that worked as "HPSS UFO", the issues of extended attributes, or any other kind of impedance matching, would be contained within such plugin. It could even bypass HPSS VFS altogether. I think it would be ideal for your needs -- as much as I understand them, of course. So, if you want to deploy Swift today, please use tried and tested storage back-ends. But by all means, feel free to help OpenStack community to develop LFS/UFO for tomorrow. Yours, -- Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel at dumdan.com Fri Nov 16 09:49:59 2012 From: daniel at dumdan.com (Daniel Dumitriu) Date: Fri, 16 Nov 2012 04:49:59 -0500 Subject: [rhos-list] Folsom - any chance ? Message-ID: <1353059399.8173.192.camel@camelot.ddse.ca> Everything that the guide suggested, actually works. Surprisingly well, actually. I did not try to be original, up to now, because my purpose was to evaluate/validate the solution "as is". Well, that's not entirely true - I scripted the whole build procedure to the point where it takes less than 20 minutes from a "jeos" to all the components installed on a single node. (Of course, I had to script the tear-down procedure, as well). Also, for the "Volumes", I used a real, permanent "nova-volumes" LVM volume group as backing storage. I believe I went through the procedure at least 20 times, with small variations, scripting everything up to creating a set of VMs, assigning floating IPs and attaching volumes. Now, I need to ask: is Folsom going to come anytime soon ? And, related, are we going to see a proper integration of OVS with libvirt ? Of course, I am interested in the implementations for RHEL and not so much those on Fedora 17+. Frankly, if there are any major components missing, those would be (in my opinion) OVS (from Quantum) and the shared storage (probably Cinder). Is there any way we can help ? Daniel -- ___________ Daniel Dumitriu daniel at dumdan.com Telephone: +1-416-626-9345 Mobile: +1-416-318-2487 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmyers at redhat.com Fri Nov 16 21:30:02 2012 From: pmyers at redhat.com (Perry Myers) Date: Fri, 16 Nov 2012 16:30:02 -0500 Subject: [rhos-list] RHOS Folsom Preview now available! Message-ID: <50A6B05A.7070303@redhat.com> Hi, The Red Hat OpenStack team is happy to announce that Folsom Preview packages are now available for download. As with the Essex Preview, these packages are available by registering for the Red Hat OpenStack Preview at the following URL: http://redhat.com/openstack If you have already registered for the Essex Preview, you should not need to register again. Your existing subscription will be updated to include the Folsom repositories. RHOS Folsom requires RHEL 6.3 as the base OS. To make it easier for Preview users, we have now included three 90-day evaluation entitlements to RHEL 6.3 Server as part of the Preview. These three RHEL Server entitlements also include unlimited RHEL guests running on these servers. So while you can only create three physical servers running RHOS (ideally for your Compute Nodes with kvm), you can run additional RHEL VMs to host OpenStack services like Glance, Keystone, Swift, etc. RHOS Folsom includes all of the upstream core components: Nova, Glance, Swift, Keystone, Dashboard, Quantum and Cinder. Quantum support for openvswitch is not yet included, but we will update the Preview with support for openvswitch when the OVS kernel functionality is included in RHEL. We will continue updating the Essex Preview from the upstream stable branches, so those users that wish to stay on Essex can do so. The Essex Preview will expire in August 2013 (one year from its launch date). Folsom will also be periodically updated from the upstream stable branches. Folsom specific documentation is available here: https://access.redhat.com/knowledge/docs/Red_Hat_OpenStack_Preview/ Be sure to check out the Release Notes for important information and check back periodically as we will update the release notes as needed. New additions to the documentation include Swift, Cinder and Quantum sections. Please note that the Preview repositories are not enabled by default. To enable or disable the repositories after you have successfully subscribed a machine to the Preview, you will need to use the following commands: yum-config-manager --enable rhel-server-ost-6-folsom-rpms yum-config-manager --disable rhel-server-ost-6-preview-rpms This will enable the Folsom Preview repo and disable the Essex Preview repo. And finally, please remember to give us your feedback on the Preview. Our primary goal in the Preview is to get input from you on issues, desired features and use cases to help to improve both the OpenStack upstream and the RHOS product. Feedback can be given on this mailing list, or you can file bugs here: https://bugzilla.redhat.com/enter_bug.cgi?product=Red+Hat+OpenStack Thanks for participating in the Preview, and we look forward to your feedback! -- The Red Hat OpenStack Team From pmyers at redhat.com Fri Nov 16 21:57:05 2012 From: pmyers at redhat.com (Perry Myers) Date: Fri, 16 Nov 2012 16:57:05 -0500 Subject: [rhos-list] Folsom - any chance ? In-Reply-To: <1353059399.8173.192.camel@camelot.ddse.ca> References: <1353059399.8173.192.camel@camelot.ddse.ca> Message-ID: <50A6B6B1.1040608@redhat.com> On 11/16/2012 04:49 AM, Daniel Dumitriu wrote: > > Everything that the guide suggested, actually works. > Surprisingly well, actually. > > I did not try to be original, up to now, because my purpose was to > evaluate/validate the solution "as is". > > Well, that's not entirely true - I scripted the whole build procedure > to the point where it takes less than 20 minutes from a "jeos" to all > the components installed on a single node. > (Of course, I had to script the tear-down procedure, as well). > Also, for the "Volumes", I used a real, permanent "nova-volumes" LVM > volume group as backing storage. > > I believe I went through the procedure at least 20 times, with small > variations, scripting everything up to creating a set of VMs, assigning > floating IPs and attaching volumes. > > > Now, I need to ask: is Folsom going to come anytime soon ? Just released :) > And, related, are we going to see a proper integration of OVS with libvirt ? > Of course, I am interested in the implementations for RHEL and not so > much those on Fedora 17+. Frankly, if there are any major components > missing, those would be (in my opinion) OVS (from Quantum) and the > shared storage (probably Cinder). Cinder is included in Folsom Preview from the start OVS support in Quantum won't come until RHEL 6 kernel supports it, which should be in the very near future. So look for updates soon for openvswitch userspace packages and quantum OVS sub-packages. RHEL 6.4 version of libvirt will have OVS support built into it as well. So just hold tight, it's around the corner :) Perry From jonmills at renci.org Fri Nov 16 22:00:30 2012 From: jonmills at renci.org (Jonathan Mills) Date: Fri, 16 Nov 2012 17:00:30 -0500 Subject: [rhos-list] Folsom - any chance ? In-Reply-To: <50A6B6B1.1040608@redhat.com> References: <1353059399.8173.192.camel@camelot.ddse.ca> <50A6B6B1.1040608@redhat.com> Message-ID: <50A6B77E.7070609@renci.org> Comments below On 11/16/2012 04:57 PM, Perry Myers wrote: > On 11/16/2012 04:49 AM, Daniel Dumitriu wrote: >> >> Everything that the guide suggested, actually works. >> Surprisingly well, actually. >> >> I did not try to be original, up to now, because my purpose was to >> evaluate/validate the solution "as is". >> >> Well, that's not entirely true - I scripted the whole build procedure >> to the point where it takes less than 20 minutes from a "jeos" to all >> the components installed on a single node. >> (Of course, I had to script the tear-down procedure, as well). >> Also, for the "Volumes", I used a real, permanent "nova-volumes" LVM >> volume group as backing storage. >> >> I believe I went through the procedure at least 20 times, with small >> variations, scripting everything up to creating a set of VMs, assigning >> floating IPs and attaching volumes. >> >> >> Now, I need to ask: is Folsom going to come anytime soon ? > > Just released :) > >> And, related, are we going to see a proper integration of OVS with libvirt ? >> Of course, I am interested in the implementations for RHEL and not so >> much those on Fedora 17+. Frankly, if there are any major components >> missing, those would be (in my opinion) OVS (from Quantum) and the >> shared storage (probably Cinder). > > Cinder is included in Folsom Preview from the start > > OVS support in Quantum won't come until RHEL 6 kernel supports it, which > should be in the very near future. So look for updates soon for > openvswitch userspace packages and quantum OVS sub-packages. We are running OVS from git -- I think the 1.90.9 release. The git tree has instructions for how to compile into an RPM. It seems to work just fine for us. We run OVS + Quantum on a number of RHEL 6.3 boxes. > > RHEL 6.4 version of libvirt will have OVS support built into it as well. > So just hold tight, it's around the corner :) What kind of integration does this refer to? Can you share any details? > > Perry > > _______________________________________________ > rhos-list mailing list > rhos-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhos-list > -- Jonathan Mills Systems Administrator Renaissance Computing Institute UNC-Chapel Hill From daniel at dumdan.com Fri Nov 16 22:43:14 2012 From: daniel at dumdan.com (Daniel Dumitriu) Date: Fri, 16 Nov 2012 17:43:14 -0500 Subject: [rhos-list] Folsom - any chance ? In-Reply-To: <50A6B6B1.1040608@redhat.com> References: <1353059399.8173.192.camel@camelot.ddse.ca> <50A6B6B1.1040608@redhat.com> Message-ID: <1353105794.8173.203.camel@camelot.ddse.ca> Wow !!! Great ! (back to work, then) Thanks, Perry - that was some timing ! Too bad for Quantum... but I guess it's worth it. Jonathan, I also run OVS (built from the git "head") with "vanilla" libvirt. I have the feeling, though, my implementation is a bit of a hack. I have to learn quite a bit, still, about libvirt, ovs and, most of all, Nova/Quantum before my level of hacking becomes acceptable. Except, this gets done late at night (past midnight, usually) when I have the time. Thank you very much - all of a sudden I feel a lot better ! Daniel -- ___________ Daniel Dumitriu daniel at dumdan.com Telephone: +1-416-626-9345 Mobile: +1-416-318-2487 -----Original Message----- From: Perry Myers To: daniel at dumdan.com Cc: rhos-list at redhat.com Subject: Re: [rhos-list] Folsom - any chance ? Date: Fri, 16 Nov 2012 16:57:05 -0500 On 11/16/2012 04:49 AM, Daniel Dumitriu wrote: > > Everything that the guide suggested, actually works. > Surprisingly well, actually. > > I did not try to be original, up to now, because my purpose was to > evaluate/validate the solution "as is". > > Well, that's not entirely true - I scripted the whole build procedure > to the point where it takes less than 20 minutes from a "jeos" to all > the components installed on a single node. > (Of course, I had to script the tear-down procedure, as well). > Also, for the "Volumes", I used a real, permanent "nova-volumes" LVM > volume group as backing storage. > > I believe I went through the procedure at least 20 times, with small > variations, scripting everything up to creating a set of VMs, assigning > floating IPs and attaching volumes. > > > Now, I need to ask: is Folsom going to come anytime soon ? Just released :) > And, related, are we going to see a proper integration of OVS with libvirt ? > Of course, I am interested in the implementations for RHEL and not so > much those on Fedora 17+. Frankly, if there are any major components > missing, those would be (in my opinion) OVS (from Quantum) and the > shared storage (probably Cinder). Cinder is included in Folsom Preview from the start OVS support in Quantum won't come until RHEL 6 kernel supports it, which should be in the very near future. So look for updates soon for openvswitch userspace packages and quantum OVS sub-packages. RHEL 6.4 version of libvirt will have OVS support built into it as well. So just hold tight, it's around the corner :) Perry From berrange at redhat.com Sat Nov 17 09:05:42 2012 From: berrange at redhat.com (Daniel P. Berrange) Date: Sat, 17 Nov 2012 09:05:42 +0000 Subject: [rhos-list] Folsom - any chance ? In-Reply-To: <50A6B77E.7070609@renci.org> References: <1353059399.8173.192.camel@camelot.ddse.ca> <50A6B6B1.1040608@redhat.com> <50A6B77E.7070609@renci.org> Message-ID: <20121117090542.GA21028@redhat.com> On Fri, Nov 16, 2012 at 05:00:30PM -0500, Jonathan Mills wrote: > Comments below > > On 11/16/2012 04:57 PM, Perry Myers wrote: > >On 11/16/2012 04:49 AM, Daniel Dumitriu wrote: > >> > >>Everything that the guide suggested, actually works. > >>Surprisingly well, actually. > >> > >>I did not try to be original, up to now, because my purpose was to > >>evaluate/validate the solution "as is". > >> > >>Well, that's not entirely true - I scripted the whole build procedure > >>to the point where it takes less than 20 minutes from a "jeos" to all > >>the components installed on a single node. > >>(Of course, I had to script the tear-down procedure, as well). > >>Also, for the "Volumes", I used a real, permanent "nova-volumes" LVM > >>volume group as backing storage. > >> > >>I believe I went through the procedure at least 20 times, with small > >>variations, scripting everything up to creating a set of VMs, assigning > >>floating IPs and attaching volumes. > >> > >> > >>Now, I need to ask: is Folsom going to come anytime soon ? > > > >Just released :) > > > >>And, related, are we going to see a proper integration of OVS with libvirt ? > >>Of course, I am interested in the implementations for RHEL and not so > >>much those on Fedora 17+. Frankly, if there are any major components > >>missing, those would be (in my opinion) OVS (from Quantum) and the > >>shared storage (probably Cinder). > > > >Cinder is included in Folsom Preview from the start > > > >OVS support in Quantum won't come until RHEL 6 kernel supports it, which > >should be in the very near future. So look for updates soon for > >openvswitch userspace packages and quantum OVS sub-packages. > > We are running OVS from git -- I think the 1.90.9 release. The git > tree has instructions for how to compile into an RPM. It seems to > work just fine for us. We run OVS + Quantum on a number of RHEL 6.3 > boxes. > > > > >RHEL 6.4 version of libvirt will have OVS support built into it as well. > > So just hold tight, it's around the corner :) > > What kind of integration does this refer to? Can you share any details? Basically the guest XML format was extended to allow the OVS port profile parameters to be specified eg you can now use XML like See also http://libvirt.org/formatdomain.html#elementsNICSBridge Prior to this libvirt, OpenStack could actually setup OVS, but it had to do some nasty hacks of its own to make it work using a libvirt syntax that is considered deprecated . This is how it is working for you with RHEL-6.3. The new libvirt support is something we consider to be the saner long term solution. I doubt you'd notice any serious functional difference though - its really just an internal impl detail Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| From leonardo at gridstack.com.br Mon Nov 19 14:58:39 2012 From: leonardo at gridstack.com.br (Leonardo Rodrigues De Mello) Date: Mon, 19 Nov 2012 12:58:39 -0200 Subject: [rhos-list] RHOS Folsom Preview now available! In-Reply-To: <50A6B05A.7070303@redhat.com> References: <50A6B05A.7070303@redhat.com> Message-ID: <443EBABD-2BA4-4F2E-96DB-7025CB28A4C6@gridstack.com.br> Hi , Where can i find the source packages? Best Leo Sent from my iPhone On 16/11/2012, at 19:30, Perry Myers wrote: > Hi, > > The Red Hat OpenStack team is happy to announce that Folsom Preview > packages are now available for download. > > As with the Essex Preview, these packages are available by registering > for the Red Hat OpenStack Preview at the following URL: > > http://redhat.com/openstack > > If you have already registered for the Essex Preview, you should not > need to register again. Your existing subscription will be updated to > include the Folsom repositories. > > RHOS Folsom requires RHEL 6.3 as the base OS. To make it easier for > Preview users, we have now included three 90-day evaluation entitlements > to RHEL 6.3 Server as part of the Preview. > > These three RHEL Server entitlements also include unlimited RHEL guests > running on these servers. So while you can only create three physical > servers running RHOS (ideally for your Compute Nodes with kvm), you can > run additional RHEL VMs to host OpenStack services like Glance, > Keystone, Swift, etc. > > RHOS Folsom includes all of the upstream core components: Nova, Glance, > Swift, Keystone, Dashboard, Quantum and Cinder. Quantum support for > openvswitch is not yet included, but we will update the Preview with > support for openvswitch when the OVS kernel functionality is included in > RHEL. > > We will continue updating the Essex Preview from the upstream stable > branches, so those users that wish to stay on Essex can do so. The > Essex Preview will expire in August 2013 (one year from its launch date). > > Folsom will also be periodically updated from the upstream stable branches. > > Folsom specific documentation is available here: > https://access.redhat.com/knowledge/docs/Red_Hat_OpenStack_Preview/ > > Be sure to check out the Release Notes for important information and > check back periodically as we will update the release notes as needed. > > New additions to the documentation include Swift, Cinder and Quantum > sections. > > Please note that the Preview repositories are not enabled by default. > To enable or disable the repositories after you have successfully > subscribed a machine to the Preview, you will need to use the following > commands: > > yum-config-manager --enable rhel-server-ost-6-folsom-rpms > yum-config-manager --disable rhel-server-ost-6-preview-rpms > > This will enable the Folsom Preview repo and disable the Essex Preview repo. > > And finally, please remember to give us your feedback on the Preview. > Our primary goal in the Preview is to get input from you on issues, > desired features and use cases to help to improve both the OpenStack > upstream and the RHOS product. > > Feedback can be given on this mailing list, or you can file bugs here: > https://bugzilla.redhat.com/enter_bug.cgi?product=Red+Hat+OpenStack > > Thanks for participating in the Preview, and we look forward to your > feedback! > > -- The Red Hat OpenStack Team > > _______________________________________________ > rhos-list mailing list > rhos-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhos-list From zaitcev at redhat.com Tue Nov 20 03:46:02 2012 From: zaitcev at redhat.com (Pete Zaitcev) Date: Mon, 19 Nov 2012 20:46:02 -0700 Subject: [rhos-list] More Swift questions - IBM HPSS VFS as backend storage In-Reply-To: References: <5098356D.1010300@redhat.com> <20121105193425.62f7c3d8@lembas.zaitcev.lan> Message-ID: <20121119204602.62bf6285@lembas.zaitcev.lan> On Thu, 15 Nov 2012 18:00:48 -0600 David Hernandez wrote: > What is the largest amount of extended attribute data Swift will try to > store for an account/container/object? Sorry to say that, but I do not know. I meant to research it, because I was curious why everyone suggests to allocate 1000-byte inodes (regardless of filesystem). I'll let you know what I find. > I am currently using the swift command utility locally to upload and list > containers and objects in my Swift (Essex Preview) install. What changes > do I need to do to my configuration to allow secure remote client access > to my Swift storage. I know I will need to create some self-signed > certificates but don't know to get it to work with my current > configuration. I would like still be able to access locally using the > swift command which uses port 8080. > > How would I access my Swift storage through a web-server? Is there > anything readily available that I can use? I sense a certain confusion here. Swift is a webserver and it uses token-based authentication over HTTP. "Local" swift(1) command is exactly the same as remote. So, if your Swift cluster is configured with proper authentication (e.g. swauth or Keystone), and SSL is configured, swift(1) or other apps can traverse public Internet in reasonable safety. But in any case, it makes little sense to talk about a separate "web-server". Note that in many installations, a load balancer terminates SSL in front of Swift proxy server, and so the client-visible endpoint could end at port 431 at LB's outside interface. This may not be well addressed in the documentation, being an operational detail. If this happens, there's a difference between "local" and "remote", like you said. I hope I did not confuse you even further with this. -- Pete From apevec at redhat.com Tue Nov 20 09:52:55 2012 From: apevec at redhat.com (Alan Pevec) Date: Tue, 20 Nov 2012 04:52:55 -0500 (EST) Subject: [rhos-list] RHOS Folsom Preview now available! In-Reply-To: <443EBABD-2BA4-4F2E-96DB-7025CB28A4C6@gridstack.com.br> Message-ID: <316536571.3183699.1353405175312.JavaMail.root@redhat.com> > Where can i find the source packages? At ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOS/SRPMS/ But if you want to contribute, please base your work on EPEL and submit changes through Fedora/EPEL. Cheers, Alan From dhern at us.ibm.com Tue Nov 20 22:34:59 2012 From: dhern at us.ibm.com (David Hernandez) Date: Tue, 20 Nov 2012 16:34:59 -0600 Subject: [rhos-list] More Swift questions - IBM HPSS VFS as backend storage In-Reply-To: <20121119204602.62bf6285@lembas.zaitcev.lan> References: <5098356D.1010300@redhat.com> <20121105193425.62f7c3d8@lembas.zaitcev.lan> <20121119204602.62bf6285@lembas.zaitcev.lan> Message-ID: > How would I access my Swift storage through a web-server? Is there > anything readily available that I can use? Sorry, I intended to say web-client, as in browser, not web-server. David Hernandez Contractor / HPSS IBM Global Business Services - US Federal 12301 Kurland Dr Suite 300 Houston, TX 77034-4812 Mobile 713-444-5755 From: Pete Zaitcev To: David Hernandez/Houston/Contr/IBM at IBMUS Cc: Derek Higgins , rhos-list at redhat.com, zaitcev at redhat.com Date: 11/19/2012 09:46 PM Subject: Re: More Swift questions - IBM HPSS VFS as backend storage On Thu, 15 Nov 2012 18:00:48 -0600 David Hernandez wrote: > What is the largest amount of extended attribute data Swift will try to > store for an account/container/object? Sorry to say that, but I do not know. I meant to research it, because I was curious why everyone suggests to allocate 1000-byte inodes (regardless of filesystem). I'll let you know what I find. > I am currently using the swift command utility locally to upload and list > containers and objects in my Swift (Essex Preview) install. What changes > do I need to do to my configuration to allow secure remote client access > to my Swift storage. I know I will need to create some self-signed > certificates but don't know to get it to work with my current > configuration. I would like still be able to access locally using the > swift command which uses port 8080. > > How would I access my Swift storage through a web-server? Is there > anything readily available that I can use? I sense a certain confusion here. Swift is a webserver and it uses token-based authentication over HTTP. "Local" swift(1) command is exactly the same as remote. So, if your Swift cluster is configured with proper authentication (e.g. swauth or Keystone), and SSL is configured, swift(1) or other apps can traverse public Internet in reasonable safety. But in any case, it makes little sense to talk about a separate "web-server". Note that in many installations, a load balancer terminates SSL in front of Swift proxy server, and so the client-visible endpoint could end at port 431 at LB's outside interface. This may not be well addressed in the documentation, being an operational detail. If this happens, there's a difference between "local" and "remote", like you said. I hope I did not confuse you even further with this. -- Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: From vaibhav.k.agarwal at in.com Wed Nov 21 04:23:51 2012 From: vaibhav.k.agarwal at in.com (Kumar Vaibhav) Date: Wed, 21 Nov 2012 09:53:51 +0530 Subject: [rhos-list] Hooks/plugins in Openstack NOVA Message-ID: <1353471831.228e338fddcdf62a8065110d0b5f87fb@mail.in.com> Hi,I want to add execute some custom scripts, which make entries in my existing authentication/authorisation system, at the start of boot of the VM instance. This script can be run on cloud nova manager(preferred) or nova compute node. How to add this script in the openstacknova?Is there any provision of creating/defining hooks in NOVA?Regards,VaibhavDear rhoslist! Get Yourself a cool, short @in.com Email ID now! -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbryant at redhat.com Wed Nov 21 12:52:10 2012 From: rbryant at redhat.com (Russell Bryant) Date: Wed, 21 Nov 2012 07:52:10 -0500 Subject: [rhos-list] Hooks/plugins in Openstack NOVA In-Reply-To: <1353471831.228e338fddcdf62a8065110d0b5f87fb@mail.in.com> References: <1353471831.228e338fddcdf62a8065110d0b5f87fb@mail.in.com> Message-ID: <50ACCE7A.1020701@redhat.com> On 11/20/2012 11:23 PM, Kumar Vaibhav wrote: > Hi, > > I want to add execute some custom scripts, which make entries in my > existing > authentication/authorisation system, at the start of boot of the VM > instance. > > This script can be run on cloud nova manager(preferred) or nova compute > node. > > How to add this script in the openstack-nova? > Is there any provision of creating/defining hooks in NOVA? Nova does not have any hook support currently. However, it does have an asynchronous notifications system that could be used for this. Here is a wiki page that shows the data that comes in the notifications for creating and deleting an instance: http://wiki.openstack.org/SystemUsageData#compute.instance.create.start.2BAC8.end: To enable notifications in Folsom, you set the notification_driver in the [DEFAULT] section of nova.conf. notification_driver=nova.openstack.common.notifier.rabbit_notifier There is also a log file based notifier, but I suspect the messaging based notifier better suits your needs. Also, while the notifier is named "rabbit_notifier", it actually applies to whatever is configured as the "rpc_backend". So, it works with Qpid, as well. -- Russell Bryant From vaibhav.k.agarwal at in.com Thu Nov 22 07:42:08 2012 From: vaibhav.k.agarwal at in.com (Kumar Vaibhav) Date: Thu, 22 Nov 2012 13:12:08 +0530 Subject: [rhos-list] Hooks/plugins in Openstack NOVA Message-ID: <1353570128.955cb567b6e38f4c6b3f28cc857fc38c@mail.in.com> Hi Russell,Thanks a lot for the pointer. I think this will solve my problem. Sorry to trouble you more, but can you please direct me to some sample notification receiver.I know python but no nothing about this messaging system. So if you can give me a sample notification receiver I will adopt it to my needs.I see some of the information missing which is required for me. there is no data available about the MAC Address of the VIFs associated with instance.Even the Reference manual of API is not working for getting this data. I referred http://api.openstack.org/apireference.htmlv2/{tenantid}/servers/{serverid}/virtualinterfacesRegards,Vaibhav Original message From:"Russell Bryant"< rbryant at redhat.com >Date: 21 Nov 12 18:23:35Subject: Re: [rhoslist] Hooks/plugins in Openstack NOVATo: rhoslist at redhat.comOn 11/20/2012 11:23 PM, Kumar Vaibhav wrote:> Hi,> > I want to add execute some custom scripts, which make entries in my> existing> authentication/authorisation system, at the st art of boot of the VM> instance.> > This script can be run on cloud nova manager(preferred) or nova compute> node.> > How to add this script in the openstacknova?> Is there any provision of creating/defining hooks in NOVA?Nova does not have any hook support currently.However, it does have anasynchronous notifications system that could be used for this.Here isa wiki page that shows the data that comes in the notifications forcreating and deleting an instance:http://wiki.openstack.org/SystemUsageData#compute.instance.create.start.2BAC8.end:To enable notifications in Folsom, you set the notificationdriver inthe [DEFAULT] section of nova.conf.notificationdriver=nova.openstack.common.notifier.rabbitnotifierThere is also a log file based notifier, but I suspect the messagingbased notifier better suits your needs.Also, while the notifier isnamed "rabbitnotifier", it actually applies to whatever is configuredas the "rpcbackend".So, it works with Qpid, as well. Russell Bryantrhoslist mailing listrhoslist at redhat.comhttps://www.redhat.com/mailman/listinfo/rhoslistGet Yourself a cool, short @in.com Email ID now! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhern at us.ibm.com Tue Nov 27 21:52:21 2012 From: dhern at us.ibm.com (David Hernandez) Date: Tue, 27 Nov 2012 15:52:21 -0600 Subject: [rhos-list] Setting up a client to access single node instance of RedHat Swift (Essex) Message-ID: I have currently installed RHOS Swift on a single node using the Folsom preview install document I received from Derek Higgins. I am using Keystone as my identity service. I have been using the "swift" command to upload data to Swift. I need to setup a new client machine so that I can access Swift "remotely." I would like to use the swift command on this new client as well. Will you please tell me how to configure this client server. Will I need to install Keystone on it also? This new machine is currently running Ubuntu 10.04 but I will probably install RedHat 6.3 on it so that it will be running the same OS as my Swift server. Regards. David Hernandez Contractor / HPSS IBM Global Business Services - US Federal 12301 Kurland Dr Suite 300 Houston, TX 77034-4812 Mobile 713-444-5755 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmyers at redhat.com Tue Nov 27 23:20:24 2012 From: pmyers at redhat.com (Perry Myers) Date: Tue, 27 Nov 2012 18:20:24 -0500 Subject: [rhos-list] Setting up a client to access single node instance of RedHat Swift (Essex) In-Reply-To: References: Message-ID: <50B54AB8.1050306@redhat.com> On 11/27/2012 04:52 PM, David Hernandez wrote: > I have currently installed RHOS Swift on a single node using the Folsom > preview install document I received from Derek Higgins. I am using > Keystone as my identity service. I have been using the "swift" command > to upload data to Swift. > > I need to setup a new client machine so that I can access Swift > "remotely." I would like to use the swift command on this new client as > well. Will you please tell me how to configure this client server. > Will I need to install Keystone on it also? This new machine is > currently running Ubuntu 10.04 but I will probably install RedHat 6.3 on > it so that it will be running the same OS as my Swift server. I think what you want is to just do "yum install python-swiftclient" on the machine you want to act as the remote swift client machine. That's how it would work if that machine was running RHEL and subscribed to the RHOS Folsom Preview. If the remote machine is Ubuntu, I'm sure you can still have that Ubuntu machine act as a client as well, but you'd need to check with the Ubuntu folks on where to download the equivalent of python-swiftclient from their repositories. You shouldn't need keystone running on that machine, just the python-swiftclient packages should be all you need afair Cheers, Perry From darren.birkett at gmail.com Tue Nov 27 23:30:22 2012 From: darren.birkett at gmail.com (Darren Birkett) Date: Tue, 27 Nov 2012 23:30:22 +0000 Subject: [rhos-list] Setting up a client to access single node instance of RedHat Swift (Essex) Message-ID: <5b50l9kreen20orium6765ta.1354058881436@email.android.com> On Ubuntu you would need to add the cloud archive repo https://wiki.ubuntu.com/ServerTeam/CloudArchive#How_to_Enable_and_Use But openstack packages are only available from 12.04 onwards. - Darren Perry Myers wrote: >On 11/27/2012 04:52 PM, David Hernandez wrote: >> I have currently installed RHOS Swift on a single node using the Folsom >> preview install document I received from Derek Higgins. I am using >> Keystone as my identity service. I have been using the "swift" command >> to upload data to Swift. >> >> I need to setup a new client machine so that I can access Swift >> "remotely." I would like to use the swift command on this new client as >> well. Will you please tell me how to configure this client server. >> Will I need to install Keystone on it also? This new machine is >> currently running Ubuntu 10.04 but I will probably install RedHat 6.3 on >> it so that it will be running the same OS as my Swift server. > >I think what you want is to just do "yum install python-swiftclient" on >the machine you want to act as the remote swift client machine. > >That's how it would work if that machine was running RHEL and subscribed >to the RHOS Folsom Preview. If the remote machine is Ubuntu, I'm sure >you can still have that Ubuntu machine act as a client as well, but >you'd need to check with the Ubuntu folks on where to download the >equivalent of python-swiftclient from their repositories. > >You shouldn't need keystone running on that machine, just the >python-swiftclient packages should be all you need afair > >Cheers, > >Perry > >_______________________________________________ >rhos-list mailing list >rhos-list at redhat.com >https://www.redhat.com/mailman/listinfo/rhos-list From derekh at redhat.com Wed Nov 28 00:11:14 2012 From: derekh at redhat.com (Derek Higgins) Date: Wed, 28 Nov 2012 00:11:14 +0000 Subject: [rhos-list] Setting up a client to access single node instance of RedHat Swift (Essex) In-Reply-To: <50B54AB8.1050306@redhat.com> References: <50B54AB8.1050306@redhat.com> Message-ID: <50B556A2.3050404@redhat.com> On 11/27/2012 11:20 PM, Perry Myers wrote: > On 11/27/2012 04:52 PM, David Hernandez wrote: >> I have currently installed RHOS Swift on a single node using the Folsom >> preview install document I received from Derek Higgins. I am using >> Keystone as my identity service. I have been using the "swift" command >> to upload data to Swift. >> >> I need to setup a new client machine so that I can access Swift >> "remotely." I would like to use the swift command on this new client as >> well. Will you please tell me how to configure this client server. >> Will I need to install Keystone on it also? This new machine is >> currently running Ubuntu 10.04 but I will probably install RedHat 6.3 on >> it so that it will be running the same OS as my Swift server. > > I think what you want is to just do "yum install python-swiftclient" on > the machine you want to act as the remote swift client machine. > > That's how it would work if that machine was running RHEL and subscribed > to the RHOS Folsom Preview. If the remote machine is Ubuntu, I'm sure > you can still have that Ubuntu machine act as a client as well, but > you'd need to check with the Ubuntu folks on where to download the > equivalent of python-swiftclient from their repositories. > > You shouldn't need keystone running on that machine, just the > python-swiftclient packages should be all you need afair In addition to the package perry mentioned you may need to change a few things on your keystone server to make sure it can do more then just an all in one setup 1. Endpoints : the document you followed was for a all in one server, so all of the endpoints probably contain 127.0.0.1 (or localhost) for the ipaddress. you will have to delete these with $ keystone endpoint-delete and add them again with an accessible ip address for the server 2. firewall : If you have a firewall running you'll have to allow access to ports 5000 (keystone public api) and 8080 (swift proxy), 3. rc file : the rc file you were using probably contained export OS_AUTH_URL=http://127.0.0.1:35357/v2.0/ you'll have to copy this rc file to your new machine and change this line to export OS_AUTH_URL=http://:5000/v2.0/ Thats all I can think of at the moment, let em know if you need anything else thanks, Derek > > Cheers, > > Perry > > _______________________________________________ > rhos-list mailing list > rhos-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhos-list >