Comment 5 for bug 1574591

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

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.