Giter Site home page Giter Site logo

isucon / isucon6-final Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 16.0 61.03 MB

License: MIT License

Go 88.50% JavaScript 2.85% PHP 1.08% CSS 2.08% ApacheConf 0.01% Ruby 1.41% Makefile 0.13% HTML 0.01% Perl 1.25% Shell 0.29% Nginx 0.13% Python 1.05% Scala 1.22%

isucon6-final's Introduction

CAUTION: this project is open for only #isucon administrators

/webapp
/webapp/perl
/webapp/ruby
/webapp/nodejs

/tools
/tools/benchmark
/tools/domchecker
/tools/scoreboard

** Webアプリの基本方針
-処理はすべてリクエストを受け取ってから実施する
--DBへのクエリ
--テンプレートからのレンダリング
-全てのコンテンツをアプリケーションから渡す
--js/css/画像も含めて
-キャッシュ等はとりあえず全て無し

** 実装するリクエストハンドラ
- /
-- GET
-- articleのリスト(投稿順(id順) 最新10個)
--- SELECT id,title,body,created_at FROM article ORDER BY id DESC LIMIT 10

- /article/:articleid
-- GET
-- articleページの表示 (article + comments)
--- SELECT id,title,body,created_at FROM article WHERE id=?
--- SELECT name,body,created_at FROM comment WHERE article=? ORDER BY id

なお全ページ、左側のサイドバーに「新しいコメントがついた順に記事10件」を表示
--- SELECT article FROM comment GROUP BY article ORDER BY created_at DESC LIMIT 10

- /post
-- GET
-- 記事投稿用HTML ただしベンチ対象外のURLとする

- /post
-- POST
-- 記事投稿
-- パラメータはform形式で title, body
--- INSERT INTO article SET ...
-- レスポンスは / へのリダイレクト(成功)、もしくは適当なエラー用のHTTPステータス

- /comment/:articleid
-- POST
-- コメント投稿 (投稿フォームは /article/:articleid の末尾)
-- パラメータはform形式で name, body
--- INSERT INTO comment SET ...
-- レスポンスは /article/:articleid へのリダイレクト(成功)、もしくは適当なエラー用のHTTPステータス

** 添付するstaticファイル

- 画像
-- isuconロゴを適当なサイズにして流用、ページトップのバナー画像にする

- js
-- jquery 最新版の minify 済みファイル
-- jquery-ui 最新版の minify 済みファイル
-- isucon.js デザイン調整用

- css
-- jquery-ui の適当なスタイル用のもの一式
-- isucon.css デザイン調整用

isucon6-final's People

Contributors

aereal avatar catatsuy avatar edvakf avatar kamikosan avatar matsuu avatar motemen avatar walf443 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

isucon6-final's Issues

Server-Sent Eventsのストリーミングを使えばいいことに気づく人居ない気がする問題

今の実装だと必ず1秒sleepしてレスポンスを返してる。

PHPなどではおそらくsleep時間をちょっと短めに調整するのが最適解で、goやnodejsなどではおそらくそもそも接続を切らずにイベント駆動でレスポンスを返すのが最適解のはず。

ただ過去の経験上、最初に与えられたアプリケーションの仕様を変えるのはだいぶ勇気がいるので、そこを変更しても良いということをほのめかすことができると良い。

server.jsxはJSXをやめてserver.jsにしたい

たぶんこのファイルだけはみんながちょこちょこっと弄ることになるので、babelでビルドとか考えないでも書き換えて再起動で動くようにしてあげたい

1サーバーに対して複数のグローバルIPのクライアントから接続しても65535コネクション以上貼れない(?)件

client

'use strict';

const http = require('http');

function createRequest(num) {
        //console.log('req:' + num + '\tstatus:starting');

        const req = http.request({
                port: 80,
                hostname: '13.78.113.245',
                //hostname: '127.0.0.1',
                method: 'GET',
                path: '/',
                //agent: new http.Agent(),
        }, (res) => {
                console.log('req:' + num + '\tstatus:connected');

                res.on('data', (chunk) => {
                        //console.log('req:' + num + '\tstatus:chunk');
                });
                res.on('end', () => {
                        console.log('req:' + num + '\tstatus:end');
                });
        });

        req.on('error', (e) => {
                console.log('req:' + num + '\tstatus:error\terror:' + e.message);
                //console.log(e);
        });

        req.end();

        return {
                abort: () => {
                        req.abort();
                }
        }
}

let i = 0;
let max = 70000;

function iterate() {
        i++;
        if (i > max) {
                return;
        }
        createRequest(i);
        setTimeout(iterate, 1);
}
iterate();

server

'use strict';

let express = require('express');

var app = express();

let con = 0;
app.get('/', function(req, res) {
        const c = con++;
        let i = 0;

        console.log('con:' + c + '\tstatus:accepted');
        res.write('con:' + c + '\tstatus:sent\ti:' + i);

        const t = setInterval(() => {
                i++;
                console.log('con:' + c + '\tstatus:sent\ti:' + i);
                res.write('con:' + c + '\tstatus:sent\ti:' + i);
                res.flushHeaders();

                if (i > 100) {
                        res.end();
                }
        }, 5000);
});

app.on('error', (e) => {
        console.log(e);
});

app.listen(80, '0.0.0.0');

/etc/sysctl.conf

net.core.somaxconn = 100000
net.ipv4.ip_local_port_range = 1024 65535

npmの警告

手元で単体をdocker buildしてみた

Step 6 : RUN npm install
 ---> Running in 49cded617493
npm WARN deprecated [email protected]: Please update to the latest object-keys
npm WARN prefer global [email protected] should be installed with -g

> [email protected] postinstall /react/node_modules/async-props
> node ./npm-scripts/postinstall.js

[email protected] /react
+-- [email protected]
+-- [email protected]
| +-- [email protected]

...

  | `-- [email protected]
  `-- [email protected]
    +-- [email protected]
    `-- [email protected]
      `-- [email protected]

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
 ---> b010b1f4bfdb
Removing intermediate container 49cded617493
Step 7 : COPY . /react
 ---> a69936006f98
Removing intermediate container 0ceffcb4da68
Step 8 : RUN npm run build
 ---> Running in 6bc287b7430c

> [email protected] build /react

> mkdir -p build/public && cp package.json build && npm install --production --prefix build && rm build/package.json && babel -d build *.jsx components/*.jsx util/*.jsx && webpack && cp -r public/* build/public/

[email protected] /react/build
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- UNMET PEER DEPENDENCY react@^15.3.2
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
`-- [email protected]
  `-- [email protected]
    `-- [email protected]

npm WARN enoent ENOENT: no such file or directory, open '/react/build/node_modules/hoist-non-react-statics/package.json'
npm WARN [email protected] requires a peer of react@^15.3.2 but none was installed.
npm WARN [email protected] requires a peer of react@^15.3.2 but none was installed.
routes.jsx -> build/routes.js
server.jsx -> build/server.js
components/Canvas.jsx -> build/components/Canvas.js
components/Index.jsx -> build/components/Index.js
components/Main.jsx -> build/components/Main.js
components/Room.jsx -> build/components/Room.js
util/fetch-json.jsx -> build/util/fetch-json.js
Hash: b85742d081a27e9839b1
Version: webpack 1.13.2
Time: 5286ms
    Asset     Size  Chunks             Chunk Names
bundle.js  1.68 MB       0  [emitted]  main
    + 532 hidden modules

WARNING in ./util/fetch-json.jsx

/react/util/fetch-json.jsx
  9:11  warning  Unexpected console statement  no-console

✖ 1 problem (0 errors, 1 warning)


ERROR in ./components/Room.jsx

/react/components/Room.jsx
  39:27  error  'watcherCount' is missing in props validation  react/prop-types
  65:23  error  Missing radix parameter                        radix

✖ 2 problems (2 errors, 0 warnings)

オープニング動画

毎年ほぼ文字だけでKeynoteとかで作ってたみたい。

カッコイイ音楽が必要。

Azureのセットアップ時に秘密鍵を使うのはまずい

Azureのセットアップ時に秘密鍵を使ってgit cloneしてから不要なディレクトリを削除しているが、Azureの場合はAMIを用意できないので全参加者が鍵ファイルを盗み見ようと思えば盗み見れる状態になる。

webappディレクトリ以下をリリースしてtar.gzにして、それをダウンロードできるような形にした方がよさそう(予選はどうするのかも考慮したい)。

ベンチマーカーの正常系シナリオ

各種正常系シナリオ(増えていく予定)

API側

  • ルーム作成
    • GET / => POST /api/rooms => GET /api/rooms/{:id}
  • ストローク作成
    • GET /api/rooms/{:id} => POST /api/strokes/rooms/{:id}

SSEでクライアント同士で確認するように

クライアントのサンプルコード

package main

import (
    "bufio"
    "fmt"
    "net/http"
    "os"
    "time"
)

func main() {
    tick := time.Tick(10 * time.Millisecond)
    http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 10000

    go func() {
        for i := 0; i < 100000; i++ {
            go func() {

                res, err := http.Get("http://13.73.5.150:8000/events/") // api/rooms/1/strokes

                if err != nil {
                    fmt.Println(err.Error())
                    return
                }

                if res.StatusCode != http.StatusOK {
                    fmt.Fprintln(os.Stderr, "got response status code %d", res.StatusCode)
                    return
                }

                scanner := bufio.NewScanner(res.Body)
                for scanner.Scan() {
                    fmt.Println(scanner.Text())
                }
                if err := scanner.Err(); err != nil {
                    fmt.Fprintln(os.Stderr, "reading standard input:", err)
                    return
                }

            }()
            <-tick
        }
    }()

    time.Sleep(200 * time.Second)
}

シナリオの実装が一通りできてからになりそう。

PHP: RFC3339形式だとGoのベンチマーカーがそのままtime.Timeにデコードできて嬉しい

別のブランチで作業してるのでとりあえずパッチだけペタリ。

diff --git a/webapp/php/html/index.php b/webapp/php/html/index.php
index 2a45ae1..bd7522b 100644
--- a/webapp/php/html/index.php
+++ b/webapp/php/html/index.php
@@ -47,7 +47,7 @@ function typeCastPointData($data) {
     ];
 }

-const ISO8601MICROSENDS = "Y-m-d\TH:i:s.uO";
+const RFC3339MICROSENDS = "Y-m-d\TH:i:s.uP";

 function typeCastStrokeData($data) {
     return [
@@ -59,7 +59,7 @@ function typeCastStrokeData($data) {
         'blue' => (int)$data['blue'],
         'alpha' => (float)$data['alpha'],
         'points' => isset($data['points']) ? array_map('typeCastPointData', $data['points']) : [],
-        'created_at' => isset($data['created_at']) ? date_create($data['created_at'])->format(ISO8601MICROSENDS) : '',
+        'created_at' => isset($data['created_at']) ? date_create($data['created_at'])->format(RFC3339MICROSENDS) : '',
     ];
 }

@@ -69,7 +69,7 @@ function typeCastRoomData($data) {
         'name' => $data['name'],
         'canvas_width' => (int)$data['canvas_width'],
         'canvas_height' => (int)$data['canvas_height'],
-        'created_at' => isset($data['created_at']) ? date_create($data['created_at'])->format(ISO8601MICROSENDS) : '',
+        'created_at' => isset($data['created_at']) ? date_create($data['created_at'])->format(RFC3339MICROSENDS) : '',
         'strokes' => isset($data['strokes']) ? array_map('typeCastStrokeData', $data['strokes']) : [],
         'stroke_count' => (int)$data['stroke_count'],
         'watcher_count' => (int)$data['watcher_count'],

svgを解釈できるようにする

とりあえずサンプルコード

package main

import (
    "encoding/xml"
    "fmt"

    "github.com/k0kubun/pp"
)

func main() {
    type PolyLine struct {
        Stroke      string `xml:"stroke,attr"`
        StrokeWidth int    `xml:"stroke-width,attr"`
        Points      string `xml:"points,attr"`
    }

    type Svg struct {
        Width   int    `xml:"width,attr"`
        Height  int    `xml:"height,attr"`
        Style   string `xml:"style,attr"`
        ViewBox string `xml:"viewBox,attr"`

        PolyLine PolyLine `xml:"polyline"`
    }

    v := Svg{}

    data := `<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full" width="1028" height="768" style="width:1028px;height:768px;background-color:white;" viewBox="0 0 1028 768"><polyline stroke="rgba(128,128,128,0.7)" stroke-width="20" stroke-linecap="round" stroke-linejoin="round" fill="none" points="105,204 105,202 106,193 114,179 129,162 152,143 175,128 206,116 232,111 250,111 272,111 290,113 304,122 324,145 332,165 343,191 351,217 354,240 355,262 354,281 343,303 322,333 300,354 271,376 252,387 237,394 223,399 216,401 213,402 212,405"></polyline></svg>`
    err := xml.Unmarshal([]byte(data), &v)

    pp.Println(v)

    if err != nil {
        fmt.Printf("error: %v", err)
        return
    }
}

Output:

main.Svg{
  Width:    1028,
  Height:   768,
  Style:    "width:1028px;height:768px;background-color:white;",
  ViewBox:  "0 0 1028 768",
  PolyLine: main.PolyLine{
    Stroke:      "rgba(128,128,128,0.7)",
    StrokeWidth: 20,
    Points:      "105,204 105,202 106,193 114,179 129,162 152,143 175,128 206,116 232,111 250,111 272,111 290,113 304,122 324,145 332,165 343,191 351,217 354,240 355,262 354,281 343,303 322,333 300,354 271,376 252,387 237,394 223,399 216,401 213,402 212,405",
  },
}

ストリーミングのベンチマーカー案

strokeをpostするときに

  • リクエストを投げた時間 t1
  • レスポンスが返ってきた時間 t2
  • レスポンスのstroke IDや内容

をログに出す。

また、ストリーミング側では

  • 送られて来たstroke IDや内容
  • 届いた時間 t3

をログに出す。

最終的に全部のログを突き合わせてスコアを算出する。

算出例

  • POST側は t2 - t1 が短いほど高得点とする
    • 例えば1秒以内なら20点、3秒以内なら10点。
    • 3秒を超えると0点
    • リクエスト失敗も0点で良いかも
  • ストリーミング側も t3 - t1 が短いほど加点する
    • 例えば2秒以内なら3点、4秒以内なら2点、6秒以内なら1点
    • IDの抜けはFAILとする

基本ISUCONは減点なしの加点方式のほうがいい気がしてる(レスポンス内容が違うなどは減点ではなくFAILにする)

deploy to azureが途中でコケる

/var/log/azure-docker-extension-enable.log

Writing status to /var/lib/waagent/Microsoft.Azure.Extensions.DockerExtension-1.2.0/status/0.status.
++ readlink -f /var/lib/waagent/Microsoft.Azure.Extensions.DockerExtension-1.2.0/scripts/../bin/docker-extension
+ nohup /var/lib/waagent/Microsoft.Azure.Extensions.DockerExtension-1.2.0/bin/docker-extension enable
[DockerExtension] 2016/10/01 05:28:39 ----------------------------------------
[DockerExtension] 2016/10/01 05:28:39 Extension handler launch args: "/var/lib/waagent/Microsoft.Azure.Extensions.DockerExtension-1.2.0/bin/docker-extension enable"
[DockerExtension] 2016/10/01 05:28:39 seqnum: 0
[DockerExtension] 2016/10/01 05:28:39 distro info: Ubuntu 16.04
[DockerExtension] 2016/10/01 05:28:39 using distro driver: driver.UbuntuSystemdDriver
[DockerExtension] 2016/10/01 05:28:39 user: root uid:0 gid:0
[DockerExtension] 2016/10/01 05:28:39 env['PATH'] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[DockerExtension] 2016/10/01 05:28:39 + starting: 'enable'
[DockerExtension] 2016/10/01 05:28:39 ++ install docker
[executil] 2016/10/01 05:28:39 +++ invoke: /bin/sh [-c wget -qO- https://get.docker.com/ | sh]
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: /tmp/tmp.TXk42T8qKE/gpg.1.sh --keyserver
hkp://ha.pool.sks-keyservers.net:80
--recv-keys
58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server ha.pool.sks-keyservers.net
gpg: key 2C52609D: public key "Docker Release Tool (releasedocker) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ break
+ sh -c apt-key adv -k 58118E89F3A912897C070ADBF76221572C52609D >/dev/null
+ sh -c mkdir -p /etc/apt/sources.list.d
+ dpkg --print-architecture
+ sh -c echo deb \[arch=amd64\] https://apt.dockerproject.org/repo ubuntu-xenial main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package docker-engine
[executil] 2016/10/01 05:28:49 --- invoke end
[DockerExtension] 2016/10/01 05:28:49 install failed. remaining attempts=5. error=executing /bin/sh [-c wget -qO- https://get.docker.com/ | sh] failed: exit status 100
[DockerExtension] 2016/10/01 05:28:49 sleeping 1m0s
[executil] 2016/10/01 05:29:48 +++ invoke: /bin/sh [-c wget -qO- https://get.docker.com/ | sh]
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: /tmp/tmp.rYUJr2PusD/gpg.1.sh --keyserver
hkp://ha.pool.sks-keyservers.net:80
--recv-keys
58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server ha.pool.sks-keyservers.net
gpg: key 2C52609D: "Docker Release Tool (releasedocker) <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
+ break
+ sh -c apt-key adv -k 58118E89F3A912897C070ADBF76221572C52609D >/dev/null
+ sh -c mkdir -p /etc/apt/sources.list.d
+ dpkg --print-architecture
+ sh -c echo deb \[arch=amd64\] https://apt.dockerproject.org/repo ubuntu-xenial main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Hit:1 http://azure.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:5 https://apt.dockerproject.org/repo ubuntu-xenial InRelease [30.2 kB]
Get:6 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages [2313 B]
Fetched 32.5 kB in 1s (24.3 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  aufs-tools cgroupfs-mount libltdl7
Suggested packages:
  mountall
The following NEW packages will be installed:
  aufs-tools cgroupfs-mount docker-engine libltdl7
0 upgraded, 4 newly installed, 0 to remove and 28 not upgraded.
Need to get 19.5 MB/19.6 MB of archives.
After this operation, 102 MB of additional disk space will be used.
Get:1 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 docker-engine amd64 1.12.1-0~xenial [19.5 MB]
Get:2 http://azure.archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]
Get:3 http://azure.archive.ubuntu.com/ubuntu xenial/main amd64 libltdl7 amd64 2.4.6-0.1 [38.3 kB]
Fetched 19.5 MB in 0s (40.6 MB/s)
Selecting previously unselected package aufs-tools.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 62412 files and directories currently installed.)
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1ubuntu1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1ubuntu1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../cgroupfs-mount_1.2_all.deb ...
Unpacking cgroupfs-mount (1.2) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../libltdl7_2.4.6-0.1_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-0.1) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.12.1-0~xenial_amd64.deb ...
Unpacking docker-engine (1.12.1-0~xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu8) ...
Setting up aufs-tools (1:3.2+20130722-1.1ubuntu1) ...
Setting up cgroupfs-mount (1.2) ...
Setting up libltdl7:amd64 (2.4.6-0.1) ...
Setting up docker-engine (1.12.1-0~xenial) ...
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
sent invalidate(group) request, exiting
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for systemd (229-4ubuntu8) ...
Processing triggers for ureadahead (0.100.0-19) ...
+ sh -c docker version
Client:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 05:33:38 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 05:33:38 2016
 OS/Arch:      linux/amd64

If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

  sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

[executil] 2016/10/01 05:30:15 --- invoke end
[DockerExtension] 2016/10/01 05:30:15 -- install docker
[DockerExtension] 2016/10/01 05:30:15 ++ install docker-compose
[DockerExtension] 2016/10/01 05:30:15 Downloading compose from https://github.com/docker/compose/releases/download/1.6.2/docker-compose-Linux-x86_64
[DockerExtension] 2016/10/01 05:30:20 -- install docker-compose
[DockerExtension] 2016/10/01 05:30:20 ++ add user to docker group
[DockerExtension] 2016/10/01 05:30:20 -- add user to docker group
[DockerExtension] 2016/10/01 05:30:20 ++ setup docker certs
[DockerExtension] 2016/10/01 05:30:20 Docker certificate /etc/docker/ca.pem is not provided in the extension settings, skipping docker certs installation
[DockerExtension] 2016/10/01 05:30:20 -- setup docker certs
[DockerExtension] 2016/10/01 05:30:20 ++ update dockeropts
[DockerExtension] 2016/10/01 05:30:20 Updating daemon args to: -H=fd://
[DockerExtension] 2016/10/01 05:30:20 restart needed: true
[DockerExtension] 2016/10/01 05:30:20 -- update dockeropts
[DockerExtension] 2016/10/01 05:30:20 ++ restart docker
[DockerExtension] 2016/10/01 05:30:20 restarting docker-engine
[executil] 2016/10/01 05:30:20 +++ invoke: systemctl [daemon-reload]
[executil] 2016/10/01 05:30:20 --- invoke end
[executil] 2016/10/01 05:30:20 +++ invoke: systemctl [restart docker]
[executil] 2016/10/01 05:30:22 --- invoke end
[DockerExtension] 2016/10/01 05:30:25 -- restart docker
[DockerExtension] 2016/10/01 05:30:25 ++ login docker registry
[DockerExtension] 2016/10/01 05:30:25 registry login not specificied
[DockerExtension] 2016/10/01 05:30:25 -- login docker registry
[DockerExtension] 2016/10/01 05:30:25 ++ compose up
[DockerExtension] 2016/10/01 05:30:25 docker-compose config not specified, noop
[DockerExtension] 2016/10/01 05:30:25 -- compose up
[DockerExtension] 2016/10/01 05:30:25 - completed: 'enable'
[DockerExtension] 2016/10/01 05:30:25 Cleaned up .seqnum file.

cloud-init.log

Oct  1 05:27:14 ubuntu [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.8 running 'init-local' at Sat, 01 Oct 2016 05:27:14 +0000. Up 16.46 seconds.
Oct  1 05:27:14 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
Oct  1 05:27:14 ubuntu [CLOUDINIT] util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 104:4
Oct  1 05:27:14 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
Oct  1 05:27:14 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
Oct  1 05:27:14 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-local/check-cache: attempting to read from cache [check]
Oct  1 05:27:14 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
Oct  1 05:27:14 ubuntu [CLOUDINIT] stages.py[DEBUG]: no cache found
Oct  1 05:27:14 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-local/check-cache: SUCCESS: no cache found
Oct  1 05:27:14 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
Oct  1 05:27:14 ubuntu [CLOUDINIT] stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
Oct  1 05:27:14 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Looking for for data source in: ['Azure'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
Oct  1 05:27:15 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Searching for local data source in: []
Oct  1 05:27:15 ubuntu [CLOUDINIT] main.py[DEBUG]: No local datasource found
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/carrier (quiet=False)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/dormant (quiet=False)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/operstate (quiet=False)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 5 bytes from /sys/class/net/eth0/operstate
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
Oct  1 05:27:15 ubuntu [CLOUDINIT] stages.py[DEBUG]: applying net config names for {'config': [{'subnets': [{'type': 'dhcp'}], 'type': 'physical', 'mac_address': '00:0d:3a:50:ca:6d', 'name': 'eth0'}], 'version': 1}
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/operstate (quiet=False)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 5 bytes from /sys/class/net/eth0/operstate
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/lo/operstate (quiet=False)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 8 bytes from /sys/class/net/lo/operstate
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['ip', '-6', 'addr', 'show', 'permanent', 'scope', 'global'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['ip', '-4', 'addr', 'show'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:15 ubuntu [CLOUDINIT] __init__.py[DEBUG]: no work necessary for renaming of [['00:0d:3a:50:ca:6d', 'eth0']]
Oct  1 05:27:15 ubuntu [CLOUDINIT] stages.py[INFO]: Applying network configuration from fallback bringup=False: {'config': [{'subnets': [{'type': 'dhcp'}], 'type': 'physical', 'mac_address': '00:0d:3a:50:ca:6d', 'name': 'eth0'}], 'version': 1}
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /etc/network/interfaces.d/50-cloud-init.cfg - wb: [420] 367 bytes
Oct  1 05:27:15 ubuntu [CLOUDINIT] main.py[DEBUG]: [local] Exiting without datasource in local mode
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 12 bytes from /proc/uptime
Oct  1 05:27:15 ubuntu [CLOUDINIT] util.py[DEBUG]: cloud-init mode 'init' took 0.398 seconds (0.40)
Oct  1 05:27:15 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-local: SUCCESS: searching for local datasources
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.8 running 'init' at Sat, 01 Oct 2016 05:27:16 +0000. Up 18.05 seconds.
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 104:4
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['netstat', '-rn'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['netstat', '-A', 'inet6', '-n'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] main.py[DEBUG]: Checking to see if files that we need already exist from a previous run that would allow us to stop early.
Oct  1 05:27:16 ubuntu [CLOUDINIT] main.py[DEBUG]: Execution continuing, no previous run detected that would allow us to stop early.
Oct  1 05:27:16 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/check-cache: attempting to read from cache [trust]
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
Oct  1 05:27:16 ubuntu [CLOUDINIT] stages.py[DEBUG]: no cache found
Oct  1 05:27:16 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/check-cache: SUCCESS: no cache found
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
Oct  1 05:27:16 ubuntu [CLOUDINIT] stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
Oct  1 05:27:16 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Looking for for data source in: ['Azure'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
Oct  1 05:27:16 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Searching for network data source in: ['DataSourceAzureNet']
Oct  1 05:27:16 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/search-AzureNet: searching for network data from DataSourceAzureNet
Oct  1 05:27:16 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceAzure.DataSourceAzureNet'>
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['blkid', '-tTYPE=iso9660', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['blkid', '-tTYPE=udf', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/mounts (quiet=False)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2171 bytes from /proc/mounts
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Fetched {'sysfs': {'fstype': 'sysfs', 'mountpoint': '/sys', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'udev': {'fstype': 'devtmpfs', 'mountpoint': '/dev', 'opts': 'rw,nosuid,relatime,size=3548224k,nr_inodes=887056,mode=755'}, 'hugetlbfs': {'fstype': 'hugetlbfs', 'mountpoint': '/dev/hugepages', 'opts': 'rw,relatime'}, 'debugfs': {'fstype': 'debugfs', 'mountpoint': '/sys/kernel/debug', 'opts': 'rw,relatime'}, 'none': {'fstype': 'tmpfs', 'mountpoint': '/etc/network/interfaces.dynamic.d', 'opts': 'rw,nosuid,nodev,noexec,relatime,size=64k'}, 'systemd-1': {'fstype': 'autofs', 'mountpoint': '/proc/sys/fs/binfmt_misc', 'opts': 'rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct'}, 'securityfs': {'fstype': 'securityfs', 'mountpoint': '/sys/kernel/security', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'devpts': {'fstype': 'devpts', 'mountpoint': '/dev/pts', 'opts': 'rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000'}, 'fusectl': {'fstype': 'fusectl', 'mountpoint': '/sys/fs/fuse/connections', 'opts': 'rw,relatime'}, 'lxcfs': {'fstype': 'fuse.lxcfs', 'mountpoint': '/var/lib/lxcfs', 'opts': 'rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other'}, 'proc': {'fstype': 'proc', 'mountpoint': '/proc', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'cgroup': {'fstype': 'cgroup', 'mountpoint': '/sys/fs/cgroup/memory', 'opts': 'rw,nosuid,nodev,noexec,relatime,memory'}, 'tmpfs': {'fstype': 'tmpfs', 'mountpoint': '/sys/fs/cgroup', 'opts': 'ro,nosuid,nodev,noexec,mode=755'}, '/dev/sda1': {'fstype': 'ext4', 'mountpoint': '/', 'opts': 'rw,relatime,discard,data=ordered'}, 'pstore': {'fstype': 'pstore', 'mountpoint': '/sys/fs/pstore', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'mqueue': {'fstype': 'mqueue', 'mountpoint': '/dev/mqueue', 'opts': 'rw,relatime'}} mounts from proc
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['mount', '-o', 'ro,sync', '-t', 'auto', '/dev/sr0', '/tmp/tmpbxlhpu33'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['umount', '/tmp/tmpbxlhpu33'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Recursively deleting /tmp/tmpbxlhpu33
Oct  1 05:27:16 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: found datasource in /dev/sr0
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/firmware/acpi/tables/OEM0 (quiet=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 100 bytes from /sys/firmware/acpi/tables/OEM0
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/waagent/ovf-env.xml - wb: [384] 1280 bytes
Oct  1 05:27:16 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: Getting metadata via agent.  hostname=isu01 cmd=['service', 'walinuxagent', 'start']
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command hostname with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['hostname', 'isu01'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:16 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: pubhname: publishing hostname [hostname=isu01 policy=True interface=eth0]
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 12 bytes from /proc/uptime
Oct  1 05:27:16 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['sh', '-xc', 'i=$interface; x=0; ifdown $i || x=$?; ifup $i || x=$?; exit $x'] with allowed return codes [0] (shell=False, capture=False)
Oct  1 05:27:18 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
Oct  1 05:27:18 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 12 bytes from /proc/uptime
Oct  1 05:27:18 ubuntu [CLOUDINIT] util.py[DEBUG]: publishing hostname took 2.006 seconds (2.01)
Oct  1 05:27:18 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: invoking agent: ['service', 'walinuxagent', 'start']
Oct  1 05:27:18 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['service', 'walinuxagent', 'start'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:19 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: ssh authentication: using fingerprint from fabirc
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: waiting for files took 4.506 seconds
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['hostname', 'ubuntu'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['sh', '-c', 'openssl x509 -noout -pubkey < "$0" |ssh-keygen -i -m PKCS8 -f /dev/stdin', '/var/lib/waagent/E02C7F1241BFFFD02484A484F05E10FB06A561A5.crt'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: querying dmi data /sys/class/dmi/id/product_uuid
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/dmi/id/product_uuid (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 37 bytes from /sys/class/dmi/id/product_uuid
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: dmi data /sys/class/dmi/id/product_uuid returned 936268AB-961C-9C46-9136-47E533DE9F70
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['blkid', '-tTYPE=ntfs', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
Oct  1 05:27:23 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: using detected ephemeral0 of /dev/disk/cloud/azure_resource
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['blkid', '-tTYPE=ntfs', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)
Oct  1 05:27:23 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: fabric formated ephemeral0.1 device at /dev/disk/cloud/azure_resource-part1
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/mounts (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2171 bytes from /proc/mounts
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Fetched {'sysfs': {'fstype': 'sysfs', 'mountpoint': '/sys', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'udev': {'fstype': 'devtmpfs', 'mountpoint': '/dev', 'opts': 'rw,nosuid,relatime,size=3548224k,nr_inodes=887056,mode=755'}, 'hugetlbfs': {'fstype': 'hugetlbfs', 'mountpoint': '/dev/hugepages', 'opts': 'rw,relatime'}, 'debugfs': {'fstype': 'debugfs', 'mountpoint': '/sys/kernel/debug', 'opts': 'rw,relatime'}, 'none': {'fstype': 'tmpfs', 'mountpoint': '/etc/network/interfaces.dynamic.d', 'opts': 'rw,nosuid,nodev,noexec,relatime,size=64k'}, 'systemd-1': {'fstype': 'autofs', 'mountpoint': '/proc/sys/fs/binfmt_misc', 'opts': 'rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct'}, 'securityfs': {'fstype': 'securityfs', 'mountpoint': '/sys/kernel/security', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'devpts': {'fstype': 'devpts', 'mountpoint': '/dev/pts', 'opts': 'rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000'}, 'fusectl': {'fstype': 'fusectl', 'mountpoint': '/sys/fs/fuse/connections', 'opts': 'rw,relatime'}, 'lxcfs': {'fstype': 'fuse.lxcfs', 'mountpoint': '/var/lib/lxcfs', 'opts': 'rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other'}, 'proc': {'fstype': 'proc', 'mountpoint': '/proc', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'cgroup': {'fstype': 'cgroup', 'mountpoint': '/sys/fs/cgroup/memory', 'opts': 'rw,nosuid,nodev,noexec,relatime,memory'}, 'tmpfs': {'fstype': 'tmpfs', 'mountpoint': '/sys/fs/cgroup', 'opts': 'ro,nosuid,nodev,noexec,mode=755'}, '/dev/sda1': {'fstype': 'ext4', 'mountpoint': '/', 'opts': 'rw,relatime,discard,data=ordered'}, 'pstore': {'fstype': 'pstore', 'mountpoint': '/sys/fs/pstore', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'mqueue': {'fstype': 'mqueue', 'mountpoint': '/dev/mqueue', 'opts': 'rw,relatime'}} mounts from proc
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['mount', '-o', 'ro,sync', '-t', 'auto', '/dev/disk/cloud/azure_resource-part1', '/tmp/tmp9gx4a_a7'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['umount', '/tmp/tmp9gx4a_a7'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Recursively deleting /tmp/tmp9gx4a_a7
Oct  1 05:27:23 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: fabric prepared ephmeral0.1 has 0 files on it
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['umount', '/dev/disk/cloud/azure_resource-part1'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/mounts (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2171 bytes from /proc/mounts
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Fetched {'sysfs': {'fstype': 'sysfs', 'mountpoint': '/sys', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'udev': {'fstype': 'devtmpfs', 'mountpoint': '/dev', 'opts': 'rw,nosuid,relatime,size=3548224k,nr_inodes=887056,mode=755'}, 'hugetlbfs': {'fstype': 'hugetlbfs', 'mountpoint': '/dev/hugepages', 'opts': 'rw,relatime'}, 'debugfs': {'fstype': 'debugfs', 'mountpoint': '/sys/kernel/debug', 'opts': 'rw,relatime'}, 'none': {'fstype': 'tmpfs', 'mountpoint': '/etc/network/interfaces.dynamic.d', 'opts': 'rw,nosuid,nodev,noexec,relatime,size=64k'}, 'systemd-1': {'fstype': 'autofs', 'mountpoint': '/proc/sys/fs/binfmt_misc', 'opts': 'rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct'}, 'securityfs': {'fstype': 'securityfs', 'mountpoint': '/sys/kernel/security', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'devpts': {'fstype': 'devpts', 'mountpoint': '/dev/pts', 'opts': 'rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000'}, 'fusectl': {'fstype': 'fusectl', 'mountpoint': '/sys/fs/fuse/connections', 'opts': 'rw,relatime'}, 'lxcfs': {'fstype': 'fuse.lxcfs', 'mountpoint': '/var/lib/lxcfs', 'opts': 'rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other'}, 'proc': {'fstype': 'proc', 'mountpoint': '/proc', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'cgroup': {'fstype': 'cgroup', 'mountpoint': '/sys/fs/cgroup/memory', 'opts': 'rw,nosuid,nodev,noexec,relatime,memory'}, 'tmpfs': {'fstype': 'tmpfs', 'mountpoint': '/sys/fs/cgroup', 'opts': 'ro,nosuid,nodev,noexec,mode=755'}, '/dev/sda1': {'fstype': 'ext4', 'mountpoint': '/', 'opts': 'rw,relatime,discard,data=ordered'}, 'pstore': {'fstype': 'pstore', 'mountpoint': '/sys/fs/pstore', 'opts': 'rw,nosuid,nodev,noexec,relatime'}, 'mqueue': {'fstype': 'mqueue', 'mountpoint': '/dev/mqueue', 'opts': 'rw,relatime'}} mounts from proc
Oct  1 05:27:23 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: cloud-init will format ephemeral0.1 this boot.
Oct  1 05:27:23 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: setting disk_setup and mounts modules 'always' for this boot
Oct  1 05:27:23 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: set module 'disk_setup' to 'always' for this boot
Oct  1 05:27:23 ubuntu [CLOUDINIT] DataSourceAzure.py[DEBUG]: set module 'mounts' to 'always' for this boot
Oct  1 05:27:23 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/search-AzureNet: SUCCESS: found network data from DataSourceAzureNet
Oct  1 05:27:23 ubuntu [CLOUDINIT] stages.py[INFO]: Loaded datasource DataSourceAzureNet - DataSourceAzureNet [seed=/dev/sr0]
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 3018 bytes from /etc/cloud/cloud.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 3018 with allowed root types (<class 'dict'>,)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 95 bytes from /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 95 with allowed root types (<class 'dict'>,)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 197 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 197 with allowed root types (<class 'dict'>,)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90-azure.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 536 bytes from /etc/cloud/cloud.cfg.d/90-azure.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 536 with allowed root types (<class 'dict'>,)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 1910 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 1910 with allowed root types (<class 'dict'>,)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Creating symbolic link from '/var/lib/cloud/instance' => '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70'
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/datasource (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/datasource - wb: [420] 55 bytes
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-datasource - wb: [420] 55 bytes
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /var/lib/cloud/data/instance-id (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] stages.py[DEBUG]: previous iid found to be NO_PREVIOUS_INSTANCE_ID
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/data/instance-id - wb: [420] 37 bytes
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /run/cloud-init/.instance-id - wb: [420] 37 bytes
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-instance-id - wb: [420] 24 bytes
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instance/obj.pkl - wb: [256] 6952 bytes
Oct  1 05:27:23 ubuntu [CLOUDINIT] main.py[DEBUG]: [net] init will now be targeting instance id: 936268AB-961C-9C46-9136-47E533DE9F70. new=True
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 3018 bytes from /etc/cloud/cloud.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 3018 with allowed root types (<class 'dict'>,)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 95 bytes from /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 95 with allowed root types (<class 'dict'>,)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 197 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 197 with allowed root types (<class 'dict'>,)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90-azure.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 536 bytes from /etc/cloud/cloud.cfg.d/90-azure.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 536 with allowed root types (<class 'dict'>,)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 1910 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
Oct  1 05:27:23 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 1910 with allowed root types (<class 'dict'>,)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/carrier (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2 bytes from /sys/class/net/eth0/carrier
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: applying net config names for {'version': 1, 'config': [{'name': 'eth0', 'mac_address': '00:0d:3a:50:ca:6d', 'subnets': [{'type': 'dhcp'}], 'type': 'physical'}]}
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/operstate (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 3 bytes from /sys/class/net/eth0/operstate
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/eth0/address (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 18 bytes from /sys/class/net/eth0/address
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/lo/operstate (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 8 bytes from /sys/class/net/lo/operstate
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['ip', '-6', 'addr', 'show', 'permanent', 'scope', 'global'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['ip', '-4', 'addr', 'show'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: no work necessary for renaming of [['00:0d:3a:50:ca:6d', 'eth0']]
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[INFO]: Applying network configuration from fallback bringup=True: {'version': 1, 'config': [{'name': 'eth0', 'mac_address': '00:0d:3a:50:ca:6d', 'subnets': [{'type': 'dhcp'}], 'type': 'physical'}]}
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /etc/network/interfaces.d/50-cloud-init.cfg - wb: [420] 367 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/user-data.txt - wb: [384] 0 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/user-data.txt.i - wb: [384] 308 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/vendor-data.txt - wb: [384] 0 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/vendor-data.txt.i - wb: [384] 308 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/consume_data - wb: [420] 25 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running consume_data using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/consume_data'>)
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/consume-user-data: reading and applying user-data
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Added default handler for {'text/cloud-config-jsonp', 'text/cloud-config'} from CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']]
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Added default handler for {'text/x-shellscript'} from ShellScriptPartHandler: [['text/x-shellscript']]
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Added default handler for {'text/cloud-boothook'} from BootHookPartHandler: [['text/cloud-boothook']]
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Added default handler for {'text/upstart-job'} from UpstartJobPartHandler: [['text/upstart-job']]
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__begin__, None, 3) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__begin__, None, 2) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__begin__, None, 2) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__begin__, None, 2) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: {'Content-Type': 'text/x-not-multipart', 'MIME-Version': '1.0', 'Content-Disposition': 'attachment; filename="part-001"'}
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Empty payload of type text/x-not-multipart
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Calling handler CloudConfigPartHandler: [['text/cloud-config', 'text/cloud-config-jsonp']] (__end__, None, 3) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/cloud-config.txt - wb: [384] 0 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Calling handler ShellScriptPartHandler: [['text/x-shellscript']] (__end__, None, 2) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Calling handler BootHookPartHandler: [['text/cloud-boothook']] (__end__, None, 2) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Calling handler UpstartJobPartHandler: [['text/upstart-job']] (__end__, None, 2) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/consume-user-data: SUCCESS: reading and applying user-data
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/consume-vendor-data: reading and applying vendor-data
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: no vendordata from datasource
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/consume-vendor-data: SUCCESS: reading and applying vendor-data
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 3018 bytes from /etc/cloud/cloud.cfg
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 3018 with allowed root types (<class 'dict'>,)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 95 bytes from /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 95 with allowed root types (<class 'dict'>,)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90_dpkg.cfg (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 197 bytes from /etc/cloud/cloud.cfg.d/90_dpkg.cfg
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 197 with allowed root types (<class 'dict'>,)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/90-azure.cfg (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 536 bytes from /etc/cloud/cloud.cfg.d/90-azure.cfg
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 536 with allowed root types (<class 'dict'>,)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg.d/05_logging.cfg (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 1910 bytes from /etc/cloud/cloud.cfg.d/05_logging.cfg
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 1910 with allowed root types (<class 'dict'>,)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: load_yaml given empty string, returning default
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /var/lib/cloud/instance/cloud-config.txt (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 0 bytes from /var/lib/cloud/instance/cloud-config.txt
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: load_yaml given empty string, returning default
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module migrator (<module 'cloudinit.config.cc_migrator' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_migrator.py'>) with frequency always
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-migrator: running config-migrator with frequency always
Oct  1 05:27:24 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-migrator using lock (<cloudinit.helpers.DummyLock object at 0x7fdb5941fda0>)
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_migrator.py[DEBUG]: Migrated 0 semaphore files to there canonicalized names
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-migrator: SUCCESS: config-migrator ran successfully
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module ubuntu-init-switch (<module 'cloudinit.config.cc_ubuntu_init_switch' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ubuntu_init_switch.py'>) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-ubuntu-init-switch: running config-ubuntu-init-switch with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ubuntu_init_switch - wb: [420] 24 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-ubuntu-init-switch using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ubuntu_init_switch'>)
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_ubuntu_init_switch.py[DEBUG]: ubuntu-init-switch: target=None. nothing to do
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-ubuntu-init-switch: SUCCESS: config-ubuntu-init-switch ran successfully
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module seed_random (<module 'cloudinit.config.cc_seed_random' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_seed_random.py'>) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-seed_random: running config-seed_random with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_seed_random - wb: [420] 25 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-seed_random using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_seed_random'>)
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_seed_random.py[DEBUG]: seed_random: adding 100 bytes of random seed entropy to /dev/urandom
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /dev/urandom - ab: [None] 100 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_seed_random.py[DEBUG]: no command provided
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-seed_random: SUCCESS: config-seed_random ran successfully
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module bootcmd (<module 'cloudinit.config.cc_bootcmd' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_bootcmd.py'>) with frequency always
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-bootcmd: running config-bootcmd with frequency always
Oct  1 05:27:24 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-bootcmd using lock (<cloudinit.helpers.DummyLock object at 0x7fdb5941b898>)
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_bootcmd.py[DEBUG]: Skipping module named bootcmd, no 'bootcmd' key in configuration
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-bootcmd: SUCCESS: config-bootcmd ran successfully
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module write-files (<module 'cloudinit.config.cc_write_files' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_write_files.py'>) with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-write-files: running config-write-files with frequency once-per-instance
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_write_files - wb: [420] 24 bytes
Oct  1 05:27:24 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-write-files using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_write_files'>)
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_write_files.py[DEBUG]: Skipping module named write-files, no/empty 'write_files' key in configuration
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-write-files: SUCCESS: config-write-files ran successfully
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module growpart (<module 'cloudinit.config.cc_growpart' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_growpart.py'>) with frequency always
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-growpart: running config-growpart with frequency always
Oct  1 05:27:24 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-growpart using lock (<cloudinit.helpers.DummyLock object at 0x7fdb599190b8>)
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_growpart.py[DEBUG]: No 'growpart' entry in cfg.  Using default: {'ignore_growroot_disabled': False, 'mode': 'auto', 'devices': ['/']}
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['growpart', '--help'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/1101/mountinfo (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2853 bytes from /proc/1101/mountinfo
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/class/block/sda1/partition (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2 bytes from /sys/class/block/sda1/partition
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/vmbus_1/host2/target2:0:0/2:0:0:0/block/sda/dev (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 4 bytes from /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/vmbus_1/host2/target2:0:0/2:0:0:0/block/sda/dev
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['growpart', '--dry-run', '/dev/sda', '1'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['growpart', '/dev/sda', '1'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: resize_devices took 0.730 seconds
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_growpart.py[INFO]: '/' resized: changed (/dev/sda, 1) from 2359296000 to 31456214528
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-growpart: SUCCESS: config-growpart ran successfully
Oct  1 05:27:24 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module resizefs (<module 'cloudinit.config.cc_resizefs' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_resizefs.py'>) with frequency always
Oct  1 05:27:24 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-resizefs: running config-resizefs with frequency always
Oct  1 05:27:24 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-resizefs using lock (<cloudinit.helpers.DummyLock object at 0x7fdb5941fb00>)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/1101/mountinfo (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2853 bytes from /proc/1101/mountinfo
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_resizefs.py[DEBUG]: resize_info: dev=/dev/sda1 mnt_point=/ path=/
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['systemd-detect-virt', '--quiet', '--container'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['running-in-container'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['lxc-is-container'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/1/environ (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 152 bytes from /proc/1/environ
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/self/status (quiet=False)
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 916 bytes from /proc/self/status
Oct  1 05:27:24 ubuntu [CLOUDINIT] cc_resizefs.py[DEBUG]: Resizing / (ext4) using resize2fs /dev/sda1
Oct  1 05:27:24 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ('resize2fs', '/dev/sda1') with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Resizing took 0.303 seconds
Oct  1 05:27:25 ubuntu [CLOUDINIT] cc_resizefs.py[DEBUG]: Resized root filesystem (type=ext4, val=True)
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-resizefs: SUCCESS: config-resizefs ran successfully
Oct  1 05:27:25 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module set_hostname (<module 'cloudinit.config.cc_set_hostname' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_set_hostname.py'>) with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-set_hostname: running config-set_hostname with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_set_hostname - wb: [420] 25 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-set_hostname using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_set_hostname'>)
Oct  1 05:27:25 ubuntu [CLOUDINIT] cc_set_hostname.py[DEBUG]: Setting the hostname to isu01.localdomain (isu01)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/hostname (quiet=False)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 7 bytes from /etc/hostname
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /etc/hostname - wb: [420] 6 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Non-persistently setting the system hostname to isu01
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['hostname', 'isu01'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-set_hostname: SUCCESS: config-set_hostname ran successfully
Oct  1 05:27:25 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module update_hostname (<module 'cloudinit.config.cc_update_hostname' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_update_hostname.py'>) with frequency always
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-update_hostname: running config-update_hostname with frequency always
Oct  1 05:27:25 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-update_hostname using lock (<cloudinit.helpers.DummyLock object at 0x7fdb5941fa20>)
Oct  1 05:27:25 ubuntu [CLOUDINIT] cc_update_hostname.py[DEBUG]: Updating hostname to isu01.localdomain (isu01)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/hostname (quiet=False)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 6 bytes from /etc/hostname
Oct  1 05:27:25 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Attempting to update hostname to isu01 in 1 files
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /var/lib/cloud/data/previous-hostname (quiet=False)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/data/previous-hostname - wb: [420] 6 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-update_hostname: SUCCESS: config-update_hostname ran successfully
Oct  1 05:27:25 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module update_etc_hosts (<module 'cloudinit.config.cc_update_etc_hosts' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_update_etc_hosts.py'>) with frequency always
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-update_etc_hosts: running config-update_etc_hosts with frequency always
Oct  1 05:27:25 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-update_etc_hosts using lock (<cloudinit.helpers.DummyLock object at 0x7fdb5941b550>)
Oct  1 05:27:25 ubuntu [CLOUDINIT] cc_update_etc_hosts.py[DEBUG]: Configuration option 'manage_etc_hosts' is not set, not managing /etc/hosts in module update_etc_hosts
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-update_etc_hosts: SUCCESS: config-update_etc_hosts ran successfully
Oct  1 05:27:25 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module ca-certs (<module 'cloudinit.config.cc_ca_certs' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ca_certs.py'>) with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-ca-certs: running config-ca-certs with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ca_certs - wb: [420] 24 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-ca-certs using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ca_certs'>)
Oct  1 05:27:25 ubuntu [CLOUDINIT] cc_ca_certs.py[DEBUG]: Skipping module named ca-certs, no 'ca-certs' key in configuration
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-ca-certs: SUCCESS: config-ca-certs ran successfully
Oct  1 05:27:25 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module rsyslog (<module 'cloudinit.config.cc_rsyslog' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_rsyslog.py'>) with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-rsyslog: running config-rsyslog with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_rsyslog - wb: [420] 25 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-rsyslog using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_rsyslog'>)
Oct  1 05:27:25 ubuntu [CLOUDINIT] cc_rsyslog.py[DEBUG]: Skipping module named rsyslog, no 'rsyslog' key in configuration
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-rsyslog: SUCCESS: config-rsyslog ran successfully
Oct  1 05:27:25 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module users-groups (<module 'cloudinit.config.cc_users_groups' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_users_groups.py'>) with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-users-groups: running config-users-groups with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_users_groups - wb: [420] 24 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-users-groups using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_users_groups'>)
Oct  1 05:27:25 ubuntu [CLOUDINIT] __init__.py[DEBUG]: Adding user isucon
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Running hidden command to protect sensitive input/output logstring: ['useradd', 'isucon', '--groups', 'adm,audio,cdrom,dialout,dip,floppy,lxd,netdev,plugdev,sudo,video', '--shell', '/bin/bash', '--comment', 'Ubuntu', '-m']
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['passwd', '-l', 'isucon'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/sudoers (quiet=False)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 755 bytes from /etc/sudoers
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /etc/sudoers.d/90-cloud-init-users - wb: [288] 123 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-users-groups: SUCCESS: config-users-groups ran successfully
Oct  1 05:27:25 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module ssh (<module 'cloudinit.config.cc_ssh' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh.py'>) with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: init-network/config-ssh: running config-ssh with frequency once-per-instance
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ssh - wb: [420] 25 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-ssh using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ssh'>)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'rsa', '-N', '', '-f', '/etc/ssh/ssh_host_rsa_key'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'dsa', '-N', '', '-f', '/etc/ssh/ssh_host_dsa_key'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'ecdsa', '-N', '', '-f', '/etc/ssh/ssh_host_ecdsa_key'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['ssh-keygen', '-t', 'ed25519', '-N', '', '-f', '/etc/ssh/ssh_host_ed25519_key'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Changing the ownership of /home/isucon/.ssh to 1000:1000
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2642 bytes from /etc/ssh/sshd_config
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /home/isucon/.ssh/authorized_keys - wb: [384] 381 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Changing the ownership of /home/isucon/.ssh/authorized_keys to 1000:1000
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Changing the ownership of /root/.ssh to 0:0
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2642 bytes from /etc/ssh/sshd_config
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /root/.ssh/authorized_keys - wb: [384] 536 bytes
Oct  1 05:27:25 ubuntu [CLOUDINIT] util.py[DEBUG]: Changing the ownership of /root/.ssh/authorized_keys to 0:0
Oct  1 05:27:25 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network/config-ssh: SUCCESS: config-ssh ran successfully
Oct  1 05:27:25 ubuntu [CLOUDINIT] main.py[DEBUG]: Ran 14 modules with 0 failures
Oct  1 05:27:26 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
Oct  1 05:27:26 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 12 bytes from /proc/uptime
Oct  1 05:27:26 ubuntu [CLOUDINIT] util.py[DEBUG]: cloud-init mode 'init' took 9.556 seconds (9.55)
Oct  1 05:27:26 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: init-network: SUCCESS: searching for network datasources
Oct  1 05:27:27 ubuntu [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.8 running 'modules:config' at Sat, 01 Oct 2016 05:27:27 +0000. Up 28.78 seconds.
Oct  1 05:27:27 ubuntu [CLOUDINIT] stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
Oct  1 05:27:27 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module emit_upstart (<module 'cloudinit.config.cc_emit_upstart' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_emit_upstart.py'>) with frequency always
Oct  1 05:27:27 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-emit_upstart: running config-emit_upstart with frequency always
Oct  1 05:27:27 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-emit_upstart using lock (<cloudinit.helpers.DummyLock object at 0x7f7e43fc3048>)
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_emit_upstart.py[DEBUG]: no /sbin/initctl located
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_emit_upstart.py[DEBUG]: not upstart system, 'emit_upstart' disabled
Oct  1 05:27:27 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-emit_upstart: SUCCESS: config-emit_upstart ran successfully
Oct  1 05:27:27 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module disk_setup (<module 'cloudinit.config.cc_disk_setup' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_disk_setup.py'>) with frequency always
Oct  1 05:27:27 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-disk_setup: running config-disk_setup with frequency always
Oct  1 05:27:27 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-disk_setup using lock (<cloudinit.helpers.DummyLock object at 0x7f7e43fc30b8>)
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: updated disk_setup device entry 'ephemeral0' to '/dev/disk/cloud/azure_resource'
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Partitioning disks: {'/dev/disk/cloud/azure_resource': {'_origname': 'ephemeral0', 'table_type': 'gpt', 'overwrite': True, 'layout': [100]}}
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Creating new partition table/disk
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Checking values for /dev/sdb definition
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Checking against default devices
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Checking if device /dev/sdb is a valid device
Oct  1 05:27:27 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['/bin/lsblk', '--pairs', '--output', 'NAME,TYPE,FSTYPE,LABEL', '/dev/sdb', '--nodeps'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Checking if device layout matches
Oct  1 05:27:27 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['/sbin/sgdisk', '-p', '/dev/sdb'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Device partitioning layout matches
Oct  1 05:27:27 ubuntu [CLOUDINIT] util.py[DEBUG]: Creating partition on /dev/disk/cloud/azure_resource took 0.111 seconds
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: setting up filesystems: [{'replace_fs': 'ntfs', 'device': 'ephemeral0.1', 'filesystem': 'ext4'}]
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: ephemeral0.1 is mapped to disk=/dev/disk/cloud/azure_resource part=1
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Creating new filesystem.
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Checking /dev/sdb against default devices
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Manual request of partition 1 for /dev/sdb1
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Checking device /dev/sdb1
Oct  1 05:27:27 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['/sbin/blkid', '-c', '/dev/null', '/dev/sdb1'] with allowed return codes [0, 2] (shell=False, capture=True)
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Device /dev/sdb1 has Temporary Storage ntfs
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Device /dev/sdb1 is cleared for formating
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: File system None will be created on /dev/sdb1
Oct  1 05:27:27 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['/bin/lsblk', '--pairs', '--output', 'NAME,TYPE,FSTYPE,LABEL', '/dev/sdb1', '--nodeps'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]: Creating file system None on /dev/sdb1
Oct  1 05:27:27 ubuntu [CLOUDINIT] cc_disk_setup.py[DEBUG]:      Using cmd: /sbin/mkfs.ext4 /dev/sdb1
Oct  1 05:27:27 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['/sbin/mkfs.ext4', '/dev/sdb1'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:29 ubuntu [CLOUDINIT] util.py[DEBUG]: Creating fs for /dev/disk/cloud/azure_resource took 2.159 seconds
Oct  1 05:27:29 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-disk_setup: SUCCESS: config-disk_setup ran successfully
Oct  1 05:27:29 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module mounts (<module 'cloudinit.config.cc_mounts' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_mounts.py'>) with frequency always
Oct  1 05:27:29 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-mounts: running config-mounts with frequency always
Oct  1 05:27:29 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-mounts using lock (<cloudinit.helpers.DummyLock object at 0x7f7e43fc32e8>)
Oct  1 05:27:29 ubuntu [CLOUDINIT] cc_mounts.py[DEBUG]: Attempting to determine the real name of ephemeral0
Oct  1 05:27:29 ubuntu [CLOUDINIT] cc_mounts.py[DEBUG]: Mapped metadata name ephemeral0 to /dev/disk/cloud/azure_resource
Oct  1 05:27:29 ubuntu [CLOUDINIT] cc_mounts.py[DEBUG]: changed default device ephemeral0 => /dev/disk/cloud/azure_resource-part1
Oct  1 05:27:29 ubuntu [CLOUDINIT] cc_mounts.py[DEBUG]: Attempting to determine the real name of swap
Oct  1 05:27:29 ubuntu [CLOUDINIT] cc_mounts.py[DEBUG]: Ignoring nonexistant default named mount swap
Oct  1 05:27:29 ubuntu [CLOUDINIT] cc_mounts.py[DEBUG]: no need to setup swap
Oct  1 05:27:29 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/fstab (quiet=False)
Oct  1 05:27:29 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 425 bytes from /etc/fstab
Oct  1 05:27:29 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /etc/fstab - wb: [420] 512 bytes
Oct  1 05:27:29 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ('mount', '-a') with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:29 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-mounts: SUCCESS: config-mounts ran successfully
Oct  1 05:27:29 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module ntp (<module 'cloudinit.config.cc_ntp' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ntp.py'>) with frequency once-per-instance
Oct  1 05:27:29 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-ntp: running config-ntp with frequency once-per-instance
Oct  1 05:27:29 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ntp - wb: [420] 25 bytes
Oct  1 05:27:29 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-ntp using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ntp'>)
Oct  1 05:27:29 ubuntu [CLOUDINIT] cc_ntp.py[DEBUG]: Skipping module named ntp,not present or disabled by cfg
Oct  1 05:27:29 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-ntp: SUCCESS: config-ntp ran successfully
Oct  1 05:27:29 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module ssh-import-id (<module 'cloudinit.config.cc_ssh_import_id' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py'>) with frequency once-per-instance
Oct  1 05:27:29 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-ssh-import-id: running config-ssh-import-id with frequency once-per-instance
Oct  1 05:27:29 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ssh_import_id - wb: [420] 25 bytes
Oct  1 05:27:29 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-ssh-import-id using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ssh_import_id'>)
Oct  1 05:27:29 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-ssh-import-id: SUCCESS: config-ssh-import-id ran successfully
Oct  1 05:27:29 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module locale (<module 'cloudinit.config.cc_locale' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_locale.py'>) with frequency once-per-instance
Oct  1 05:27:29 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-locale: running config-locale with frequency once-per-instance
Oct  1 05:27:29 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_locale - wb: [420] 25 bytes
Oct  1 05:27:29 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-locale using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_locale'>)
Oct  1 05:27:29 ubuntu [CLOUDINIT] cc_locale.py[DEBUG]: Setting locale to en_US.UTF-8
Oct  1 05:27:29 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['locale-gen', 'en_US.UTF-8'] with allowed return codes [0] (shell=False, capture=False)
Oct  1 05:27:31 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['update-locale', 'en_US.UTF-8'] with allowed return codes [0] (shell=False, capture=False)
Oct  1 05:27:31 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /etc/default/locale - wb: [420] 87 bytes
Oct  1 05:27:31 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-locale: SUCCESS: config-locale ran successfully
Oct  1 05:27:31 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module set-passwords (<module 'cloudinit.config.cc_set_passwords' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_set_passwords.py'>) with frequency once-per-instance
Oct  1 05:27:31 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-set-passwords: running config-set-passwords with frequency once-per-instance
Oct  1 05:27:31 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_set_passwords - wb: [420] 25 bytes
Oct  1 05:27:31 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-set-passwords using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_set_passwords'>)
Oct  1 05:27:31 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
Oct  1 05:27:31 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2642 bytes from /etc/ssh/sshd_config
Oct  1 05:27:31 ubuntu [CLOUDINIT] cc_set_passwords.py[DEBUG]: Replacing auth line 52 with no
Oct  1 05:27:31 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /etc/ssh/sshd_config - wb: [420] 2641 bytes
Oct  1 05:27:31 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command <filter object at 0x7f7e44015b70> with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:31 ubuntu [CLOUDINIT] cc_set_passwords.py[DEBUG]: Restarted the ssh daemon
Oct  1 05:27:31 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-set-passwords: SUCCESS: config-set-passwords ran successfully
Oct  1 05:27:31 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module grub-dpkg (<module 'cloudinit.config.cc_grub_dpkg' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_grub_dpkg.py'>) with frequency once-per-instance
Oct  1 05:27:31 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-grub-dpkg: running config-grub-dpkg with frequency once-per-instance
Oct  1 05:27:31 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_grub_dpkg - wb: [420] 25 bytes
Oct  1 05:27:31 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-grub-dpkg using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_grub_dpkg'>)
Oct  1 05:27:31 ubuntu [CLOUDINIT] cc_grub_dpkg.py[DEBUG]: Setting grub debconf-set-selections with '/dev/sda','false'
Oct  1 05:27:31 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['debconf-set-selections'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:32 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-grub-dpkg: SUCCESS: config-grub-dpkg ran successfully
Oct  1 05:27:32 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module apt-pipelining (<module 'cloudinit.config.cc_apt_pipelining' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_pipelining.py'>) with frequency once-per-instance
Oct  1 05:27:32 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-apt-pipelining: running config-apt-pipelining with frequency once-per-instance
Oct  1 05:27:32 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_apt_pipelining - wb: [420] 25 bytes
Oct  1 05:27:32 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-apt-pipelining using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_apt_pipelining'>)
Oct  1 05:27:32 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /etc/apt/apt.conf.d/90cloud-init-pipelining - wb: [420] 80 bytes
Oct  1 05:27:32 ubuntu [CLOUDINIT] cc_apt_pipelining.py[DEBUG]: Wrote /etc/apt/apt.conf.d/90cloud-init-pipelining with apt pipeline depth setting 0
Oct  1 05:27:32 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-apt-pipelining: SUCCESS: config-apt-pipelining ran successfully
Oct  1 05:27:32 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module apt-configure (<module 'cloudinit.config.cc_apt_configure' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_configure.py'>) with frequency once-per-instance
Oct  1 05:27:32 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-apt-configure: running config-apt-configure with frequency once-per-instance
Oct  1 05:27:32 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_apt_configure - wb: [420] 24 bytes
Oct  1 05:27:32 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-apt-configure using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_apt_configure'>)
Oct  1 05:27:32 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: handling apt (module apt-configure) with apt config '{}'
Oct  1 05:27:32 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['lsb_release', '--all'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: got primary mirror: None
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: got security mirror: None
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:33 ubuntu [CLOUDINIT] __init__.py[DEBUG]: filtered distro mirror info: {'primary': 'http://azure.archive.ubuntu.com/ubuntu/', 'security': 'http://security.ubuntu.com/ubuntu'}
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Apt Mirror info: {'primary': 'http://azure.archive.ubuntu.com/ubuntu/', 'SECURITY': 'http://security.ubuntu.com/ubuntu', 'security': 'http://security.ubuntu.com/ubuntu', 'MIRROR': 'http://azure.archive.ubuntu.com/ubuntu/', 'PRIMARY': 'http://azure.archive.ubuntu.com/ubuntu/'}
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: debconf_selections was not set in config
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[INFO]: No custom template provided, fall back to builtin
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/cloud/templates/sources.list.ubuntu.tmpl (quiet=False)
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2841 bytes from /etc/cloud/templates/sources.list.ubuntu.tmpl
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /etc/apt/sources.list - wb: [420] 3223 bytes
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_i18n_Translation-en to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_i18n_Translation-en
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_multiverse_i18n_Translation-en to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial_multiverse_i18n_Translation-en
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_binary-amd64_Packages to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_binary-amd64_Packages
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_multiverse_binary-amd64_Packages to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial_multiverse_binary-amd64_Packages
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_i18n_Translation-en to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_i18n_Translation-en
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_universe_i18n_Translation-en to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial_universe_i18n_Translation-en
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_i18n_Translation-en to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_i18n_Translation-en
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_universe_binary-amd64_Packages to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial_universe_binary-amd64_Packages
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_i18n_Translation-en to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial_main_i18n_Translation-en
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_restricted_i18n_Translation-en to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial_restricted_i18n_Translation-en
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_InRelease to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial-updates_InRelease
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_binary-amd64_Packages to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_binary-amd64_Packages
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_InRelease to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial_InRelease
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_apt_configure.py[DEBUG]: Renaming apt list /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_restricted_binary-amd64_Packages to /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_xenial_restricted_binary-amd64_Packages
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-apt-configure: SUCCESS: config-apt-configure ran successfully
Oct  1 05:27:33 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module timezone (<module 'cloudinit.config.cc_timezone' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_timezone.py'>) with frequency once-per-instance
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-timezone: running config-timezone with frequency once-per-instance
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_timezone - wb: [420] 25 bytes
Oct  1 05:27:33 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-timezone using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_timezone'>)
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_timezone.py[DEBUG]: Skipping module named timezone, no 'timezone' specified
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-timezone: SUCCESS: config-timezone ran successfully
Oct  1 05:27:33 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module disable-ec2-metadata (<module 'cloudinit.config.cc_disable_ec2_metadata' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_disable_ec2_metadata.py'>) with frequency always
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-disable-ec2-metadata: running config-disable-ec2-metadata with frequency always
Oct  1 05:27:33 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-disable-ec2-metadata using lock (<cloudinit.helpers.DummyLock object at 0x7f7e43fc3128>)
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_disable_ec2_metadata.py[DEBUG]: Skipping module named disable-ec2-metadata, disabling the ec2 route not enabled
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-disable-ec2-metadata: SUCCESS: config-disable-ec2-metadata ran successfully
Oct  1 05:27:33 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module runcmd (<module 'cloudinit.config.cc_runcmd' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_runcmd.py'>) with frequency once-per-instance
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-runcmd: running config-runcmd with frequency once-per-instance
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_runcmd - wb: [420] 25 bytes
Oct  1 05:27:33 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-runcmd using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_runcmd'>)
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_runcmd.py[DEBUG]: Skipping module named runcmd, no 'runcmd' key in configuration
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-runcmd: SUCCESS: config-runcmd ran successfully
Oct  1 05:27:33 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module byobu (<module 'cloudinit.config.cc_byobu' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_byobu.py'>) with frequency once-per-instance
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-config/config-byobu: running config-byobu with frequency once-per-instance
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_byobu - wb: [420] 25 bytes
Oct  1 05:27:33 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-byobu using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_byobu'>)
Oct  1 05:27:33 ubuntu [CLOUDINIT] cc_byobu.py[DEBUG]: Skipping module named byobu, no 'byobu' values found
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config/config-byobu: SUCCESS: config-byobu ran successfully
Oct  1 05:27:33 ubuntu [CLOUDINIT] main.py[DEBUG]: Ran 14 modules with 0 failures
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 12 bytes from /proc/uptime
Oct  1 05:27:33 ubuntu [CLOUDINIT] util.py[DEBUG]: cloud-init mode 'modules' took 6.076 seconds (6.07)
Oct  1 05:27:33 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-config: SUCCESS: running modules for config
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.8 running 'modules:final' at Sat, 01 Oct 2016 05:27:33 +0000. Up 35.54 seconds.
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module snappy (<module 'cloudinit.config.cc_snappy' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_snappy.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-snappy: running config-snappy with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_snappy - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-snappy using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_snappy'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/system-image/channel.ini (quiet=True)
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 0 bytes from /etc/system-image/channel.ini
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_snappy.py[DEBUG]: snappy: 'auto' mode, and system not snappy
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-snappy: SUCCESS: config-snappy ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_package_update_upgrade_install.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-package-update-upgrade-install: running config-package-update-upgrade-install with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_package_update_upgrade_install - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-package-update-upgrade-install using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_package_update_upgrade_install'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-package-update-upgrade-install: SUCCESS: config-package-update-upgrade-install ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module fan (<module 'cloudinit.config.cc_fan' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_fan.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-fan: running config-fan with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_fan - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-fan using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_fan'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_fan.py[DEBUG]: fan: no 'fan' config entry. disabling
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-fan: SUCCESS: config-fan ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module landscape (<module 'cloudinit.config.cc_landscape' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_landscape.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-landscape: running config-landscape with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_landscape - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-landscape using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_landscape'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-landscape: SUCCESS: config-landscape ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module lxd (<module 'cloudinit.config.cc_lxd' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_lxd.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-lxd: running config-lxd with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_lxd - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-lxd using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_lxd'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_lxd.py[DEBUG]: Skipping module named lxd, not present or disabled by cfg
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-lxd: SUCCESS: config-lxd ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module puppet (<module 'cloudinit.config.cc_puppet' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_puppet.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-puppet: running config-puppet with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_puppet - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-puppet using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_puppet'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_puppet.py[DEBUG]: Skipping module named puppet, no 'puppet' configuration found
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-puppet: SUCCESS: config-puppet ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-chef: running config-chef with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_chef - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-chef using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_chef'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_chef.py[DEBUG]: Skipping module named chef, no 'chef' key in configuration
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-chef: SUCCESS: config-chef ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module salt-minion (<module 'cloudinit.config.cc_salt_minion' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_salt_minion.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-salt-minion: running config-salt-minion with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_salt_minion - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-salt-minion using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_salt_minion'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_salt_minion.py[DEBUG]: Skipping module named salt-minion, no 'salt_minion' key in configuration
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-salt-minion: SUCCESS: config-salt-minion ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module mcollective (<module 'cloudinit.config.cc_mcollective' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_mcollective.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-mcollective: running config-mcollective with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_mcollective - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-mcollective using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_mcollective'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_mcollective.py[DEBUG]: Skipping module named mcollective, no 'mcollective' key in configuration
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-mcollective: SUCCESS: config-mcollective ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module rightscale_userdata (<module 'cloudinit.config.cc_rightscale_userdata' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_rightscale_userdata.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-rightscale_userdata: running config-rightscale_userdata with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_rightscale_userdata - wb: [420] 24 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-rightscale_userdata using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_rightscale_userdata'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_rightscale_userdata.py[DEBUG]: Failed to get raw userdata in module rightscale_userdata
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-rightscale_userdata: SUCCESS: config-rightscale_userdata ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module scripts-vendor (<module 'cloudinit.config.cc_scripts_vendor' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_vendor.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-scripts-vendor: running config-scripts-vendor with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_scripts_vendor - wb: [420] 24 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-scripts-vendor using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_scripts_vendor'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-scripts-vendor: SUCCESS: config-scripts-vendor ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module scripts-per-once (<module 'cloudinit.config.cc_scripts_per_once' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_per_once.py'>) with frequency once
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-scripts-per-once: running config-scripts-per-once with frequency once
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/sem/config_scripts_per_once.once - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-scripts-per-once using lock (<FileLock using file '/var/lib/cloud/sem/config_scripts_per_once.once'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-scripts-per-once: SUCCESS: config-scripts-per-once ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module scripts-per-boot (<module 'cloudinit.config.cc_scripts_per_boot' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_per_boot.py'>) with frequency always
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-scripts-per-boot: running config-scripts-per-boot with frequency always
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-scripts-per-boot using lock (<cloudinit.helpers.DummyLock object at 0x7f329884dc88>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-scripts-per-boot: SUCCESS: config-scripts-per-boot ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module scripts-per-instance (<module 'cloudinit.config.cc_scripts_per_instance' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_per_instance.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-scripts-per-instance: running config-scripts-per-instance with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_scripts_per_instance - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-scripts-per-instance using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_scripts_per_instance'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-scripts-per-instance: SUCCESS: config-scripts-per-instance ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-scripts-user: running config-scripts-user with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_scripts_user - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-scripts-user using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_scripts_user'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-scripts-user: SUCCESS: config-scripts-user ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_authkey_fingerprints.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-ssh-authkey-fingerprints: running config-ssh-authkey-fingerprints with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ssh_authkey_fingerprints - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-ssh-authkey-fingerprints using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_ssh_authkey_fingerprints'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /etc/ssh/sshd_config (quiet=False)
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 2641 bytes from /etc/ssh/sshd_config
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /home/isucon/.ssh/authorized_keys (quiet=False)
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 381 bytes from /home/isucon/.ssh/authorized_keys
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-ssh-authkey-fingerprints: SUCCESS: config-ssh-authkey-fingerprints ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module keys-to-console (<module 'cloudinit.config.cc_keys_to_console' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_keys_to_console.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-keys-to-console: running config-keys-to-console with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_keys_to_console - wb: [420] 24 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-keys-to-console using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_keys_to_console'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Running command ['/usr/lib/cloud-init/write-ssh-key-fingerprints', '', 'ssh-dss'] with allowed return codes [0] (shell=False, capture=True)
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-keys-to-console: SUCCESS: config-keys-to-console ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module phone-home (<module 'cloudinit.config.cc_phone_home' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_phone_home.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-phone-home: running config-phone-home with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_phone_home - wb: [420] 24 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-phone-home using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_phone_home'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_phone_home.py[DEBUG]: Skipping module named phone-home, no 'phone_home' configuration found
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-phone-home: SUCCESS: config-phone-home ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module final-message (<module 'cloudinit.config.cc_final_message' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_final_message.py'>) with frequency always
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-final-message: running config-final-message with frequency always
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-final-message using lock (<cloudinit.helpers.DummyLock object at 0x7f3298845710>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 12 bytes from /proc/uptime
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.8 finished at Sat, 01 Oct 2016 05:27:34 +0000. Datasource DataSourceAzureNet [seed=/dev/sr0].  Up 35.90 seconds
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instance/boot-finished - wb: [420] 51 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-final-message: SUCCESS: config-final-message ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] stages.py[DEBUG]: Running module power-state-change (<module 'cloudinit.config.cc_power_state_change' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_power_state_change.py'>) with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: start: modules-final/config-power-state-change: running config-power-state-change with frequency once-per-instance
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Writing to /var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_power_state_change - wb: [420] 25 bytes
Oct  1 05:27:34 ubuntu [CLOUDINIT] helpers.py[DEBUG]: Running config-power-state-change using lock (<FileLock using file '/var/lib/cloud/instances/936268AB-961C-9C46-9136-47E533DE9F70/sem/config_power_state_change'>)
Oct  1 05:27:34 ubuntu [CLOUDINIT] cc_power_state_change.py[DEBUG]: no power_state provided. doing nothing
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final/config-power-state-change: SUCCESS: config-power-state-change ran successfully
Oct  1 05:27:34 ubuntu [CLOUDINIT] main.py[DEBUG]: Ran 20 modules with 0 failures
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Creating symbolic link from '/run/cloud-init/result.json' => '../../var/lib/cloud/data/result.json'
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: Read 12 bytes from /proc/uptime
Oct  1 05:27:34 ubuntu [CLOUDINIT] util.py[DEBUG]: cloud-init mode 'modules' took 0.367 seconds (0.36)
Oct  1 05:27:34 ubuntu [CLOUDINIT] handlers.py[DEBUG]: finish: modules-final: SUCCESS: running modules for final

ポータルサイトのグラフ公開

ポータルサイトのグラフなどは公開すると予選落ちした人なども盛り上がれる。

ツイートボタンを付けるなどもやった方がよさそう。

アイデア:「戻る」はあったほうがいいかも

「戻る」のないペイントアプリなんて…

strokeにcsrf_tokenのIDを入れて、IDが一致してる且つ一定時間以内ならdelflagを立てる

delflagが立つとトップページの順番に影響しない(どっちがいいかな?)

ただ、このアプリのコンセプトが2ch風なので、「戻る」は無い方がいいかもという気も

タイムゾーンがUTCであることを確認

  • MySQL
  • 各コンテナ

MySQLのほうはこういうwarning出してた

Oct 01 06:19:32 isu01 docker-compose[15550]: mysql_1 | 2016-10-01T06:19:30.191921Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

JSONの型をちゃんと決めたい

POSTの/api/roomscanvas_widthcanvas_heightが数値なのに文字列としてPHP上で扱われている。

こうなるとGoのベンチマーカーがJSONのparseに失敗してしまうのと、他言語への移植も困難になるのでちゃんとしたい。

InsecureSkipVerifyをtrueにするとhttp2を使えない

InsecureSkipVerifyをtrueにするとhandshakeの過程をすっ飛ばす。これが原因なのか分からないが、とりあえずhttp2で繋げない。

ベンチマーカー側にオレオレ証明書をインストールした方が変なことにならないかも

PHPの参照を使いたくない

foreach ($strokes as &$stroke) {
    $sql = 'SELECT * FROM `point` WHERE `stroke_id` = :id ORDER BY `id` ASC';
    $stroke['points'] = selectAll($dbh, $sql, [':id' => $stroke['id']]);
}

というコードだと最後に unset($stroke); しないといけないし、色々面倒。

foreach ($strokes as $i => $stroke) {
    $sql = 'SELECT * FROM `point` WHERE `stroke_id` = :id ORDER BY `id` ASC';
    $strokes[$i]['points'] = selectAll($dbh, $sql, [':id' => $stroke['id']]);
}

と書く方が他の言語に移植する時を考えても自然。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.