)]}'
{"scripts/prepare-ovb-cloud.sh":[{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"9c9ffbd60a58752cd1bf449770c74668801aa54e","unresolved":false,"context_lines":[{"line_number":11,"context_line":"nova flavor-show ovb.bmc || nova flavor-create ovb.bmc auto 512 20 1"},{"line_number":12,"context_line":"nova flavor-show ovb.baremetal || nova flavor-create ovb.baremetal auto 5120 60 1"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"if [ ! -e /var/tmp/CentOS-7-x86_64-GenericCloud-1511.qcow2 ] ; then"},{"line_number":15,"context_line":"    wget http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1511.qcow2.xz -O /var/tmp/CentOS-7-x86_64-GenericCloud-1511.qcow2.xz"},{"line_number":16,"context_line":"    unxz /var/tmp/CentOS-7-x86_64-GenericCloud-1511.qcow2.xz"},{"line_number":17,"context_line":"fi"}],"source_content_type":"text/x-sh","patch_set":1,"id":"fa0719c6_3d8fd424","line":14,"updated":"2016-03-21 15:59:06.000000000","message":"I should stop pinning to a specific version of CentOS in OVB.  All it does is slow things down because there are more packages to be updated.  This should probably just be using the latest image like CI does today.","commit_id":"2611d9d5e66c8b11043980244142ab15fcd97987"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"ba4f0b93b61ef96b8ee1b4dfb2ffbbc252cd56e5","unresolved":false,"context_lines":[{"line_number":17,"context_line":"glance image-show \u0027ipxe-boot\u0027 || \\"},{"line_number":18,"context_line":"glance image-create --name ipxe-boot --is-public true --disk-format qcow2 --property os_shutdown_timeout\u003d5 --container-format bare \\"},{"line_number":19,"context_line":"    --copy-from https://raw.githubusercontent.com/cybertron/openstack-virtual-baremetal/master/ipxe/ipxe-boot.qcow2"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"# Create a pool of floating IP\u0027s"},{"line_number":22,"context_line":"neutron net-show public || neutron net-create public --router:external\u003dTrue"},{"line_number":23,"context_line":"neutron subnet-show public_subnet || neutron subnet-create --name public_subnet --enable_dhcp\u003dFalse --allocation_pool start\u003d8.43.87.224,end\u003d8.43.87.253 --gateway 8.43.87.254 public 8.43.86.0/23"}],"source_content_type":"text/x-sh","patch_set":6,"id":"7aa08908_ddae6997","line":20,"updated":"2016-06-06 23:01:13.000000000","message":"I haven\u0027t documented this yet, but we\u0027ll also want a pre-built bmc image so we aren\u0027t installing from public yum mirrors while deploying environments.\n\nI will try to get that doc\u0027d soon.","commit_id":"cf357d97e26a0d85178bb95e8f5c709e04d8a647"}],"scripts/te-broker/create-env":[{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"f2dd6ad32cf8895ecd9717c17ba49317a4e4c3a4","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  external_net: public"},{"line_number":35,"context_line":"EOF"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# TODO: we need a common prefix that can be used on both the stack name and all of the resources it creates"},{"line_number":38,"context_line":"# TODO: Would be good to avoid security group create in the quintupleo stack i.e. have a commong security group"},{"line_number":39,"context_line":"# TODO: investgate the need for the public_net"},{"line_number":40,"context_line":"# TODO: can we have a undercloud without a floating IP?"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"5a18252c_af1b0e72","line":37,"updated":"2016-04-14 21:07:23.000000000","message":"I\u0027ve been wanting something like this too, so I\u0027ll see what I can come up with.  I have some rudimentary stuff that I was using to test, but it would need some cleaning up to be generally useful.","commit_id":"f7d5945749017ecce28e8c35f45f55f479eb6d3f"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"f2dd6ad32cf8895ecd9717c17ba49317a4e4c3a4","unresolved":false,"context_lines":[{"line_number":35,"context_line":"EOF"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# TODO: we need a common prefix that can be used on both the stack name and all of the resources it creates"},{"line_number":38,"context_line":"# TODO: Would be good to avoid security group create in the quintupleo stack i.e. have a commong security group"},{"line_number":39,"context_line":"# TODO: investgate the need for the public_net"},{"line_number":40,"context_line":"# TODO: can we have a undercloud without a floating IP?"},{"line_number":41,"context_line":"heat stack-create -f templates/quintupleo.yaml -e templates/resource-registry.yaml -e env.yaml quintupleo"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"5a18252c_b4040718","line":38,"updated":"2016-04-14 21:07:23.000000000","message":"I think we can actually remove the security groups.  They don\u0027t have any effect in an OVB environment anyway.","commit_id":"f7d5945749017ecce28e8c35f45f55f479eb6d3f"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"f2dd6ad32cf8895ecd9717c17ba49317a4e4c3a4","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# TODO: we need a common prefix that can be used on both the stack name and all of the resources it creates"},{"line_number":38,"context_line":"# TODO: Would be good to avoid security group create in the quintupleo stack i.e. have a commong security group"},{"line_number":39,"context_line":"# TODO: investgate the need for the public_net"},{"line_number":40,"context_line":"# TODO: can we have a undercloud without a floating IP?"},{"line_number":41,"context_line":"heat stack-create -f templates/quintupleo.yaml -e templates/resource-registry.yaml -e env.yaml quintupleo"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"5a18252c_8f2f3287","line":39,"updated":"2016-04-14 21:07:23.000000000","message":"Only needed for net-iso, and quintupleo.yaml will be able to create all of the needed networks for us now.","commit_id":"f7d5945749017ecce28e8c35f45f55f479eb6d3f"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"f2dd6ad32cf8895ecd9717c17ba49317a4e4c3a4","unresolved":false,"context_lines":[{"line_number":37,"context_line":"# TODO: we need a common prefix that can be used on both the stack name and all of the resources it creates"},{"line_number":38,"context_line":"# TODO: Would be good to avoid security group create in the quintupleo stack i.e. have a commong security group"},{"line_number":39,"context_line":"# TODO: investgate the need for the public_net"},{"line_number":40,"context_line":"# TODO: can we have a undercloud without a floating IP?"},{"line_number":41,"context_line":"heat stack-create -f templates/quintupleo.yaml -e templates/resource-registry.yaml -e env.yaml quintupleo"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"5a18252c_af494e62","line":40,"updated":"2016-04-14 21:07:23.000000000","message":"Yes: https://github.com/cybertron/openstack-virtual-baremetal/blob/master/templates/env.yaml.example#L33","commit_id":"f7d5945749017ecce28e8c35f45f55f479eb6d3f"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"ba4f0b93b61ef96b8ee1b4dfb2ffbbc252cd56e5","unresolved":false,"context_lines":[{"line_number":28,"context_line":"sed -i -e \"s/os_tenant:.*/os_tenant: $OS_TENANT_NAME/\" $ENVFILE"},{"line_number":29,"context_line":"sed -i -e \"s/os_auth_url:.*/os_auth_url: ${OS_AUTH_URL//\\//\\/}/\" $ENVFILE"},{"line_number":30,"context_line":"sed -i -e \"s/provision_net:.*/provision_net: $PROVISIONNET/\" $ENVFILE"},{"line_number":31,"context_line":"sed -i -e \"s/baremetal_prefix:.*/baremetal_prefix: baremetal_${ENVNUM}/\" $ENVFILE"},{"line_number":32,"context_line":"sed -i -e \"s/bmc_prefix:.*/bmc_prefix: bmc_${ENVNUM}/\" $ENVFILE"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"PROVISIONNETID\u003d$(neutron net-create $PROVISIONNET | awk \u0027$2\u003d\u003d\"id\" {print $4}\u0027)"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"7aa08908_7d0495bf","line":31,"updated":"2016-06-06 23:01:13.000000000","message":"deploy.py can do this identifier appending with the --id param now.","commit_id":"cf357d97e26a0d85178bb95e8f5c709e04d8a647"},{"author":{"_account_id":1926,"name":"Derek Higgins","email":"derekh@redhat.com","username":"derekh"},"change_message_id":"099b158a35135887ee55e0b012234f7133b72127","unresolved":false,"context_lines":[{"line_number":28,"context_line":"sed -i -e \"s/os_tenant:.*/os_tenant: $OS_TENANT_NAME/\" $ENVFILE"},{"line_number":29,"context_line":"sed -i -e \"s/os_auth_url:.*/os_auth_url: ${OS_AUTH_URL//\\//\\/}/\" $ENVFILE"},{"line_number":30,"context_line":"sed -i -e \"s/provision_net:.*/provision_net: $PROVISIONNET/\" $ENVFILE"},{"line_number":31,"context_line":"sed -i -e \"s/baremetal_prefix:.*/baremetal_prefix: baremetal_${ENVNUM}/\" $ENVFILE"},{"line_number":32,"context_line":"sed -i -e \"s/bmc_prefix:.*/bmc_prefix: bmc_${ENVNUM}/\" $ENVFILE"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"PROVISIONNETID\u003d$(neutron net-create $PROVISIONNET | awk \u0027$2\u003d\u003d\"id\" {print $4}\u0027)"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"7aa08908_6031485a","line":31,"in_reply_to":"7aa08908_7d0495bf","updated":"2016-06-13 11:23:30.000000000","message":"thanks, will give this a go","commit_id":"cf357d97e26a0d85178bb95e8f5c709e04d8a647"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"ba4f0b93b61ef96b8ee1b4dfb2ffbbc252cd56e5","unresolved":false,"context_lines":[{"line_number":31,"context_line":"sed -i -e \"s/baremetal_prefix:.*/baremetal_prefix: baremetal_${ENVNUM}/\" $ENVFILE"},{"line_number":32,"context_line":"sed -i -e \"s/bmc_prefix:.*/bmc_prefix: bmc_${ENVNUM}/\" $ENVFILE"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"PROVISIONNETID\u003d$(neutron net-create $PROVISIONNET | awk \u0027$2\u003d\u003d\"id\" {print $4}\u0027)"},{"line_number":35,"context_line":"neutron subnet-create --name provision_subnet_${ENVNUM} --enable_dhcp\u003dFalse $PROVISIONNET 192.0.2.0/24"},{"line_number":36,"context_line":"nova interface-attach --net-id $PROVISIONNETID 9dd2554c-a052-44fa-b615-5f20a00151bd"},{"line_number":37,"context_line":"/opt/stack/openstack-virtual-baremetal/bin/deploy.py --env $ENVFILE --name baremetal_${ENVNUM}"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"7aa08908_1d6e3196","line":34,"updated":"2016-06-06 23:01:13.000000000","message":"I think we\u0027re going to want to create all the networks with --quintupleo for deploy.py.  Otherwise we\u0027re on the hook for cleaning this up when we\u0027re done with the testenv, and there are going to be a bunch more networks we need to create in order to test net-iso in OVB.\n\nI do need to follow-up on the security group removal, but I\u0027m 99% sure that won\u0027t cause any problems.  I probably should test it before I push the change though. :-)","commit_id":"cf357d97e26a0d85178bb95e8f5c709e04d8a647"},{"author":{"_account_id":1926,"name":"Derek Higgins","email":"derekh@redhat.com","username":"derekh"},"change_message_id":"099b158a35135887ee55e0b012234f7133b72127","unresolved":false,"context_lines":[{"line_number":31,"context_line":"sed -i -e \"s/baremetal_prefix:.*/baremetal_prefix: baremetal_${ENVNUM}/\" $ENVFILE"},{"line_number":32,"context_line":"sed -i -e \"s/bmc_prefix:.*/bmc_prefix: bmc_${ENVNUM}/\" $ENVFILE"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"PROVISIONNETID\u003d$(neutron net-create $PROVISIONNET | awk \u0027$2\u003d\u003d\"id\" {print $4}\u0027)"},{"line_number":35,"context_line":"neutron subnet-create --name provision_subnet_${ENVNUM} --enable_dhcp\u003dFalse $PROVISIONNET 192.0.2.0/24"},{"line_number":36,"context_line":"nova interface-attach --net-id $PROVISIONNETID 9dd2554c-a052-44fa-b615-5f20a00151bd"},{"line_number":37,"context_line":"/opt/stack/openstack-virtual-baremetal/bin/deploy.py --env $ENVFILE --name baremetal_${ENVNUM}"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"7aa08908_2072a011","line":34,"in_reply_to":"7aa08908_1d6e3196","updated":"2016-06-13 11:23:30.000000000","message":"If we use --quintupleo that would also create a undercloud_server, we don\u0027t need this as the jenkins slave is going to be the undercloud server and has already been created by the time we get to this point.","commit_id":"cf357d97e26a0d85178bb95e8f5c709e04d8a647"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"8933d2a46aa9dd723c98bfc1fa455e3ab74002e1","unresolved":false,"context_lines":[{"line_number":31,"context_line":"sed -i -e \"s/baremetal_prefix:.*/baremetal_prefix: baremetal_${ENVNUM}/\" $ENVFILE"},{"line_number":32,"context_line":"sed -i -e \"s/bmc_prefix:.*/bmc_prefix: bmc_${ENVNUM}/\" $ENVFILE"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"PROVISIONNETID\u003d$(neutron net-create $PROVISIONNET | awk \u0027$2\u003d\u003d\"id\" {print $4}\u0027)"},{"line_number":35,"context_line":"neutron subnet-create --name provision_subnet_${ENVNUM} --enable_dhcp\u003dFalse $PROVISIONNET 192.0.2.0/24"},{"line_number":36,"context_line":"nova interface-attach --net-id $PROVISIONNETID 9dd2554c-a052-44fa-b615-5f20a00151bd"},{"line_number":37,"context_line":"/opt/stack/openstack-virtual-baremetal/bin/deploy.py --env $ENVFILE --name baremetal_${ENVNUM}"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"7aa08908_02c96159","line":34,"in_reply_to":"7aa08908_2072a011","updated":"2016-06-13 13:56:09.000000000","message":"Hmm, good point.  I can look into making the undercloud optional for quintupleo envs (actually I think I would like that for my development environment too so I could re-deploy baremetal instances in different networking configurations without wiping my undercloud too), but in the meantime maybe we could still use quintupleo and just deploy a tiny undercloud instance and then not use it.","commit_id":"cf357d97e26a0d85178bb95e8f5c709e04d8a647"}]}
