OSTF 'Check that user can deploy WordPress app in Murano environment' fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Fuel Sustaining | ||
Murano |
Invalid
|
High
|
Unassigned |
Bug Description
OSTF test 'Check that user can deploy WordPress app in Murano environment' fails on step #7 (Checking environment status). please look at the stack trace attached.
Name of the ostf test:
fuel_health.
Also, tried to reproduce this issue manually using the steps from ostf tests, and deployment also failed with the next error:
Steps to reproduce:
1. Create in Horizon Murano Environment;
2. Add the next component: Apache HTTP Server, MySql, WordPress;
3. Deploy Environment
Expected result:
Environment is successfully deployed;
Actual result:
Deployment is failed;
2016-05-24 13:31:37 — Action deploy is scheduled
2016-05-24 13:31:44 — Ensuring Apache is deployed.
2016-05-24 13:31:44 — Creating VM for MySql
2016-05-24 13:31:44 — Creating VM for Apache Server.
2016-05-24 13:33:32 — Instance is created. Deploying Apache
2016-05-24 13:35:24 — Instance is created. Deploying MySql
2016-05-24 13:40:34 — Apache is installed.
2016-05-24 13:40:34 — Apache is available at http://
2016-05-24 13:42:37 — Creating database and user.
2016-05-24 13:42:37 — MySql application is installed.
2016-05-24 13:42:37 — Creating test_db database.
2016-05-24 13:43:43 — [murano.
2016-05-24 13:43:43 — Deployment finished with errors
FUEL Info:
api: '1.0'
astute_sha: 6c5b73f93e24cc7
auth_required: true
build_id: '301'
build_number: '301'
feature_groups:
- mirantis
fuel-agent_sha: 50e90af6e3d560e
fuel-library_sha: 5d50055aeca1dd0
fuel-nailgun-
fuel-ostf_sha: 2cd967dccd66cfc
fuelmain_sha: a65d453215edb02
nailgun_sha: 4162b0c15adb425
openstack_version: 2015.1.0-7.0
production: docker
python-
release: '7.0'
release_versions:
2015.1.0-7.0:
VERSION:
api: '1.0'
astute_sha: 6c5b73f93e24cc7
build_id: '301'
build_number: '301'
feature_
- mirantis
fuel-
fuel-
fuel-
fuel-
fuelmain_sha: a65d453215edb02
nailgun_sha: 4162b0c15adb425
openstack
production: docker
python-
release: '7.0'
Changed in fuel: | |
status: | New → Incomplete |
Changed in murano: | |
milestone: | none → newton-2 |
Changed in murano: | |
importance: | Undecided → High |
Changed in fuel: | |
importance: | Undecided → High |
Changed in murano: | |
status: | New → Incomplete |
Changed in fuel: | |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
Changed in murano: | |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
tags: | added: area-library |
Changed in murano: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → nobody |
Changed in fuel: | |
milestone: | none → 10.0 |
status: | Incomplete → Invalid |
Changed in murano: | |
milestone: | newton-2 → newton-3 |
Again, tried to reproduce this issue a few times and got the same result. Connected to an instance that murano has created and found the next info in logs from murano-agent.log:
WARNING: The following packages cannot be authenticated! readkey- perl mysql-client-5.5 mysql-client venvs/murano- agent/local/ lib/python2. 7/site- packages/ muranoagent/ executors/ application/ __init_ _.py:69 s.sh' execution stderr: 'W: Failed to fetch http:// http.debian. net/debian/ dists/jessie/ InRelease
mysql-common libmysqlclient18 libdbi-perl libdbd-mysql-perl
libterm-
' run /opt/stack/
2016-05-25 12:19:32.371 510 DEBUG application [-] 'deployWordPres
W: Failed to fetch http:// http.debian. net/debian/ dists/jessie- backports/ InRelease
W: Failed to fetch http:// http.debian. net/debian/ dists/jessie/ Release. gpg Could not resolve 'http.debian.net'
W: Failed to fetch http:// http.debian. net/debian/ dists/jessie- backports/ Release. gpg Could not resolve 'http.debian.net'
W: Some index files failed to download. They have been ignored, or old ones used instead. wordpress. org/latest. zip html/wordpress’ : No such file or directory html/wordpress’ : No such file or directory sample. php’: No such file or directory venvs/murano- agent/local/ lib/python2. 7/site- packages/ muranoagent/ executors/ application/ __init_ _.py:73 venvs/murano- agent/local/ lib/python2. 7/site- packages/ muranoagent/ app.py" , line 89, in _run venvs/murano- agent/local/ lib/python2. 7/site- packages/ muranoagent/ execution_ plan_runner. py", line 39, in run globals[ '__execution_ plan_exception' ]
E: There are problems and -y was used without --force-yes
E: There are problems and -y was used without --force-yes
E: There are problems and -y was used without --force-yes
--2016-05-25 12:18:47-- http://
Resolving wordpress.org (wordpress.org)... failed: Name or service not known.
wget: unable to resolve host address ‘wordpress.org’
sudo: unzip: command not found
chown: cannot access ‘/var/www/
chmod: cannot access ‘/var/www/
cp: cannot stat ‘wp-config-
' run /opt/stack/
2016-05-25 12:19:32.386 510 ERROR muranoagent.app [-] Error running execution plan
2016-05-25 12:19:32.386 510 TRACE muranoagent.app Traceback (most recent call last):
2016-05-25 12:19:32.386 510 TRACE muranoagent.app File "/opt/stack/
2016-05-25 12:19:32.386 510 TRACE muranoagent.app result = runner.run()
2016-05-25 12:19:32.386 510 TRACE muranoagent.app File "/opt/stack/
2016-05-25 12:19:32.386 510 TRACE muranoagent.app raise script_
2016-05-25 12:19:32.386 510 TRACE muranoagent.app CustomException: Script deploy returned error code
2016-05-25 12:19:32.386 510 TRACE muranoagent.app