{"id":1178,"date":"2019-02-21T12:41:22","date_gmt":"2019-02-21T17:41:22","guid":{"rendered":"http:\/\/sudomakeinstall.com\/?p=1178"},"modified":"2019-03-07T22:29:09","modified_gmt":"2019-03-08T03:29:09","slug":"building-octavia-images-with-centos-7-and-haproxy","status":"publish","type":"post","link":"https:\/\/sudomakeinstall.com\/uncategorized\/building-octavia-images-with-centos-7-and-haproxy","title":{"rendered":"Building Octavia Images with CentOS 7 and Haproxy"},"content":{"rendered":"\n

Do this in your python virtual env<\/p>\n\n\n\n

pip install diskimage-builder
git clone https:\/\/github.com\/openstack\/octavia.git
cd octavia\/diskimage-create\/
.\/diskimage-create.sh -b haproxy -a amd64 -o amphora-x64-haproxy -t qcow2 -s 3 -i centos
openstack image create --tag amphora --container-format bare --disk-format qcow2 --file amphora-x64-haproxy.qcow2 Amphora-CentOS7-x64-Haproxy

#Or update an existing image with the tag
glance image-tag-update e4af2c6c-f7fd-4b45-a512-145282236044 amphora<\/pre>\n","protected":false},"excerpt":{"rendered":"

Do this in your python virtual env pip install diskimage-buildergit clone https:\/\/github.com\/openstack\/octavia.gitcd octavia\/diskimage-create\/.\/diskimage-create.sh -b haproxy -a amd64 -o amphora-x64-haproxy -t qcow2 -s 3 -i centosopenstack image create –tag amphora –container-format bare –disk-format qcow2 –file amphora-x64-haproxy.qcow2 Amphora-CentOS7-x64-Haproxy #Or update an existing… <\/p>\n

Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/sudomakeinstall.com\/wp-json\/wp\/v2\/posts\/1178"}],"collection":[{"href":"https:\/\/sudomakeinstall.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sudomakeinstall.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sudomakeinstall.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/sudomakeinstall.com\/wp-json\/wp\/v2\/comments?post=1178"}],"version-history":[{"count":0,"href":"https:\/\/sudomakeinstall.com\/wp-json\/wp\/v2\/posts\/1178\/revisions"}],"wp:attachment":[{"href":"https:\/\/sudomakeinstall.com\/wp-json\/wp\/v2\/media?parent=1178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sudomakeinstall.com\/wp-json\/wp\/v2\/categories?post=1178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sudomakeinstall.com\/wp-json\/wp\/v2\/tags?post=1178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}