Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1foEDw-0003jn-D3 for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Aug 2018 20:41:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1foEDu-0004Lt-P9 for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Aug 2018 20:41:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1foEDu-0004Lm-EW for pgsql-bugs@lists.postgresql.org; Fri, 10 Aug 2018 20:41:26 +0000 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1foEDq-0000e0-LN for pgsql-bugs@postgresql.org; Fri, 10 Aug 2018 20:41:25 +0000 Received: by mail-qt0-x244.google.com with SMTP id z8-v6so11679611qto.9 for ; Fri, 10 Aug 2018 13:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3ws96E9/7BpjcXL5fLKnq3Bu0cs/5y3MmRXq+dXYRW4=; b=Gh9SAyhEqtpXo8JBTUg3eOslDKmx5NO/O2G0N0NSoRxZKGg01Z8LnOVoj0WQ2wcEO/ qrMleBPgADLPmCWKfCyePm61Mr4Jxcj7NHLBpkToyOxjD4+2OAPQt+3m2Pua94HCSdfB zdI7p8u+TygOYVkVizhUvPbWyW1Oqoniw+Yi46yFZz/fb87DE2ueYGyvpFQujTIAV5Jc S8lcSX5MuV20MD3cWmShTyE+OlV/NA1Qswba+b0zmo5TGRrn7p/lf6IE5GupDad1bfL5 50j01crtbOXM1iKEFyFtm0BaKpqt36zQAvLGkb1WwqaGmrArq6MvGarLdRajiVDbqBiX 4/3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3ws96E9/7BpjcXL5fLKnq3Bu0cs/5y3MmRXq+dXYRW4=; b=Ag+csSZHqsKo78IlFnCSOw7CiJYYtTbJiYpYnTcCo5soIkU4DLKQ4vKJlHDLLbnHf6 V8OZS2fegbT7mI2uktD8qkozeWVsgPhpwCLMRHoKK/lvm0VXxf8PzRRXYGxMB7Nccc70 FkIHqySSnCb4V8ZqBGDWIlm/Skv3gT4gOSIIzqJ+gYjQL6lc5xNQK7lc2k6zKUuHQkOE sbK3G0Wdgy0hQiRl8YN18ZYWRipDe4vzZ5DhVANwWKGXnLevXtWOu28t1bg3tBWVW73W ZPb7r2o5yIQtIPPPDxXhxV3QRTsxplj+EK9XJMwS3KrZbu7b3fHS9Q0wVhUyDZcCf0K0 Xgeg== X-Gm-Message-State: AOUpUlG6JHTnvWwcOG8ChhHE5fZq9LjJVN9iSUz5SlUJFtUDpc9566vK G6ej62g0o/xWkKS+STmoMfifIQFNUarjhgmwt0fSBkB2IhMKWs8cBpbuAf89JHZxoXrdAjysgX1 3bmJy/gNtxSEDaX1pz0OsKEIEUa1vjY1zu92TMnp8cOGVkZE+MINkJFEW+UK2j3hU6/px4JdsHe hyFLz9ir2AfZYl X-Google-Smtp-Source: AA+uWPwksuTTVcWryJhEB6wQAmjl5LVlnX+f9vPdDvcYNcEcQR+7q797FXtA5MrpO5lJEdnth7a87A== X-Received: by 2002:ac8:16bb:: with SMTP id r56-v6mr8010901qtj.23.1533933679992; Fri, 10 Aug 2018 13:41:19 -0700 (PDT) Received: from alderaan.marques (host114.200-117-46.telecom.net.ar. [200.117.46.114]) by smtp.googlemail.com with ESMTPSA id v4-v6sm6574546qth.23.2018.08.10.13.41.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 13:41:19 -0700 (PDT) Subject: Re: [PG_UPGRADE] 9.6 to 10.5 To: Bruce Momjian , DEGLAVE Remi Cc: "pgsql-bugs@postgresql.org" References: <20180810161245.GA7815@momjian.us> From: Martin Marques Openpgp: preference=signencrypt Message-ID: <15fa3462-a3da-2134-1c4e-8127f50ed304@2ndquadrant.com> Date: Fri, 10 Aug 2018 17:41:14 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180810161245.GA7815@momjian.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk El 10/08/18 a las 13:12, Bruce Momjian escribió: > On Fri, Aug 10, 2018 at 12:51:29PM +0000, DEGLAVE Remi wrote: >> The source cluster was not shut down cleanly. >> >> Failure, exiting >> >> I tried to restart and shutdown clusters with another methods (-m options of >> pg_ctl, killing processes, …) still have the same issue. > > There is new code in PG 10.5 thta detects that the server is cleanly > shut down. You can no longer use '-m immediate' to shut down either > server, but 'smart' and 'fast' should be fine. Can you run > pg_controldata on each cluster before you run pg_upgrade to verify that > they say "Shutdown": He did mention trying to shutdown with different modes, and ended with the same result after pg_upgrade. I would recommend running pg_upgrade in verbose mode (add the -v option to the cmd), capture the output and open a thread in pgsql-general list (or send it back here for further review). -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services