Zombie container created while creating containers from OpenStack swift in Red Hat Storage 2.0, why ?

Solution Verified - Updated -

Issue

  • While creating a container via the OpenStack swift interface in Red Hat Storage 2.0 beta 2, a container named 'tmp' (which is not specifed) is created, why ?

  • Create a container :

# curl -v -X PUT -H 'X-Auth-Token: AUTH_tk0d19b67ed3f84c70808ae01df7419db8' <a class="<comments>" href="https://<URL>:443/v1/AUTH_lv0/cntnr" target="_blank">https://<URL>:443/v1/AUTH_lv0/cntnr</a> -k                            
* About to connect() to <URL> port 443 (#0)
*   Trying 192.168.1.1... connected
* Connected to <URL> (192.168.1.1) port 443 (#0)
* Initializing NSS with certpath: /etc/pki/nssdb
* warning: ignoring value of ssl.verifyhost
* skipping SSL peer certificate verification
.....
......
.......

201 Created

# ls -a
.  ..  cntnr             <== No directory named 'tmp'

  • Create an object :
# curl -v -X PUT -H 'X-Auth-Token: AUTH_tk0d19b67ed3f84c70808ae01df7419db8' https://<URL>:443/v1/AUTH_lv0/cntnr/obj1 -H 'Content-Length: 0' -k
* About to connect() to <URL> port 443 (#0)
*   Trying 192.168.1.1... connected
* Connected to <URL> (192.168.1.1) port 443 (#0)
* Initializing NSS with certpath: /etc/pki/nssdb
* warning: ignoring value of ssl.verifyhost
* skipping SSL peer certificate verification
* SSL connection using TLS_RSA_WITH_AES_256_CBC_SHA
* Server certificate:

> PUT /v1/AUTH_lv0/cntnr/obj1 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.9.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
> Host: r001
> Accept: */*
> X-Auth-Token: AUTH_tk0d19b67ed3f84c70808ae01df7419db8
> Content-Length: 0
> 
< HTTP/1.1 201 Created
< Content-Length: 118
< Content-Type: text/html; charset=UTF-8
< Etag: d41d8cd98f00b204e9800998ecf8427e
< Last-Modified: Mon, 11 Jun 2012 06:14:22 GMT
< Date: Mon, 11 Jun 2012 06:14:23 GMT
< 
<html>
 <head>
  201 Created
 </head>
 <body>
  <h1>201 Created</h1>
  <br /><br />

 </body>
* Connection #0 to host r001 left intact
* Closing connection #0
</html>
 # ls -a
.  ..  cntnr  tmp          <= A new directory named 'tmp'.

Environment

  • Red Hat Storage 2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content