Merge lp:~zulcss/openstack-charm-testing/fix-lxd-profile into lp:openstack-charm-testing

Proposed by Chuck Short
Status: Merged
Merged at revision: 179
Proposed branch: lp:~zulcss/openstack-charm-testing/fix-lxd-profile
Merge into: lp:openstack-charm-testing
Diff against target: 38 lines (+5/-5)
2 files modified
profiles/lxd (+4/-4)
profiles/multihypervisor (+1/-1)
To merge this branch: bzr merge lp:~zulcss/openstack-charm-testing/fix-lxd-profile
Reviewer Review Type Date Requested Status
OpenStack Charm Testing Maintainers Pending
Review via email: mp+286560@code.launchpad.net

Description of the change

Fixes LXD profile, changes disk-format to raw and rename image name.

To post a comment you must log in.
180. By Chuck Short

Update disk-format

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'profiles/lxd'
--- profiles/lxd 2016-02-09 14:48:22 +0000
+++ profiles/lxd 2016-02-18 20:29:52 +0000
@@ -39,8 +39,8 @@
39}39}
4040
41# Upload glance images to overcloud41# Upload glance images to overcloud
42glance --os-image-api-version 1 image-create --name="trusty-root.tar.xz" --is-public=true --progress \42glance --os-image-api-version 1 image-create --name="trusty-server" --is-public=true --progress \
43 --container-format=bare --disk-format=root-tar --property hypervisor_type=lxc \43 --container-format=bare --disk-format=raw --property hypervisor_type=lxc \
44 --property architecture=x86_64 < ~/images/trusty-server-cloudimg-amd64-root.tar.xz44 --property architecture=x86_64 < ~/images/trusty-server-cloudimg-amd64-root.tar.xz
4545
46# Create demo/testing users, tenants and flavor46# Create demo/testing users, tenants and flavor
@@ -58,8 +58,8 @@
58# Gather vars for tempest template58# Gather vars for tempest template
59access=$(keystone --os-username demo --os-password pass --os-tenant-name demo ec2-credentials-create | grep access | awk '{ print $4 }')59access=$(keystone --os-username demo --os-password pass --os-tenant-name demo ec2-credentials-create | grep access | awk '{ print $4 }')
60secret=$(keystone ec2-credentials-get --access $access | grep secret | awk '{ print $4 }')60secret=$(keystone ec2-credentials-get --access $access | grep secret | awk '{ print $4 }')
61image_id=$(glance image-list | grep cirros | awk '{ print $2 }')61image_id=$(glance image-list | grep trusty-server | awk '{ print $2 }')
62image_alt_id=$(glance image-list | grep precise | awk '{ print $2 }')62image_alt_id=$(glance image-list | grep trusty-server | awk '{ print $2 }')
63ext_net=$(neutron net-list | grep ext_net | awk '{ print $2 }')63ext_net=$(neutron net-list | grep ext_net | awk '{ print $2 }')
64router=$(neutron router-list | grep provider-router | awk '{ print $2}')64router=$(neutron router-list | grep provider-router | awk '{ print $2}')
65keystone=$(juju-deployer -f keystone)65keystone=$(juju-deployer -f keystone)
6666
=== modified file 'profiles/multihypervisor'
--- profiles/multihypervisor 2016-02-09 14:48:22 +0000
+++ profiles/multihypervisor 2016-02-18 20:29:52 +0000
@@ -46,7 +46,7 @@
46 --container-format=bare --disk-format=qcow2 --property hypervisor_type=qemu \46 --container-format=bare --disk-format=qcow2 --property hypervisor_type=qemu \
47 --property architecture=x86_64 < ~/images/trusty-server-cloudimg-amd64-disk1.img47 --property architecture=x86_64 < ~/images/trusty-server-cloudimg-amd64-disk1.img
48glance --os-image-api-version 1 image-create --name="trusty-root.tar.xz" --is-public=true --progress \48glance --os-image-api-version 1 image-create --name="trusty-root.tar.xz" --is-public=true --progress \
49 --container-format=bare --disk-format=root-tar --property hypervisor_type=lxc \49 --container-format=bare --disk-format=raw --property hypervisor_type=lxc \
50 --property architecture=x86_64 < ~/images/trusty-server-cloudimg-amd64-root.tar.xz50 --property architecture=x86_64 < ~/images/trusty-server-cloudimg-amd64-root.tar.xz
5151
52# Create demo/testing users, tenants and flavor52# Create demo/testing users, tenants and flavor

Subscribers

People subscribed via source and target branches

to status/vote changes: