Devstack Check existence of cirros==3.5 Error Is a directory

Bug #1669736 reported by Jimmy.Ye
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Medium
Jimmy.Ye

Bug Description

stack@ubuntu:/opt/stack/devstack$ ./stack.sh

2017-03-03 09:59:09.005 | Check existence of cirros==3.5
++/opt/stack/stack_ocata/tacker/devstack/plugin.sh:source:40 tacker_check_and_download_cirros
++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:323 local image_url image_fname
++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:324 image_url=http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
+++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:325 basename http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:325 cirros_fname=cirros-0.3.5-x86_64-disk.img
+++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:326 glance image-list
+++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:326 awk '{print $4}'
+++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:326 grep cirros-0.3.5-x86_64-disk
++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:326 image_name=
++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:327 [[ '' == '' ]]
++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:328 [[ ! -f /opt/stack/devstack/files/ ]]
++/opt/stack/stack_ocata/tacker/devstack/lib/tacker:tacker_check_and_download_cirros:330 wget --progress=dot:giga -c http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img -O /opt/stack/devstack/files/
/opt/stack/devstack/files/: Is a directory

Jimmy.Ye (jimmy.ye)
Changed in tacker:
assignee: nobody → Jimmy.Ye (jimmy.ye)
description: updated
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/441080

Changed in tacker:
status: New → In Progress
Changed in tacker:
importance: Undecided → Medium
Changed in tacker:
assignee: Jimmy.Ye (jimmy.ye) → yong sheng gong (gongysh)
Changed in tacker:
assignee: yong sheng gong (gongysh) → Jimmy.Ye (jimmy.ye)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/441080
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=73d9549f3ea616ce4ad3c0c2c0c8272c0db689b4
Submitter: Jenkins
Branch: master

commit 73d9549f3ea616ce4ad3c0c2c0c8272c0db689b4
Author: Jimmy.Ye <email address hidden>
Date: Fri Mar 3 19:58:09 2017 +0800

    fix function tacker_check_and_download_cirros() error

      (1) change openstack_image_create fail Warning to ERROR
      (2) merge create cirros and create openwrt to one function
      (3) no use shell cmd let

    Change-Id: I195990841d3b2a271d338f6c940a1dc383508a74
    Closes-Bug: #1669736

Changed in tacker:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker 0.8.0

This issue was fixed in the openstack/tacker 0.8.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.