Skip to content
Branch: master
Commits on Jul 16, 2019
  1. check openstack client version

    zhenz committed Jul 16, 2019
Commits on Jun 5, 2019
  1. Force OS_IDENTITY_API_VERSION to use v3

    diurnalist committed Jun 5, 2019
    It seems to still want to default to v2, perhaps due to older clients
    existing in the image.
Commits on May 30, 2019
  1. Support remote invocation of cc-snapshot over SSH

    diurnalist committed May 30, 2019
    To get remove invocation to work, a few things were necessary:
    - A 'y' flag to skip the prompts
    - Support for passing OS_TOKEN in as an alternate method
    - Updating OS clients to properly deal with password vs token auth
Commits on May 2, 2019
  1. Fix bug with interpreting excluded patterns

    diurnalist committed May 2, 2019
    All the file patterns need to be on their own line; use printf for
    converting the user-provided args.
  2. Exclude more files

    diurnalist committed May 2, 2019
    In particular, exclude the postfix spool sockets and other sockets that
    are raising warnings. The cloudfuse mount also will not work to
    snapshot, and we really don't want to snapshot that accidentally in any
    case! Use the --exclude-from to organize this a bit more.
  3. Use Keystone v3 authentication

    diurnalist committed May 2, 2019
    The Queens release removed support for Keystone v2.0 authentication; we
    are now on the Rocky release.
Commits on Mar 22, 2019
  1. Merge pull request #10 from ChameleonCloud/vendordata

    zhenz committed Mar 22, 2019
    Using new vendordata mechanism
Commits on Feb 22, 2019
  1. Using new vendordata mechanism

    zhenz committed Feb 22, 2019
Commits on Sep 20, 2018
  1. Merge pull request #9 from ChameleonCloud/fhlb_test

    francoishalbach committed Sep 20, 2018
    self-update feature
Commits on Sep 6, 2018
  1. fix LABEL unbound variable

    zhenz committed Sep 6, 2018
Commits on Aug 27, 2018
  1. Merge pull request #7 from ChameleonCloud/fix-ubuntu-label-detect

    diurnalist committed Aug 27, 2018
    Gracefully recover from multiple labeled disks
Commits on Jul 20, 2018
Commits on Jul 3, 2018
  1. Gracefully recover from multiple labeled disks

    diurnalist committed Jul 3, 2018
    In Ubuntu, we attempt to guess the disk label by looking at
    /dev/disk/by-label. It's possible that this contains multiple label
    links. This ends up breaking the script in a weird way because $LABEL is
    not quoted when passed to the virtfs command.
    Solution is to bail out if we detect more than one labeled disk. It also
    supports overriding LABEL if you know what you're doing, or at least to
    provide an escape hatch.
Commits on Apr 24, 2018
  1. Merge pull request #6 from ChameleonCloud/ignore-warning

    priteau committed Apr 24, 2018
    Add command line arg for ignoring warnings
  2. add command line arg for ignoring warnings

    Zhuo Zhen Zhuo Zhen
    Zhuo Zhen authored and Zhuo Zhen committed Apr 24, 2018
Commits on Apr 2, 2018
  1. Merge pull request #5 from ChameleonCloud/large_snapshot_warning

    priteau committed Apr 2, 2018
    warning if snapshot too large
Commits on Mar 29, 2018
  1. warning if snapshot too large

    Zhuo Zhen
    Zhuo Zhen committed Mar 28, 2018
Commits on Mar 2, 2018
Commits on Nov 30, 2017
  1. Can't use --limit on Trusty's version of glanceclient

    nicktimko committed Nov 30, 2017
    Not sure if it even sped things up anyways. Also wrapped some longer lines, made errors print to stderr.
Commits on Nov 28, 2017
  1. Exclude cloud-init folder to fix rebuilds not working right

    nicktimko committed Nov 28, 2017
    Rebuilds don't seem to fill in the SSH keys, probably because the /var/lib/cloud folder thinks that it already did it with the given instance.
Commits on Nov 27, 2017
  1. Get region from vendor_data endpoint

    nicktimko committed Nov 27, 2017
    Also trying to use jq to extract the information; string-parsing the JSON is making assumptions about its structure. Keystone v3 also gave me a strange auth error; might need a little more testing.
Commits on Nov 6, 2017
Commits on Nov 2, 2017
  1. Manually exclude folders while snapshotting

    arundasan91 authored and nicktimko committed Aug 10, 2017
    Manually exclude multiple folders using '-e' flag while snapshotting. Will help to snapshot instances without freeing up space in folders with huge amount of data (such as datasets, logs, etc.) and also sensitive information (keys stored in folders, personal project files, etc.).
    Usage: /usr/bin/cc-snapshot -e folder_to_exclude_1 -e folder_to_exclude_2 snapshot_name.
    Example: /usr/bin/cc-snapshot -e /home/cc/datasets -e "/home/cc/projectfiles" latest_project_snapshot_ubuntu16
    The script works for both `quotes` and normal paths without `quotes`.
Commits on Nov 1, 2017
  1. Tests run...kinda

    nicktimko committed Nov 1, 2017
    Rebuilding appears to prevent cloud-init from loading SSH keys?
Commits on Oct 31, 2017
  1. Add tests

    nicktimko committed Oct 31, 2017
Commits on Feb 8, 2017
  1. Workaround to allow libguestfs to work on ARM64

    priteau committed Feb 8, 2017
    libguestfs cannot run with uboot kernels. We will make sure a regular
    kernel file is installed on the system in /boot.
Commits on Feb 7, 2017
  1. Add support for partition images

    priteau committed Feb 7, 2017
    If partition image format is requested, the image is not automatically
    uploaded as we don't know which kernel and ramdisk the user may want.
You can’t perform that action at this time.