{"build_id": "165", "build_number": "165", "release_versions": {"2015.1.0-7.0": {"VERSION": {"build_id": "165", "build_number": "165", "api": "1.0", "fuel-library_sha": "5d50055aeca1dd0dc53b43825dc4c8f7780be9dd", "nailgun_sha": "4162b0c15adb425b37608c787944d1983f543aa8", "feature_groups": ["experimental"], "fuel-nailgun-agent_sha": "d7027952870a35db8dc52f185bb1158cdd3d1ebd", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "50e90af6e3d560e9085ff71d2950cfbcca91af67", "production": "docker", "python-fuelclient_sha": "486bde57cda1badb68f915f66c61b544108606f3", "astute_sha": "6c5b73f93e24cc781c809db9159927655ced5012", "fuel-ostf_sha": "2cd967dccd66cfc3a0abd6af9f31e5b4d150a11c", "release": "7.0", "fuelmain_sha": "a65d453215edb0284a2e4761be7a156bb5627677"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "5d50055aeca1dd0dc53b43825dc4c8f7780be9dd", "nailgun_sha": "4162b0c15adb425b37608c787944d1983f543aa8", "feature_groups": ["experimental"], "fuel-nailgun-agent_sha": "d7027952870a35db8dc52f185bb1158cdd3d1ebd", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "50e90af6e3d560e9085ff71d2950cfbcca91af67", "production": "docker", "python-fuelclient_sha": "486bde57cda1badb68f915f66c61b544108606f3", "astute_sha": "6c5b73f93e24cc781c809db9159927655ced5012", "fuel-ostf_sha": "2cd967dccd66cfc3a0abd6af9f31e5b4d150a11c", "release": "7.0", "fuelmain_sha": "a65d453215edb0284a2e4761be7a156bb5627677"}
I'm deploying MOS 7.0 with local ubuntu mirror. If some ubuntu packages are absent deployment fails.
After redeployment we get puppet error because manifest are trying to create user nova in mysql whereas this user was already created. It looks like manifest aren't idempotent .
It's commercial deployment and I can't provide you with diagnostic snapshot because of customers security rules.
That's the error from puppet log:
2016-01-23 01:47:50 +0000 Puppet (err): Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf mysql -e create user 'nova'@'cntl-SV-001' identified by PASSWORD '*CD404B6942DAB5A6EF07255F2F935118419D131F'' returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'nova'@'cntl-sv-001'
2016-01-23 01:47:50 +0000 /Stage[main]/Nova::Db::Mysql/Openstacklib::Db::Mysql[nova]/Openstacklib::Db::Mysql::Host_access[nova_cntl-SV-001]/Database_user[nova@cntl-SV-001]/ensure (err): change from absent to present failed: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf mysql -e create user 'nova'@'cntl-SV-001' identified by PASSWORD '*CD404B6942DAB5A6EF07255F2F935118419D131F'' returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'nova'@'cntl-sv-001'
2016-01-23 01:48:12 +0000 Puppet (err): Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf mysql -e create user 'nova'@'cntl-SV-001' identified by PASSWORD '*CD404B6942DAB5A6EF07255F2F935118419D131F'' returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'nova'@'cntl-sv-001'
2016-01-23 01:48:12 +0000 /Stage[main]/Nova::Db::Mysql/Openstacklib::Db::Mysql[nova]/Openstacklib::Db::Mysql::Host_access[nova_cntl-SV-001]/Database_user[nova@cntl-SV-001]/ensure (err): change from absent to present failed: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf mysql -e create user 'nova'@'cntl-SV-001' identified by PASSWORD '*CD404B6942DAB5A6EF07255F2F935118419D131F'' returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'nova'@'cntl-sv-001'
2016-01-23 01:48:32 +0000 Puppet (err): Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf mysql -e create user 'nova'@'cntl-SV-001' identified by PASSWORD '*CD404B6942DAB5A6EF07255F2F935118419D131F'' returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'nova'@'cntl-sv-001'
2016-01-23 01:48:32 +0000 /Stage[main]/Nova::Db::Mysql/Openstacklib::Db::Mysql[nova]/Openstacklib::Db::Mysql::Host_access[nova_cntl-SV-001]/Database_user[nova@cntl-SV-001]/ensure (err): change from absent to present failed: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf mysql -e create user 'nova'@'cntl-SV-001' identified by PASSWORD '*CD404B6942DAB5A6EF07255F2F935118419D131F'' returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'nova'@'cntl-sv-001'
Can you provide the purged packages that we have step to reproduce