Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38655

Unable to deploy cluster on Azure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Blocker
    • 6.5.1
    • 6.0.3, 6.5.0
    • cloud_marketplace
    • Untriaged
    • Yes

    Description

      Deployment from Azure Cloud Marketplace template is failing with 6.5.0 and 6.0.3.

      Following is the error text from the failed 6.5.0 deployment :

      {
        "code": "DeploymentFailed",
        "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
        "details": [
          {
            "code": "Conflict",
            "message": "{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"VMExtensionProvisioningError\",\r\n        \"message\": \"VM has reported a failure when processing extension 'extension'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=1\\n[stdout]\\n Couchbase Server...\\nSelecting previously unselected package couchbase-server.\\n(Reading database ... 53432 files and directories currently installed.)\\nPreparing to unpack couchbase-server-enterprise_6.5.0-ubuntu16.04_amd64.deb ...\\nWarning: Transparent hugepages looks to be active and should not be.\\nPlease look at https://developer.couchbase.com/documentation/server/current/install/thp-disable.html as for how to PERMANENTLY alter this setting.\\nWarning: Swappiness is not set to 0.\\nPlease look at https://developer.couchbase.com/documentation/server/current/install/install-swap-space.html as for how to PERMANENTLY alter this setting.\\nMinimum RAM required  : 4 GB\\nSystem RAM configured : 6.81 GB\\n\\nMinimum number of processors required : 4 cores\\nNumber of processors on the system    : 2 cores\\nUnpacking couchbase-server (6.5.0-4960-1) ...\\nSetting up couchbase-server (6.5.0-4960-1) ...\\n\\nYou have successfully installed Couchbase Server.\\nPlease browse to http://server000000:8091/ to configure your server.\\nRefer to http://docs.couchbase.com for additional resources.\\n\\nPlease note that you have to update your firewall configuration to\\nallow external connections to a number of network ports for full\\noperation. Refer to the documentation for the current list:\\nhttps://docs.couchbase.com/server/6.5/install/install-ports.html\\n\\nBy using this software you agree to the End User License Agreement.\\nSee /opt/couchbase/LICENSE.txt.\\n\\nHit:1 http://azure.archive.ubuntu.com/ubuntu xenial InRelease\\nHit:2 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease\\nHit:3 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease\\nHit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease\\nReading package lists...\\nReading package lists...\\nBuilding dependency tree...\\nReading state information...\\ncouchbase-server is already the newest version (6.5.0-4960-1).\\n0 upgraded, 0 newly installed, 0 to remove and 161 not upgraded.\\nCalling util.sh...\\nPartitioning the disk.\\n\\nWelcome to fdisk (util-linux 2.27.1).\\nChanges will remain in memory only, until you decide to write them.\\nBe careful before using the write command.\\n\\nDevice does not contain a recognized partition table.\\nCreated a new DOS disklabel with disk identifier 0x7a410c08.\\n\\nCommand (m for help): Partition type\\n   p   primary (0 primary, 0 extended, 4 free)\\n   e   extended (container for logical partitions)\\nSelect (default p): Partition number (1-4, default 1): First sector (2048-67108863, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-67108863, default 67108863): \\nCreated a new partition 1 of type 'Linux' and of size 32 GiB.\\n\\nCommand (m for help): Selected partition 1\\nPartition type (type L to list all types): Changed type of partition 'Linux' to 'Linux'.\\n\\nCommand (m for help): The partition table has been altered.\\nCalling ioctl() to re-read partition table.\\nSyncing disks.\\n\\nWaiting for the symbolic link to be created...\\nCreating the filesystem.\\nDiscarding device blocks:    4096/8388352\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b               \\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\bdone                            \\nCreating filesystem with 8388352 4k blocks and 2097152 inodes\\nFilesystem UUID: 9ca1d635-4522-4ab1-9201-fb70d0b2aa8c\\nSuperblock backups stored on blocks: \\n\\t32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, \\n\\t4096000, 7962624\\n\\nAllocating group tables:   0/256\\b\\b\\b\\b\\b\\b\\b       \\b\\b\\b\\b\\b\\b\\bdone                            \\nWriting inode tables:   0/256\\b\\b\\b\\b\\b\\b\\b       \\b\\b\\b\\b\\b\\b\\bdone                            \\nCreating journal (32768 blocks): done\\nWriting superblocks and filesystem accounting information:   0/256\\b\\b\\b\\b\\b\\b\\b       \\b\\b\\b\\b\\b\\b\\bdone\\n\\nUpdating fstab\\nMounting the disk\\nChanging permissions\\nvm.swappiness = 0\\nSetting TCP keepalive...\\nnet.ipv4.tcp_keepalive_time = 120\\nSetting TCP keepalive permanently...\\nConfiguring Couchbase Server...\\nAdding an entry to /etc/hosts to simulate split brain DNS...\\nWaiting for server startup...server is up.\\nRunning couchbase-cli node-init\\nSUCCESS: Node initialized\\nRunning couchbase-cli cluster-init\\nERROR: cbasMemoryQuota - The analytics service quota (570MB) cannot be less than 1024MB.\\n\\n[stderr]\\n... 99%  277M 0s\\n354550K .......... .......... .......... .......... .......... 99% 62.6M 0s\\n354600K .......... .......... .......... .......... .......... 99%  183M 0s\\n354650K .......... .......... .......... .......... .......... 99%  143M 0s\\n354700K .......... .......... .......... .......... .......... 99%  304M 0s\\n354750K .......... .......... .......... .......... .......... 99%  337M 0s\\n354800K .......... .......... .......... .......... .......... 99%  354M 0s\\n354850K .......... .......... .......... .......... .......... 99%  210M 0s\\n354900K .......... .......... .......... .......... .......... 99%  300M 0s\\n354950K .......... .......... .......... .......... .......... 99%  307M 0s\\n355000K .......... .......... .......... .......... .......... 99%  340M 0s\\n355050K .......... .......... .......... .......... .......... 99%  347M 0s\\n355100K .......... .......... .......... .......... .......... 99%  345M 0s\\n355150K .......... .......... .......... .......... .......... 99%  311M 0s\\n355200K .......... .......... .......... .......... .......... 99%  312M 0s\\n355250K .......... .......... .......... .......... .......... 99%  222M 0s\\n355300K .......... .......... .......... .......... .......... 99%  331M 0s\\n355350K .......... .......... .......... .......... .......... 99%  253M 0s\\n355400K .......... .......... .......... .......... .......... 99% 1.46M 0s\\n355450K .......... .......... .......... .......... .......... 99%  299M 0s\\n355500K .......... .......... .......... .......... .......... 99% 46.0M 0s\\n355550K .......... .......... .......... .......... .......... 99%  332M 0s\\n355600K .......... .......... .......... .......... .......... 99%  336M 0s\\n355650K .......... .......... .......... .......... .......... 99%  252M 0s\\n355700K .......... .......... .......... .......... .......... 99%  362M 0s\\n355750K .......... .......... .......... .......... .......... 99%  372M 0s\\n355800K .......... .......... .......... .......... .......... 99%  358M 0s\\n355850K .......... .......... .......... .......... .......... 99%  295M 0s\\n355900K .......... .......... .......... .......... .......... 99%  365M 0s\\n355950K .......... .......... .......... .......... .......... 99% 45.3M 0s\\n356000K .......... .......... .......... .......... .......... 99%  215M 0s\\n356050K .......... .......... .......... .......... .......... 99%  228M 0s\\n356100K .......... .......... .......... .......... .......... 99%  248M 0s\\n356150K .......... .......... .......... .......... .......... 99%  302M 0s\\n356200K .......... .......... .......... .......... .......... 99%  313M 0s\\n356250K .......... .......... .......... .......... .......... 99%  367M 0s\\n356300K .......... .......... .......... .......... .......... 99%  359M 0s\\n356350K .......... .......... .......... .......... .......... 99%  321M 0s\\n356400K .......... .......... .......... .......... .......... 99%  370M 0s\\n356450K .......... .......... .......... .......... .......... 99%  336M 0s\\n356500K .......... .......... .......... .......... .......... 99%  355M 0s\\n356550K .......... .......... .......... .......... .......... 99%  320M 0s\\n356600K .......                                               100% 13873G=4.8s\\n\\n2020-04-08 01:04:41 (72.5 MB/s) - ‘couchbase-server-enterprise_6.5.0-ubuntu16.04_amd64.deb’ saved [365165848/365165848]\\n\\nsent invalidate(passwd) request, exiting\\nsent invalidate(group) request, exiting\\nsent invalidate(group) request, exiting\\nsent invalidate(passwd) request, exiting\\nsent invalidate(group) request, exiting\\nsent invalidate(passwd) request, exiting\\nsent invalidate(group) request, exiting\\nmke2fs 1.42.13 (17-May-2015)\\nCreated symlink from /etc/systemd/system/multi-user.target.wants/disable-thp.service to /etc/systemd/system/disable-thp.service.\\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\\n                                 Dload  Upload   Total   Spent    Left  Speed\\n\\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\\r100   277  100   277    0     0  73261      0 --:--:-- --:--:-- --:--:-- 92333\\n\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot \"\r\n      }\r\n    ]\r\n  }\r\n}"
          }
        ]
      }

      See attached screenshot.

      This is a regression.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shomari.liburd Shomari Liburd (Inactive)
            mihir.kamdar Mihir Kamdar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty