Our deployment failed because of packages libnss3-tools and
libapache2-mod-fastcgi were absent in local mirror.
Probably you don't need to reproduce, just check manifests that creates
user nova. It tries to create new user even it already exists.
On Mon, Jan 25, 2016 at 9:48 PM, Ivan Ponomarev <email address hidden>
wrote:
> Can you provide the purged packages that we have step to reproduce
>
> ** Changed in: fuel
> Assignee: (unassigned) => Fuel Library Team (fuel-library)
>
> ** Tags added: area-library
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1537325
>
> Title:
> redeployment fails because of recreating user nova in mysql
>
> Status in Fuel for OpenStack:
> Confirmed
>
> Bug description:
> {"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'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/fuel/+bug/1537325/+subscriptions
>
--
Best Regards,
Gleb Galkin
OpenStack Deployment Engineer
Our deployment failed because of packages libnss3-tools and mod-fastcgi were absent in local mirror.
libapache2-
Probably you don't need to reproduce, just check manifests that creates
user nova. It tries to create new user even it already exists.
On Mon, Jan 25, 2016 at 9:48 PM, Ivan Ponomarev <email address hidden>
wrote:
> Can you provide the purged packages that we have step to reproduce /bugs.launchpad .net/bugs/ 1537325 0dc53b43825dc4c 8f7780be9dd" , "nailgun_sha": 5b37608c787944d 1983f543aa8" , "feature_groups": agent_sha" : db8dc52f185bb11 58cdd3d1ebd" , "openstack_ version" : e9085ff71d2950c fbcca91af67" , "production": "docker", fuelclient_ sha": "486bde57cda1ba db68f915f66c61b 544108606f3" , 781c809db915992 7655ced5012" , "fuel- c3a0abd6af9f31e 5b4d150a11c" , "release": 284a2e4761be7a1 56bb5627677" }}}, 0dc53b43825dc4c 8f7780be9dd" , "nailgun_sha": 5b37608c787944d 1983f543aa8" , "feature_groups": agent_sha" : db8dc52f185bb11 58cdd3d1ebd" , "openstack_ version" : e9085ff71d2950c fbcca91af67" , "production": "docker", fuelclient_ sha": "486bde57cda1ba db68f915f66c61b 544108606f3" , 781c809db915992 7655ced5012" , "fuel- c3a0abd6af9f31e 5b4d150a11c" , "release": 284a2e4761be7a1 56bb5627677" } extra-file= /root/. my.cnf mysql -e create user 'nova'@ 'cntl-SV- 001' 5A6EF07255F2F93 5118419D131F' ' 'cntl-sv- 001' main]/Nova: :Db::Mysql/ Openstacklib: :Db::Mysql[ nova]/Openstack lib::Db: :Mysql: :Host_access[ nova_cntl- SV-001] /Database_ user[nova@ cntl-SV- 001]/ensure extra-file= /root/. my.cnf mysql -e create user 'nova'@ 'cntl-SV- 001' 5A6EF07255F2F93 5118419D131F' ' 'cntl-sv- 001' extra-file= /root/. my.cnf mysql -e create user 'nova'@ 'cntl-SV- 001' 5A6EF07255F2F93 5118419D131F' ' 'cntl-sv- 001' main]/Nova: :Db::Mysql/ Openstacklib: :Db::Mysql[ nova]/Openstack lib::Db: :Mysql: :Host_access[ nova_cntl- SV-001] /Database_ user[nova@ cntl-SV- 001]/ensure extra-file= /root/. my.cnf mysql -e create user 'nova'@ 'cntl-SV- 001' 5A6EF07255F2F93 5118419D131F' ' 'cntl-sv- 001' extra-file= /root/. my.cnf mysql -e create user 'nova'@ 'cntl-SV- 001' 5A6EF07255F2F93 5118419D131F' ' 'cntl-sv- 001' main]/Nova: :Db::Mysql/ Openstacklib: :Db::Mysql[ nova]/Openstack lib::Db: :Mysql: :Host_access[ nova_cntl- SV-001] /Database_ user[nova@ cntl-SV- 001]/ensure extra-file= /root/. my.cnf mysql -e create user 'nova'@ 'cntl-SV- 001' 5A6EF07255F2F93 5118419D131F' ' 'cntl-sv- 001' /bugs.launchpad .net/fuel/ +bug/1537325/ +subscriptions
>
> ** Changed in: fuel
> Assignee: (unassigned) => Fuel Library Team (fuel-library)
>
> ** Tags added: area-library
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> redeployment fails because of recreating user nova in mysql
>
> Status in Fuel for OpenStack:
> Confirmed
>
> Bug description:
> {"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":
> "5d50055aeca1dd
> "4162b0c15adb42
> ["experimental"], "fuel-nailgun-
> "d7027952870a35
> "2015.1.0-7.0", "fuel-agent_sha":
> "50e90af6e3d560
> "python-
> "astute_sha": "6c5b73f93e24cc
> ostf_sha": "2cd967dccd66cf
> "7.0", "fuelmain_sha": "a65d453215edb0
> "auth_required": true, "api": "1.0", "fuel-library_sha":
> "5d50055aeca1dd
> "4162b0c15adb42
> ["experimental"], "fuel-nailgun-
> "d7027952870a35
> "2015.1.0-7.0", "fuel-agent_sha":
> "50e90af6e3d560
> "python-
> "astute_sha": "6c5b73f93e24cc
> ostf_sha": "2cd967dccd66cf
> "7.0", "fuelmain_sha": "a65d453215edb0
>
>
> 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-
> identified by PASSWORD '*CD404B6942DAB
> returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for
> 'nova'@
> 2016-01-23 01:47:50 +0000
> /Stage[
> (err): change from absent to present failed: Execution of '/usr/bin/mysql
> --defaults-
> identified by PASSWORD '*CD404B6942DAB
> returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for
> 'nova'@
> 2016-01-23 01:48:12 +0000 Puppet (err): Execution of '/usr/bin/mysql
> --defaults-
> identified by PASSWORD '*CD404B6942DAB
> returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for
> 'nova'@
> 2016-01-23 01:48:12 +0000
> /Stage[
> (err): change from absent to present failed: Execution of '/usr/bin/mysql
> --defaults-
> identified by PASSWORD '*CD404B6942DAB
> returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for
> 'nova'@
> 2016-01-23 01:48:32 +0000 Puppet (err): Execution of '/usr/bin/mysql
> --defaults-
> identified by PASSWORD '*CD404B6942DAB
> returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for
> 'nova'@
> 2016-01-23 01:48:32 +0000
> /Stage[
> (err): change from absent to present failed: Execution of '/usr/bin/mysql
> --defaults-
> identified by PASSWORD '*CD404B6942DAB
> returned 1: ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for
> 'nova'@
>
> To manage notifications about this bug go to:
> https:/
>
--
Best Regards,
Gleb Galkin
OpenStack Deployment Engineer
Mirantis Inc.
www.mirantis.com