Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created S3 test how-to #306

Closed
wants to merge 61 commits into from
Closed

Created S3 test how-to #306

wants to merge 61 commits into from

Commits on Feb 6, 2024

  1. Implement the operations for getting and setting log-level

    This PR implements the setter and getter for log levels as used
    by the microceph daemon. It needs to jump through some hoops, as
    the lxd libraries don't expose this functionality themselves.
    
    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    4d9ab1b View commit details
    Browse the repository at this point in the history
  2. Use pointer casting.

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    1499c55 View commit details
    Browse the repository at this point in the history
  3. Fix pointer casting.

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    0b03b6c View commit details
    Browse the repository at this point in the history
  4. Simplify the code by using already written stuff.

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    124faf2 View commit details
    Browse the repository at this point in the history
  5. Actually add the log command.

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    73d8311 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Fix canonical#303: Introduce flag --microceph-ip for cluster bootstrap

    Signed-off-by: Matthias Kesler <krombel@krombel.de>
    krombel committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    d6032d3 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. Created S3 test how-to

    cgsamp committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    0bee3f3 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Fixed rtd errors

    cgsamp committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    00e2cbf View commit details
    Browse the repository at this point in the history
  2. Updated code block to json

    cgsamp committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    8d1cc83 View commit details
    Browse the repository at this point in the history
  3. Adjusted json indent

    cgsamp committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    ce46046 View commit details
    Browse the repository at this point in the history
  4. last time

    cgsamp committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    1451d30 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Merge pull request canonical#294 from canonical/set-log-level

    Implement the operations for getting and setting log-level
    lmlg committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    a383115 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Merge pull request canonical#304 from krombel/introduce_microceph_ip_…

    …param
    
    Fix canonical#303: Introduce flag --microceph-ip for cluster bootstrap
    sabaini committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    a6c8001 View commit details
    Browse the repository at this point in the history
  2. Document the log manipulation facilities.

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    acb1970 View commit details
    Browse the repository at this point in the history
  3. Spelling fix.

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    058dd3c View commit details
    Browse the repository at this point in the history
  4. More spelling fixes.

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    2db609a View commit details
    Browse the repository at this point in the history
  5. Spell: subcommand -> sub command

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    1e7ff9e View commit details
    Browse the repository at this point in the history
  6. Spell: prohibitely high -> far too high

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    e7ad3c9 View commit details
    Browse the repository at this point in the history
  7. Spell: get-lvel => get-level

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    5764323 View commit details
    Browse the repository at this point in the history
  8. Fix flaky removal test

    This PR aims to fix the removal test to take into consideration
    that a node that is being removed may be temporarily reported
    as 'out of quorum' instead of completely out.
    
    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    7c0aad7 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Fix storage unit test (canonical#302)

    Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
    sabaini committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    b4c72db View commit details
    Browse the repository at this point in the history
  2. Merge pull request canonical#308 from canonical/fix-flaky-test

    Fix flaky removal test
    sabaini committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    b9d6525 View commit details
    Browse the repository at this point in the history
  3. Fix: allow mount observe (canonical#309)

    Also test listing disks
    
    Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
    sabaini committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    ea7c863 View commit details
    Browse the repository at this point in the history
  4. Make Batch Disk addition API compatible with older clients.

    Signed-off-by: Utkarsh Bhatt <utkarsh.bhatt@canonical.com>
    UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    2151be9 View commit details
    Browse the repository at this point in the history
  5. snap/snapcraft: drop build-attributes

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6bf52e8 View commit details
    Browse the repository at this point in the history
  6. snapcraft/commands/osd.start: drop unused var

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    2ba16cf View commit details
    Browse the repository at this point in the history
  7. snapcraft/commands/osd.start: silence shellcheck SC2155

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    236aba3 View commit details
    Browse the repository at this point in the history
  8. snapcraft/commands/osd.reload: silence shellcheck SC2155

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    30b4b3e View commit details
    Browse the repository at this point in the history
  9. snapcraft/commands/osd.start: set -eu

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    7519588 View commit details
    Browse the repository at this point in the history
  10. snapcraft/commands/osd.reload: set -eu

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    fd4bc22 View commit details
    Browse the repository at this point in the history
  11. snapcraft/commands/osd.start: dash doesn't support local specifier

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    f93defa View commit details
    Browse the repository at this point in the history
  12. snapcraft/commands/osd.start: simplify is_osd_running()

    `nc -z` checks for listening socket without sending any data.
    Remove the `[ -S ]` test as `nc` already returns 1 when provided
    an inexistent Unix socket.
    
    Here it is in action when testing with LXD's socket:
    
    ```
    1
    
    0
    
    Stopped.
    1
    ```
    
    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    bf76b12 View commit details
    Browse the repository at this point in the history
  13. snap/snapcraft: s/SNAPCRAFT_/CRAFT_/g

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6dd3632 View commit details
    Browse the repository at this point in the history
  14. snap/snapcraft: go build -trimpath

    https://go.dev/doc/go1.13#go-command:
    > The new go build flag -trimpath removes all file system paths
    > from the compiled executable, to improve build reproducibility.
    
    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6aabf26 View commit details
    Browse the repository at this point in the history
  15. snap/snapcraft: uuidgen is used by ceph

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    56326c7 View commit details
    Browse the repository at this point in the history
  16. snap/snapcraft: add strip part to strip binaries and libs

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6c8750b View commit details
    Browse the repository at this point in the history
  17. snap/snapcraft: add strip part to libs

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    3f9f9c1 View commit details
    Browse the repository at this point in the history
  18. snap/snapcraft: strip microceph{,d} binaries

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    70b1c40 View commit details
    Browse the repository at this point in the history
  19. snap/snapcraft: use craftctl default in overrides

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    9fddc12 View commit details
    Browse the repository at this point in the history
  20. microceph/go.mod: simplify Go version number to please go test

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    0ad71b8 View commit details
    Browse the repository at this point in the history
  21. github: use actions/setup-go to install Go 1.21

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    583a3b9 View commit details
    Browse the repository at this point in the history
  22. github: don't run apt-get update twice

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    9de84ac View commit details
    Browse the repository at this point in the history
  23. microceph/Makefile: pin go 1.21 in update-gomod

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    63bd66b View commit details
    Browse the repository at this point in the history
  24. microceph/ceph/osd: update import path for lxd/revert

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    55dcb61 View commit details
    Browse the repository at this point in the history
  25. microceph: update gomod

    Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
    simondeziel authored and UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6c097f1 View commit details
    Browse the repository at this point in the history
  26. Adapt bootstrap hook changes in microcluster.

    Signed-off-by: Utkarsh Bhatt <utkarsh.bhatt@canonical.com>
    UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6508b85 View commit details
    Browse the repository at this point in the history
  27. Fix incorrect placeholder.

    Signed-off-by: Utkarsh Bhatt <utkarsh.bhatt@canonical.com>
    UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    e8b6ab9 View commit details
    Browse the repository at this point in the history
  28. Small changes in doc file

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    58cfdb5 View commit details
    Browse the repository at this point in the history
  29. Merge pull request canonical#299 from simondeziel/smaller-snap

    Tricks and enhancements from LXD and MicroCloud
    UtkarshBhatthere committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    9632a7f View commit details
    Browse the repository at this point in the history
  30. Use camelcase for MicroCeph

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    5777133 View commit details
    Browse the repository at this point in the history
  31. Address PR comments

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    ca6752f View commit details
    Browse the repository at this point in the history
  32. Fix typo

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    e83c365 View commit details
    Browse the repository at this point in the history
  33. Simplify title.

    Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
    lmlg committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    8788358 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Fix: move logrus to direct dep

    Make it a direct dependency (otherwise the "go get" during build
    dirties the worktree)
    
    Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
    sabaini committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    556689a View commit details
    Browse the repository at this point in the history
  2. Merge pull request canonical#311 from sabaini/fix-dirty-worktree

    Fix: move logrus to direct dep
    sabaini committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    de97d31 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Merge pull request canonical#310 from UtkarshBhatthere/fix/BatchDiskC…

    …ompatFix
    
    Make Batch Disk addition API compatible with older clients.
    sabaini committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    0f58a71 View commit details
    Browse the repository at this point in the history
  2. Merge pull request canonical#307 from canonical/doc-log-level

    Document the log manipulation facilities.
    lmlg committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    bfd9424 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Increased bootstrap timeout

    Signed-off-by: Utkarsh Bhatt <utkarsh.bhatt@canonical.com>
    UtkarshBhatthere committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    91ab5d6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request canonical#315 from UtkarshBhatthere/test/bootstrap…

    …Timeout
    
    Increased bootstrap timeout
    sabaini committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    b959197 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Created S3 test how-to

    cgsamp committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f08d69d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bfcd8f4 View commit details
    Browse the repository at this point in the history