Created
October 9, 2016 06:19
-
-
Save sporkmonger/facc7ee2c94b3fe11b3b885659849f46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ kubectl --namespace=deis logs deis-controller-4002413636-v7nas | |
system information: | |
Django Version: 1.10.1 | |
Python 3.5.2 | |
Django checks: | |
groupadd: GID '107' already exists | |
usermod: group 'docker' does not exist | |
System check identified no issues (2 silenced). | |
Health Checks: | |
Checking if database is alive | |
Database is alive! | |
Database Migrations: | |
DEBUG CREATE TABLE "django_migrations" ("id" serial NOT NULL PRIMARY KEY, "app" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "applied" timestamp with time zone NOT NULL); (params None) | |
Operations to perform: | |
Apply all migrations: api, auth, authtoken, contenttypes, guardian, sessions | |
Running migrations: | |
DEBUG CREATE TABLE "django_content_type" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(100) NOT NULL, "app_label" varchar(100) NOT NULL, "model" varchar(100) NOT NULL); (params None) | |
DEBUG ALTER TABLE "django_content_type" ADD CONSTRAINT "django_content_type_app_label_76bd3d3b_uniq" UNIQUE ("app_label", "model"); (params []) | |
Applying contenttypes.0001_initial... OK | |
DEBUG CREATE TABLE "auth_permission" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(50) NOT NULL, "content_type_id" integer NOT NULL, "codename" varchar(100) NOT NULL); (params None) | |
DEBUG CREATE TABLE "auth_group" ("id" serial NOT NULL PRIMARY KEY, "name" varchar(80) NOT NULL UNIQUE); (params None) | |
DEBUG CREATE TABLE "auth_group_permissions" ("id" serial NOT NULL PRIMARY KEY, "group_id" integer NOT NULL, "permission_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "auth_user" ("id" serial NOT NULL PRIMARY KEY, "password" varchar(128) NOT NULL, "last_login" timestamp with time zone NOT NULL, "is_superuser" boolean NOT NULL, "username" varchar(30) NOT NULL UNIQUE, "first_name" varchar(30) NOT NULL, "last_name" varchar(30) NOT NULL, "email" varchar(75) NOT NULL, "is_staff" boolean NOT NULL, "is_active" boolean NOT NULL, "date_joined" timestamp with time zone NOT NULL); (params None) | |
DEBUG CREATE TABLE "auth_user_groups" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer NOT NULL, "group_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "auth_user_user_permissions" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer NOT NULL, "permission_id" integer NOT NULL); (params None) | |
DEBUG ALTER TABLE "auth_permission" ADD CONSTRAINT "auth_permiss_content_type_id_2f476e4b_fk_django_content_type_id" FOREIGN KEY ("content_type_id") REFERENCES "django_content_type" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "auth_permission" ADD CONSTRAINT "auth_permission_content_type_id_01ab375a_uniq" UNIQUE ("content_type_id", "codename"); (params []) | |
DEBUG CREATE INDEX "auth_permission_417f1b1c" ON "auth_permission" ("content_type_id"); (params []) | |
DEBUG CREATE INDEX "auth_group_name_a6ea08ec_like" ON "auth_group" ("name" varchar_pattern_ops); (params []) | |
DEBUG ALTER TABLE "auth_group_permissions" ADD CONSTRAINT "auth_group_permissions_group_id_b120cbf9_fk_auth_group_id" FOREIGN KEY ("group_id") REFERENCES "auth_group" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "auth_group_permissions" ADD CONSTRAINT "auth_group_permiss_permission_id_84c5c92e_fk_auth_permission_id" FOREIGN KEY ("permission_id") REFERENCES "auth_permission" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "auth_group_permissions" ADD CONSTRAINT "auth_group_permissions_group_id_0cd325b0_uniq" UNIQUE ("group_id", "permission_id"); (params []) | |
DEBUG CREATE INDEX "auth_group_permissions_0e939a4f" ON "auth_group_permissions" ("group_id"); (params []) | |
DEBUG CREATE INDEX "auth_group_permissions_8373b171" ON "auth_group_permissions" ("permission_id"); (params []) | |
DEBUG CREATE INDEX "auth_user_username_6821ab7c_like" ON "auth_user" ("username" varchar_pattern_ops); (params []) | |
DEBUG ALTER TABLE "auth_user_groups" ADD CONSTRAINT "auth_user_groups_user_id_6a12ed8b_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "auth_user_groups" ADD CONSTRAINT "auth_user_groups_group_id_97559544_fk_auth_group_id" FOREIGN KEY ("group_id") REFERENCES "auth_group" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "auth_user_groups" ADD CONSTRAINT "auth_user_groups_user_id_94350c0c_uniq" UNIQUE ("user_id", "group_id"); (params []) | |
DEBUG CREATE INDEX "auth_user_groups_e8701ad4" ON "auth_user_groups" ("user_id"); (params []) | |
DEBUG CREATE INDEX "auth_user_groups_0e939a4f" ON "auth_user_groups" ("group_id"); (params []) | |
DEBUG ALTER TABLE "auth_user_user_permissions" ADD CONSTRAINT "auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "auth_user_user_permissions" ADD CONSTRAINT "auth_user_user_per_permission_id_1fbb5f2c_fk_auth_permission_id" FOREIGN KEY ("permission_id") REFERENCES "auth_permission" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "auth_user_user_permissions" ADD CONSTRAINT "auth_user_user_permissions_user_id_14a6b632_uniq" UNIQUE ("user_id", "permission_id"); (params []) | |
DEBUG CREATE INDEX "auth_user_user_permissions_e8701ad4" ON "auth_user_user_permissions" ("user_id"); (params []) | |
DEBUG CREATE INDEX "auth_user_user_permissions_8373b171" ON "auth_user_user_permissions" ("permission_id"); (params []) | |
Applying auth.0001_initial... OK | |
DEBUG CREATE TABLE "api_app" ("uuid" uuid NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "id" varchar(24) NULL UNIQUE, "structure" text NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "api_build" ("uuid" uuid NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "image" varchar(256) NOT NULL, "sha" varchar(40) NOT NULL, "procfile" text NOT NULL, "dockerfile" text NOT NULL, "app_id" uuid NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "api_certificate" ("id" serial NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "certificate" text NOT NULL, "key" text NOT NULL, "common_name" text NOT NULL UNIQUE, "expires" timestamp with time zone NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "api_config" ("uuid" uuid NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "values" text NOT NULL, "memory" text NOT NULL, "cpu" text NOT NULL, "tags" text NOT NULL, "app_id" uuid NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "api_container" ("uuid" uuid NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "type" varchar(128) NOT NULL, "num" integer NOT NULL CHECK ("num" >= 0), "app_id" uuid NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "api_domain" ("id" serial NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "domain" text NOT NULL UNIQUE, "app_id" uuid NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "api_key" ("uuid" uuid NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "id" varchar(128) NOT NULL, "public" text NOT NULL UNIQUE, "fingerprint" varchar(128) NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "api_push" ("uuid" uuid NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "sha" varchar(40) NOT NULL, "fingerprint" varchar(255) NOT NULL, "receive_user" varchar(255) NOT NULL, "receive_repo" varchar(255) NOT NULL, "ssh_connection" varchar(255) NOT NULL, "ssh_original_command" varchar(255) NOT NULL, "app_id" uuid NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "api_release" ("uuid" uuid NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "version" integer NOT NULL CHECK ("version" >= 0), "summary" text NULL, "app_id" uuid NOT NULL, "build_id" uuid NULL, "config_id" uuid NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG ALTER TABLE "api_release" ADD CONSTRAINT "api_release_app_id_e492eaee_uniq" UNIQUE ("app_id", "version"); (params []) | |
DEBUG ALTER TABLE "api_push" ADD CONSTRAINT "api_push_app_id_c4c4ae96_uniq" UNIQUE ("app_id", "uuid"); (params []) | |
DEBUG ALTER TABLE "api_key" ADD CONSTRAINT "api_key_owner_id_17cba2c3_uniq" UNIQUE ("owner_id", "fingerprint"); (params []) | |
DEBUG ALTER TABLE "api_container" ADD COLUMN "release_id" uuid NOT NULL; (params []) | |
DEBUG ALTER TABLE "api_container" ALTER COLUMN "release_id" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_config" ADD CONSTRAINT "api_config_app_id_f49723a8_uniq" UNIQUE ("app_id", "uuid"); (params []) | |
DEBUG ALTER TABLE "api_build" ADD CONSTRAINT "api_build_app_id_0a142ee9_uniq" UNIQUE ("app_id", "uuid"); (params []) | |
DEBUG ALTER TABLE "api_app" ADD CONSTRAINT "api_app_owner_id_cbebbc18_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_app_5e7b1936" ON "api_app" ("owner_id"); (params []) | |
DEBUG CREATE INDEX "api_app_id_fc451c07_like" ON "api_app" ("id" varchar_pattern_ops); (params []) | |
DEBUG ALTER TABLE "api_build" ADD CONSTRAINT "api_build_app_id_fe641a7d_fk_api_app_uuid" FOREIGN KEY ("app_id") REFERENCES "api_app" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_build" ADD CONSTRAINT "api_build_owner_id_1539e8f2_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_build_f382adfe" ON "api_build" ("app_id"); (params []) | |
DEBUG CREATE INDEX "api_build_5e7b1936" ON "api_build" ("owner_id"); (params []) | |
DEBUG ALTER TABLE "api_certificate" ADD CONSTRAINT "api_certificate_owner_id_42adf0cd_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_certificate_5e7b1936" ON "api_certificate" ("owner_id"); (params []) | |
DEBUG CREATE INDEX "api_certificate_common_name_08ba0b3d_like" ON "api_certificate" ("common_name" text_pattern_ops); (params []) | |
DEBUG ALTER TABLE "api_config" ADD CONSTRAINT "api_config_app_id_8632bf0d_fk_api_app_uuid" FOREIGN KEY ("app_id") REFERENCES "api_app" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_config" ADD CONSTRAINT "api_config_owner_id_15fcfd4d_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_config_f382adfe" ON "api_config" ("app_id"); (params []) | |
DEBUG CREATE INDEX "api_config_5e7b1936" ON "api_config" ("owner_id"); (params []) | |
DEBUG ALTER TABLE "api_container" ADD CONSTRAINT "api_container_app_id_03c00329_fk_api_app_uuid" FOREIGN KEY ("app_id") REFERENCES "api_app" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_container" ADD CONSTRAINT "api_container_owner_id_dc3b3672_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_container_f382adfe" ON "api_container" ("app_id"); (params []) | |
DEBUG CREATE INDEX "api_container_5e7b1936" ON "api_container" ("owner_id"); (params []) | |
DEBUG ALTER TABLE "api_domain" ADD CONSTRAINT "api_domain_app_id_6acdbe77_fk_api_app_uuid" FOREIGN KEY ("app_id") REFERENCES "api_app" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_domain" ADD CONSTRAINT "api_domain_owner_id_4c2843c9_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_domain_f382adfe" ON "api_domain" ("app_id"); (params []) | |
DEBUG CREATE INDEX "api_domain_5e7b1936" ON "api_domain" ("owner_id"); (params []) | |
DEBUG CREATE INDEX "api_domain_domain_cf8d9ba9_like" ON "api_domain" ("domain" text_pattern_ops); (params []) | |
DEBUG ALTER TABLE "api_key" ADD CONSTRAINT "api_key_owner_id_e9b7dba6_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_key_5e7b1936" ON "api_key" ("owner_id"); (params []) | |
DEBUG CREATE INDEX "api_key_public_52103b8a_like" ON "api_key" ("public" text_pattern_ops); (params []) | |
DEBUG ALTER TABLE "api_push" ADD CONSTRAINT "api_push_app_id_65bde359_fk_api_app_uuid" FOREIGN KEY ("app_id") REFERENCES "api_app" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_push" ADD CONSTRAINT "api_push_owner_id_4aa6b3b2_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_push_f382adfe" ON "api_push" ("app_id"); (params []) | |
DEBUG CREATE INDEX "api_push_5e7b1936" ON "api_push" ("owner_id"); (params []) | |
DEBUG ALTER TABLE "api_release" ADD CONSTRAINT "api_release_app_id_bd26593f_fk_api_app_uuid" FOREIGN KEY ("app_id") REFERENCES "api_app" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_release" ADD CONSTRAINT "api_release_build_id_956f3946_fk_api_build_uuid" FOREIGN KEY ("build_id") REFERENCES "api_build" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_release" ADD CONSTRAINT "api_release_config_id_23c173cb_fk_api_config_uuid" FOREIGN KEY ("config_id") REFERENCES "api_config" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_release" ADD CONSTRAINT "api_release_owner_id_e8bd2e47_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_release_f382adfe" ON "api_release" ("app_id"); (params []) | |
DEBUG CREATE INDEX "api_release_9b69b72a" ON "api_release" ("build_id"); (params []) | |
DEBUG CREATE INDEX "api_release_d1738a90" ON "api_release" ("config_id"); (params []) | |
DEBUG CREATE INDEX "api_release_5e7b1936" ON "api_release" ("owner_id"); (params []) | |
DEBUG CREATE INDEX "api_container_b07ccb57" ON "api_container" ("release_id"); (params []) | |
DEBUG ALTER TABLE "api_container" ADD CONSTRAINT "api_container_release_id_d2d03990_fk_api_release_uuid" FOREIGN KEY ("release_id") REFERENCES "api_release" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
Applying api.0001_initial... OK | |
Applying api.0002_auto_20151215_0352... OK | |
DEBUG ALTER TABLE "api_app" ALTER COLUMN "uuid" SET DEFAULT %s; (params [UUID('0d099ace-5a56-4ac3-88ad-2f87b32da563')]) | |
DEBUG ALTER TABLE "api_app" ALTER COLUMN "uuid" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_build" ALTER COLUMN "uuid" SET DEFAULT %s; (params [UUID('34ad0401-1671-4033-823e-3317ee572c76')]) | |
DEBUG ALTER TABLE "api_build" ALTER COLUMN "uuid" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_config" ALTER COLUMN "uuid" SET DEFAULT %s; (params [UUID('a518b603-8439-4f1b-878e-73213c810545')]) | |
DEBUG ALTER TABLE "api_config" ALTER COLUMN "uuid" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_container" ALTER COLUMN "uuid" SET DEFAULT %s; (params [UUID('f8da68bc-6b71-4160-9496-9ee740f05382')]) | |
DEBUG ALTER TABLE "api_container" ALTER COLUMN "uuid" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_key" ALTER COLUMN "uuid" SET DEFAULT %s; (params [UUID('af6f2656-09a0-4cfa-9994-61ef4fbb60ac')]) | |
DEBUG ALTER TABLE "api_key" ALTER COLUMN "uuid" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_push" ALTER COLUMN "uuid" SET DEFAULT %s; (params [UUID('3cdc63ad-3648-481f-b386-efc4bac6420c')]) | |
DEBUG ALTER TABLE "api_push" ALTER COLUMN "uuid" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_release" ALTER COLUMN "uuid" SET DEFAULT %s; (params [UUID('b75981a8-245b-4169-b4cf-811b48e47d0b')]) | |
DEBUG ALTER TABLE "api_release" ALTER COLUMN "uuid" DROP DEFAULT; (params []) | |
Applying api.0003_auto_20160114_0310... OK | |
Applying api.0004_auto_20160124_2134... OK | |
DEBUG ALTER TABLE "api_build" ALTER COLUMN "image" TYPE text USING "image"::text; (params []) | |
Applying api.0005_auto_20160208_2156... OK | |
DEBUG ALTER TABLE "api_certificate" ADD COLUMN "fingerprint" varchar(96) DEFAULT %s NOT NULL; (params ['2016-01-28 05:52:47.586393+00:00']) | |
DEBUG ALTER TABLE "api_certificate" ALTER COLUMN "fingerprint" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_certificate" ADD COLUMN "name" varchar(253) DEFAULT %s NOT NULL UNIQUE; (params ['2016-01-28 05:52:47.586393+00:00']) | |
DEBUG ALTER TABLE "api_certificate" ALTER COLUMN "name" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_certificate" ADD COLUMN "san" varchar(253)[] NULL; (params []) | |
DEBUG ALTER TABLE "api_certificate" ALTER COLUMN "san" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_certificate" DROP CONSTRAINT "api_certificate_common_name_key"; (params []) | |
DEBUG DROP INDEX "api_certificate_common_name_08ba0b3d_like"; (params []) | |
DEBUG ALTER TABLE "api_domain" ADD COLUMN "certificate_id" integer NULL; (params []) | |
DEBUG ALTER TABLE "api_domain" ALTER COLUMN "certificate_id" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_certificate" ADD COLUMN "issuer" text DEFAULT %s NOT NULL; (params ['2016-01-28 05:52:47.586393+00:00']) | |
DEBUG ALTER TABLE "api_certificate" ALTER COLUMN "issuer" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_certificate" ADD COLUMN "starts" timestamp with time zone DEFAULT %s NOT NULL; (params [datetime.datetime(2016, 1, 28, 5, 52, 47, 586393, tzinfo=<UTC>)]) | |
DEBUG ALTER TABLE "api_certificate" ALTER COLUMN "starts" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "api_certificate" ADD COLUMN "subject" text DEFAULT %s NOT NULL; (params ['2016-01-28 05:52:47.586393+00:00']) | |
DEBUG ALTER TABLE "api_certificate" ALTER COLUMN "subject" DROP DEFAULT; (params []) | |
DEBUG CREATE INDEX "api_certificate_name_e6edbec5_like" ON "api_certificate" ("name" varchar_pattern_ops); (params []) | |
DEBUG CREATE INDEX "api_domain_d5307900" ON "api_domain" ("certificate_id"); (params []) | |
DEBUG ALTER TABLE "api_domain" ADD CONSTRAINT "api_domain_certificate_id_24fc6e9f_fk_api_certificate_id" FOREIGN KEY ("certificate_id") REFERENCES "api_certificate" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
Applying api.0006_auto_20160114_0313... OK | |
DEBUG ALTER TABLE "api_container" DROP CONSTRAINT "api_container_app_id_03c00329_fk_api_app_uuid"; (params []) | |
DEBUG ALTER TABLE "api_container" DROP COLUMN "app_id" CASCADE; (params []) | |
DEBUG ALTER TABLE "api_container" DROP CONSTRAINT "api_container_owner_id_dc3b3672_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_container" DROP COLUMN "owner_id" CASCADE; (params []) | |
DEBUG ALTER TABLE "api_container" DROP CONSTRAINT "api_container_release_id_d2d03990_fk_api_release_uuid"; (params []) | |
DEBUG ALTER TABLE "api_container" DROP COLUMN "release_id" CASCADE; (params []) | |
DEBUG DROP TABLE "api_container" CASCADE; (params []) | |
Applying api.0007_auto_20160226_2335... OK | |
DEBUG ALTER TABLE "api_config" ADD COLUMN "registry" text DEFAULT %s NOT NULL; (params ['{}']) | |
DEBUG ALTER TABLE "api_config" ALTER COLUMN "registry" DROP DEFAULT; (params []) | |
Applying api.0008_config_registry... OK | |
DEBUG ALTER TABLE "api_app" DROP CONSTRAINT "api_app_owner_id_cbebbc18_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_app" ADD CONSTRAINT "api_app_owner_id_cbebbc18_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_build" DROP CONSTRAINT "api_build_owner_id_1539e8f2_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_build" ADD CONSTRAINT "api_build_owner_id_1539e8f2_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_certificate" DROP CONSTRAINT "api_certificate_owner_id_42adf0cd_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_certificate" ADD CONSTRAINT "api_certificate_owner_id_42adf0cd_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_config" DROP CONSTRAINT "api_config_owner_id_15fcfd4d_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_config" ADD CONSTRAINT "api_config_owner_id_15fcfd4d_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_domain" DROP CONSTRAINT "api_domain_owner_id_4c2843c9_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_domain" ADD CONSTRAINT "api_domain_owner_id_4c2843c9_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_key" DROP CONSTRAINT "api_key_owner_id_e9b7dba6_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_key" ADD CONSTRAINT "api_key_owner_id_e9b7dba6_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_push" DROP CONSTRAINT "api_push_owner_id_4aa6b3b2_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_push" ADD CONSTRAINT "api_push_owner_id_4aa6b3b2_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_release" DROP CONSTRAINT "api_release_owner_id_e8bd2e47_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_release" ADD CONSTRAINT "api_release_owner_id_e8bd2e47_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
Applying api.0009_auto_20160607_2259... OK | |
DEBUG ALTER TABLE "api_config" ADD COLUMN "healthcheck" text DEFAULT %s NOT NULL; (params ['{}']) | |
DEBUG ALTER TABLE "api_config" ALTER COLUMN "healthcheck" DROP DEFAULT; (params []) | |
Applying api.0010_config_healthcheck... OK | |
Applying api.0011_auto_20160810_1603... OK | |
DEBUG CREATE TABLE "api_appsettings" ("uuid" uuid NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "maintenance" boolean NULL, "routable" boolean NULL, "app_id" uuid NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG ALTER TABLE "api_appsettings" ADD CONSTRAINT "api_appsettings_app_id_270b9c16_uniq" UNIQUE ("app_id", "uuid"); (params []) | |
DEBUG ALTER TABLE "api_appsettings" ADD CONSTRAINT "api_appsettings_app_id_7efe8542_fk_api_app_uuid" FOREIGN KEY ("app_id") REFERENCES "api_app" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_appsettings" ADD CONSTRAINT "api_appsettings_owner_id_83ed19f7_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_appsettings_f382adfe" ON "api_appsettings" ("app_id"); (params []) | |
DEBUG CREATE INDEX "api_appsettings_5e7b1936" ON "api_appsettings" ("owner_id"); (params []) | |
Applying api.0012_auto_20160816_1934... OK | |
DEBUG ALTER TABLE "api_push" DROP CONSTRAINT "api_push_app_id_c4c4ae96_uniq"; (params []) | |
DEBUG ALTER TABLE "api_push" DROP CONSTRAINT "api_push_app_id_65bde359_fk_api_app_uuid"; (params []) | |
DEBUG ALTER TABLE "api_push" DROP COLUMN "app_id" CASCADE; (params []) | |
DEBUG ALTER TABLE "api_push" DROP CONSTRAINT "api_push_owner_id_4aa6b3b2_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "api_push" DROP COLUMN "owner_id" CASCADE; (params []) | |
DEBUG DROP TABLE "api_push" CASCADE; (params []) | |
Applying api.0013_auto_20160816_2122... OK | |
DEBUG ALTER TABLE "api_appsettings" ADD COLUMN "whitelist" varchar(50)[] DEFAULT %s NOT NULL; (params [[]]) | |
DEBUG ALTER TABLE "api_appsettings" ALTER COLUMN "whitelist" DROP DEFAULT; (params []) | |
Applying api.0014_appsettings_whitelist... OK | |
DEBUG CREATE TABLE "api_tls" ("uuid" uuid NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "updated" timestamp with time zone NOT NULL, "https_enforced" boolean NULL, "app_id" uuid NOT NULL, "owner_id" integer NOT NULL); (params None) | |
DEBUG ALTER TABLE "api_tls" ADD CONSTRAINT "api_tls_app_id_ba010077_uniq" UNIQUE ("app_id", "uuid"); (params []) | |
DEBUG ALTER TABLE "api_tls" ADD CONSTRAINT "api_tls_app_id_a03b23ed_fk_api_app_uuid" FOREIGN KEY ("app_id") REFERENCES "api_app" ("uuid") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "api_tls" ADD CONSTRAINT "api_tls_owner_id_278d6863_fk_auth_user_id" FOREIGN KEY ("owner_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "api_tls_f382adfe" ON "api_tls" ("app_id"); (params []) | |
DEBUG CREATE INDEX "api_tls_5e7b1936" ON "api_tls" ("owner_id"); (params []) | |
Applying api.0015_auto_20160822_2103... OK | |
DEBUG ALTER TABLE "api_certificate" ALTER COLUMN "common_name" DROP NOT NULL; (params []) | |
Applying api.0016_auto_20160830_0104... OK | |
DEBUG ALTER TABLE "api_appsettings" ADD COLUMN "autoscale" text DEFAULT %s NOT NULL; (params ['{}']) | |
DEBUG ALTER TABLE "api_appsettings" ALTER COLUMN "autoscale" DROP DEFAULT; (params []) | |
Applying api.0017_appsettings_autoscale... OK | |
Applying api.0018_auto_20160908_1748... OK | |
DEBUG ALTER TABLE "django_content_type" ALTER COLUMN "name" DROP NOT NULL; (params []) | |
DEBUG ALTER TABLE "django_content_type" DROP COLUMN "name" CASCADE; (params []) | |
Applying contenttypes.0002_remove_content_type_name... OK | |
DEBUG ALTER TABLE "auth_permission" ALTER COLUMN "name" TYPE varchar(255) USING "name"::varchar(255); (params []) | |
Applying auth.0002_alter_permission_name_max_length... OK | |
DEBUG ALTER TABLE "auth_user" ALTER COLUMN "email" TYPE varchar(254) USING "email"::varchar(254); (params []) | |
Applying auth.0003_alter_user_email_max_length... OK | |
Applying auth.0004_alter_user_username_opts... OK | |
DEBUG ALTER TABLE "auth_user" ALTER COLUMN "last_login" DROP NOT NULL; (params []) | |
Applying auth.0005_alter_user_last_login_null... OK | |
Applying auth.0006_require_contenttypes_0002... OK | |
Applying auth.0007_alter_validators_add_error_messages... OK | |
DEBUG ALTER TABLE "auth_user" ALTER COLUMN "username" TYPE varchar(150) USING "username"::varchar(150); (params []) | |
Applying auth.0008_alter_user_username_max_length... OK | |
DEBUG CREATE TABLE "authtoken_token" ("key" varchar(40) NOT NULL PRIMARY KEY, "created" timestamp with time zone NOT NULL, "user_id" integer NOT NULL UNIQUE); (params None) | |
DEBUG ALTER TABLE "authtoken_token" ADD CONSTRAINT "authtoken_token_user_id_35299eff_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "authtoken_token_key_10f0b77e_like" ON "authtoken_token" ("key" varchar_pattern_ops); (params []) | |
Applying authtoken.0001_initial... OK | |
DEBUG ALTER TABLE "authtoken_token" ALTER COLUMN "created" SET DEFAULT %s; (params [datetime.datetime(2016, 10, 9, 3, 6, 39, 665945, tzinfo=<UTC>)]) | |
DEBUG ALTER TABLE "authtoken_token" ALTER COLUMN "created" DROP DEFAULT; (params []) | |
DEBUG ALTER TABLE "authtoken_token" DROP CONSTRAINT "authtoken_token_user_id_35299eff_fk_auth_user_id"; (params []) | |
DEBUG ALTER TABLE "authtoken_token" ADD CONSTRAINT "authtoken_token_user_id_35299eff_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
Applying authtoken.0002_auto_20160226_1747... OK | |
DEBUG CREATE TABLE "guardian_groupobjectpermission" ("id" serial NOT NULL PRIMARY KEY, "object_pk" varchar(255) NOT NULL, "content_type_id" integer NOT NULL, "group_id" integer NOT NULL, "permission_id" integer NOT NULL); (params None) | |
DEBUG CREATE TABLE "guardian_userobjectpermission" ("id" serial NOT NULL PRIMARY KEY, "object_pk" varchar(255) NOT NULL, "content_type_id" integer NOT NULL, "permission_id" integer NOT NULL, "user_id" integer NOT NULL); (params None) | |
DEBUG ALTER TABLE "guardian_userobjectpermission" ADD CONSTRAINT "guardian_userobjectpermission_user_id_b0b3d2fc_uniq" UNIQUE ("user_id", "permission_id", "object_pk"); (params []) | |
DEBUG ALTER TABLE "guardian_groupobjectpermission" ADD CONSTRAINT "guardian_groupobjectpermission_group_id_3f189f7c_uniq" UNIQUE ("group_id", "permission_id", "object_pk"); (params []) | |
DEBUG ALTER TABLE "guardian_groupobjectpermission" ADD CONSTRAINT "guardian_gro_content_type_id_7ade36b8_fk_django_content_type_id" FOREIGN KEY ("content_type_id") REFERENCES "django_content_type" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "guardian_groupobjectpermission" ADD CONSTRAINT "guardian_groupobjectpermissi_group_id_4bbbfb62_fk_auth_group_id" FOREIGN KEY ("group_id") REFERENCES "auth_group" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "guardian_groupobjectpermission" ADD CONSTRAINT "guardian_groupobje_permission_id_36572738_fk_auth_permission_id" FOREIGN KEY ("permission_id") REFERENCES "auth_permission" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "guardian_groupobjectpermission_417f1b1c" ON "guardian_groupobjectpermission" ("content_type_id"); (params []) | |
DEBUG CREATE INDEX "guardian_groupobjectpermission_0e939a4f" ON "guardian_groupobjectpermission" ("group_id"); (params []) | |
DEBUG CREATE INDEX "guardian_groupobjectpermission_8373b171" ON "guardian_groupobjectpermission" ("permission_id"); (params []) | |
DEBUG ALTER TABLE "guardian_userobjectpermission" ADD CONSTRAINT "guardian_use_content_type_id_2e892405_fk_django_content_type_id" FOREIGN KEY ("content_type_id") REFERENCES "django_content_type" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "guardian_userobjectpermission" ADD CONSTRAINT "guardian_userobjec_permission_id_71807bfc_fk_auth_permission_id" FOREIGN KEY ("permission_id") REFERENCES "auth_permission" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG ALTER TABLE "guardian_userobjectpermission" ADD CONSTRAINT "guardian_userobjectpermission_user_id_d5c1e964_fk_auth_user_id" FOREIGN KEY ("user_id") REFERENCES "auth_user" ("id") DEFERRABLE INITIALLY DEFERRED; (params []) | |
DEBUG CREATE INDEX "guardian_userobjectpermission_417f1b1c" ON "guardian_userobjectpermission" ("content_type_id"); (params []) | |
DEBUG CREATE INDEX "guardian_userobjectpermission_8373b171" ON "guardian_userobjectpermission" ("permission_id"); (params []) | |
DEBUG CREATE INDEX "guardian_userobjectpermission_e8701ad4" ON "guardian_userobjectpermission" ("user_id"); (params []) | |
Applying guardian.0001_initial... OK | |
DEBUG CREATE TABLE "django_session" ("session_key" varchar(40) NOT NULL PRIMARY KEY, "session_data" text NOT NULL, "expire_date" timestamp with time zone NOT NULL); (params None) | |
DEBUG CREATE INDEX "django_session_de54fa62" ON "django_session" ("expire_date"); (params []) | |
DEBUG CREATE INDEX "django_session_session_key_c0390e0f_like" ON "django_session" ("session_key" varchar_pattern_ops); (params []) | |
Applying sessions.0001_initial... OK | |
Starting up Gunicorn | |
Loading database information to Kubernetes in the background | |
Log of the run can be found in /app/data/logs/load_db_state_to_k8s.log | |
deis-controller running... | |
[2016-10-09 03:06:40 +0000] [23] [INFO] Starting gunicorn 19.6.0 | |
[2016-10-09 03:06:40 +0000] [23] [INFO] Listening at: http://0.0.0.0:8000 (23) | |
[2016-10-09 03:06:40 +0000] [23] [INFO] Using worker: sync | |
[2016-10-09 03:06:40 +0000] [27] [INFO] Booting worker with pid: 27 | |
[2016-10-09 03:06:40 +0000] [28] [INFO] Booting worker with pid: 28 | |
[2016-10-09 03:06:40 +0000] [30] [INFO] Booting worker with pid: 30 | |
[2016-10-09 03:06:40 +0000] [31] [INFO] Booting worker with pid: 31 | |
[2016-10-09 03:06:40 +0000] [33] [INFO] Booting worker with pid: 33 | |
[2016-10-09 03:06:40 +0000] [35] [INFO] Booting worker with pid: 35 | |
[2016-10-09 03:06:40 +0000] [37] [INFO] Booting worker with pid: 37 | |
[2016-10-09 03:06:40 +0000] [39] [INFO] Booting worker with pid: 39 | |
[2016-10-09 03:06:40 +0000] [40] [INFO] Booting worker with pid: 40 | |
172.17.0.13 "GET /v2/ HTTP/1.1" 401 58 "Deis Client v2.6.1" | |
172.17.0.13 "POST /v2/auth/register/ HTTP/1.1" 201 244 "Deis Client v2.6.1" | |
172.17.0.13 "POST /v2/auth/login/ HTTP/1.1" 200 52 "Deis Client v2.6.1" | |
172.17.0.13 "GET /v2/ HTTP/1.1" 401 58 "Deis Client v2.6.1" | |
172.17.0.13 "POST /v2/auth/login/ HTTP/1.1" 200 52 "Deis Client v2.6.1" | |
172.17.0.13 "GET /v2/apps/?limit=100 HTTP/1.1" 200 52 "Deis Client v2.6.1" | |
172.17.0.13 "GET /v2/users/?limit=100 HTTP/1.1" 200 296 "Deis Client v2.6.1" | |
172.17.0.13 "POST /v2/apps/cluster/builds/ HTTP/1.1" 404 23 "Deis Client v2.6.1" | |
172.17.0.13 "POST /v2/apps/cluster/builds/ HTTP/1.1" 404 23 "Deis Client v2.6.1" | |
172.17.0.13 "GET /v2/users/?limit=100 HTTP/1.1" 200 296 "Deis Client v2.6.1" | |
172.17.0.13 "GET /v2/apps/cluster/ HTTP/1.1" 404 23 "Deis Client v2.6.1" | |
INFO [echoserver]: config echoserver-8a30e12 updated | |
INFO [echoserver]: bob.aman created initial release | |
INFO [echoserver]: appsettings echoserver-31ca9c9 updated | |
INFO [echoserver]: domain echoserver added | |
172.17.0.13 "POST /v2/apps/ HTTP/1.1" 201 165 "Deis Client v2.6.1" | |
INFO [echoserver]: build echoserver-3e1dfe4 created | |
INFO [echoserver]: bob.aman deployed gcr.io/google_containers/echoserver:1.4 | |
INFO Pulling Docker image gcr.io/google_containers/echoserver:1.4 | |
INFO Tagging Docker image gcr.io/google_containers/echoserver:1.4 as localhost:5555/echoserver:v2 | |
INFO Pushing Docker image localhost:5555/echoserver:v2 | |
INFO Pulling Docker image localhost:5555/echoserver:v2 | |
INFO Pulling Docker image localhost:5555/echoserver:v2 | |
INFO [echoserver]: adding 5s on to the original 120s timeout to account for the initial delay specified in the liveness / readiness probe | |
INFO [echoserver]: This deployments overall timeout is 125s - batch timout is 125s and there are 1 batches to deploy with a total of 1 pods | |
INFO [echoserver]: waited 10s and 1 pods are in service | |
INFO [echoserver]: waited 20s and 1 pods are in service | |
INFO [echoserver]: waited 30s and 1 pods are in service | |
INFO [echoserver]: waited 40s and 1 pods are in service | |
INFO [echoserver]: waited 50s and 1 pods are in service | |
INFO [echoserver]: waited 60s and 1 pods are in service | |
INFO [echoserver]: waited 70s and 1 pods are in service | |
INFO [echoserver]: waited 80s and 1 pods are in service | |
INFO [echoserver]: waited 90s and 1 pods are in service | |
INFO [echoserver]: waited 100s and 1 pods are in service | |
INFO [echoserver]: waited 110s and 1 pods are in service | |
INFO [echoserver]: waited 120s and 1 pods are in service | |
ERROR [echoserver]: There was a problem deploying v2. Rolling back process types to release v1. | |
ERROR [echoserver]: (app::deploy): No build associated with this release | |
ERROR:root:(app::deploy): No build associated with this release | |
Traceback (most recent call last): | |
File "/app/scheduler/__init__.py", line 253, in deploy | |
deployment = self.deployment.get(namespace, name).json() | |
File "/app/scheduler/resources/deployment.py", line 29, in get | |
raise KubeHTTPException(response, message, *args) | |
scheduler.exceptions.KubeHTTPException: ('failed to get Deployment "echoserver-cmd" in Namespace "echoserver": 404 Not Found deployments.extensions "echoserver-cmd" not found', 'echoserver-cmd', 'echoserver') | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/app/api/models/app.py", line 487, in deploy | |
async_run(tasks) | |
File "/app/api/utils.py", line 169, in async_run | |
raise error | |
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step | |
result = coro.throw(exc) | |
File "/app/api/utils.py", line 182, in async_task | |
yield from loop.run_in_executor(None, params) | |
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__ | |
yield self # This tells Task to wait for completion. | |
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup | |
future.result() | |
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result | |
raise self._exception | |
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run | |
result = self.fn(*self.args, **self.kwargs) | |
File "/app/scheduler/__init__.py", line 260, in deploy | |
namespace, name, image, entrypoint, command, **kwargs | |
File "/app/scheduler/resources/deployment.py", line 123, in create | |
self.wait_until_ready(namespace, name, **kwargs) | |
File "/app/scheduler/resources/deployment.py", line 353, in wait_until_ready | |
self.pod._handle_not_ready_pods(namespace, labels) | |
File "/app/scheduler/resources/pod.py", line 694, in _handle_not_ready_pods | |
raise KubeException(message) | |
scheduler.exceptions.KubeException: Readiness probe failed: dial tcp 172.17.0.18:80: getsockopt: connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/app/api/models/app.py", line 494, in deploy | |
self.deploy(release.previous(), force_deploy=True, rollback_on_failure=False) | |
File "/app/api/models/app.py", line 444, in deploy | |
raise DeisException('No build associated with this release') | |
api.exceptions.DeisException: No build associated with this release | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "/app/api/models/build.py", line 64, in create | |
self.app.deploy(new_release) | |
File "/app/api/models/app.py", line 504, in deploy | |
raise ServiceUnavailable(err) from e | |
api.exceptions.ServiceUnavailable: (app::deploy): No build associated with this release | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/dist-packages/rest_framework/views.py", line 471, in dispatch | |
response = handler(request, *args, **kwargs) | |
File "/app/api/views.py", line 181, in create | |
return super(AppResourceViewSet, self).create(request, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/rest_framework/mixins.py", line 21, in create | |
self.perform_create(serializer) | |
File "/app/api/viewsets.py", line 21, in perform_create | |
self.post_save(obj) | |
File "/app/api/views.py", line 258, in post_save | |
self.release = build.create(self.request.user) | |
File "/app/api/models/build.py", line 71, in create | |
raise DeisException(str(e)) from e | |
api.exceptions.DeisException: (app::deploy): No build associated with this release | |
172.17.0.13 "POST /v2/apps/echoserver/builds/ HTTP/1.1" 400 65 "Deis Client v2.6.1" | |
INFO [echoserver]: build echoserver-b99c250 created | |
INFO:api.models.app:[echoserver]: build echoserver-b99c250 created | |
INFO [echoserver]: bob.aman deployed gcr.io/google_containers/echoserver:1.4 | |
INFO:api.models.app:[echoserver]: bob.aman deployed gcr.io/google_containers/echoserver:1.4 | |
INFO Pulling Docker image gcr.io/google_containers/echoserver:1.4 | |
INFO:registry.dockerclient:Pulling Docker image gcr.io/google_containers/echoserver:1.4 | |
INFO Tagging Docker image gcr.io/google_containers/echoserver:1.4 as localhost:5555/echoserver:v2 | |
INFO:registry.dockerclient:Tagging Docker image gcr.io/google_containers/echoserver:1.4 as localhost:5555/echoserver:v2 | |
INFO Pushing Docker image localhost:5555/echoserver:v2 | |
INFO:registry.dockerclient:Pushing Docker image localhost:5555/echoserver:v2 | |
INFO Pulling Docker image localhost:5555/echoserver:v2 | |
INFO:registry.dockerclient:Pulling Docker image localhost:5555/echoserver:v2 | |
INFO [echoserver]: adding 5s on to the original 120s timeout to account for the initial delay specified in the liveness / readiness probe | |
INFO:scheduler:[echoserver]: adding 5s on to the original 120s timeout to account for the initial delay specified in the liveness / readiness probe | |
INFO Pulling Docker image localhost:5555/echoserver:v2 | |
INFO:registry.dockerclient:Pulling Docker image localhost:5555/echoserver:v2 | |
INFO [echoserver]: Deployment echoserver-cmd with release v2 already exists. Stopping deploy | |
INFO:scheduler:[echoserver]: Deployment echoserver-cmd with release v2 already exists. Stopping deploy | |
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 10.0.0.248 | |
172.17.0.13 "POST /v2/apps/echoserver/builds/ HTTP/1.1" 201 240 "Deis Client v2.6.1" | |
172.17.0.13 "GET /v2/apps/echoserver/pods/?limit=1000 HTTP/1.1" 200 146 "Deis Client v2.6.1" | |
172.17.0.13 "GET /v2/apps/echoserver/pods/?limit=1000 HTTP/1.1" 200 146 "Deis Client v2.6.1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment