Skip to content

Instantly share code, notes, and snippets.

@jonmosco
jonmosco / gist:6139780
Created August 2, 2013 13:13
Tmux learning curve...
set -g prefix C-a
unbind C-b
bind C-a send-prefix
[color]
bg_selected = brown
help_default_value = green
help_option_name = white
help_text = default
option = default
option_selected = 0
type = lightcyan
type_selected = 0
value = cyan
FROM centos:7
RUN useradd tomcat
RUN yum -q makecache
RUN yum install -y java-1.8.0-openjdk
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre
RUN mkdir -p /opt/tomcat/instances
COPY pivotal-tc-server-standard-3.1.0.RELEASE.tar.gz /opt/tomcat/pivotal-tc-server-standard-3.1.0.RELEASE.tar.gz
RUN tar xzf /opt/tomcat/pivotal-tc-server-standard-3.1.0.RELEASE.tar.gz -C /opt/tomcat/
Complete!
---> 123e798790ed
Removing intermediate container da8367e38814
Step 6 : ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre
---> Running in 635dd9307fcd
---> 8b005354646f
Removing intermediate container 635dd9307fcd
Step 7 : RUN mkdir -p /opt/tomcat/instances
---> Running in ab41a786a1ec
---> 243ccce0f52b
Complete!
---> 474a6ca970d3
Removing intermediate container c287c8ec9d7d
Step 6 : ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre
---> Running in b7c59f3673bc
---> 62068472e85c
Removing intermediate container b7c59f3673bc
Step 7 : RUN mkdir -p /opt/tomcat/instances
---> Running in e5193f85b44f
---> 2c2b5940ed16
2017/03/16 10:55:03 [INFO] Packer version: 0.12.3
2017/03/16 10:55:03 Packer Target OS/Arch: linux amd64
2017/03/16 10:55:03 Built with Go Version: go1.8
2017/03/16 10:55:03 Detected home directory from env var: /home/jenkins
2017/03/16 10:55:03 Using internal plugin for azure-arm
2017/03/16 10:55:03 Using internal plugin for cloudstack
2017/03/16 10:55:03 Using internal plugin for file
2017/03/16 10:55:03 Using internal plugin for openstack
2017/03/16 10:55:03 Using internal plugin for parallels-pvm
2017/03/16 10:55:03 Using internal plugin for triton
{
"variables": {
"builder_ssh_password": "",
"vsphere_password": "",
"builder_vm_template_name": "",
"post_vm_template_name": "",
"headless": "true",
"iso_checksum": "120acbca7b3d55465eb9f8ef53ad7365f2997d42d4f83d7cc285bf5c71e1131f",
"iso_checksum_type": "sha256",
"iso_url": "/opt/iso/rhel-server-7.3-x86_64-dvd.iso",
Error applying plan:
1 error(s) occurred:
* azurerm_lb_rule.etcd-lb: Error Creating/Updating LoadBalancer network.LoadBalancersClient#CreateOrUpdate: Failure responding to request: StatusCode=429 -- Original Error: autorest/azure: Service returned an error. Status=429 Code="RetryableError" Message="A retryable error occured." Details=[{"code":"ReferencedResourceNotProvisioned","message":"Cannot proceed with operation because resource /subscriptions/c0aad578-8ec1-4b5b-8bae-8cb571e6666b/resourceGroups/tectonic-cluster-my-call-cluster/providers/Microsoft.Compute/availabilitySets/my-call-cluster-etcd used by resource my-call-cluster-etcd-lb is not in Succeeded state. Resource is in Updating state and the last operation that updated/is updating the resource is InternalOperation."}]
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incremen
{
"variables":
{
"provisioner": "vmware",
"vsphere_password": "",
"template_name": "ubuntu-16.04-x86_64",
"template_os": "ubuntu-64",
2017/09/21 13:12:17 ui: ubuntu-16.04-x86_64 (vsphere-template): Marking as a template...
ubuntu-16.04-x86_64 (vsphere-template): Marking as a template...
2017/09/21 13:12:17 ui error: ==> ubuntu-16.04-x86_64 (vsphere-template): VM at path /DC/vm/Discovered virtual machine/packer-ubuntu-16.04-x86_64 not found
==> ubuntu-16.04-x86_64 (vsphere-template): VM at path /DC/vm/Discovered virtual machine/packer-ubuntu-16.04-x86_64 not found
2017/09/21 13:12:17 [INFO] (telemetry) ending vsphere-template
2017/09/21 13:12:17 [INFO] (telemetry) found error: VM at path /DC/vm/Discovered virtual machine/packer-ubuntu-16.04-x86_64 not found
2017/09/21 13:12:17 Deleting original artifact for build 'ubuntu-16.04-x86_64'
2017/09/21 13:12:20 ui error: Build 'ubuntu-16.04-x86_64' errored: 1 error(s) occurred:
* Post-processor failed: VM at path /DC/vm/Discovered virtual machine/packer-ubuntu-16.04-x86_64 not found