[Yahoo-eng-team] [Bug 1369959] [NEW] Repetation of "Attached to" in Column Header as well as populated field

2014-09-16 Thread Ashish Chandra
Public bug reported:

In Project -> Volumes tab, if a volume is attached to an instance, under
the "Attached to" header we have entry as "Attached to 
on ". IMHO it should be only " on
" , we should not repeat the information

** Affects: horizon
 Importance: Undecided
 Assignee: Ashish Chandra (ashish-chandra)
 Status: In Progress

** Changed in: horizon
 Assignee: (unassigned) => Ashish Chandra (ashish-chandra)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1369959

Title:
  Repetation of "Attached to" in Column Header as well as populated
  field

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  In Project -> Volumes tab, if a volume is attached to an instance,
  under the "Attached to" header we have entry as "Attached to
   on ". IMHO it should be only
  " on " , we should not repeat the
  information

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1369959/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1369394] Re: selecting a protected image makes delete image clickable

2014-09-15 Thread Ashish Chandra
Not sure if this is a bug, as enabling of "Delete Images" button due to
checking dialog box is caused by javascript action, and same issue can
be seen in Volumes table and Instances table as well (may be other
tables havent explored all), if a volume is attached to an instance, it
cannot be deleted and also in instances table, if  an instance is in
shutoff state, it cannot be terminated or rebooted by clicking "Soft
Reboot Instance" and "Terminate Instance" respectively.

According to current implementation, the clicking of dialog box will
enable the corresponding buttons (Delete Images, Delete Volumes,
Terminate instance).

One more thing what behaviour we are expecting if we have one image as
protected and others are not protected and both are selected. Right now,
clicking on Delete Images will delete the one one image successfully and
for protected image it will through an error, which IMHO is correct
behaviour.

** Changed in: horizon
 Assignee: Ashish Chandra (ashish-chandra) => (unassigned)

** Changed in: horizon
   Status: Confirmed => Opinion

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1369394

Title:
  selecting a protected image makes delete image clickable

Status in OpenStack Dashboard (Horizon):
  Opinion

Bug description:
  When selecting a protected image from the Images list, the delete button 
becomes clickable.
  Deleting would fail here as expected, but the user should not see that option.

  Steps:
  1. Define an image with property protected = True
  2. Wait for the image to be displayed in the images list
  3. Select the image's checkbox

  Expected:
  Delete Image button is grayed out

  Actual:
  Delete Image button is clickable

  Tested on:
  Fedora 20 x86_64
  Devstack
  Horizon at commit cdd64c2f6169c0eb94024fc71840bed255ce6c96

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1369394/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1352256] [NEW] Uploading a new object fails with Ceph as object storage backend using RadosGW

2014-08-04 Thread Ashish Chandra
Public bug reported:

While uploading a new Object using Horizon, with Ceph as object storage
backend, it fails with error mesage "Error: Unable to upload object"

Ceph Release : Firefly

Error in horizon_error.log:


[Wed Jul 23 09:04:46.840751 2014] [:error] [pid 30045:tid 140685813683968] 
INFO:urllib3.connectionpool:Starting new HTTP connection (1): 
firefly-master.ashish.com
[Wed Jul 23 09:04:46.842984 2014] [:error] [pid 30045:tid 140685813683968] 
WARNING:urllib3.connectionpool:HttpConnectionPool is full, discarding 
connection: firefly-master.ashish.com
[Wed Jul 23 09:04:46.843118 2014] [:error] [pid 30045:tid 140685813683968] REQ: 
curl -i http://firefly-master.ashish.com/swift/v1/new-cont-dash/test -X PUT -H 
"X-Auth-Token: 91fc8466ce17e0d22af86de9b3343b2d"
[Wed Jul 23 09:04:46.843227 2014] [:error] [pid 30045:tid 140685813683968] RESP 
STATUS: 411 Length Required
[Wed Jul 23 09:04:46.843584 2014] [:error] [pid 30045:tid 140685813683968] RESP 
HEADERS: [('date', 'Wed, 23 Jul 2014 09:04:46 GMT'), ('content-length', '238'), 
('content-type', 'text/html; charset=iso-8859-1'), ('connection', 'close'), 
('server', 'Apache/2.4.7 (Ubuntu)')]
[Wed Jul 23 09:04:46.843783 2014] [:error] [pid 30045:tid 140685813683968] RESP 
BODY: 
[Wed Jul 23 09:04:46.843907 2014] [:error] [pid 30045:tid 140685813683968] 

[Wed Jul 23 09:04:46.843930 2014] [:error] [pid 30045:tid 140685813683968] 
411 Length Required
[Wed Jul 23 09:04:46.843937 2014] [:error] [pid 30045:tid 140685813683968] 

[Wed Jul 23 09:04:46.843944 2014] [:error] [pid 30045:tid 140685813683968] 
Length Required
[Wed Jul 23 09:04:46.843951 2014] [:error] [pid 30045:tid 140685813683968] A 
request of the requested method PUT requires a valid Content-length.
[Wed Jul 23 09:04:46.843957 2014] [:error] [pid 30045:tid 140685813683968] 
[Wed Jul 23 09:04:46.843963 2014] [:error] [pid 30045:tid 140685813683968] 

[Wed Jul 23 09:04:46.843969 2014] [:error] [pid 30045:tid 140685813683968]
[Wed Jul 23 09:04:46.844530 2014] [:error] [pid 30045:tid 140685813683968] 
Object PUT failed: http://firefly-master.ashish.com/swift/v1/new-cont-dash/test 
411 Length Required  [first 60 chars of response] 
[Wed Jul 23 09:04:46.844555 2014] [:error] [pid 30045:tid 140685813683968] 
http://firefly-master.ashish.com/swift/v1/new-cont-dash/test 411 Length 
Required  [first 60 chars of response] 
[Wed Jul 23 09:04:46.844607 2014] [:error] [pid 30045:tid 140685813683968] 
http://firefly-master.ashish.com/swift/v1/new-cont-dash/test 411 Length 
Required  [first 60 chars of response] 
[Wed Jul 23 09:04:46.844900 2014] [:error] [pid 30045:tid 140685813683968] 
https://bugs.launchpad.net/bugs/1352256

Title:
  Uploading a new object fails with Ceph as object storage backend using
  RadosGW

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  While uploading a new Object using Horizon, with Ceph as object
  storage backend, it fails with error mesage "Error: Unable to upload
  object"

  Ceph Release : Firefly

  Error in horizon_error.log:

  
  [Wed Jul 23 09:04:46.840751 2014] [:error] [pid 30045:tid 140685813683968] 
INFO:urllib3.connectionpool:Starting new HTTP connection (1): 
firefly-master.ashish.com
  [Wed Jul 23 09:04:46.842984 2014] [:error] [pid 30045:tid 140685813683968] 
WARNING:urllib3.connectionpool:HttpConnectionPool is full, discarding 
connection: firefly-master.ashish.com
  [Wed Jul 23 09:04:46.843118 2014] [:error] [pid 30045:tid 140685813683968] 
REQ: curl -i http://firefly-master.ashish.com/swift/v1/new-cont-dash/test -X 
PUT -H "X-Auth-Token: 91fc8466ce17e0d22af86de9b3343b2d"
  [Wed Jul 23 09:04:46.843227 2014] [:error] [pid 30045:tid 140685813683968] 
RESP STATUS: 411 Length Required
  [Wed Jul 23 09:04:46.843584 2014] [:error] [pid 30045:tid 140685813683968] 
RESP HEADERS: [('date', 'Wed, 23 Jul 2014 09:04:46 GMT'), ('content-length', 
'238'), ('content-type', 'text/html; charset=iso-8859-1'), ('connection', 
'close'), ('server', 'Apache/2.4.7 (Ubuntu)')]
  [Wed Jul 23 09:04:46.843783 2014] [:error] [pid 30045:tid 140685813683968] 
RESP BODY: 
  [Wed Jul 23 09:04:46.843907 2014] [:error] [pid 30045:tid 140685813683968] 

  [Wed Jul 23 09:04:46.843930 2014] [:error] [pid 30045:tid 140685813683968] 
411 Length Required
  [Wed Jul 23 09:04:46.843937 2014] [:error] [pid 30045:tid 140685813683968] 

  [Wed Jul 23 09:04:46.843944 2014] [:error] [pid 30045:tid 140685813683968] 
Length Required
  [Wed Jul 23 09:04:46.843951 2014] [:error] [pid 30045:tid 140685813683968] 
A request of the requested method PUT requires a valid Content-length.
  [Wed Jul 23 09:04:46.843957 2014] [:error] [pid 30045:tid 140685813683968] 

  [Wed Jul 23 09:04:46.843963 2014] [:error] [pid 30045:tid 140685813683968] 

  [Wed Jul 23 09:04:46.843969 2014] [:error] [pid 30045:tid 140685813683968]
  [Wed Jul 23 09:04:46.844530 2014] [:error] [pid 30045:tid 140685813683968] 
Object PUT failed: http://firefly-master.ashish.com/swift/v1/new-cont-dash/test 
411 Length Required  [firs

[Yahoo-eng-team] [Bug 1347598] [NEW] Sucess message shown while deleting a non empty psuedo folder for the first time

2014-07-23 Thread Ashish Chandra
Public bug reported:

Steps to reproduce:

1) Create a container and create a psuedo folder into it.
2) Navigate to newly created psuedo folder, and upload a couple of objects.
3) Navigate to object store - > Containers in left pane.
4) Click on name of the container, to get the container view.
5) Now against the newly created psuedo folder, click on Delete Object.

A popup is displayed displaying message "Success: Deleted Object: new-
psuedo-folder"

Again try to delete the psuedo folder for the second time, this time correct 
message is shown in the popup.
"Error: Unable to delete object: new-psuedo-folder"

Please refer to attached Video, to see the process in action.

** Affects: horizon
 Importance: Undecided
 Status: New

** Attachment added: "psuedo-folder-wrong-message.webm"
   
https://bugs.launchpad.net/bugs/1347598/+attachment/4160838/+files/psuedo-folder-wrong-message.webm

** Description changed:

  Steps to reproduce:
  
  1) Create a container and create a psuedo folder into it.
  2) Navigate to newly created psuedo folder, and upload a couple of objects.
  3) Navigate to object store - > Containers in left pane.
  4) Click on name of the container, to get the container view.
  5) Now against the newly created psuedo folder, click on Delete Object.
  
  A popup is displayed displaying message "Success: Deleted Object: new-
  psuedo-folder"
  
  Again try to delete the psuedo folder for the second time, this time correct 
message is shown in the popup.
  "Error: Unable to delete object: new-psuedo-folder"
  
- Please refer to attached Video, to show the process in action.
+ Please refer to attached Video, to see the process in action.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1347598

Title:
  Sucess message shown while deleting a non empty psuedo folder for the
  first time

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Steps to reproduce:

  1) Create a container and create a psuedo folder into it.
  2) Navigate to newly created psuedo folder, and upload a couple of objects.
  3) Navigate to object store - > Containers in left pane.
  4) Click on name of the container, to get the container view.
  5) Now against the newly created psuedo folder, click on Delete Object.

  A popup is displayed displaying message "Success: Deleted Object: new-
  psuedo-folder"

  Again try to delete the psuedo folder for the second time, this time correct 
message is shown in the popup.
  "Error: Unable to delete object: new-psuedo-folder"

  Please refer to attached Video, to see the process in action.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1347598/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1333528] Re: Horizon doesn't allow access to dashboard

2014-06-24 Thread Ashish Chandra
This is duplicate of bug: 
https://bugs.launchpad.net/horizon/+bug/1331406


** Changed in: horizon
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1333528

Title:
  Horizon doesn't allow access to dashboard

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  After devstack install of openstack on baremetal of laptop, Horizon
  doesn't allow access to dashboard and keeps the credentials area clean
  even after entering the correct username and password.

  On entering wrong credentials it notifies of the error but on entering
  correct details it doesn't do anything.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1333528/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1332331] [NEW] Put a select all button over Swift objects for a container

2014-06-19 Thread Ashish Chandra
Public bug reported:

In horizon, we cannot delete a container if it is not empty(this is only 
allowed using CLI).
And if a user wants to delete a container, he needs to empty the container 
first (i.e. delete all of its objects).
 
This is OK if the no of objects is limited (we can manually select them), what 
if the no of objects is say 500. It is really pain for an user to select those 
500 objects and delete them.

Instead there should be select all button as we have in Compute -->
Instances, Volumes, Images (to delete all items). This will help to
select all of the objects together and delete it in one go and ease the
hassle of selecting all objects to delete them.

** Affects: horizon
 Importance: Undecided
 Assignee: Ashish Chandra (ashish-chandra)
 Status: New

** Changed in: horizon
 Assignee: (unassigned) => Ashish Chandra (ashish-chandra)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1332331

Title:
  Put a select all button over Swift objects for a container

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In horizon, we cannot delete a container if it is not empty(this is only 
allowed using CLI).
  And if a user wants to delete a container, he needs to empty the container 
first (i.e. delete all of its objects).
   
  This is OK if the no of objects is limited (we can manually select them), 
what if the no of objects is say 500. It is really pain for an user to select 
those 500 objects and delete them.

  Instead there should be select all button as we have in Compute -->
  Instances, Volumes, Images (to delete all items). This will help to
  select all of the objects together and delete it in one go and ease
  the hassle of selecting all objects to delete them.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1332331/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1328402] [NEW] Term consistency in System Info dashboard

2014-06-10 Thread Ashish Chandra
Public bug reported:

Just a minor nit,
In System info table, In compute services tab, Status is enabled/disabled 
whereas in Services and Block device services, the Status is Enabled/Disabled.
IMHO, we should change the Status in compute services tab to:

enabled/disabled --> Enabled/Disabled, to maintain consistency.

** Affects: horizon
 Importance: Undecided
 Assignee: Om Prakash Pandey (pandeyop)
 Status: New


** Tags: low-hanging-fruit

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1328402

Title:
  Term consistency in System Info dashboard

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Just a minor nit,
  In System info table, In compute services tab, Status is enabled/disabled 
whereas in Services and Block device services, the Status is Enabled/Disabled.
  IMHO, we should change the Status in compute services tab to:

  enabled/disabled --> Enabled/Disabled, to maintain consistency.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1328402/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1322593] [NEW] Change the way last modified time is displayed for the Swift object

2014-05-23 Thread Ashish Chandra
Public bug reported:

While displaying last modified time we get "x-timestamp" for an object
and then we convert it to Human readable format, which can be done
effieciently using "last-modified" value returned, and simply using it.

** Affects: horizon
 Importance: Undecided
     Assignee: Ashish Chandra (ashish-chandra)
 Status: New

** Changed in: horizon
 Assignee: (unassigned) => Ashish Chandra (ashish-chandra)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1322593

Title:
  Change the way last modified time is displayed for the Swift object

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  While displaying last modified time we get "x-timestamp" for an object
  and then we convert it to Human readable format, which can be done
  effieciently using "last-modified" value returned, and simply using
  it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1322593/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1306531] Re: Horizon throws an Exception while creating a new container in Swift

2014-04-11 Thread Ashish Chandra
It seems that the exception has been raised deliberately. The exception
is for HEAD request which is done to check whether the container with
given name exists prior to its creation.

** Changed in: horizon
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1306531

Title:
  Horizon throws an Exception while creating a new container in Swift

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  While creating a new container using Horizon dashboard, In Horizon error logs 
we get ClientException: Container HEAD failed.
  With Resp status: 404.

  Even if the container gets created without an issue.

  Steps to reproduce:
  #1: Log in to Horizon dashboard
  #2: Click on Project
  #3: Click on  Containers
  #4: Create a new container
  #4: Check horizon.error log (in /var/log/apache2) or Check horizon screen 
logs.

  
  Here is the exception obtained.
  
  [Fri Apr 11 10:38:12 2014] [error] REQ: curl -i 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont -I -H 
"X-Auth-Token: ddff5c0ce81be753deefdcf681f80a3f"
  [Fri Apr 11 10:38:12 2014] [error] RESP STATUS: 404 Not Found
  [Fri Apr 11 10:38:12 2014] [error] RESP HEADERS: [('date', 'Fri, 11 Apr 2014 
10:38:12 GMT'), ('content-length', '0'), ('content-type', 'text/html; 
charset=UTF-8'), ('x-trans-id', 'tx59f44c3a50924e4a906f8-005347c614')]
  [Fri Apr 11 10:38:12 2014] [error] Container HEAD failed: 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont 404 Not 
Found
  [Fri Apr 11 10:38:12 2014] [error] Traceback (most recent call last):
  [Fri Apr 11 10:38:12 2014] [error]   File 
"/opt/stack/python-swiftclient/swiftclient/client.py", line 1200, in _retry
  [Fri Apr 11 10:38:12 2014] [error] rv = func(self.url, self.token, *args, 
**kwargs)
  [Fri Apr 11 10:38:12 2014] [error]   File 
"/opt/stack/python-swiftclient/swiftclient/client.py", line 643, in 
head_container
  [Fri Apr 11 10:38:12 2014] [error] http_response_content=body)
  [Fri Apr 11 10:38:12 2014] [error] ClientException: Container HEAD failed: 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont 404 Not 
Found

  While creating  a container using swiftclient we dont get such exception.
  
--

  [Fri Apr 11 10:38:12 2014] [error] REQ: curl -i 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont -I -H 
"X-Auth-Token: ddff5c0ce81be753deefdcf681f80a3f"
  [Fri Apr 11 10:38:12 2014] [error] RESP STATUS: 404 Not Found
  [Fri Apr 11 10:38:12 2014] [error] RESP HEADERS: [('date', 'Fri, 11 Apr 2014 
10:38:12 GMT'), ('content-length', '0'), ('content-type', 'text/html; 
charset=UTF-8'), ('x-trans-id', 'tx59f44c3a50924e4a906f8-005347c614')]
  [Fri Apr 11 10:38:12 2014] [error] Container HEAD failed: 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont 404 Not 
Found
  [Fri Apr 11 10:38:12 2014] [error] Traceback (most recent call last):
  [Fri Apr 11 10:38:12 2014] [error]   File 
"/opt/stack/python-swiftclient/swiftclient/client.py", line 1200, in _retry
  [Fri Apr 11 10:38:12 2014] [error] rv = func(self.url, self.token, *args, 
**kwargs)
  [Fri Apr 11 10:38:12 2014] [error]   File 
"/opt/stack/python-swiftclient/swiftclient/client.py", line 643, in 
head_container
  [Fri Apr 11 10:38:12 2014] [error] http_response_content=body)
  [Fri Apr 11 10:38:12 2014] [error] ClientException: Container HEAD failed: 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont 404 Not 
Found

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1306531/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1306531] [NEW] Horizon throws an Exception while creating a new container in Swift

2014-04-11 Thread Ashish Chandra
Public bug reported:

While creating a new container using Horizon dashboard, In Horizon error logs 
we get ClientException: Container HEAD failed.
With Resp status: 404.

Even if the container gets created without an issue.

Steps to reproduce:
#1: Log in to Horizon dashboard
#2: Click on Project
#3: Click on  Containers
#4: Create a new container
#4: Check horizon.error log (in /var/log/apache2) or Check horizon screen logs.


Here is the exception obtained.

[Fri Apr 11 10:38:12 2014] [error] REQ: curl -i 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont -I -H 
"X-Auth-Token: ddff5c0ce81be753deefdcf681f80a3f"
[Fri Apr 11 10:38:12 2014] [error] RESP STATUS: 404 Not Found
[Fri Apr 11 10:38:12 2014] [error] RESP HEADERS: [('date', 'Fri, 11 Apr 2014 
10:38:12 GMT'), ('content-length', '0'), ('content-type', 'text/html; 
charset=UTF-8'), ('x-trans-id', 'tx59f44c3a50924e4a906f8-005347c614')]
[Fri Apr 11 10:38:12 2014] [error] Container HEAD failed: 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont 404 Not 
Found
[Fri Apr 11 10:38:12 2014] [error] Traceback (most recent call last):
[Fri Apr 11 10:38:12 2014] [error]   File 
"/opt/stack/python-swiftclient/swiftclient/client.py", line 1200, in _retry
[Fri Apr 11 10:38:12 2014] [error] rv = func(self.url, self.token, *args, 
**kwargs)
[Fri Apr 11 10:38:12 2014] [error]   File 
"/opt/stack/python-swiftclient/swiftclient/client.py", line 643, in 
head_container
[Fri Apr 11 10:38:12 2014] [error] http_response_content=body)
[Fri Apr 11 10:38:12 2014] [error] ClientException: Container HEAD failed: 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont 404 Not 
Found

While creating  a container using swiftclient we dont get such exception.
--

[Fri Apr 11 10:38:12 2014] [error] REQ: curl -i 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont -I -H 
"X-Auth-Token: ddff5c0ce81be753deefdcf681f80a3f"
[Fri Apr 11 10:38:12 2014] [error] RESP STATUS: 404 Not Found
[Fri Apr 11 10:38:12 2014] [error] RESP HEADERS: [('date', 'Fri, 11 Apr 2014 
10:38:12 GMT'), ('content-length', '0'), ('content-type', 'text/html; 
charset=UTF-8'), ('x-trans-id', 'tx59f44c3a50924e4a906f8-005347c614')]
[Fri Apr 11 10:38:12 2014] [error] Container HEAD failed: 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont 404 Not 
Found
[Fri Apr 11 10:38:12 2014] [error] Traceback (most recent call last):
[Fri Apr 11 10:38:12 2014] [error]   File 
"/opt/stack/python-swiftclient/swiftclient/client.py", line 1200, in _retry
[Fri Apr 11 10:38:12 2014] [error] rv = func(self.url, self.token, *args, 
**kwargs)
[Fri Apr 11 10:38:12 2014] [error]   File 
"/opt/stack/python-swiftclient/swiftclient/client.py", line 643, in 
head_container
[Fri Apr 11 10:38:12 2014] [error] http_response_content=body)
[Fri Apr 11 10:38:12 2014] [error] ClientException: Container HEAD failed: 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont 404 Not 
Found

** Affects: horizon
 Importance: Undecided
 Assignee: Ashish Chandra (ashish-chandra)
 Status: New

** Changed in: horizon
 Assignee: (unassigned) => Ashish Chandra (ashish-chandra)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1306531

Title:
  Horizon throws an Exception while creating a new container in Swift

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  While creating a new container using Horizon dashboard, In Horizon error logs 
we get ClientException: Container HEAD failed.
  With Resp status: 404.

  Even if the container gets created without an issue.

  Steps to reproduce:
  #1: Log in to Horizon dashboard
  #2: Click on Project
  #3: Click on  Containers
  #4: Create a new container
  #4: Check horizon.error log (in /var/log/apache2) or Check horizon screen 
logs.

  
  Here is the exception obtained.
  
  [Fri Apr 11 10:38:12 2014] [error] REQ: curl -i 
http://10.0.2.15:8080/v1/AUTH_9b25e348911a4ccd8ef0d78a63dd86f9/new_cont -I -H 
"X-Auth-Token: ddff5c0ce81be753deefdcf681f80a3f"
  [Fri Apr 11 10:38:12 2014] [error] RESP STATUS: 404 Not Found
  [Fri Apr 11 10:38:12 2014] [error] RESP HEADERS: [('date', 'Fri, 11 Apr 2014 
10:38:12 GMT'), ('content-length', '0'), ('content-type', 'text/html; 
charset=UTF-8'), ('x-trans-id', 'tx59f44c3a50924e4a906f8-005347c614')]
  [F