Created
February 11, 2015 09:52
-
-
Save szamuboy/c7d36b68ddc785190615 to your computer and use it in GitHub Desktop.
Continuum-v1419325114 shell session: cannot create capsule snapshot after restart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ apc version | |
0.13.10 (release-350a-2-g865fc8a) | |
$ apc capsule create cap1 --allow-egress -i linux | |
╭─────────────────────────────────────────────╮ | |
│ Capsule Settings │ | |
├─────────────┬───────────────────────────────┤ | |
│ FQN: │ job::/sandbox/developer::cap1 │ | |
│ Image: │ linux │ | |
│ CPU: │ 0ms/s (uncapped) │ | |
│ Memory: │ 256MB │ | |
│ Disk: │ 1024MB │ | |
│ Network: │ 5Mbps │ | |
│ Netmax: │ 0Mbps (uncapped) │ | |
│ Open Egress │ true │ | |
╰─────────────┴───────────────────────────────╯ | |
Is this correct? [Y/n]: y | |
Searching for operating system "linux"... done | |
Using package "ubuntu-14.04" | |
Creating the capsule "cap1"... done | |
Waiting for the capsule to start... | |
Capsule should be accessible with: | |
> apc capsule connect cap1 | |
Success! | |
$ apc capsule snapshot cap1 -n cap1-snap | |
╭──────────────────────────────────────────────────────╮ | |
│ Capsule Snapshot Settings │ | |
├──────────────────────┬───────────────────────────────┤ | |
│ Capsule to Snapshot: │ job::/sandbox/developer::cap1 │ | |
│ Snapshot Name: │ cap1-snap │ | |
│ Directory: │ / │ | |
│ Timeout (minutes): │ 2 │ | |
╰──────────────────────┴───────────────────────────────╯ | |
Is this correct? [Y/n]: y | |
Getting capsule "cap1"... done | |
Retrieving running information.. done | |
Creating the snapshot... done | |
Created package "package::/sandbox/developer::cap1-snap" | |
Success! | |
$ apc capsule restart cap1 | |
Stopping "cap1"... done | |
Restarting "cap1"... done | |
Waiting for "cap1" to start... | |
Success! | |
$ apc capsule snapshot cap1 -n cap1-snap2 | |
╭──────────────────────────────────────────────────────╮ | |
│ Capsule Snapshot Settings │ | |
├──────────────────────┬───────────────────────────────┤ | |
│ Capsule to Snapshot: │ job::/sandbox/developer::cap1 │ | |
│ Snapshot Name: │ cap1-snap2 │ | |
│ Directory: │ / │ | |
│ Timeout (minutes): │ 2 │ | |
╰──────────────────────┴───────────────────────────────╯ | |
Is this correct? [Y/n]: | |
Getting capsule "cap1"... done | |
Retrieving running information.. error | |
Error: there must be exactly 1 instance of the capsule. | |
Try `apc help` for more information. | |
$ apc capsule show cap1 | |
╭──────────────────────┬────────────────────────────────────────────╮ | |
│ Job: │ cap1 │ | |
├──────────────────────┼────────────────────────────────────────────┤ | |
│ FQN: │ job::/sandbox/developer::cap1 │ | |
│ State: │ started │ | |
│ Running Instances: │ 1/1 started │ | |
│ │ │ | |
│ Resources │ │ | |
│ CPU: │ (no limit) │ | |
│ Memory: │ 256MB │ | |
│ Disk: │ 1GB │ | |
│ Network: │ 5Mbps │ | |
│ Netmax: │ (no limit) │ | |
│ │ │ | |
│ Process │ │ | |
│ Name: │ init │ | |
│ Start Command: │ /sbin/init │ | |
│ │ │ | |
│ Exposed Ports: │ 222 │ | |
│ │ │ | |
│ Routes: │ none │ | |
│ │ │ | |
│ Tags: │ allow_running_updates: true │ | |
│ │ heavy: cap1 │ | |
│ │ │ | |
│ Packages: │ package::/apcera/pkg/os::ubuntu-14.04* │ | |
│ │ │ | |
│ Package Environment: │ PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin" │ | |
│ │ │ | |
│ Bound Services │ │ | |
│ │ │ | |
│ 1. Service: │ service::/apcera::outside │ | |
│ Environment: │ APCERA_OUTSIDE_URI │ | |
│ │ CAPSULE-EGRESS_CAP1_URI │ | |
│ │ CAPSULEEGRESS_CAP1_URI │ | |
│ │ NETWORK_URI │ | |
│ │ OUTSIDE_URI │ | |
│ │ SANDBOX_DEVELOPER_CAPSULEEGRESS_CAP1_URI │ | |
╰──────────────────────┴────────────────────────────────────────────╯ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment