[tempest] scenario tests fail with 403 when booting service images

Bug #1816050 reported by Tom Barron
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
High
Tom Barron

Bug Description

2019-02-15 13:07:25.918134 | controller | 2019-02-15 13:07:25.917 | Traceback (most recent call last):
2019-02-15 13:07:25.920442 | controller | 2019-02-15 13:07:25.919 | File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/tests/scenario/test_share_basic_ops.py", line 116, in test_mount_share_one_vm
2019-02-15 13:07:25.922461 | controller | 2019-02-15 13:07:25.921 | instance = self.boot_instance(wait_until="BUILD")
2019-02-15 13:07:25.924405 | controller | 2019-02-15 13:07:25.923 | File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/tests/scenario/manager_share.py", line 143, in boot_instance
2019-02-15 13:07:25.926658 | controller | 2019-02-15 13:07:25.926 | image_id=self.image_id, flavor=self.flavor_ref, **create_kwargs)
2019-02-15 13:07:25.928668 | controller | 2019-02-15 13:07:25.928 | File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/tests/scenario/manager.py", line 200, in create_server
2019-02-15 13:07:25.931772 | controller | 2019-02-15 13:07:25.930 | image_id=image_id, **kwargs)
2019-02-15 13:07:25.933838 | controller | 2019-02-15 13:07:25.933 | File "tempest/common/compute.py", line 198, in create_test_server
2019-02-15 13:07:25.936133 | controller | 2019-02-15 13:07:25.935 | **kwargs)
2019-02-15 13:07:25.937734 | controller | 2019-02-15 13:07:25.937 | File "tempest/lib/services/compute/servers_client.py", line 97, in create_server
2019-02-15 13:07:25.939946 | controller | 2019-02-15 13:07:25.939 | resp, body = self.post('servers', post_body)
2019-02-15 13:07:25.942529 | controller | 2019-02-15 13:07:25.942 | File "tempest/lib/common/rest_client.py", line 280, in post
2019-02-15 13:07:25.945608 | controller | 2019-02-15 13:07:25.944 | return self.request('POST', url, extra_headers, headers, body, chunked)
2019-02-15 13:07:25.947559 | controller | 2019-02-15 13:07:25.946 | File "tempest/lib/services/compute/base_compute_client.py", line 48, in request
2019-02-15 13:07:25.949749 | controller | 2019-02-15 13:07:25.949 | method, url, extra_headers, headers, body, chunked)
2019-02-15 13:07:25.952746 | controller | 2019-02-15 13:07:25.952 | File "tempest/lib/common/rest_client.py", line 676, in request
2019-02-15 13:07:25.955550 | controller | 2019-02-15 13:07:25.954 | self._error_checker(resp, resp_body)
2019-02-15 13:07:25.957780 | controller | 2019-02-15 13:07:25.957 | File "tempest/lib/common/rest_client.py", line 777, in _error_checker
2019-02-15 13:07:25.960623 | controller | 2019-02-15 13:07:25.960 | raise exceptions.Forbidden(resp_body, resp=resp)
2019-02-15 13:07:25.963633 | controller | 2019-02-15 13:07:25.962 | tempest.lib.exceptions.Forbidden: Forbidden
2019-02-15 13:07:25.966213 | controller | 2019-02-15 13:07:25.965 | Details: {u'message': u'Only volume-backed servers are allowed for flavors with zero disk.', u'code': 403}

Revision history for this message
Tom Barron (tpb) wrote :
tags: added: tempest tests
Changed in manila:
assignee: nobody → Tom Barron (tpb)
status: New → In Progress
Revision history for this message
Tom Barron (tpb) wrote :

set priority to High because it blocks manila gate

Changed in manila:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/637176
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=68b79e2ceae37d66105e9911bfd9f61265900ef0
Submitter: Zuul
Branch: master

commit 68b79e2ceae37d66105e9911bfd9f61265900ef0
Author: Tom Barron <email address hidden>
Date: Fri Feb 15 07:29:22 2019 -0500

    Fix service image boot issues

    We are getting:

    403 errors 'Only volume-backed servers are allowed for flavors
    with zero disk' on scenario tests.

    Appears to be due to this change [1] which just merged to
    nova master branch. Ubuntu bionic server doc says the root disk
    needs 1.5 GB so we are setting the flavor definition to require
    2GB.

    [1] https://github.com/openstack/nova/commit/c8e65a5eb11515cfe70f8e6850b842cd594af6a5

    Closes-bug: #1816050
    Change-Id: Iba0a15b78bf75a04c1ac0e64e70634772b2dca5c

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/637287

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/rocky)

Reviewed: https://review.openstack.org/637287
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=fcb40df7773b033c9d6c3d2b4d46cedc311bac87
Submitter: Zuul
Branch: stable/rocky

commit fcb40df7773b033c9d6c3d2b4d46cedc311bac87
Author: Tom Barron <email address hidden>
Date: Fri Feb 15 07:29:22 2019 -0500

    Fix service image boot issues

    We are getting:

    403 errors 'Only volume-backed servers are allowed for flavors
    with zero disk' on scenario tests.

    Appears to be due to this change [1] which just merged to
    nova master branch. Ubuntu bionic server doc says the root disk
    needs 1.5 GB so we are setting the flavor definition to require
    2GB.

    [1] https://github.com/openstack/nova/commit/c8e65a5eb11515cfe70f8e6850b842cd594af6a5

    Closes-bug: #1816050
    Change-Id: Iba0a15b78bf75a04c1ac0e64e70634772b2dca5c
    (cherry picked from commit 68b79e2ceae37d66105e9911bfd9f61265900ef0)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/637565

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/queens)

Reviewed: https://review.openstack.org/637565
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=5bfe7f335e3b450930923fbc86c834c66b557f01
Submitter: Zuul
Branch: stable/queens

commit 5bfe7f335e3b450930923fbc86c834c66b557f01
Author: Tom Barron <email address hidden>
Date: Fri Feb 15 07:29:22 2019 -0500

    Fix service image boot issues

    We are getting:

    403 errors 'Only volume-backed servers are allowed for flavors
    with zero disk' on scenario tests.

    Appears to be due to this change [1] which just merged to
    nova master branch. Ubuntu bionic server doc says the root disk
    needs 1.5 GB so we are setting the flavor definition to require
    2GB.

    [1] https://github.com/openstack/nova/commit/c8e65a5eb11515cfe70f8e6850b842cd594af6a5

    Closes-bug: #1816050
    Change-Id: Iba0a15b78bf75a04c1ac0e64e70634772b2dca5c
    (cherry picked from commit 68b79e2ceae37d66105e9911bfd9f61265900ef0)
    (cherry picked from commit fcb40df7773b033c9d6c3d2b4d46cedc311bac87)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/643597

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/pike)

Reviewed: https://review.openstack.org/643597
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=9c9e564e52b9edee02a1af2b379429ad0684fbed
Submitter: Zuul
Branch: stable/pike

commit 9c9e564e52b9edee02a1af2b379429ad0684fbed
Author: Tom Barron <email address hidden>
Date: Fri Feb 15 07:29:22 2019 -0500

    Fix service image boot issues

    We are getting:

    403 errors 'Only volume-backed servers are allowed for flavors
    with zero disk' on scenario tests.

    Appears to be due to this change [1] which just merged to
    nova master branch. Ubuntu bionic server doc says the root disk
    needs 1.5 GB so we are setting the flavor definition to require
    2GB.

    [1] https://github.com/openstack/nova/commit/c8e65a5eb11515cfe70f8e6850b842cd594af6a5

    Closes-bug: #1816050
    Change-Id: Iba0a15b78bf75a04c1ac0e64e70634772b2dca5c
    (cherry picked from commit 68b79e2ceae37d66105e9911bfd9f61265900ef0)
    (cherry picked from commit fcb40df7773b033c9d6c3d2b4d46cedc311bac87)
    (cherry picked from commit 5bfe7f335e3b450930923fbc86c834c66b557f01)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 8.0.0.0rc1

This issue was fixed in the openstack/manila 8.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 6.2.0

This issue was fixed in the openstack/manila 6.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 7.2.0

This issue was fixed in the openstack/manila 7.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 5.1.0

This issue was fixed in the openstack/manila 5.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.