Nailgun fixtures are uploaded on each container start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Matthew Mosesohn | ||
7.0.x |
Won't Fix
|
High
|
Matthew Mosesohn | ||
8.0.x |
Won't Fix
|
High
|
Matthew Mosesohn |
Bug Description
Fuel version info (8.0 build #297): http://
Currently puppet tries to upload Nailgun fixtures each time its container is started. This leads to errors and 4+ minutes delay between container start and actual Nailgun start:
2015-12-16 16:38:31 +0000 /Stage[
2015-12-16 16:38:31 +0000 Exec[nailgun_
2015-12-16 16:38:31 +0000 Puppet (debug): Executing '/usr/bin/
2015-12-16 16:38:31 +0000 /Stage[
2015-12-16 16:38:31 +0000 /Stage[
2015-12-16 16:38:31 +0000 /Stage[
2015-12-16 16:38:31 +0000 Exec[nailgun_
2015-12-16 16:38:31 +0000 Puppet (debug): Executing '/usr/bin/
2015-12-16 16:38:33 +0000 /Stage[
2015-12-16 16:38:38 +0000 /Stage[
2015-12-16 16:38:38 +0000 Exec[nailgun_
2015-12-16 16:38:38 +0000 Puppet (debug): Executing '/usr/bin/
2015-12-16 16:38:39 +0000 /Stage[
2015-12-16 16:38:44 +0000 /Stage[
...
2015-12-16 16:43:34 +0000 /Stage[
2015-12-16 16:43:39 +0000 /Stage[
2015-12-16 16:43:39 +0000 Exec[nailgun_
2015-12-16 16:43:39 +0000 Puppet (debug): Executing '/usr/bin/
2015-12-16 16:43:40 +0000 /Stage[
2015-12-16 16:43:45 +0000 /Stage[
2015-12-16 16:43:45 +0000 /Stage[
2015-12-16 16:43:45 +0000 /Stage[
2015-12-16 16:43:45 +0000 /Stage[
2015-12-16 16:43:45 +0000 /Stage[
2015-12-16 16:43:45 +0000 /Stage[
s/openstack.yaml
2015-12-16 16:43:45 +0000 /Stage[
2015-12-16 16:43:45 +0000 /Stage[
s/start_
2015-12-16 16:43:45 +0000 /Stage[
2015-12-16 16:43:45 +0000 /Stage[
2015-12-16 16:43:45 +0000 /Stage[
models.
http://
As you can see '/usr/bin/
Steps to reproduce:
1. Setup Fuel master
2. Create some environment
3. Change public network IP range (and save changes)
4. Restart nailgun container (dockerctl restart nailgun)
Expected result: container is restarted, there are no errors in puppet logs and puppet apply took less than 1 minute
Actual result: puppet apply took more than 5 minutes and its logs contain errors
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Stanislaw Bogatkin (sbogatkin) |
tags: | added: area-python team-network |
tags: | removed: team-network |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky) |
Changed in fuel: | |
assignee: | Alexander Kislitsky (akislitsky) → Bulat Gaifullin (bgaifullin) |
Changed in fuel: | |
milestone: | 8.0 → 9.0 |
tags: | added: on-verification |
tags: |
added: area-library removed: area-python |
tags: | added: on-verification |
Weird. :( nailgun_fixtures must be run only once, during master node setup. Any further attempt must break one day something, since fixture maps directly to database, including primary key. That's why fixture is supposed to be *initial* database setup, and must be run only once.