[Yahoo-eng-team] [Bug 1539695] [NEW] Not working pagination in Volume snapshot panel

2016-01-29 Thread Alexey Galkin
Public bug reported:

Steps to repoduce:

1. Set `Items Per Page` parameter to 2 in (Settings->User settings).
2. Go to Project->Compute->Volumes->Volume snapshots tab.
3. Create 5 snapshots.

Excepted results:
 Pagination not working. All snapshots displayed on one page.

Actual results:
 Pagination should be working. Snapshots displayed on some pages.

** Affects: horizon
 Importance: Undecided
 Status: New


** Tags: horizon-core

-- 
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/1539695

Title:
  Not working pagination in Volume snapshot panel

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Steps to repoduce:

  1. Set `Items Per Page` parameter to 2 in (Settings->User settings).
  2. Go to Project->Compute->Volumes->Volume snapshots tab.
  3. Create 5 snapshots.

  Excepted results:
   Pagination not working. All snapshots displayed on one page.

  Actual results:
   Pagination should be working. Snapshots displayed on some pages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1539695/+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 1539647] [NEW] Return server error when we make 'Confirm or Revert Resize instance'

2016-01-29 Thread Alexey Galkin
Public bug reported:

Stepts to reproduce:

1. Login to horizon.
2. Create a new instance.
3. Navigate to Project->Compute->Instances and click dropdown menu in 
Instance`s row.
4. Click on Resize Instance menu item
5. From opened form select other flavor ('m1.micro', for example) > select 
Resize button.
6. Instance is resizing (status 'Resize/Migrate') and then return to status 
"Confirm or Revert Resize/Migrate".
7. Select Confirm Resize/Migrate button in Instance`s row, after this button 
should be disable (3-5 sec), and then becomes active again until instance will 
not be resized and return to status Active.

And if we press button while instance will not be return to status
Active, then horizon return a 'server error' message:


Something went wrong!

An unexpected error has occurred. Try refreshing the page. If that doesn't 
help, contact your local administrator.


** Affects: horizon
 Importance: Undecided
 Status: New


** Tags: horizon-core nova

-- 
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/1539647

Title:
  Return server error when we make 'Confirm or Revert Resize instance'

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Stepts to reproduce:

  1. Login to horizon.
  2. Create a new instance.
  3. Navigate to Project->Compute->Instances and click dropdown menu in 
Instance`s row.
  4. Click on Resize Instance menu item
  5. From opened form select other flavor ('m1.micro', for example) > select 
Resize button.
  6. Instance is resizing (status 'Resize/Migrate') and then return to status 
"Confirm or Revert Resize/Migrate".
  7. Select Confirm Resize/Migrate button in Instance`s row, after this button 
should be disable (3-5 sec), and then becomes active again until instance will 
not be resized and return to status Active.

  And if we press button while instance will not be return to status
  Active, then horizon return a 'server error' message:

  
  Something went wrong!

  An unexpected error has occurred. Try refreshing the page. If that doesn't 
help, contact your local administrator.
  

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1539647/+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 1517060] [NEW] User (without admin privileges) can change size your own image with 'deactivated' status.

2015-11-17 Thread Alexey Galkin
Public bug reported:

Steps to reproduce:

1. Create a new image with 'active' status.
2. Deactivate this image from admin. (image should have a 'deactivated' status)
3. Use this curl request:
curl -X PUT http://localhost:9292/v1/images/ -H 'X-Auth-Token: 
' -H 'x-image-meta-size: 1234567'
4. Verify that created image have a '1234567' size.

** Affects: glance
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1517060

Title:
  User (without admin privileges) can change size your own image with
  'deactivated' status.

Status in Glance:
  New

Bug description:
  Steps to reproduce:

  1. Create a new image with 'active' status.
  2. Deactivate this image from admin. (image should have a 'deactivated' 
status)
  3. Use this curl request:
  curl -X PUT http://localhost:9292/v1/images/ -H 'X-Auth-Token: 
' -H 'x-image-meta-size: 1234567'
  4. Verify that created image have a '1234567' size.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1517060/+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 1511261] [NEW] Breaks down functional test 'test_download_image_raises_service_unavailable' on gate-glance-python27 job.

2015-10-29 Thread Alexey Galkin
Public bug reported:

Breaks down functional test 'test_download_image_raises_service_unavailable' on 
gate-glance-python27 job.
I think it's a "floating" bug.

http://logs.openstack.org/58/238358/8/check/gate-glance-
python27/0c54ead/testr_results.html.gz

ft1.783: 
glance.tests.functional.v2.test_images.TestImages.test_download_image_raises_service_unavailable_StringException:
 Traceback (most recent call last):
  File "glance/tests/functional/v2/test_images.py", line 864, in 
test_download_image_raises_service_unavailable
self.assertEqual(503, response.status_code)
  File 
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
 line 350, in assertEqual
self.assertThat(observed, matcher, message)
  File 
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
 line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 503 != 500

** Affects: glance
 Importance: Undecided
 Assignee: Alexey Galkin (agalkin)
 Status: New


** Tags: gate tests

** Changed in: glance
 Assignee: (unassigned) => Alexey Galkin (agalkin)

** Tags added: gate

** Description changed:

  Breaks down functional test 'test_download_image_raises_service_unavailable' 
on gate-glance-python27 job.
  I think it's a "floating" bug.
  
+ http://logs.openstack.org/58/238358/8/check/gate-glance-
+ python27/0c54ead/testr_results.html.gz
+ 
  ft1.783: 
glance.tests.functional.v2.test_images.TestImages.test_download_image_raises_service_unavailable_StringException:
 Traceback (most recent call last):
-   File "glance/tests/functional/v2/test_images.py", line 864, in 
test_download_image_raises_service_unavailable
- self.assertEqual(503, response.status_code)
-   File 
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
 line 350, in assertEqual
- self.assertThat(observed, matcher, message)
-   File 
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
 line 435, in assertThat
- raise mismatch_error
+   File "glance/tests/functional/v2/test_images.py", line 864, in 
test_download_image_raises_service_unavailable
+ self.assertEqual(503, response.status_code)
+   File 
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
 line 350, in assertEqual
+ self.assertThat(observed, matcher, message)
+   File 
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
 line 435, in assertThat
+ raise mismatch_error
  testtools.matchers._impl.MismatchError: 503 != 500

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1511261

Title:
  Breaks down functional test
  'test_download_image_raises_service_unavailable' on gate-glance-
  python27 job.

Status in Glance:
  New

Bug description:
  Breaks down functional test 'test_download_image_raises_service_unavailable' 
on gate-glance-python27 job.
  I think it's a "floating" bug.

  http://logs.openstack.org/58/238358/8/check/gate-glance-
  python27/0c54ead/testr_results.html.gz

  ft1.783: 
glance.tests.functional.v2.test_images.TestImages.test_download_image_raises_service_unavailable_StringException:
 Traceback (most recent call last):
    File "glance/tests/functional/v2/test_images.py", line 864, in 
test_download_image_raises_service_unavailable
  self.assertEqual(503, response.status_code)
    File 
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
 line 350, in assertEqual
  self.assertThat(observed, matcher, message)
    File 
"/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
 line 435, in assertThat
  raise mismatch_error
  testtools.matchers._impl.MismatchError: 503 != 500

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1511261/+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 1506842] [NEW] Glanceclient + SSL - Show warnings in console

2015-10-16 Thread Alexey Galkin
Public bug reported:

If we use glanceclient with ssl, console displays few "extra" warnings
like this:

/usr/lib/python2.7/dist-packages/urllib3/util/ssl_.py:90: 
InsecurePlatformWarning: A true SSLContext object is not available. This 
prevents urllib3 from configuring SSL appropriately and may cause certain SSL 
connections to fail. For more information, see 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/lib/python2.7/dist-packages/urllib3/connection.py:251: SecurityWarning: 
Certificate has no `subjectAltName`, falling back to check for a `commonName` 
for now. This feature is being removed by major browsers and deprecated by RFC 
2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
  SecurityWarning

or that:

/usr/lib/python2.7/dist-packages/urllib3/util/ssl_.py:90: 
InsecurePlatformWarning: A true SSLContext object is not available. This 
prevents urllib3 from configuring SSL appropriately and may cause certain SSL 
connections to fail. For more information, see 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:770: 
InsecureRequestWarning: Unverified HTTPS request is being made. Adding 
certificate verification is strongly advised. See: 
https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)

Affected: python-glanceclient (and CLI).

Steps to reproduce:

1. Deploy openstack with enabling services in HTTPS mode (using TLS).
2. Try to use this command: glance image-list

Actual result: Displays a list of images with some warnings.

root@node-1:~# glance image-list
/usr/lib/python2.7/dist-packages/urllib3/util/ssl_.py:90: 
InsecurePlatformWarning: A true SSLContext object is not available. This 
prevents urllib3 from configuring SSL appropriately and may cause certain SSL 
connections to fail. For more information, see 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/lib/python2.7/dist-packages/urllib3/connection.py:251: SecurityWarning: 
Certificate has no `subjectAltName`, falling back to check for a `commonName` 
for now. This feature is being removed by major browsers and deprecated by RFC 
2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
  SecurityWarning
+--++
| ID   | Name   |
+--++
| 43c99677-94b4-4356-b3ee-cd3690f26fdc | TestVM |
+--++

Excepted result: Displays a list of images without any warnings.

root@node-1:~# glance image-list

+--++
| ID   | Name   |
+--++
| 43c99677-94b4-4356-b3ee-cd3690f26fdc | TestVM |
+--++

** Affects: glance
 Importance: Undecided
 Assignee: Kairat Kushaev (kkushaev)
 Status: New

** Affects: python-glanceclient
 Importance: Undecided
 Assignee: Kairat Kushaev (kkushaev)
 Status: New


** Tags: cli

** Tags added: cli

** Also affects: python-glanceclient
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1506842

Title:
  Glanceclient + SSL - Show warnings in console

Status in Glance:
  New
Status in python-glanceclient:
  New

Bug description:
  If we use glanceclient with ssl, console displays few "extra" warnings
  like this:

  /usr/lib/python2.7/dist-packages/urllib3/util/ssl_.py:90: 
InsecurePlatformWarning: A true SSLContext object is not available. This 
prevents urllib3 from configuring SSL appropriately and may cause certain SSL 
connections to fail. For more information, see 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
  /usr/lib/python2.7/dist-packages/urllib3/connection.py:251: SecurityWarning: 
Certificate has no `subjectAltName`, falling back to check for a `commonName` 
for now. This feature is being removed by major browsers and deprecated by RFC 
2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
SecurityWarning

  or that:

  /usr/lib/python2.7/dist-packages/urllib3/util/ssl_.py:90: 
InsecurePlatformWarning: A true SSLContext object is not available. This 
prevents urllib3 from configuring SSL appropriately and may cause certain SSL 
connections to fail. For more information, see 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
  /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:770: 
InsecureRequestWarning: Unverified HTTPS request is being made. Adding 
certificate verification i

[Yahoo-eng-team] [Bug 1500037] [NEW] [CLI] Incorrent error message when trying download null-size image

2015-09-26 Thread Alexey Galkin
Public bug reported:

CLI (shell) glance client return a non-informative responce if we trying
download a image with null size.

Affected v1 and v2 API.

Steps to reproduce:

1. Create a new zero size image:

agalkin@rinner:~$ glance image-create
+--+--+
| Property | Value|
+--+--+
| checksum | None |
| container_format | None |
| created_at   | 2015-09-26T14:29:50Z |
| disk_format  | None |
| id   | ad655133-2165-48d7-9134-d24dfe0773ba |
| min_disk | 0|
| min_ram  | 0|
| name | None |
| owner| d127c7f11f68427092ef009f0782bac2 |
| protected| False|
| size | None |
| status   | queued   |
| tags | []   |
| updated_at   | 2015-09-26T14:29:50Z |
| virtual_size | None |
| visibility   | private  |
+--+--+

2. Trying to download this image.

---
by API v1:
---

agalkin@rinner:~$ glance --os-image-api-version 1 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba  >> image.tmp
404 Not Found: The resource could not be found.: Image 
ad655133-2165-48d7-9134-d24dfe0773ba is not active (HTTP 404)


--
by API v2:
--

agalkin@rinner:~$ glance --os-image-api-version 2 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba >> image.tmp
'NoneType' object has no attribute 'close'

or:

agalkin@rinner:~$ glance --os-image-api-version 2 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba --progress  >> image.tmp
NoneType object is not an iterator

** Affects: glance
 Importance: Undecided
 Status: New


** Tags: cli

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1500037

Title:
  [CLI] Incorrent error message when trying download null-size image

Status in Glance:
  New

Bug description:
  CLI (shell) glance client return a non-informative responce if we
  trying download a image with null size.

  Affected v1 and v2 API.

  Steps to reproduce:

  1. Create a new zero size image:

  agalkin@rinner:~$ glance image-create
  +--+--+
  | Property | Value|
  +--+--+
  | checksum | None |
  | container_format | None |
  | created_at   | 2015-09-26T14:29:50Z |
  | disk_format  | None |
  | id   | ad655133-2165-48d7-9134-d24dfe0773ba |
  | min_disk | 0|
  | min_ram  | 0|
  | name | None |
  | owner| d127c7f11f68427092ef009f0782bac2 |
  | protected| False|
  | size | None |
  | status   | queued   |
  | tags | []   |
  | updated_at   | 2015-09-26T14:29:50Z |
  | virtual_size | None |
  | visibility   | private  |
  +--+--+

  2. Trying to download this image.

  ---
  by API v1:
  ---

  agalkin@rinner:~$ glance --os-image-api-version 1 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba  >> image.tmp
  404 Not Found: The resource could not be found.: Image 
ad655133-2165-48d7-9134-d24dfe0773ba is not active (HTTP 404)

  
  --
  by API v2:
  --

  agalkin@rinner:~$ glance --os-image-api-version 2 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba >> image.tmp
  'NoneType' object has no attribute 'close'

  or:

  agalkin@rinner:~$ glance --os-image-api-version 2 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba --progress  >> image.tmp
  NoneType object is not an iterator

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1500037/+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.

[Yahoo-eng-team] [Bug 1499390] [NEW] Need to add a more useful tests for 'Unicode support shell client '

2015-09-24 Thread Alexey Galkin
Public bug reported:

We need a more useful tests for 'Unicode support shell client ', based
on this https://review.openstack.org/#/c/206037/ .

** Affects: glance
 Importance: Undecided
 Assignee: dshakhray (dshakhray)
 Status: New


** Tags: cli

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1499390

Title:
  Need to add a more useful tests for 'Unicode support shell client '

Status in Glance:
  New

Bug description:
  We need a more useful tests for 'Unicode support shell client ', based
  on this https://review.openstack.org/#/c/206037/ .

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1499390/+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 1485627] [NEW] no error is output if you specify the incorrect url for upload to image location

2015-08-17 Thread Alexey Galkin
Public bug reported:

Steps to reproduce:

1. Log into OpenStack Horizon dashboard. 
2. Navigate to Project > Compute > Images.
3. Click on ‘Create Image’ button.
4. Set Image name = ‘New_vm_test’, provide Image source = ‘Image Location’, 
provide a invalid link = 'http://www.google.com/any-invalid-image.iso' , select 
image format and click on ‘Create Image’ button.

Expected Result:
 
Error message with '404 Not Found: HTTP datastore could not find image at URI. 
(HTTP 404)' and image is't be created.

Actual Result:

No error is output and create image with status: queued.

** Affects: horizon
 Importance: Undecided
 Status: New


** Tags: glance horizon.

-- 
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/1485627

Title:
  no error is output if you specify the incorrect url for upload to
  image location

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Steps to reproduce:

  1. Log into OpenStack Horizon dashboard. 
  2. Navigate to Project > Compute > Images.
  3. Click on ‘Create Image’ button.
  4. Set Image name = ‘New_vm_test’, provide Image source = ‘Image Location’, 
provide a invalid link = 'http://www.google.com/any-invalid-image.iso' , select 
image format and click on ‘Create Image’ button.

  Expected Result:
   
  Error message with '404 Not Found: HTTP datastore could not find image at 
URI. (HTTP 404)' and image is't be created.

  Actual Result:

  No error is output and create image with status: queued.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1485627/+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 1471186] [NEW] Optimization of the functional test for the scrubber

2015-07-03 Thread Alexey Galkin
Public bug reported:

Our functional tests (test_scrubber.py) contains a lot of extra code
which can be replaced.

** Affects: glance
 Importance: Undecided
 Assignee: Alexey Galkin (agalkin)
 Status: In Progress


** Tags: glance tests

** Changed in: glance
 Assignee: (unassigned) => Alexey Galkin (agalkin)

** Tags added: glance tests

** Changed in: glance
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1471186

Title:
  Optimization of the functional test for the scrubber

Status in OpenStack Image Registry and Delivery Service (Glance):
  In Progress

Bug description:
  Our functional tests (test_scrubber.py) contains a lot of extra code
  which can be replaced.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1471186/+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 1470941] [NEW] Optimization of the functional test for the WSGIServer

2015-07-02 Thread Alexey Galkin
Public bug reported:

Сhanges in functional tests for WSGIServer for more optimized
performance

** Affects: glance
 Importance: Undecided
 Assignee: Alexey Galkin (agalkin)
 Status: New


** Tags: glance tests

** Changed in: glance
 Assignee: (unassigned) => Alexey Galkin (agalkin)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1470941

Title:
  Optimization of the functional test for the WSGIServer

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Сhanges in functional tests for WSGIServer for more optimized
  performance

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1470941/+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 1470192] [NEW] '501 Not Implemented' responce while send HTTP request with custom method

2015-06-30 Thread Alexey Galkin
Public bug reported:

Steps to reproduce:

1. Send request something like this:

ANY-CUSTOM-METHOD /v2/images HTTP/1.1
Host: localhost:2081
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
X-auth-token: fc6fa22976da45b2af76622935825625
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive

Expected result:

HTTP/1.1 HTTP 400 - Bad Request

Actual result:

HTTP/1.1 501 Not Implemented
Content-Length: 216
Content-Type: text/html; charset=UTF-8
X-Openstack-Request-Id: req-req-0deadf35-4b66-471b-bb91-ce88344f898c
Date: Tue, 30 Jun 2015 17:47:52 GMT
Connection: keep-alive


 
  501 Not Implemented
 
 
  501 Not Implemented
  The server has either erred or is incapable of performing the requested 
operation.


 


** Affects: glance
 Importance: Undecided
 Status: New


** Tags: glance

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1470192

Title:
  '501 Not Implemented' responce while send HTTP request with custom
  method

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Steps to reproduce:

  1. Send request something like this:

  ANY-CUSTOM-METHOD /v2/images HTTP/1.1
  Host: localhost:2081
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  X-auth-token: fc6fa22976da45b2af76622935825625
  Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
  Accept-Encoding: gzip, deflate
  Connection: keep-alive

  Expected result:

  HTTP/1.1 HTTP 400 - Bad Request

  Actual result:

  HTTP/1.1 501 Not Implemented
  Content-Length: 216
  Content-Type: text/html; charset=UTF-8
  X-Openstack-Request-Id: req-req-0deadf35-4b66-471b-bb91-ce88344f898c
  Date: Tue, 30 Jun 2015 17:47:52 GMT
  Connection: keep-alive

  
   
501 Not Implemented
   
   
501 Not Implemented
The server has either erred or is incapable of performing the requested 
operation.


   
  

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1470192/+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 1470164] [NEW] Glance v1 not working with "allow_anonymous_access = True"

2015-06-30 Thread Alexey Galkin
Public bug reported:

Steps to reproduce:

1. Stop "glance-api" service.
2. In "glance-api.conf"  set "allow_anonymous_access = True"
3. Start "glance-api" service.
4. Trying to get image-list with use v1 and without keystone "x-auth-token"

GET /v1/images HTTP/1.1
Host: 172.18.85.25:2081
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 
Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive

Actual result:

HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Content-Length: 0
Date: Tue, 30 Jun 2015 14:54:42 GMT
Connection: close

** Affects: glance
 Importance: Undecided
 Status: New


** Tags: glance

** Attachment added: "Glance-api log with traceback"
   
https://bugs.launchpad.net/bugs/1470164/+attachment/4422528/+files/glance-api.log

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1470164

Title:
  Glance v1 not working with "allow_anonymous_access = True"

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Steps to reproduce:

  1. Stop "glance-api" service.
  2. In "glance-api.conf"  set "allow_anonymous_access = True"
  3. Start "glance-api" service.
  4. Trying to get image-list with use v1 and without keystone "x-auth-token"

  GET /v1/images HTTP/1.1
  Host: 172.18.85.25:2081
  User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 
Firefox/38.0
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
  Accept-Encoding: gzip, deflate
  Connection: keep-alive

  Actual result:

  HTTP/1.1 500 Internal Server Error
  Content-Type: text/plain
  Content-Length: 0
  Date: Tue, 30 Jun 2015 14:54:42 GMT
  Connection: close

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1470164/+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 1468806] [NEW] attempt to communicate with non-existent properties

2015-06-25 Thread Alexey Galkin
Public bug reported:

Steps to reproduce:

1. Create new artifact.

POST /v3/artifacts/myartifact/v2.0/drafts HTTP/1.1
Host: 172.18.78.38:9393
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 
Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Length: 85

{"description": "This is a sample plugin",  "name": "New Artifact",
"version": "1" }

2. Trying to update non-existent property  via PATCH method.

PATCH /v3/artifacts/myartifact/v2.0/a8c9c8c0-d357-4025-aaa1-5b51f54e74f5 
HTTP/1.1
Host: 172.18.78.38:9393
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 
Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 99

[{"op": "remove", "path": "/something-non-existent-property/and-another-
one", "value":  "anydata"}]


Actual result:

HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Content-Length: 0
Date: Thu, 25 Jun 2015 15:32:30 GMT
Connection: close

** Affects: glance
 Importance: Undecided
 Status: New


** Tags: artifacts

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1468806

Title:
  attempt to communicate with non-existent properties

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Steps to reproduce:

  1. Create new artifact.

  POST /v3/artifacts/myartifact/v2.0/drafts HTTP/1.1
  Host: 172.18.78.38:9393
  User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 
Firefox/38.0
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
  Accept-Encoding: gzip, deflate
  Content-Length: 85

  {"description": "This is a sample plugin",  "name": "New Artifact",
  "version": "1" }

  2. Trying to update non-existent property  via PATCH method.

  PATCH /v3/artifacts/myartifact/v2.0/a8c9c8c0-d357-4025-aaa1-5b51f54e74f5 
HTTP/1.1
  Host: 172.18.78.38:9393
  User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 
Firefox/38.0
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
  Accept-Encoding: gzip, deflate
  Connection: keep-alive
  Content-Length: 99

  [{"op": "remove", "path": "/something-non-existent-property/and-
  another-one", "value":  "anydata"}]

  
  Actual result:

  HTTP/1.1 500 Internal Server Error
  Content-Type: text/plain
  Content-Length: 0
  Date: Thu, 25 Jun 2015 15:32:30 GMT
  Connection: close

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1468806/+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 1463898] [NEW] Unable to delete artifact with custom id

2015-06-10 Thread Alexey Galkin
Public bug reported:

Steps to reproduce:

1. Create new artifact with custom id:
{"description": "This is a sample plugin",  "name": "Demo Artifact",  
"version": "42"   ,  "id":"123456789"}
2. Get list of artifacts. We can see new artifact with id: "123456789".
3. Delete artifact with id: "123456789"
4. Get list of artifacts. 

Expected result:
We expected list without id: "123456789"

Actual result:
Object with id: "123456789" exists in database and list with artifacts.

** Affects: glance
 Importance: Undecided
 Status: New


** Tags: artifacts

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1463898

Title:
  Unable to delete artifact with custom id

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Steps to reproduce:

  1. Create new artifact with custom id:
  {"description": "This is a sample plugin","name": "Demo Artifact",  
"version": "42"   ,  "id":"123456789"}
  2. Get list of artifacts. We can see new artifact with id: "123456789".
  3. Delete artifact with id: "123456789"
  4. Get list of artifacts. 

  Expected result:
  We expected list without id: "123456789"

  Actual result:
  Object with id: "123456789" exists in database and list with artifacts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1463898/+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