Skip to content

Instantly share code, notes, and snippets.

@DanHam
DanHam / vorta.log.2021-11-02
Created November 3, 2021 19:31
vorta.log for issue 'Duplicate schedule backups...'
2021-11-02 18:27:12,244 - vorta.i18n - DEBUG - Loading translation succeeded for ['en-GB', 'en-Latn-GB'].
2021-11-02 18:27:12,655 - root - INFO - Using NullNetworkStatusMonitor NetworkStatusMonitor implementation.
2021-11-02 18:27:12,720 - vorta.borg.borg_job - INFO - Running command /usr/bin/borg --version
2021-11-02 18:27:13,133 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2021-11-02 18:27:13,140 - vorta.scheduler - INFO - Setting timer for profile 5
2021-11-02 18:27:13,141 - vorta.scheduler - DEBUG - Scheduling next run for 2021-11-02 21:00:00
2021-11-02 18:32:33,817 - vorta.scheduler - INFO - Setting timer for profile 5
2021-11-02 18:32:33,820 - vorta.scheduler - DEBUG - Scheduling next run for 2021-11-02 18:33:00
2021-11-02 18:32:35,376 - vorta.scheduler - INFO - Setting timer for profile 5
2021-11-02 18:32:35,380 - vorta.scheduler - DEBUG - Scheduling next run for 2021-11-02 18:34:00
@DanHam
DanHam / packer.log
Created May 15, 2020 12:21
Packer logs for issue #9207 - Packer v1.6.0-dev (952bb9785e40df8fb43af6e9c3a1faf8c882a9da)
2020/05/15 13:18:22 [INFO] Packer version: 1.6.0-dev (952bb9785e40df8fb43af6e9c3a1faf8c882a9da) [go1.13.10 darwin amd64]
2020/05/15 13:18:22 Checking 'PACKER_CONFIG' for a config file path
2020/05/15 13:18:22 'PACKER_CONFIG' not set; checking the default config file path
2020/05/15 13:18:22 Attempting to open config file: /Users/dan/.packerconfig
2020/05/15 13:18:22 [WARN] Config file doesn't exist: /Users/dan/.packerconfig
2020/05/15 13:18:22 Setting cache directory: /Users/dan/working/packer-testing/multi-builder/packer_cache
2020/05/15 13:18:22 Creating plugin client for path: /Users/dan/working/go/bin/packer
2020/05/15 13:18:22 Starting plugin: /Users/dan/working/go/bin/packer []string{"/Users/dan/working/go/bin/packer", "plugin", "packer-builder-virtualbox-iso"}
2020/05/15 13:18:22 Waiting for RPC address for: /Users/dan/working/go/bin/packer
2020/05/15 13:18:22 packer-builder-virtualbox-iso plugin: [INFO] Packer version: 1.6.0-dev (952bb9785e40df8fb43af6e9c3a1faf8c882a9da) [go1.13.10 darwin amd64]
@DanHam
DanHam / packer.log
Created May 10, 2020 12:52
Gist for Packer Issue: amazon-ebssurrogate crash
2020/05/10 12:41:41 [INFO] Packer version: 1.6.0-dev (9c37d2072) [go1.14.2 darwin amd64]
2020/05/10 12:41:41 Checking 'PACKER_CONFIG' for a config file path
2020/05/10 12:41:41 'PACKER_CONFIG' not set; checking the default config file path
2020/05/10 12:41:41 Attempting to open config file: /Users/dan/.packerconfig
2020/05/10 12:41:41 [WARN] Config file doesn't exist: /Users/dan/.packerconfig
2020/05/10 12:41:41 Setting cache directory: /Users/dan/working/packer-templates-cloud/debian/packer_cache
2020/05/10 12:41:41 Creating plugin client for path: /Users/dan/working/go/bin/packer
2020/05/10 12:41:41 Starting plugin: /Users/dan/working/go/bin/packer []string{"/Users/dan/working/go/bin/packer", "plugin", "packer-builder-amazon-ebssurrogate"}
2020/05/10 12:41:41 Waiting for RPC address for: /Users/dan/working/go/bin/packer
2020/05/10 12:41:41 packer-builder-amazon-ebssurrogate plugin: [INFO] Packer version: 1.6.0-dev (9c37d2072) [go1.14.2 darwin amd64]
@DanHam
DanHam / Fails at 340363a64
Created August 27, 2018 11:44
Packer issue #6631
2018/08/27 12:42:28 [INFO] Packer version: 1.2.6-dev (340363a64)
2018/08/27 12:42:28 Packer Target OS/Arch: darwin amd64
2018/08/27 12:42:28 Built with Go Version: go1.10.3
2018/08/27 12:42:28 Detected home directory from env var: /Users/dan
2018/08/27 12:42:28 Using internal plugin for qemu
2018/08/27 12:42:28 Using internal plugin for scaleway
2018/08/27 12:42:28 Using internal plugin for amazon-ebsvolume
2018/08/27 12:42:28 Using internal plugin for hyperv-vmcx
2018/08/27 12:42:28 Using internal plugin for openstack
2018/08/27 12:42:28 Using internal plugin for ncloud
@DanHam
DanHam / packer.log
Created August 25, 2018 13:19
VMware ISO builder broken on master when building against ESXi
2018/08/25 14:14:32 [INFO] Packer version: 1.2.6-dev (d6b893fb0)
2018/08/25 14:14:32 Packer Target OS/Arch: darwin amd64
2018/08/25 14:14:32 Built with Go Version: go1.10.3
2018/08/25 14:14:32 Detected home directory from env var: /Users/dan
2018/08/25 14:14:32 Using internal plugin for amazon-ebssurrogate
2018/08/25 14:14:32 Using internal plugin for amazon-instance
2018/08/25 14:14:32 Using internal plugin for oneandone
2018/08/25 14:14:32 Using internal plugin for parallels-iso
2018/08/25 14:14:32 Using internal plugin for virtualbox-iso
2018/08/25 14:14:32 Using internal plugin for amazon-ebs
@DanHam
DanHam / coverage.html
Created July 2, 2018 23:57
Coverage report for builder/vmware/vmx
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
body {
background: black;
color: rgb(80, 80, 80);
}
body, pre, #legend span {
@DanHam
DanHam / gist:f2c860e925b269782c6f037798e08372
Created May 15, 2018 21:01
How to set up for and use Packer's Amazon Import post-processor
Packer has the ability to import Virtualbox OVA artifacts into AWS
using Amazons Import/Export feature. There are a number of prerequisites,
the setup of which are detailed below.
1. Create an S3 bucket to hold uploaded temporary build artifacts
$ aws s3 mb s3://my-organisation.com-eu-west-1-vmimport-bucket --region eu-west-1
make_bucket: s3://my-organisation.com-eu-west-1-vmimport-bucket/
@DanHam
DanHam / demo_path_stuff.go
Created April 25, 2018 01:00
Demonstrate filepath.[Dir|Base|ToSlash] behaves differently depending on platform and path format
package main
import (
"fmt"
"os"
"path/filepath"
"runtime"
)
const (
# Set administrator password
net user Administrator SuperS3cr3t!
wmic useraccount where "name='Administrator'" set PasswordExpires=FALSE
# Turn off PowerShell execution policy restrictions
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine
# First, make sure WinRM can't be connected to
netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" new enable=yes action=block
@DanHam
DanHam / SetupWinRM.ps1
Last active February 11, 2018 21:39
WinRM set up script for Packer. Used with Windows 2012R2 and Windows 2016.
# Configure WinRM settings
Write-Host 'Configuring WinRM'
# Make 100% sure we prevent Packer from connecting to WinRM while we
# attempt to configure everything
Disable-NetFirewallRule -DisplayGroup 'Windows Remote Management'
Write-Host '* Setting the WinRM Service start up type to Automatic'
Set-Service -Name WinRM -StartupType Automatic