Skip to content

Commit

Permalink
Closes-Bug: #1462269 provision with package added using "upload_image…
Browse files Browse the repository at this point in the history
…" is not creating yaml files

- During the upload_image, create_repo return values are not assigned properly

Change-Id: I88d1f6cfbcdf59510e7e857560a14b6e2a211e77
  • Loading branch information
miriyalar committed Jun 5, 2015
1 parent a3c27bf commit 2508f5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server_mgr_main.py
Expand Up @@ -1685,10 +1685,11 @@ def upload_image(self):
msg = ("Id given %s, Id can contain only lowercase alpha-numeric characters including '_'." % (image_id))
self.log_and_raise_exception(msg)

puppet_manifest_version = self._create_repo(
puppet_manifest_version, sequence_provisioning_available = self._create_repo(
image_id, image_type, image_version, dest)
image_params['puppet_manifest_version'] = \
puppet_manifest_version
image_params['sequence_provisioning_available'] = sequence_provisioning_available
elif image_type == "contrail-storage-ubuntu-package":
self._create_repo(
image_id, image_type, image_version, dest)
Expand Down

0 comments on commit 2508f5f

Please sign in to comment.