ubuntu ha vcenter failed deployment

Bug #1357129 reported by Andrew Woodward
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Albert Syriy
5.1.x
Fix Released
High
MOS Linux
6.0.x
Fix Released
High
Albert Syriy
6.1.x
Won't Fix
High
Albert Syriy

Bug Description

{"build_id": "2014-08-11_13-56-51", "ostf_sha": "acf52a59e04fa74d2ed2b68ea225f4d24403b264", "build_number": "423", "auth_required": true, "api": "1.0", "nailgun_sha": "2741cdc0f0615263db2f176899d406207ec4ac04", "production": "docker", "fuelmain_sha": "9d4463400b4924159c978af43855e48bcf2a84b2", "astute_sha": "b52910642d6de941444901b0f20e95ebbcb2b2e9", "feature_groups": ["mirantis"], "release": "5.1", "fuellib_sha": "d9b93edb53c44900bd5bc2c25e7c8af0a1310645"}

ubuntu ha vcenter (nova dhcp) with vmkd for cinder
3 controllers (ESXi vm's)
+ vcenter

deployment stops on first controller with multiple package errors

fuel node is 172.18.123.36 (default credentials) and will be online for further inspection the next ~14 hours

2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) E: Sub-process /usr/bin/dpkg returned an error code (1)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) mysql-server-wsrep-5.6
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Errors were encountered while processing:
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) No apport report written because MaxReports is reached already
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) subprocess installed post-installation script returned error exit status 123
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) dpkg: error processing mysql-server-wsrep-5.6 (--configure):
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) ...fail!
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) AppArmor parser error for /etc/apparmor.d/usr.sbin.libvirtd in /etc/apparmor.d/usr.sbin.libvirtd at line 37: syntax error, unexpected TOK_CONDID, expecting TOK_MODE
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) * Reloading AppArmor profiles
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) --defaults-file argument to mysqld_safe when starting the server
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) If you do not want to use this, either remove it, or use the
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) This file will be read by default by the MySQL server
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) WARNING: Default config file /etc/mysql/my.cnf exists on the system
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) --defaults-file argument to mysqld_safe when starting the server
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) If you do not want to use this, either remove it, or use the
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) This file will be read by default by the MySQL server
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) WARNING: Default config file /etc/my.cnf exists on the system
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) please compare it with your file and take the changes you need.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) The new default config file was created as /usr/my-new.cnf,
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) and when you later start the server.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) but was used in bootstrap (unless you used --defaults-file)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Because this file might be in use, it was not replaced,
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) WARNING: Found existing config file /usr/my.cnf on the system.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Support MySQL by buying support/licenses at http://shop.mysql.com
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) http://www.mysql.com
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) The latest information about MySQL is available on the web at
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Please report any problems at http://bugs.mysql.com/
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) cd mysql-test ; perl mysql-test-run.pl
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) You can test the MySQL daemon with mysql-test-run.pl
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) cd /usr ; /usr/bin/mysqld_safe &
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) You can start the MySQL daemon with:
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) See the manual for more instructions.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) strongly recommended for production servers.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) databases and anonymous user created by default. This is
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) which will also give you the option of removing the test
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) /usr/bin/mysql_secure_installation
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Alternatively you can run:
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) /usr/bin/mysqladmin -u root -h node-1 password 'new-password'
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) /usr/bin/mysqladmin -u root password 'new-password'
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) To do so, start the server, then issue the following commands:
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) support-files/mysql.server to the right place for your system
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) To start mysqld at boot time you have to copy
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) OK
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) 2014-08-14 22:59:12 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Filling help tables...2014-08-14 22:59:12 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) OK
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) 2014-08-14 22:59:07 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Installing MySQL system tables...2014-08-14 22:59:07 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Setting up mysql-server-wsrep-5.6 (5.6.16-ubuntu3) ...
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) After this operation, 0 B of additional disk space will be used.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) 1 not fully installed or removed.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) ifenslave-2.6 is already the newest version.
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Reading state information...
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Building dependency tree...
2014-08-14 23:59:15 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install ifenslave' returned 100: Reading package lists...
2014-08-14 23:59:15 ERR
 /usr/bin/puppet:4
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:478:in `exit_on_fail'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application.rb:470:in `plugin_hook'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:146:in `run_command'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:218:in `main'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:268:in `apply_catalog'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:192:in `run'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:124:in `apply_catalog'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `benchmark'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:125:in `apply_catalog'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:163:in `apply'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:108:in `as_logging_destination'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:164:in `apply'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `evaluate'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `thinmark'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `evaluate'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:187:in `eval_resource'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:174:in `apply'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:18:in `evaluate'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:81:in `perform_changes'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:81:in `each'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:82:in `perform_changes'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:130:in `sync_if_needed'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:193:in `sync'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/property.rb:498:in `set'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/property.rb:197:in `call_valuemethod'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/property.rb:197:in `send'
2014-08-14 23:59:15 ERR
 /etc/puppet/modules/package/lib/puppet/type/package.rb:68:in `set_present'
2014-08-14 23:59:15 ERR
 /etc/puppet/modules/package/lib/puppet/provider/package/apt.rb:131:in `install'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/provider.rb:444:in `aptget'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/provider.rb:444:in `send'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/provider.rb:237:in `aptget'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/provider/command.rb:23:in `execute'
2014-08-14 23:59:15 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util/execution.rb:188:in `execute'
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 E: Sub-process /usr/bin/dpkg returned an error code (1)
2014-08-14 23:59:15 ERR
  mysql-server-wsrep-5.6
2014-08-14 23:59:15 ERR
 Errors were encountered while processing:
2014-08-14 23:59:15 ERR
 No apport report written because MaxReports is reached already
2014-08-14 23:59:15 ERR
  subprocess installed post-installation script returned error exit status 123
2014-08-14 23:59:15 ERR
 dpkg: error processing mysql-server-wsrep-5.6 (--configure):
2014-08-14 23:59:15 ERR
    ...fail!
2014-08-14 23:59:15 ERR
 Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
2014-08-14 23:59:15 ERR
 AppArmor parser error for /etc/apparmor.d/usr.sbin.libvirtd in /etc/apparmor.d/usr.sbin.libvirtd at line 37: syntax error, unexpected TOK_CONDID, expecting TOK_MODE
2014-08-14 23:59:15 ERR
  * Reloading AppArmor profiles
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 --defaults-file argument to mysqld_safe when starting the server
2014-08-14 23:59:15 ERR
 If you do not want to use this, either remove it, or use the
2014-08-14 23:59:15 ERR
 This file will be read by default by the MySQL server
2014-08-14 23:59:15 ERR
 WARNING: Default config file /etc/mysql/my.cnf exists on the system
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 --defaults-file argument to mysqld_safe when starting the server
2014-08-14 23:59:15 ERR
 If you do not want to use this, either remove it, or use the
2014-08-14 23:59:15 ERR
 This file will be read by default by the MySQL server
2014-08-14 23:59:15 ERR
 WARNING: Default config file /etc/my.cnf exists on the system
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 please compare it with your file and take the changes you need.
2014-08-14 23:59:15 ERR
 The new default config file was created as /usr/my-new.cnf,
2014-08-14 23:59:15 ERR
 and when you later start the server.
2014-08-14 23:59:15 ERR
 but was used in bootstrap (unless you used --defaults-file)
2014-08-14 23:59:15 ERR
 Because this file might be in use, it was not replaced,
2014-08-14 23:59:15 ERR
 WARNING: Found existing config file /usr/my.cnf on the system.
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 Support MySQL by buying support/licenses at http://shop.mysql.com
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
   http://www.mysql.com
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 The latest information about MySQL is available on the web at
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 Please report any problems at http://bugs.mysql.com/
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
   cd mysql-test ; perl mysql-test-run.pl
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 You can test the MySQL daemon with mysql-test-run.pl
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
   cd /usr ; /usr/bin/mysqld_safe &
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 You can start the MySQL daemon with:
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 See the manual for more instructions.
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 strongly recommended for production servers.
2014-08-14 23:59:15 ERR
 databases and anonymous user created by default. This is
2014-08-14 23:59:15 ERR
 which will also give you the option of removing the test
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
   /usr/bin/mysql_secure_installation
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 Alternatively you can run:
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
   /usr/bin/mysqladmin -u root -h node-1 password 'new-password'
2014-08-14 23:59:15 ERR
   /usr/bin/mysqladmin -u root password 'new-password'
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 To do so, start the server, then issue the following commands:
2014-08-14 23:59:15 ERR
 PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 support-files/mysql.server to the right place for your system
2014-08-14 23:59:15 ERR
 To start mysqld at boot time you have to copy
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 OK
2014-08-14 23:59:15 ERR
 2014-08-14 22:59:12 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-08-14 23:59:15 ERR
 Filling help tables...2014-08-14 22:59:12 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-08-14 23:59:15 ERR

2014-08-14 23:59:15 ERR
 OK
2014-08-14 23:59:15 ERR
 2014-08-14 22:59:07 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-08-14 23:59:15 ERR
 Installing MySQL system tables...2014-08-14 22:59:07 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-08-14 23:59:15 ERR
 After this operation, 0 B of additional disk space will be used.
2014-08-14 23:59:15 ERR
 1 not fully installed or removed.
2014-08-14 23:59:15 ERR
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2014-08-14 23:59:15 ERR
 ifenslave-2.6 is already the newest version.
2014-08-14 23:59:15 ERR
 Reading state information...
2014-08-14 23:59:15 ERR
 Building dependency tree...
2014-08-14 23:59:15 ERR
 Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install ifenslave' returned 100: Reading package lists...
2014-08-14 23:59:15 ERR
 Setting up mysql-server-wsrep-5.6 (5.6.16-ubuntu3) ...
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) E: Sub-process /usr/bin/dpkg returned an error code (1)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) mysql-server-wsrep-5.6
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Errors were encountered while processing:
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) No apport report written because MaxReports is reached already
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) subprocess installed post-installation script returned error exit status 123
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) dpkg: error processing mysql-server-wsrep-5.6 (--configure):
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) ...fail!
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) AppArmor parser error for /etc/apparmor.d/usr.sbin.libvirtd in /etc/apparmor.d/usr.sbin.libvirtd at line 37: syntax error, unexpected TOK_CONDID, expecting TOK_MODE
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) * Reloading AppArmor profiles
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) --defaults-file argument to mysqld_safe when starting the server
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) If you do not want to use this, either remove it, or use the
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) This file will be read by default by the MySQL server
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) WARNING: Default config file /etc/mysql/my.cnf exists on the system
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) --defaults-file argument to mysqld_safe when starting the server
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) If you do not want to use this, either remove it, or use the
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) This file will be read by default by the MySQL server
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) WARNING: Default config file /etc/my.cnf exists on the system
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) please compare it with your file and take the changes you need.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) The new default config file was created as /usr/my-new.cnf,
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) and when you later start the server.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) but was used in bootstrap (unless you used --defaults-file)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Because this file might be in use, it was not replaced,
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) WARNING: Found existing config file /usr/my.cnf on the system.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Support MySQL by buying support/licenses at http://shop.mysql.com
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) http://www.mysql.com
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) The latest information about MySQL is available on the web at
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Please report any problems at http://bugs.mysql.com/
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) cd mysql-test ; perl mysql-test-run.pl
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) You can test the MySQL daemon with mysql-test-run.pl
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) cd /usr ; /usr/bin/mysqld_safe &
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) You can start the MySQL daemon with:
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) See the manual for more instructions.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) strongly recommended for production servers.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) databases and anonymous user created by default. This is
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) which will also give you the option of removing the test
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) /usr/bin/mysql_secure_installation
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Alternatively you can run:
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) /usr/bin/mysqladmin -u root -h node-1 password 'new-password'
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) /usr/bin/mysqladmin -u root password 'new-password'
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) To do so, start the server, then issue the following commands:
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) support-files/mysql.server to the right place for your system
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) To start mysqld at boot time you have to copy
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) OK
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) 2014-08-14 22:59:03 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Filling help tables...2014-08-14 22:59:03 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure)
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) OK
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) 2014-08-14 22:58:58 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Installing MySQL system tables...2014-08-14 22:58:58 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Setting up mysql-server-wsrep-5.6 (5.6.16-ubuntu3) ...
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) After this operation, 0 B of additional disk space will be used.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) 1 not fully installed or removed.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) ifenslave-2.6 is already the newest version.
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Reading state information...
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) Building dependency tree...
2014-08-14 23:59:06 ERR
 (/Stage[netconfig]/L23network::L2/Package[ifenslave]/ensure) change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install ifenslave' returned 100: Reading package lists...
2014-08-14 23:59:06 ERR
 /usr/bin/puppet:4
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:478:in `exit_on_fail'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application.rb:470:in `plugin_hook'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:146:in `run_command'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:218:in `main'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:268:in `apply_catalog'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:192:in `run'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:124:in `apply_catalog'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `benchmark'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:125:in `apply_catalog'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:163:in `apply'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:108:in `as_logging_destination'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:164:in `apply'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `evaluate'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `thinmark'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `evaluate'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:187:in `eval_resource'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:174:in `apply'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:18:in `evaluate'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:77:in `perform_changes'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:107:in `manage_via_ensure_if_possible'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:130:in `sync_if_needed'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:193:in `sync'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/property.rb:498:in `set'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/property.rb:197:in `call_valuemethod'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/property.rb:197:in `send'
2014-08-14 23:59:06 ERR
 /etc/puppet/modules/package/lib/puppet/type/package.rb:68:in `set_present'
2014-08-14 23:59:06 ERR
 /etc/puppet/modules/package/lib/puppet/provider/package/apt.rb:131:in `install'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/provider.rb:444:in `aptget'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/provider.rb:444:in `send'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/provider.rb:237:in `aptget'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/provider/command.rb:23:in `execute'
2014-08-14 23:59:06 ERR
 /usr/lib/ruby/vendor_ruby/puppet/util/execution.rb:188:in `execute'
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 E: Sub-process /usr/bin/dpkg returned an error code (1)
2014-08-14 23:59:06 ERR
  mysql-server-wsrep-5.6
2014-08-14 23:59:06 ERR
 Errors were encountered while processing:
2014-08-14 23:59:06 ERR
 No apport report written because MaxReports is reached already
2014-08-14 23:59:06 ERR
  subprocess installed post-installation script returned error exit status 123
2014-08-14 23:59:06 ERR
 dpkg: error processing mysql-server-wsrep-5.6 (--configure):
2014-08-14 23:59:06 ERR
    ...fail!
2014-08-14 23:59:06 ERR
 Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
2014-08-14 23:59:06 ERR
 AppArmor parser error for /etc/apparmor.d/usr.sbin.libvirtd in /etc/apparmor.d/usr.sbin.libvirtd at line 37: syntax error, unexpected TOK_CONDID, expecting TOK_MODE
2014-08-14 23:59:06 ERR
  * Reloading AppArmor profiles
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 --defaults-file argument to mysqld_safe when starting the server
2014-08-14 23:59:06 ERR
 If you do not want to use this, either remove it, or use the
2014-08-14 23:59:06 ERR
 This file will be read by default by the MySQL server
2014-08-14 23:59:06 ERR
 WARNING: Default config file /etc/mysql/my.cnf exists on the system
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 --defaults-file argument to mysqld_safe when starting the server
2014-08-14 23:59:06 ERR
 If you do not want to use this, either remove it, or use the
2014-08-14 23:59:06 ERR
 This file will be read by default by the MySQL server
2014-08-14 23:59:06 ERR
 WARNING: Default config file /etc/my.cnf exists on the system
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 please compare it with your file and take the changes you need.
2014-08-14 23:59:06 ERR
 The new default config file was created as /usr/my-new.cnf,
2014-08-14 23:59:06 ERR
 and when you later start the server.
2014-08-14 23:59:06 ERR
 but was used in bootstrap (unless you used --defaults-file)
2014-08-14 23:59:06 ERR
 Because this file might be in use, it was not replaced,
2014-08-14 23:59:06 ERR
 WARNING: Found existing config file /usr/my.cnf on the system.
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 Support MySQL by buying support/licenses at http://shop.mysql.com
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
   http://www.mysql.com
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 The latest information about MySQL is available on the web at
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 Please report any problems at http://bugs.mysql.com/
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
   cd mysql-test ; perl mysql-test-run.pl
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 You can test the MySQL daemon with mysql-test-run.pl
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
   cd /usr ; /usr/bin/mysqld_safe &
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 You can start the MySQL daemon with:
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 See the manual for more instructions.
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 strongly recommended for production servers.
2014-08-14 23:59:06 ERR
 databases and anonymous user created by default. This is
2014-08-14 23:59:06 ERR
 which will also give you the option of removing the test
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
   /usr/bin/mysql_secure_installation
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 Alternatively you can run:
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
   /usr/bin/mysqladmin -u root -h node-1 password 'new-password'
2014-08-14 23:59:06 ERR
   /usr/bin/mysqladmin -u root password 'new-password'
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 To do so, start the server, then issue the following commands:
2014-08-14 23:59:06 ERR
 PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 support-files/mysql.server to the right place for your system
2014-08-14 23:59:06 ERR
 To start mysqld at boot time you have to copy
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 OK
2014-08-14 23:59:06 ERR
 2014-08-14 22:59:03 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-08-14 23:59:06 ERR
 Filling help tables...2014-08-14 22:59:03 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-08-14 23:59:06 ERR

2014-08-14 23:59:06 ERR
 OK
2014-08-14 23:59:06 ERR
 2014-08-14 22:58:58 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-08-14 23:59:06 ERR
 Installing MySQL system tables...2014-08-14 22:58:58 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-08-14 23:59:06 ERR
 Setting up mysql-server-wsrep-5.6 (5.6.16-ubuntu3) ...
2014-08-14 23:59:06 ERR
 After this operation, 0 B of additional disk space will be used.
2014-08-14 23:59:06 ERR
 1 not fully installed or removed.
2014-08-14 23:59:06 ERR
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2014-08-14 23:59:06 ERR
 ifenslave-2.6 is already the newest version.
2014-08-14 23:59:06 ERR
 Reading state information...
2014-08-14 23:59:06 ERR
 Building dependency tree...
2014-08-14 23:59:06 ERR
 Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install ifenslave' returned 100: Reading package lists...

Tags: vcenter
Revision history for this message
Andrew Woodward (xarses) wrote :
Changed in fuel:
milestone: none → 5.1
Changed in fuel:
assignee: nobody → Andrey Danin (gcon-monolake)
Changed in fuel:
assignee: Andrey Danin (gcon-monolake) → Igor Gajsin (igajsin)
Changed in fuel:
status: New → Confirmed
description: updated
tags: added: vcenter
Revision history for this message
Andrey Danin (gcon-monolake) wrote :

Related bug about AppArmor and Libvirt is https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1307436

Changed in fuel:
assignee: Igor Gajsin (igajsin) → Fuel Library Team (fuel-library)
Revision history for this message
Andrey Danin (gcon-monolake) wrote :

It seems, that libvirtd package breaks AppArmor rules and prevent an installation of Galera and other packages. I'll try to investigate, is this a vCenter-specific issue or not.

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Andrey Danin (gcon-monolake)
Changed in fuel:
assignee: Andrey Danin (gcon-monolake) → Fuel Library Team (fuel-library)
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

this issue affects only vcenter-enabled installations. reassigning

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Stepan Rogov (srogov)
Stepan Rogov (srogov)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Stepan Rogov (srogov) wrote :
Revision history for this message
Mike Scherbakov (mihgen) wrote :

We might want to get mos-linux team to address it. We should just workaround it somehow if possible: we are way behind of the time when it was Ok to update system packages.

Revision history for this message
Stepan Rogov (srogov) wrote :

Ok. Here we go.
Bug because:
1. When the hypervisor is vcenter, then installed packages (nova-compute-kvm, nova-compute-libvirt), which depend on the libvirt.
2. Package libvirt brings the rules for apparmor (/etc/apparmor.d/usr.sbin.libvirtd). These rules have a new syntax, which apparmor does not understand (/etc/apparmor.d/usr.sbin.libvirtd at line 37).
3. When installing mysql-server-wsrep-5.6 apparmor is restarted in post-install. And it does not run, because does not understand the new syntax.
4. Deploy failed.

I've been little research and found out that this was due to the fact that libvirt too new.
Accordingly need to update apparmor. But in the next versions there is a bug (https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1214979). A newer require new Perl and Python3(which in turn requires new openssl (((( ).
Therefore I propose to add patch "0041-parser-fix-flags.patch" (from versions >= 2.8.0-0ubuntu31) in the package apparmor_2.8.0-0ubuntu11_amd64, and rebuild it.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

What would the risks of applying this patch at such a late moment into kernel security module (apparmor)? What else makes use of apparmor, so what can potentially be affected, if we get some bug along with the patch?

Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

Just wipe out apparmor rules that break it. We will not update perl and python and ssl right now.

Revision history for this message
Stepan Rogov (srogov) wrote :

I tried to compile the package version 2.8.0-0ubuntu11_amd64 with this patch, it is still the same error.
Therefore, as Vladimir suggests, you need in package libvirt in the file /etc/apparmor.d/usr.sbin.libvirtd comment out the following lines:
dbus bus = system,
signal,
ptrace,

Revision history for this message
Stepan Rogov (srogov) wrote :

This solution is suitable for 5.1, but in 6.0 is necessary to do it right ( update apparmor to required version -> = 2.8.95 and its dependencies).

Changed in fuel:
assignee: Stepan Rogov (srogov) → MOS Linux (mos-linux)
Revision history for this message
Stepan Rogov (srogov) wrote :

Patch in right format

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package libvirt has been built from changeset: http://gerrit.mirantis.com/21463
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-21463/ubuntu
You can build an ISO with this package:
make iso EXTRA_DEB_REPOS="http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-21463/ubuntu /"

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package libvirt has been built from changeset: http://gerrit.mirantis.com/21463
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable/ubuntu
You can build an ISO with this package:
make iso EXTRA_DEB_REPOS="http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable/ubuntu /"

Stepan Rogov (srogov)
Changed in fuel:
status: In Progress → Fix Released
Revision history for this message
Albert Syriy (asyriy) wrote :

The new apparmor package version release was moved to 6.1 branch due to using Ubuntu 12 in the 6.0
Ubuntu 14 are going to appear at 6.1 with new apparmor package.
Currently code from 5.1 branch has been used in 6.0. Nothing to do now.

Albert Syriy (asyriy)
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.