Tempest test test_aggregate_add_host_create_server_with_az is failed

Bug #1621032 reported by Sofiia Andriichenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
New
Undecided
Unassigned

Bug Description

Description: Heisenbug, fail sometimes only on CI, can't reproduce manual
Configuration: 9.1 snapshot #229
Settings:
Storage Backends - Ceph RBD for volumes (Cinder), Ceph RBD for ephemeral volumes (Nova), Ceph RBD for images (Glance), Ceph RadosGW for objects (Swift API)
Additional services - Install Sahara

In tab Settings->Compute check Nova quotas
In tab Settings->OpenStack Services check enable Install Ceilometer and Aodh
In tab Networks->Other check enable Neutron DVR
In tab Settings->Security check enable TLS for OpenStack public endpoints, HTTPS for Horizon

Nodes: controller, compute, Ceph, Telemetry - MongoDB

Steps to reproduce:
    1. Deploy ISO in configuration see (Detailed bug description)
    2. Navigate to controller node
    3. Install git (use apt-get install git)
    4. Clone script to deploy rally + tempest
       # git clone https://github.com/obutenko/mos-rally-verify.git
    5. Navigate to the https://github.com/obutenko/mos-rally-verify
    6. Execute necessary steps to deploy tempest
    7. Tun test in debug mode
        #rally --debug verify start --regex tempest.api.compute.admin.test_aggregates.AggregatesAdminTestJSON.test_aggregate_add_host_create_server_with_az

Expected results:
Test is passed

Actual result:
Test is Failed
(see comments)

Workaround:
Traceback (most recent call last):
  File "/home/rally/.rally/tempest/for-deployment-42938f6d-b9c1-4f9f-821b-3332cf7bc5c3/tempest/api/compute/admin/test_aggregates.py", line 222, in test_aggregate_add_host_create_server_with_az
    wait_until='ACTIVE')
  File "/home/rally/.rally/tempest/for-deployment-42938f6d-b9c1-4f9f-821b-3332cf7bc5c3/tempest/api/compute/base.py", line 229, in create_test_server
    **kwargs)
  File "/home/rally/.rally/tempest/for-deployment-42938f6d-b9c1-4f9f-821b-3332cf7bc5c3/tempest/common/compute.py", line 168, in create_test_server
    % server['id'])
  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
    self.force_reraise()
  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
    six.reraise(self.type_, self.value, self.tb)
  File "/home/rally/.rally/tempest/for-deployment-42938f6d-b9c1-4f9f-821b-3332cf7bc5c3/tempest/common/compute.py", line 150, in create_test_server
    clients.servers_client, server['id'], wait_until)
  File "/home/rally/.rally/tempest/for-deployment-42938f6d-b9c1-4f9f-821b-3332cf7bc5c3/tempest/common/waiters.py", line 75, in wait_for_server_status
    server_id=server_id)
tempest.exceptions.BuildErrorException: Server aa40ddea-0825-461f-a37e-02fb0e5bda3a failed to build and is in ERROR status
Details: {u'message': u'unsupported operand type(s) for *: \'NoneType\' and \'int\'\nTraceback (most recent call last):\n\n File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply\n incoming.message))\n\n File "/usr/lib/python2.7/dis', u'code': 500, u'created': u'2016-09-06T23:10:17Z'}

snapshot:https://drive.google.com/a/mirantis.com/file/d/0BxPLDs6wcpbDNmZtcW5tc3VFT2s/view?usp=sharing

description: updated
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.