Cannot intall MU due to "Deployment has failed. All nodes are finished. Failed tasks: Task[primary-database/1] Stopping the deployment process!"

Bug #1623976 reported by Artem Hrechanychenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel Sustaining

Bug Description

Detailed bug description:

 2016-09-15 13:00:10 ERR Could not prefetch mysql_grant provider 'mysql': Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2003 (HY000): Can't connect to MySQL server on '10.109.81.6' (113)
2016-09-15 13:00:07 ERR (/Stage[main]/Mysql::Server::Root_password/Mysql_user[root@localhost]/ensure) change from absent to present failed: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -e CREATE USER 'root'@'localhost' IDENTIFIED BY PASSWORD '*12C73F98FB50460078E73F5A783C83BB53DB920F'' returned 1: ERROR 2003 (HY000): Can't connect to MySQL server on '10.109.81.6' (113)

root@node-1:~# mysql -h localhost -e "show status like 'wsrep_%state'"
+-------------------+-------------+
| Variable_name | Value |
+-------------------+-------------+
| wsrep_local_state | 4 |
| wsrep_evs_state | OPERATIONAL |
+-------------------+-------------+
root@node-1:~# mysql -e "show status like 'wsrep_%state'"

root@node-1:~# apt-cache policy haproxy
haproxy:
 Installed: 1.5.3-1~u14.04+mos2
 Candidate: 1.6.3-1~u14.04+mos2
 Version table:
    1.6.3-1~u14.04+mos2 0
      1200 http://mirror.fuel-infra.org/mos-repos/ubuntu/snapshots/9.0-2016-09-14-182322/ mos9.0-proposed/main amd64 Packages
*** 1.5.3-1~u14.04+mos2 0
      1050 http://10.109.80.2:8080/mitaka-9.0/ubuntu/x86_64/ mos9.0/main amd64 Packages
       100 /var/lib/dpkg/status
    1.4.24-2ubuntu0.4 0
      1001 http://mirror.seed-cz1.fuel-infra.org/pkgs/ubuntu-2016-09-14-213640/ trusty-updates/main amd64 Packages
    1.4.24-2 0
      1001 http://mirror.seed-cz1.fuel-infra.org/pkgs/ubuntu-2016-09-14-213640/ trusty/main amd64 Packages

Steps to reproduce:
 1) Deploy any 9.0 env
2) add latest snapshot of mos/centos repo
3) install python-cudet package
4) add latest proposed mos ubuntu repo for cluster http://mirror.fuel-infra.org/mos-repos/ubuntu/snapshots/9.0-2016-09-14-182322/dists/
5) deploy new repo to cluster
6) run "update-prepare prepare master, update-prepare prepare env env_id, update-prepare update master"
7) run "fuel2 updates --env env_id --repos test-proposed --restart-rabbit --restart-mysql install

Expected results:
 MU successfully installed
Actual result:
 Deployment has failed. All nodes are finished. Failed tasks: Task[primary-database/1]

Tags: area-library
Revision history for this message
Artem Hrechanychenko (agrechanichenko) wrote :
summary: - Detailed bug description: 2016-09-15 13:00:10 ERR Could not
- prefetch mysql_grant provider 'mysql': Execution of '/usr/bin/mysql
- --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, '@',Host)
- AS User FROM mysql.user' returned 1: ERROR 2003 (HY000): Can't connect
- to MySQL server on '10.109.81.6' (113) 2016-09-15 13:00:07 ERR
- (/Stage[main]/Mysql::Server::Root_password/Mysql_user[root@localhost]/ensure)
- change from absent to present failed: Execution of '/usr/bin/mysql
- --defaults-extra-file=/root/.my.cnf -e CREATE USER 'root'@'localhost'
- IDENTIFIED BY PASSWORD '*12C73F98FB50460078E73F5A783C83BB53DB920F''
- returned 1: ERROR 2003 (HY000): Can't connect to MySQL server on
- '10.109.81.6' (113) root@node-1:~# mysql -h localhost -e "show status
- like 'wsrep_%state'" +-------------------+-------------+ | Variable_name
- | Value | +-------------------+-------------+ | wsrep_local_state
- | 4 | | wsrep_evs_state | OPERATIONAL |
- +-------------------+-------------+ root@node-1:~# mysql -e "show status
- like 'wsrep_%state'" root@node-1:~# apt-cache policy haproxy haproxy:
- Installed: 1.5.3-1~u14.04+mos2 Candidate: 1.6.3-1~u14.04+mos2 Version
- table: 1.6.3-1~u14.04+mos2 0 1200 http://mirror.fuel-
- infra.org/mos-repos/ubuntu/snapshots/9.0-2016-09-14-182322/
- mos9.0-proposed/main amd64 Packages *** 1.5.3-1~u14.04+mos2 0 1050
- http://10.109.80.2:8080/mitaka-9.0/ubuntu/x86_64/ mos9.0/main amd64
- Packages 100 /var/lib/dpkg/status 1.4.24-2ubuntu0.4 0
- 1001 http://mirror.seed-cz1.fuel-
- infra.org/pkgs/ubuntu-2016-09-14-213640/ trusty-updates/main amd64
- Packages 1.4.24-2 0 1001 http://mirror.seed-cz1.fuel-
- infra.org/pkgs/ubuntu-2016-09-14-213640/ trusty/main amd64 Packages
- Steps to reproduce: 1) Deploy any 9.0 env 2) add latest snapshot of
- mos/centos repo 3) install python-cudet package 4) add latest proposed
- mos ubuntu repo for cluster 5) deploy new repo to cluster 6) run
- "update-prepare prepare master, update-prepare prepare env env_id,
- update-prepare update master" 7) run "fuel2 updates --env env_id --repos
- test-proposed --restart-rabbit --restart-mysql install Expected
- results: MU successfully installed Actual result: Deployment has
- failed. All nodes are finished. Failed tasks: Task[primary-database/1]
+ Cannot intall MU due to "Deployment has failed. All nodes are finished.
+ Failed tasks: Task[primary-database/1] Stopping the deployment process!"
tags: added: area-library
Changed in fuel:
status: New → Confirmed
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

You have set incorrect name for upgrade procedure. Real name is test_proposed, but you ran with test-proposed.

Changed in fuel:
status: Confirmed → Invalid
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.