Comment 0 for bug 1621032

Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :

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/0BxPLDs6wcpbDaURjZ05zNFR0a1E/view?usp=sharing