MU installation using "fuel2 update" failed on "deployment_graph_task_name"=>"primary-database"

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

Bug Description

Detailed bug description:
 9.1 MU installation to 9.0 cluster failed on "deployment_graph_task_name"=>"primary-database"

Steps to reproduce:
1) Deploy any 9.0 cluster
2) configure additional yum repo:http://mirror.fuel-infra.org/mos-repos/centos/mos9.0-centos7/snapshots/proposed-latest/x86_64/
3)yum -y update fuel-nailgun fuel-utils python-fuelclient rubygem-astute
  bash /usr/share/fuel-utils/update-master-node.sh
4) yum install -y python-cudet
5) fuel2 update --env 1 install (--restart-rabbitmq|--restart-mysql)

Expected results:
MU successfully installed by deployment task

Actual result:
[6948] Casting message to Nailgun:
{"method"=>"deploy_resp",
"args"=>
 {"task_uuid"=>"ac619662-c5d3-4592-bb85-509f0503d009",
  "nodes"=>
   [{"uid"=>"1",
     "progress"=>100,
     "status"=>"error",
     "error_type"=>"deploy",
     "deployment_graph_task_name"=>"primary-database",
     "task_status"=>"error",
     "custom"=>
      {:time=>
        {"anchor"=>0.000199158,
         "config_retrieval"=>12.846845789,
         "exec"=>0.09396974000000001,
         "file"=>0.026715691,
         "filebucket"=>0.000127939,
         "mysql_user"=>0.080810804,
         "notify"=>0.001583388,
         "package"=>0.000687008,
         "pcmk_resource"=>0.935618344,
         "schedule"=>0.0016262719999999998,
         "service"=>6.321079003,
         "total"=>20.309263136,
         "last_run"=>1472564377},
       :resources=>
        {"changed_resources"=>"Notify[restarting MySQL DB services]",
         "failed_resources"=>"Mysql_user[root@localhost]",
         "failed"=>1,
         "changed"=>1,
         "total"=>46,
         "restarted"=>3,
         "out_of_sync"=>2,
         "failed_to_restart"=>0,
         "scheduled"=>0,
         "skipped"=>16},
       :changes=>{"total"=>1},
       :events=>{"failure"=>1, "success"=>1, "total"=>2},
       :version=>{"config"=>1472564269, "puppet"=>"3.8.5"},
       :raw_report=>nil,
       :err_msg=>
        "Process not running but not empty lockfile is present. Trying to remove lockfile...ok.",
       :status=>"stopped",
       :running=>0,
       :enabled=>1,
       :idling=>0,
       :stopped=>1,
       :lastrun=>1472564377,
       :runtime=>2,
       :output=>"Currently stopped; last completed run 2 seconds ago"},
     "error_msg"=>"Task primary-database failed on node 1"}]}}
2016-08-30 13:39:39 ERROR [6948] Node 1(primary-database) status: error

from puppet-logs on failed node:
2016-08-30 13:39:35 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.29.8' (111)
2016-08-30 13:39:35 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 '*419608B7E11B83DCF6F2B64922847BDB5A03649F'' returned 1: ERROR 2003 (HY000): Can't connect to MySQL server on '10.109.29.8' (111)

cat /etc/fuel_build_id:
 495
cat /etc/fuel_build_number:
 495
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-misc-9.0.0-1.mos8558.noarch
 rubygem-astute-9.0.0-1.mos761.noarch
 fuel-ostf-9.0.0-1.mos940.noarch
 fuel-notify-9.0.0-1.mos8558.noarch
 shotgun-9.0.0-1.mos90.noarch
 fuelmenu-9.0.0-1.mos275.noarch
 fuel-utils-9.0.0-1.mos8558.noarch
 fuel-mirror-9.0.0-1.mos144.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8790.noarch
 fuel-agent-9.0.0-1.mos289.noarch
 fuel-ui-9.0.0-1.mos2778.noarch
 network-checker-9.0.0-1.mos74.x86_64
 fuel-nailgun-9.0.0-1.mos8790.noarch
 fuel-bootstrap-cli-9.0.0-1.mos289.noarch
 nailgun-mcagents-9.0.0-1.mos761.noarch
 fuel-migrate-9.0.0-1.mos8558.noarch
 python-fuelclient-9.0.0-1.mos341.noarch
 fuel-9.0.0-1.mos6352.noarch
 fuel-release-9.0.0-1.mos6352.noarch
 python-packetary-9.0.0-1.mos144.noarch
 fuel-library9.0-9.0.0-1.mos8558.noarch
 fuel-openstack-metadata-9.0.0-1.mos8790.noarch
 fuel-setup-9.0.0-1.mos6352.noarch

Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

I don't see update repos enabled

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