ci failed due to wrong scaling param is translated

Bug #1744528 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Undecided
yong sheng gong

Bug Description

Jan 18 06:10:18.549116 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: description: 'Demo example
Jan 18 06:10:18.549489 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: '
Jan 18 06:10:18.549722 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: parameters: {}
Jan 18 06:10:18.554841 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: resources:
Jan 18 06:10:18.555128 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: VDU1:
Jan 18 06:10:18.555386 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: type: OS::Nova::Server
Jan 18 06:10:18.555615 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: properties:
Jan 18 06:10:18.555837 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: user_data_format: SOFTWARE_CONFIG
Jan 18 06:10:18.556057 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: availability_zone: nova
Jan 18 06:10:18.556276 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: image: cirros-0.3.5-x86_64-disk
Jan 18 06:10:18.556487 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: flavor: {get_resource: VDU1_flavor}
Jan 18 06:10:18.556705 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: networks:
Jan 18 06:10:18.556921 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: - port: {get_resource: CP1}
Jan 18 06:10:18.557194 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: config_drive: false
Jan 18 06:10:18.557430 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: metadata: {metering.vnf: VDU1}
Jan 18 06:10:18.557747 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: CP1:
Jan 18 06:10:18.558011 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: type: OS::Neutron::Port
Jan 18 06:10:18.558248 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: properties: {port_security_enabled: false, network: net_mgmt}
Jan 18 06:10:18.558479 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: vdu_hcpu_usage_respawning:
Jan 18 06:10:18.558725 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: type: OS::Aodh::Alarm
Jan 18 06:10:18.558951 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: properties:
Jan 18 06:10:18.559170 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: meter_name: cpu_util
Jan 18 06:10:18.559388 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: description: utilization greater_than 50%
Jan 18 06:10:18.559602 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: evaluation_periods: 1
Jan 18 06:10:18.559813 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: period: 600
Jan 18 06:10:18.560035 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: statistic: avg
Jan 18 06:10:18.560281 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: threshold: 50
Jan 18 06:10:18.560568 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: comparison_operator: gt
Jan 18 06:10:18.560922 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: matching_metadata: {metadata.user_metadata.vnf: VDU1}
Jan 18 06:10:18.561378 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: alarm_actions: ['http://ubuntu-xenial-rax-ord-0001977597:9890/v1.0/vnfs/34aea5b7-fc06-44d5-83e2-2613aae9f39b/vdu_hcpu_usage_respawning/respawn/8g9yeb7u']
Jan 18 06:10:18.561741 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: VDU1_flavor:
Jan 18 06:10:18.561981 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: properties: {disk: 1, ram: 512, vcpus: 2}
Jan 18 06:10:18.562204 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: type: OS::Nova::Flavor
Jan 18 06:10:18.562427 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: outputs:
Jan 18 06:10:18.562674 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: mgmt_ip-VDU1:
Jan 18 06:10:18.562912 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: value:
Jan 18 06:10:18.563133 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: get_attr: [CP1, fixed_ips, 0, ip_address]

Jan 18 06:10:29.782830 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: 2018-01-18 06:10:29.782 25652 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [-] status: CREATE_FAILED create_wait /opt/stack/tacker/tacker/vnfm/infra_drivers/openstack/openstack.py:147
Jan 18 06:10:29.783341 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: 2018-01-18 06:10:29.782 25652 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [-] stack status: <Stack {u'parent': None, u'disable_rollback': True, u'description': u'Demo example\n', u'parameters': {u'OS::project_id': u'9a865b6c91a744b1a7828604ffca1fed', u'OS::stack_name': u'tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-34aea5b7-fc06-44d5-83e2-2613aae9f39b', u'OS::stack_id': u'371b7326-06e5-434d-8dfe-23b31ce43b04'}, u'deletion_time': None, u'stack_name': u'tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-34aea5b7-fc06-44d5-83e2-2613aae9f39b', u'stack_user_project_id': u'54df467ed44746f083de3a140f236e49', u'stack_status_reason': u'Resource CREATE failed: BadRequest: resources.vdu_hcpu_usage_respawning: Unknown attribute for argument data: threshold_rule (HTTP 400) (Request-ID: req-ddd848b6-8a4c-4e73-8708-82efd48316e8)', u'creation_time': u'2018-01-18T06:10:19Z', u'links': [{u'href': u'http://23.253.164.58/heat-api/v1/9a865b6c91a744b1a7828604ffca1fed/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-34aea5b7-fc06-44d5-83e2-2613aae9f39b/371b7326-06e5-434d-8dfe-23b31ce43b04', u'rel': u'self'}], u'capabilities': [], u'notification_topics': [], u'outputs': [{u'output_value': u'192.168.120.15', u'output_key': u'mgmt_ip-VDU1', u'description': u'No description given'}], u'timeout_mins': 10, u'stack_status': u'CREATE_FAILED', u'stack_owner': None, u'updated_time': None, u'id': u'371b7326-06e5-434d-8dfe-23b31ce43b04', u'tags': None, u'template_description': u'Demo example\n'}> CREATE_FAILED create_wait /opt/stack/tacker/tacker/vnfm/infra_drivers/openstack/openstack.py:151
Jan 18 06:10:29.784272 ubuntu-xenial-rax-ord-0001977597 tacker-server[25652]: 2018-01-18 06:10:29.783 25652 ERROR tacker.vnfm.plugin [-] VNF Create failed for vnf_id 34aea5b7-fc06-44d5-83e2-2613aae9f39b: VNFCreateWaitFailed: Resource CREATE failed: BadRequest: resources.vdu_hcpu_usage_respawning: Unknown attribute for argument data: threshold_rule (HTTP 400) (Request-ID: req-ddd848b6-8a4c-4e73-8708-82efd48316e8)

Revision history for this message
yong sheng gong (gongysh) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/536079

Changed in tacker:
assignee: nobody → yong sheng gong (gongysh)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/536079
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=06f8504eeec9aa9b0f513eeba9a59906745a8a91
Submitter: Zuul
Branch: master

commit 06f8504eeec9aa9b0f513eeba9a59906745a8a91
Author: gongysh <gong.yongsheng@99cloud.net>
Date: Sun Jan 21 13:17:06 2018 +0800

    Skip alarm functional test until heat-translator supports gnocchi aodh alarm

    Change-Id: I22ef2d771736a3656e38d785582668b96fbf2ec6
    Partial-bug: 1744528

Changed in tacker:
status: In Progress → Fix Committed
Changed in tacker:
status: Fix Committed → Fix Released
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.