[devstack] Unstack doesn't remove murano plugin symlink

Bug #1447136 reported by Pradip Rawat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Alexey Deryugin
Kilo
Fix Released
Critical
Alexey Deryugin
Liberty
Fix Released
Critical
Alexey Deryugin

Bug Description

i am trying to deploy murano using devstack but while deploying i am getting below error. but after deleting '/opt/stack/horizon/openstack_dashboard/local/enabled/_50_murano.py' file, then stack is successful.

=======================================================================================================
2015-04-22 11:52:39.879 | ++ configure_murano_dashboard
2015-04-22 11:52:39.879 | ++ remove_config_block /opt/stack/horizon/openstack_dashboard/settings.py MURANO_CONFIG_SECTION
2015-04-22 11:52:39.879 | ++ local config_file=/opt/stack/horizon/openstack_dashboard/settings.py
2015-04-22 11:52:39.879 | ++ local label=MURANO_CONFIG_SECTION
2015-04-22 11:52:39.879 | ++ [[ -f /opt/stack/horizon/openstack_dashboard/settings.py ]]
2015-04-22 11:52:39.879 | ++ [[ -n MURANO_CONFIG_SECTION ]]
2015-04-22 11:52:39.879 | ++ sed -e '/^#MURANO_CONFIG_SECTION_BEGIN/,/^#MURANO_CONFIG_SECTION_END/ d' -i /opt/stack/horizon/openstack_dashboard/settings.py
2015-04-22 11:52:39.885 | ++ configure_settings_py
2015-04-22 11:52:39.886 | +++ mktemp
2015-04-22 11:52:39.888 | ++ local horizon_config_part=/tmp/tmp.vsBvmGWsYz
2015-04-22 11:52:39.888 | ++ mkdir_chown_stack /tmp/murano
2015-04-22 11:52:39.888 | ++ [[ ! -d /tmp/murano ]]
2015-04-22 11:52:39.888 | ++ sudo chown murano /tmp/murano
2015-04-22 11:52:39.896 | ++ cat
2015-04-22 11:52:39.899 | ++ insert_config_block /opt/stack/horizon/openstack_dashboard/settings.py /tmp/tmp.vsBvmGWsYz 'from openstack_dashboard import policy'
2015-04-22 11:52:39.899 | ++ local target_file=/opt/stack/horizon/openstack_dashboard/settings.py
2015-04-22 11:52:39.899 | ++ local insert_file=/tmp/tmp.vsBvmGWsYz
2015-04-22 11:52:39.899 | ++ local 'pattern=from openstack_dashboard import policy'
2015-04-22 11:52:39.899 | ++ [[ -z from openstack_dashboard import policy ]]
2015-04-22 11:52:39.899 | ++ sed -ne '/from openstack_dashboard import policy/r /tmp/tmp.vsBvmGWsYz' -e 1x -e '2,${x;p}' -e '${x;p}' -i /opt/stack/horizon/openstack_dashboard/settings.py
2015-04-22 11:52:39.909 | ++ ln -s /opt/stack/murano-dashboard/muranodashboard/local/_50_murano.py /opt/stack/horizon/openstack_dashboard/local/enabled/
2015-04-22 11:52:39.911 | ln: failed to create symbolic link '/opt/stack/horizon/openstack_dashboard/local/enabled/_50_murano.py': File exists
2015-04-22 11:52:39.911 | + exit_trap
2015-04-22 11:52:39.911 | + local r=1
2015-04-22 11:52:39.912 | ++ jobs -p
2015-04-22 11:52:39.912 | + jobs=
2015-04-22 11:52:39.912 | + [[ -n '' ]]
2015-04-22 11:52:39.912 | + kill_spinner
2015-04-22 11:52:39.912 | + '[' '!' -z '' ']'
2015-04-22 11:52:39.913 | + [[ 1 -ne 0 ]]
2015-04-22 11:52:39.913 | + echo 'Error on exit'
2015-04-22 11:52:39.913 | Error on exit
2015-04-22 11:52:39.913 | + [[ -z /opt/stack/logs ]]
2015-04-22 11:52:39.913 | + /home/murano/devstack/tools/worlddump.py -d /opt/stack/logs
2015-04-22 11:52:39.978 | + exit 1

Changed in murano:
milestone: none → liberty-1
milestone: liberty-1 → kilo-rc2
importance: Undecided → Critical
assignee: nobody → Alexey Deryugin (velovec)
status: New → Confirmed
summary: - failed to create symbolic link
- '/opt/stack/horizon/openstack_dashboard/local/enabled/_50_murano.py':
- File exists
+ [devstack] Error during repeated stack.sh execution
summary: [devstack] Error during repeated stack.sh execution
+ (stack/unstack/stack)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to murano (stable/kilo)

Related fix proposed to branch: stable/kilo
Review: https://review.openstack.org/176315

summary: - [devstack] Error during repeated stack.sh execution
- (stack/unstack/stack)
+ [devstack] Unstack doesn't remove murano plugin symlink
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on murano (master)

Change abandoned by Alexey Deryugin (<email address hidden>) on branch: master
Review: https://review.openstack.org/176300

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on murano (stable/kilo)

Change abandoned by Alexey Deryugin (<email address hidden>) on branch: stable/kilo
Review: https://review.openstack.org/176315

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/176424

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/176423
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=17121784e3c5a3acedb4654d22608561d9ace541
Submitter: Jenkins
Branch: master

commit 17121784e3c5a3acedb4654d22608561d9ace541
Author: Alexey Deryugin <email address hidden>
Date: Wed Apr 22 21:26:48 2015 +0300

    Fix bug with murano-dashboard cleanup in devstack

    Change-Id: Id95915c6d639f76029a89ba2f043fe2cf6c9ed78
    Closes-Bug: #1447136

Changed in murano:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (stable/kilo)

Reviewed: https://review.openstack.org/176424
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=b7ef4537c99ab10782448a32aa5af2714e8c898e
Submitter: Jenkins
Branch: stable/kilo

commit b7ef4537c99ab10782448a32aa5af2714e8c898e
Author: Alexey Deryugin <email address hidden>
Date: Wed Apr 22 21:31:16 2015 +0300

    Fix bug with murano-dashboard cleanup in devstack

    Change-Id: Ia0c18149e22f4e8fba88eb846321bcf7f4d40a90
    Closes-Bug: #1447136

Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: kilo-rc2 → 2015.1.0
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.