Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-1844

Xbcloud crashes with swift storage when project options are not included

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.4.14
    • Fix Version/s: 8.0.6, 2.4.15
    • Component/s: None
    • Labels:
      None

      Description

      Run backup using storage as swift

      ./xtrabackup --user=root --password='' --backup --stream=xbstream -S $HOME/PS230419_5_7_25_28/socket.sock --datadir=$HOME/PS230419_5_7_25_28/data 2>full_backup | ./xbcloud put --storage=swift --swift-user=xtrabackup --swift-password=xtrabackup123! --swift-auth-version=3 --swift-auth-url=http://openstack.ci.percona.com:5000/ --swift-container=xtrabackup --swift-domain=Default FullBackup 2>upload_full_backup
      Aborted (core dumped)

      Xbcloud crashes

      xbcloud: /home/mchawla/PXB-2.4.14/extra/rapidjson/include/rapidjson/writer.h:334: void rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator>::Prefix(rapidjson::Type) [with OutputStream = rapidjson::GenericStringBuffer<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]: Assertion `type == kStringType' failed.

      When project options are added, the backup works

      ./xtrabackup --user=root --password='' --backup --stream=xbstream -S $HOME/PS230419_5_7_25_28/socket.sock --datadir=$HOME/PS230419_5_7_25_28/data 2>full_backup_2 | ./xbcloud put --storage=swift --swift-auth-url=http://openstack.ci.percona.com:5000/ --swift-auth-version=3 --swift-project=jenkins-test --swift-project-domain=Default --swift-user=xtrabackup --swift-password='xtrabackup123!' --swift-domain=Default --swift-container=xtrabackup FullBackup 2>upload_full_backup_2

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                sergei.glushchenko Sergei Glushchenko
                Reporter:
                manish.chawla Manish Chawla
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 day, 1 hour, 7 minutes
                  1d 1h 7m