Yep, Sergey is right, we have to clean repository before each rebuild, because new packages from CRs could have lower versions. But the main issue it that we add new packages to auxiliary repository after bootstrap image is rebuilt:
4. Rebuild bootstrap ```2016-04-25 10:29:23,632 - DEBUG helpers.py:357 -- Executing command: 'fuel-bootstrap build' 2016-04-25 10:34:14,830 - DEBUG ssh_manager.py:201 -- Host: 10.109.1.2 Command: 'fuel-bootstrap build ' Exit code: 0 STDOUT: Bootstrap image 2f7c8316-626c-4fc5-8fff-2cccc54460a7 has been built: /tmp/2f7c8316-626c-4fc5-8fff-2cccc54460a7.tar.gz```
9. Deploy the cluster ```2016-04-25 10:37:46,965 - DEBUG ssh_manager.py:201 -- Host: 10.109.1.2 Command: 'chmod 755 /tmp//regenerate_ubuntu_repo' Exit code: 0 STDOUT:
STDERR:
2016-04-25 10:37:46,965 - DEBUG ssh_manager.py:104 -- SSH_MANAGER:Return existed connection for 10.109.1.2:22 2016-04-25 10:37:46,965 - DEBUG ssh_manager.py:105 -- SSH_MANAGER: Connections {('10.109.1.2', 22): <devops.helpers.helpers.SSHClient object at 0x7fa7b9601e10>, (u'10.109.1.3', 22): <devops.helpers.helpers.SSHClient object at 0x7fa7b9731790>, (u'10.109.1.4', 22): <devops.helpers.helpers.SSHClient object at 0x7fa7b96d9290>} 2016-04-25 10:37:46,966 - DEBUG helpers.py:357 -- Executing command: 'cd ~' 2016-04-25 10:37:47,043 - DEBUG helpers.py:357 -- Executing command: '/tmp//regenerate_ubuntu_repo /var/www/nailgun/ubuntu/auxiliary/ auxiliary' 2016-04-25 10:37:47,290 - INFO regenerate_repo.py:293 -- Local repository /var/www/nailgun/ubuntu/auxiliary/ has been updated successfully.
Yep, Sergey is right, we have to clean repository before each rebuild, because new packages from CRs could have lower versions. But the main issue it that we add new packages to auxiliary repository after bootstrap image is rebuilt:
4. Rebuild bootstrap 626c-4fc5- 8fff-2cccc54460 a7 has been built: /tmp/2f7c8316- 626c-4fc5- 8fff-2cccc54460 a7.tar. gz```
```2016-04-25 10:29:23,632 - DEBUG helpers.py:357 -- Executing command: 'fuel-bootstrap build'
2016-04-25 10:34:14,830 - DEBUG ssh_manager.py:201 -- Host: 10.109.1.2
Command: 'fuel-bootstrap build '
Exit code: 0
STDOUT:
Bootstrap image 2f7c8316-
9. Deploy the cluster e_ubuntu_ repo'
```2016-04-25 10:37:46,965 - DEBUG ssh_manager.py:201 -- Host: 10.109.1.2
Command: 'chmod 755 /tmp//regenerat
Exit code: 0
STDOUT:
STDERR:
2016-04-25 10:37:46,965 - DEBUG ssh_manager.py:104 -- SSH_MANAGER:Return existed connection for 10.109.1.2:22 helpers. helpers. SSHClient object at 0x7fa7b9601e10>, (u'10.109.1.3', 22): <devops. helpers. helpers. SSHClient object at 0x7fa7b9731790>, (u'10.109.1.4', 22): <devops. helpers. helpers. SSHClient object at 0x7fa7b96d9290>} regenerate_ ubuntu_ repo /var/www/ nailgun/ ubuntu/ auxiliary/ auxiliary' repo.py: 293 -- Local repository /var/www/ nailgun/ ubuntu/ auxiliary/ has been updated successfully.
2016-04-25 10:37:46,965 - DEBUG ssh_manager.py:105 -- SSH_MANAGER: Connections {('10.109.1.2', 22): <devops.
2016-04-25 10:37:46,966 - DEBUG helpers.py:357 -- Executing command: 'cd ~'
2016-04-25 10:37:47,043 - DEBUG helpers.py:357 -- Executing command: '/tmp//
2016-04-25 10:37:47,290 - INFO regenerate_