Diff of the two buildlogs: -- --- b1/build.log 2021-12-08 21:35:32.690560635 +0000 +++ b2/build.log 2021-12-08 21:39:38.242907994 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Dec 8 09:27:51 -12 2021 -I: pbuilder-time-stamp: 1638998871 +I: Current time: Wed Jan 11 17:58:43 +14 2023 +I: pbuilder-time-stamp: 1673409523 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Tue Feb 5 23:33:37 2019 -12 +gpgv: Signature made Thu Feb 7 01:33:37 2019 +14 gpgv: using RSA key E574265EAFFE3C4A40FAA18D4A0CF639427884E3 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./magnum_7.1.0-1.dsc @@ -29,136 +29,170 @@ dpkg-source: info: applying fix-py3-compatibility.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1922367/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/691925/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/691925/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/691925/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='440697c13f774056872d3fbfb2ae2bbe' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1922367' - PS1='# ' - PS2='> ' + INVOCATION_ID=c8b6abcc1e754821bcea11c8411ebe62 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=691925 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.jgxQUGcAXI/pbuilderrc_lOPm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jgxQUGcAXI/b1 --logfile b1/build.log magnum_7.1.0-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.jgxQUGcAXI/pbuilderrc_RJ14 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jgxQUGcAXI/b2 --logfile b2/build.log magnum_7.1.0-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Nov 7 09:58 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/1922367/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jan 11 17:58 sh -> bash + lrwxrwxrwx 1 root root 4 Dec 11 18:21 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/691925/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -668,7 +702,7 @@ Get: 332 http://deb.debian.org/debian buster/main amd64 python3-taskflow all 3.2.0-3 [214 kB] Get: 333 http://deb.debian.org/debian buster/main amd64 python3-werkzeug all 0.14.1+dfsg1-4+deb10u1 [196 kB] Get: 334 http://deb.debian.org/debian buster/main amd64 python3-wsme all 0.9.3-2 [66.3 kB] -Fetched 73.0 MB in 31s (2389 kB/s) +Fetched 73.0 MB in 1s (74.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (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 ... 19195 files and directories currently installed.) @@ -2112,7 +2146,8 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/magnum-7.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../magnum_7.1.0-1_source.changes +hostname: Name or service not known +I: Running cd /build/magnum-7.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../magnum_7.1.0-1_source.changes dpkg-buildpackage: info: source package magnum dpkg-buildpackage: info: source version 7.1.0-1 dpkg-buildpackage: info: source distribution unstable @@ -2235,201 +2270,94 @@ creating build creating build/lib creating build/lib/magnum +creating build/lib/magnum/drivers +copying magnum/drivers/__init__.py -> build/lib/magnum/drivers creating build/lib/magnum/tests creating build/lib/magnum/tests/functional creating build/lib/magnum/tests/functional/api -creating build/lib/magnum/tests/functional/api/v1 -copying magnum/tests/functional/api/v1/__init__.py -> build/lib/magnum/tests/functional/api/v1 -creating build/lib/magnum/conductor -creating build/lib/magnum/conductor/tasks -copying magnum/conductor/tasks/heat_tasks.py -> build/lib/magnum/conductor/tasks -copying magnum/conductor/tasks/__init__.py -> build/lib/magnum/conductor/tasks -creating build/lib/magnum/objects -copying magnum/objects/x509keypair.py -> build/lib/magnum/objects -copying magnum/objects/stats.py -> build/lib/magnum/objects -copying magnum/objects/quota.py -> build/lib/magnum/objects -copying magnum/objects/magnum_service.py -> build/lib/magnum/objects -copying magnum/objects/fields.py -> build/lib/magnum/objects -copying magnum/objects/federation.py -> build/lib/magnum/objects -copying magnum/objects/cluster_template.py -> build/lib/magnum/objects -copying magnum/objects/cluster.py -> build/lib/magnum/objects -copying magnum/objects/certificate.py -> build/lib/magnum/objects -copying magnum/objects/base.py -> build/lib/magnum/objects -copying magnum/objects/__init__.py -> build/lib/magnum/objects -creating build/lib/magnum/tests/functional/k8s_ironic -copying magnum/tests/functional/k8s_ironic/test_k8s_python_client.py -> build/lib/magnum/tests/functional/k8s_ironic -copying magnum/tests/functional/k8s_ironic/__init__.py -> build/lib/magnum/tests/functional/k8s_ironic -creating build/lib/magnum/tests/unit -creating build/lib/magnum/tests/unit/conductor -creating build/lib/magnum/tests/unit/conductor/tasks -copying magnum/tests/unit/conductor/tasks/test_heat_tasks.py -> build/lib/magnum/tests/unit/conductor/tasks -copying magnum/tests/unit/conductor/tasks/__init__.py -> build/lib/magnum/tests/unit/conductor/tasks -creating build/lib/magnum/drivers -creating build/lib/magnum/drivers/swarm_fedora_atomic_v2 -copying magnum/drivers/swarm_fedora_atomic_v2/version.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 -copying magnum/drivers/swarm_fedora_atomic_v2/template_def.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 -copying magnum/drivers/swarm_fedora_atomic_v2/monitor.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 -copying magnum/drivers/swarm_fedora_atomic_v2/driver.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 -copying magnum/drivers/swarm_fedora_atomic_v2/__init__.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 -creating build/lib/magnum/api -creating build/lib/magnum/api/controllers -creating build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/types.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/stats.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/quota.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/magnum_services.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/federation.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/collection.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/cluster_template.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/cluster.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/certificate.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/baymodel.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/bay.py -> build/lib/magnum/api/controllers/v1 -copying magnum/api/controllers/v1/__init__.py -> build/lib/magnum/api/controllers/v1 -creating build/lib/magnum/servicegroup -copying magnum/servicegroup/magnum_service_periodic.py -> build/lib/magnum/servicegroup -copying magnum/servicegroup/__init__.py -> build/lib/magnum/servicegroup +copying magnum/tests/functional/api/base.py -> build/lib/magnum/tests/functional/api +copying magnum/tests/functional/api/__init__.py -> build/lib/magnum/tests/functional/api creating build/lib/magnum/db copying magnum/db/migration.py -> build/lib/magnum/db copying magnum/db/api.py -> build/lib/magnum/db copying magnum/db/__init__.py -> build/lib/magnum/db -creating build/lib/magnum/common -creating build/lib/magnum/common/x509 -copying magnum/common/x509/operations.py -> build/lib/magnum/common/x509 -copying magnum/common/x509/validator.py -> build/lib/magnum/common/x509 -copying magnum/common/x509/extensions.py -> build/lib/magnum/common/x509 -copying magnum/common/x509/__init__.py -> build/lib/magnum/common/x509 -copying magnum/version.py -> build/lib/magnum -copying magnum/i18n.py -> build/lib/magnum -copying magnum/__init__.py -> build/lib/magnum -creating build/lib/magnum/tests/unit/api -copying magnum/tests/unit/api/utils.py -> build/lib/magnum/tests/unit/api -copying magnum/tests/unit/api/test_validation.py -> build/lib/magnum/tests/unit/api -copying magnum/tests/unit/api/test_servicegroup.py -> build/lib/magnum/tests/unit/api -copying magnum/tests/unit/api/test_hooks.py -> build/lib/magnum/tests/unit/api -copying magnum/tests/unit/api/test_expose.py -> build/lib/magnum/tests/unit/api -copying magnum/tests/unit/api/test_attr_validator.py -> build/lib/magnum/tests/unit/api -copying magnum/tests/unit/api/test_app.py -> build/lib/magnum/tests/unit/api -copying magnum/tests/unit/api/base.py -> build/lib/magnum/tests/unit/api -copying magnum/tests/unit/api/__init__.py -> build/lib/magnum/tests/unit/api -creating build/lib/magnum/tests/unit/api/controllers -creating build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_utils.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_types.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_stats.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_quota.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_magnum_service.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_federation.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_cluster_template.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_cluster.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_certificate.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_baymodel.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/test_bay.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/unit/api/controllers/v1/__init__.py -> build/lib/magnum/tests/unit/api/controllers/v1 -copying magnum/tests/functional/python_client_base.py -> build/lib/magnum/tests/functional -copying magnum/tests/functional/__init__.py -> build/lib/magnum/tests/functional -creating build/lib/magnum/conf -copying magnum/conf/x509.py -> build/lib/magnum/conf -copying magnum/conf/utils.py -> build/lib/magnum/conf -copying magnum/conf/trust.py -> build/lib/magnum/conf -copying magnum/conf/services.py -> build/lib/magnum/conf -copying magnum/conf/rpc.py -> build/lib/magnum/conf -copying magnum/conf/quota.py -> build/lib/magnum/conf -copying magnum/conf/profiler.py -> build/lib/magnum/conf -copying magnum/conf/paths.py -> build/lib/magnum/conf -copying magnum/conf/opts.py -> build/lib/magnum/conf -copying magnum/conf/octavia.py -> build/lib/magnum/conf -copying magnum/conf/nova.py -> build/lib/magnum/conf -copying magnum/conf/neutron.py -> build/lib/magnum/conf -copying magnum/conf/magnum_client.py -> build/lib/magnum/conf -copying magnum/conf/keystone.py -> build/lib/magnum/conf -copying magnum/conf/heat.py -> build/lib/magnum/conf -copying magnum/conf/glance.py -> build/lib/magnum/conf -copying magnum/conf/drivers.py -> build/lib/magnum/conf -copying magnum/conf/docker_registry.py -> build/lib/magnum/conf -copying magnum/conf/docker.py -> build/lib/magnum/conf -copying magnum/conf/database.py -> build/lib/magnum/conf -copying magnum/conf/conductor.py -> build/lib/magnum/conf -copying magnum/conf/cluster_templates.py -> build/lib/magnum/conf -copying magnum/conf/cluster_heat.py -> build/lib/magnum/conf -copying magnum/conf/cluster.py -> build/lib/magnum/conf -copying magnum/conf/cinder.py -> build/lib/magnum/conf -copying magnum/conf/certificates.py -> build/lib/magnum/conf -copying magnum/conf/barbican.py -> build/lib/magnum/conf -copying magnum/conf/api.py -> build/lib/magnum/conf -copying magnum/conf/__init__.py -> build/lib/magnum/conf -creating build/lib/magnum/drivers/k8s_fedora_ironic_v1 -copying magnum/drivers/k8s_fedora_ironic_v1/version.py -> build/lib/magnum/drivers/k8s_fedora_ironic_v1 -copying magnum/drivers/k8s_fedora_ironic_v1/template_def.py -> build/lib/magnum/drivers/k8s_fedora_ironic_v1 -copying magnum/drivers/k8s_fedora_ironic_v1/driver.py -> build/lib/magnum/drivers/k8s_fedora_ironic_v1 -copying magnum/drivers/k8s_fedora_ironic_v1/__init__.py -> build/lib/magnum/drivers/k8s_fedora_ironic_v1 -copying magnum/tests/utils.py -> build/lib/magnum/tests -copying magnum/tests/policy_fixture.py -> build/lib/magnum/tests -copying magnum/tests/fakes.py -> build/lib/magnum/tests -copying magnum/tests/fake_notifier.py -> build/lib/magnum/tests -copying magnum/tests/conf_fixture.py -> build/lib/magnum/tests -copying magnum/tests/base.py -> build/lib/magnum/tests -copying magnum/tests/__init__.py -> build/lib/magnum/tests -creating build/lib/magnum/db/sqlalchemy -copying magnum/db/sqlalchemy/models.py -> build/lib/magnum/db/sqlalchemy -copying magnum/db/sqlalchemy/migration.py -> build/lib/magnum/db/sqlalchemy -copying magnum/db/sqlalchemy/api.py -> build/lib/magnum/db/sqlalchemy -copying magnum/db/sqlalchemy/__init__.py -> build/lib/magnum/db/sqlalchemy -creating build/lib/magnum/tests/unit/conductor/handlers -creating build/lib/magnum/tests/unit/conductor/handlers/common -copying magnum/tests/unit/conductor/handlers/common/test_trust_manager.py -> build/lib/magnum/tests/unit/conductor/handlers/common -copying magnum/tests/unit/conductor/handlers/common/test_cert_manager.py -> build/lib/magnum/tests/unit/conductor/handlers/common -copying magnum/tests/unit/conductor/handlers/common/__init__.py -> build/lib/magnum/tests/unit/conductor/handlers/common -creating build/lib/magnum/tests/unit/template -copying magnum/tests/unit/template/test_template.py -> build/lib/magnum/tests/unit/template -copying magnum/tests/unit/template/__init__.py -> build/lib/magnum/tests/unit/template -copying magnum/tests/unit/conductor/test_utils.py -> build/lib/magnum/tests/unit/conductor -copying magnum/tests/unit/conductor/test_scale_manager.py -> build/lib/magnum/tests/unit/conductor -copying magnum/tests/unit/conductor/test_rpcapi.py -> build/lib/magnum/tests/unit/conductor -copying magnum/tests/unit/conductor/test_monitors.py -> build/lib/magnum/tests/unit/conductor -copying magnum/tests/unit/conductor/test_k8s_api.py -> build/lib/magnum/tests/unit/conductor -copying magnum/tests/unit/conductor/__init__.py -> build/lib/magnum/tests/unit/conductor +creating build/lib/magnum/conductor creating build/lib/magnum/conductor/handlers creating build/lib/magnum/conductor/handlers/common copying magnum/conductor/handlers/common/trust_manager.py -> build/lib/magnum/conductor/handlers/common copying magnum/conductor/handlers/common/cert_manager.py -> build/lib/magnum/conductor/handlers/common copying magnum/conductor/handlers/common/__init__.py -> build/lib/magnum/conductor/handlers/common -creating build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/objects/utils.py -> build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/objects/test_x509keypair.py -> build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/objects/test_objects.py -> build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/objects/test_magnum_service.py -> build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/objects/test_fields.py -> build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/objects/test_federation.py -> build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/objects/test_cluster_template.py -> build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/objects/test_cluster.py -> build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/objects/__init__.py -> build/lib/magnum/tests/unit/objects -copying magnum/tests/unit/conductor/handlers/test_swarm_cluster_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers -copying magnum/tests/unit/conductor/handlers/test_mesos_cluster_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers -copying magnum/tests/unit/conductor/handlers/test_k8s_cluster_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers -copying magnum/tests/unit/conductor/handlers/test_indirection_api.py -> build/lib/magnum/tests/unit/conductor/handlers -copying magnum/tests/unit/conductor/handlers/test_federation_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers -copying magnum/tests/unit/conductor/handlers/test_conductor_listener.py -> build/lib/magnum/tests/unit/conductor/handlers -copying magnum/tests/unit/conductor/handlers/test_cluster_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers -copying magnum/tests/unit/conductor/handlers/test_ca_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers -copying magnum/tests/unit/conductor/handlers/__init__.py -> build/lib/magnum/tests/unit/conductor/handlers -copying magnum/drivers/__init__.py -> build/lib/magnum/drivers +creating build/lib/magnum/tests/unit +creating build/lib/magnum/tests/unit/api +creating build/lib/magnum/tests/unit/api/controllers copying magnum/tests/unit/api/controllers/test_root.py -> build/lib/magnum/tests/unit/api/controllers copying magnum/tests/unit/api/controllers/test_base.py -> build/lib/magnum/tests/unit/api/controllers copying magnum/tests/unit/api/controllers/__init__.py -> build/lib/magnum/tests/unit/api/controllers creating build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_utils.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_urlfetch.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_short_id.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_service.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_rpc.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_profiler.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_policy.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_octavia.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_keystone.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_exception.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_docker_utils.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_context.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/test_clients.py -> build/lib/magnum/tests/unit/common +copying magnum/tests/unit/common/__init__.py -> build/lib/magnum/tests/unit/common +creating build/lib/magnum/tests/unit/conductor +creating build/lib/magnum/tests/unit/conductor/tasks +copying magnum/tests/unit/conductor/tasks/test_heat_tasks.py -> build/lib/magnum/tests/unit/conductor/tasks +copying magnum/tests/unit/conductor/tasks/__init__.py -> build/lib/magnum/tests/unit/conductor/tasks +creating build/lib/magnum/drivers/mesos_ubuntu_v1 +copying magnum/drivers/mesos_ubuntu_v1/version.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 +copying magnum/drivers/mesos_ubuntu_v1/template_def.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 +copying magnum/drivers/mesos_ubuntu_v1/scale_manager.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 +copying magnum/drivers/mesos_ubuntu_v1/monitor.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 +copying magnum/drivers/mesos_ubuntu_v1/driver.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 +copying magnum/drivers/mesos_ubuntu_v1/__init__.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 +creating build/lib/magnum/tests/unit/conductor/handlers +creating build/lib/magnum/tests/unit/conductor/handlers/common +copying magnum/tests/unit/conductor/handlers/common/test_trust_manager.py -> build/lib/magnum/tests/unit/conductor/handlers/common +copying magnum/tests/unit/conductor/handlers/common/test_cert_manager.py -> build/lib/magnum/tests/unit/conductor/handlers/common +copying magnum/tests/unit/conductor/handlers/common/__init__.py -> build/lib/magnum/tests/unit/conductor/handlers/common +creating build/lib/magnum/api +creating build/lib/magnum/api/controllers +copying magnum/api/controllers/versions.py -> build/lib/magnum/api/controllers +copying magnum/api/controllers/root.py -> build/lib/magnum/api/controllers +copying magnum/api/controllers/link.py -> build/lib/magnum/api/controllers +copying magnum/api/controllers/base.py -> build/lib/magnum/api/controllers +copying magnum/api/controllers/__init__.py -> build/lib/magnum/api/controllers +creating build/lib/magnum/tests/functional/swarm_mode +copying magnum/tests/functional/swarm_mode/test_swarm_mode_python_client.py -> build/lib/magnum/tests/functional/swarm_mode +copying magnum/tests/functional/swarm_mode/__init__.py -> build/lib/magnum/tests/functional/swarm_mode +creating build/lib/magnum/tests/functional/k8s +copying magnum/tests/functional/k8s/test_magnum_python_client.py -> build/lib/magnum/tests/functional/k8s +copying magnum/tests/functional/k8s/test_k8s_python_client.py -> build/lib/magnum/tests/functional/k8s +copying magnum/tests/functional/k8s/__init__.py -> build/lib/magnum/tests/functional/k8s +copying magnum/version.py -> build/lib/magnum +copying magnum/i18n.py -> build/lib/magnum +copying magnum/__init__.py -> build/lib/magnum creating build/lib/magnum/tests/unit/common/cert_manager copying magnum/tests/unit/common/cert_manager/test_x509keypair_cert_manager.py -> build/lib/magnum/tests/unit/common/cert_manager copying magnum/tests/unit/common/cert_manager/test_local.py -> build/lib/magnum/tests/unit/common/cert_manager copying magnum/tests/unit/common/cert_manager/test_cert_manager.py -> build/lib/magnum/tests/unit/common/cert_manager copying magnum/tests/unit/common/cert_manager/test_barbican.py -> build/lib/magnum/tests/unit/common/cert_manager copying magnum/tests/unit/common/cert_manager/__init__.py -> build/lib/magnum/tests/unit/common/cert_manager -creating build/lib/magnum/drivers/swarm_fedora_atomic_v1 -copying magnum/drivers/swarm_fedora_atomic_v1/version.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 -copying magnum/drivers/swarm_fedora_atomic_v1/template_def.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 -copying magnum/drivers/swarm_fedora_atomic_v1/monitor.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 -copying magnum/drivers/swarm_fedora_atomic_v1/driver.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 -copying magnum/drivers/swarm_fedora_atomic_v1/__init__.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 +creating build/lib/magnum/api/middleware +copying magnum/api/middleware/parsable_error.py -> build/lib/magnum/api/middleware +copying magnum/api/middleware/auth_token.py -> build/lib/magnum/api/middleware +copying magnum/api/middleware/__init__.py -> build/lib/magnum/api/middleware +creating build/lib/magnum/service +copying magnum/service/periodic.py -> build/lib/magnum/service +copying magnum/service/__init__.py -> build/lib/magnum/service +copying magnum/tests/unit/test_hacking.py -> build/lib/magnum/tests/unit +copying magnum/tests/unit/__init__.py -> build/lib/magnum/tests/unit +creating build/lib/magnum/tests/functional/api/v1 +copying magnum/tests/functional/api/v1/__init__.py -> build/lib/magnum/tests/functional/api/v1 creating build/lib/magnum/tests/functional/api/v1/models copying magnum/tests/functional/api/v1/models/magnum_service_model.py -> build/lib/magnum/tests/functional/api/v1/models copying magnum/tests/functional/api/v1/models/clusterpatch_model.py -> build/lib/magnum/tests/functional/api/v1/models @@ -2443,56 +2371,7 @@ copying magnum/tests/functional/api/v1/models/baymodel_model.py -> build/lib/magnum/tests/functional/api/v1/models copying magnum/tests/functional/api/v1/models/bay_model.py -> build/lib/magnum/tests/functional/api/v1/models copying magnum/tests/functional/api/v1/models/__init__.py -> build/lib/magnum/tests/functional/api/v1/models -creating build/lib/magnum/tests/functional/api/v1/clients -copying magnum/tests/functional/api/v1/clients/magnum_service_client.py -> build/lib/magnum/tests/functional/api/v1/clients -copying magnum/tests/functional/api/v1/clients/cluster_template_client.py -> build/lib/magnum/tests/functional/api/v1/clients -copying magnum/tests/functional/api/v1/clients/cluster_client.py -> build/lib/magnum/tests/functional/api/v1/clients -copying magnum/tests/functional/api/v1/clients/cert_client.py -> build/lib/magnum/tests/functional/api/v1/clients -copying magnum/tests/functional/api/v1/clients/baymodel_client.py -> build/lib/magnum/tests/functional/api/v1/clients -copying magnum/tests/functional/api/v1/clients/bay_client.py -> build/lib/magnum/tests/functional/api/v1/clients -copying magnum/tests/functional/api/v1/clients/__init__.py -> build/lib/magnum/tests/functional/api/v1/clients -creating build/lib/magnum/drivers/common -copying magnum/drivers/common/k8s_scale_manager.py -> build/lib/magnum/drivers/common -copying magnum/drivers/common/k8s_monitor.py -> build/lib/magnum/drivers/common -copying magnum/drivers/common/driver.py -> build/lib/magnum/drivers/common -copying magnum/drivers/common/__init__.py -> build/lib/magnum/drivers/common -copying magnum/api/versioned_method.py -> build/lib/magnum/api -copying magnum/api/validation.py -> build/lib/magnum/api -copying magnum/api/utils.py -> build/lib/magnum/api -copying magnum/api/servicegroup.py -> build/lib/magnum/api -copying magnum/api/http_error.py -> build/lib/magnum/api -copying magnum/api/hooks.py -> build/lib/magnum/api -copying magnum/api/expose.py -> build/lib/magnum/api -copying magnum/api/config.py -> build/lib/magnum/api -copying magnum/api/attr_validator.py -> build/lib/magnum/api -copying magnum/api/app.py -> build/lib/magnum/api -copying magnum/api/__init__.py -> build/lib/magnum/api -creating build/lib/magnum/tests/functional/mesos -copying magnum/tests/functional/mesos/test_mesos_python_client.py -> build/lib/magnum/tests/functional/mesos -copying magnum/tests/functional/mesos/__init__.py -> build/lib/magnum/tests/functional/mesos -creating build/lib/magnum/tests/unit/service -copying magnum/tests/unit/service/test_periodic.py -> build/lib/magnum/tests/unit/service -copying magnum/tests/unit/service/__init__.py -> build/lib/magnum/tests/unit/service -creating build/lib/magnum/drivers/k8s_fedora_atomic_v1 -copying magnum/drivers/k8s_fedora_atomic_v1/version.py -> build/lib/magnum/drivers/k8s_fedora_atomic_v1 -copying magnum/drivers/k8s_fedora_atomic_v1/template_def.py -> build/lib/magnum/drivers/k8s_fedora_atomic_v1 -copying magnum/drivers/k8s_fedora_atomic_v1/driver.py -> build/lib/magnum/drivers/k8s_fedora_atomic_v1 -copying magnum/drivers/k8s_fedora_atomic_v1/__init__.py -> build/lib/magnum/drivers/k8s_fedora_atomic_v1 -creating build/lib/magnum/service -copying magnum/service/periodic.py -> build/lib/magnum/service -copying magnum/service/__init__.py -> build/lib/magnum/service -creating build/lib/magnum/common/policies -copying magnum/common/policies/stats.py -> build/lib/magnum/common/policies -copying magnum/common/policies/quota.py -> build/lib/magnum/common/policies -copying magnum/common/policies/magnum_service.py -> build/lib/magnum/common/policies -copying magnum/common/policies/federation.py -> build/lib/magnum/common/policies -copying magnum/common/policies/cluster_template.py -> build/lib/magnum/common/policies -copying magnum/common/policies/cluster.py -> build/lib/magnum/common/policies -copying magnum/common/policies/certificate.py -> build/lib/magnum/common/policies -copying magnum/common/policies/baymodel.py -> build/lib/magnum/common/policies -copying magnum/common/policies/bay.py -> build/lib/magnum/common/policies -copying magnum/common/policies/base.py -> build/lib/magnum/common/policies -copying magnum/common/policies/__init__.py -> build/lib/magnum/common/policies +creating build/lib/magnum/common copying magnum/common/utils.py -> build/lib/magnum/common copying magnum/common/urlfetch.py -> build/lib/magnum/common copying magnum/common/short_id.py -> build/lib/magnum/common @@ -2510,9 +2389,69 @@ copying magnum/common/config.py -> build/lib/magnum/common copying magnum/common/clients.py -> build/lib/magnum/common copying magnum/common/__init__.py -> build/lib/magnum/common +copying magnum/tests/utils.py -> build/lib/magnum/tests +copying magnum/tests/policy_fixture.py -> build/lib/magnum/tests +copying magnum/tests/fakes.py -> build/lib/magnum/tests +copying magnum/tests/fake_notifier.py -> build/lib/magnum/tests +copying magnum/tests/conf_fixture.py -> build/lib/magnum/tests +copying magnum/tests/base.py -> build/lib/magnum/tests +copying magnum/tests/__init__.py -> build/lib/magnum/tests +copying magnum/tests/unit/conductor/test_utils.py -> build/lib/magnum/tests/unit/conductor +copying magnum/tests/unit/conductor/test_scale_manager.py -> build/lib/magnum/tests/unit/conductor +copying magnum/tests/unit/conductor/test_rpcapi.py -> build/lib/magnum/tests/unit/conductor +copying magnum/tests/unit/conductor/test_monitors.py -> build/lib/magnum/tests/unit/conductor +copying magnum/tests/unit/conductor/test_k8s_api.py -> build/lib/magnum/tests/unit/conductor +copying magnum/tests/unit/conductor/__init__.py -> build/lib/magnum/tests/unit/conductor +creating build/lib/magnum/tests/unit/common/x509 +copying magnum/tests/unit/common/x509/test_validator.py -> build/lib/magnum/tests/unit/common/x509 +copying magnum/tests/unit/common/x509/test_sign.py -> build/lib/magnum/tests/unit/common/x509 +copying magnum/tests/unit/common/x509/test_operations.py -> build/lib/magnum/tests/unit/common/x509 +copying magnum/tests/unit/common/x509/__init__.py -> build/lib/magnum/tests/unit/common/x509 +creating build/lib/magnum/drivers/swarm_fedora_atomic_v2 +copying magnum/drivers/swarm_fedora_atomic_v2/version.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 +copying magnum/drivers/swarm_fedora_atomic_v2/template_def.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 +copying magnum/drivers/swarm_fedora_atomic_v2/monitor.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 +copying magnum/drivers/swarm_fedora_atomic_v2/driver.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 +copying magnum/drivers/swarm_fedora_atomic_v2/__init__.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v2 +creating build/lib/magnum/tests/unit/template +copying magnum/tests/unit/template/test_template.py -> build/lib/magnum/tests/unit/template +copying magnum/tests/unit/template/__init__.py -> build/lib/magnum/tests/unit/template +creating build/lib/magnum/common/x509 +copying magnum/common/x509/operations.py -> build/lib/magnum/common/x509 +copying magnum/common/x509/validator.py -> build/lib/magnum/common/x509 +copying magnum/common/x509/extensions.py -> build/lib/magnum/common/x509 +copying magnum/common/x509/__init__.py -> build/lib/magnum/common/x509 creating build/lib/magnum/tests/functional/swarm copying magnum/tests/functional/swarm/test_swarm_python_client.py -> build/lib/magnum/tests/functional/swarm copying magnum/tests/functional/swarm/__init__.py -> build/lib/magnum/tests/functional/swarm +creating build/lib/magnum/drivers/common +copying magnum/drivers/common/k8s_scale_manager.py -> build/lib/magnum/drivers/common +copying magnum/drivers/common/k8s_monitor.py -> build/lib/magnum/drivers/common +copying magnum/drivers/common/driver.py -> build/lib/magnum/drivers/common +copying magnum/drivers/common/__init__.py -> build/lib/magnum/drivers/common +copying magnum/api/versioned_method.py -> build/lib/magnum/api +copying magnum/api/validation.py -> build/lib/magnum/api +copying magnum/api/utils.py -> build/lib/magnum/api +copying magnum/api/servicegroup.py -> build/lib/magnum/api +copying magnum/api/http_error.py -> build/lib/magnum/api +copying magnum/api/hooks.py -> build/lib/magnum/api +copying magnum/api/expose.py -> build/lib/magnum/api +copying magnum/api/config.py -> build/lib/magnum/api +copying magnum/api/attr_validator.py -> build/lib/magnum/api +copying magnum/api/app.py -> build/lib/magnum/api +copying magnum/api/__init__.py -> build/lib/magnum/api +creating build/lib/magnum/objects +copying magnum/objects/x509keypair.py -> build/lib/magnum/objects +copying magnum/objects/stats.py -> build/lib/magnum/objects +copying magnum/objects/quota.py -> build/lib/magnum/objects +copying magnum/objects/magnum_service.py -> build/lib/magnum/objects +copying magnum/objects/fields.py -> build/lib/magnum/objects +copying magnum/objects/federation.py -> build/lib/magnum/objects +copying magnum/objects/cluster_template.py -> build/lib/magnum/objects +copying magnum/objects/cluster.py -> build/lib/magnum/objects +copying magnum/objects/certificate.py -> build/lib/magnum/objects +copying magnum/objects/base.py -> build/lib/magnum/objects +copying magnum/objects/__init__.py -> build/lib/magnum/objects creating build/lib/magnum/tests/functional/common copying magnum/tests/functional/common/utils.py -> build/lib/magnum/tests/functional/common copying magnum/tests/functional/common/models.py -> build/lib/magnum/tests/functional/common @@ -2522,57 +2461,130 @@ copying magnum/tests/functional/common/client.py -> build/lib/magnum/tests/functional/common copying magnum/tests/functional/common/base.py -> build/lib/magnum/tests/functional/common copying magnum/tests/functional/common/__init__.py -> build/lib/magnum/tests/functional/common -copying magnum/conductor/utils.py -> build/lib/magnum/conductor -copying magnum/conductor/scale_manager.py -> build/lib/magnum/conductor -copying magnum/conductor/monitors.py -> build/lib/magnum/conductor -copying magnum/conductor/k8s_api.py -> build/lib/magnum/conductor -copying magnum/conductor/api.py -> build/lib/magnum/conductor -copying magnum/conductor/__init__.py -> build/lib/magnum/conductor +creating build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/types.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/stats.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/quota.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/magnum_services.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/federation.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/collection.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/cluster_template.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/cluster.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/certificate.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/baymodel.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/bay.py -> build/lib/magnum/api/controllers/v1 +copying magnum/api/controllers/v1/__init__.py -> build/lib/magnum/api/controllers/v1 creating build/lib/magnum/drivers/k8s_coreos_v1 copying magnum/drivers/k8s_coreos_v1/version.py -> build/lib/magnum/drivers/k8s_coreos_v1 copying magnum/drivers/k8s_coreos_v1/template_def.py -> build/lib/magnum/drivers/k8s_coreos_v1 copying magnum/drivers/k8s_coreos_v1/driver.py -> build/lib/magnum/drivers/k8s_coreos_v1 copying magnum/drivers/k8s_coreos_v1/__init__.py -> build/lib/magnum/drivers/k8s_coreos_v1 -copying magnum/conductor/handlers/ca_conductor.py -> build/lib/magnum/conductor/handlers -copying magnum/conductor/handlers/indirection_api.py -> build/lib/magnum/conductor/handlers -copying magnum/conductor/handlers/federation_conductor.py -> build/lib/magnum/conductor/handlers -copying magnum/conductor/handlers/conductor_listener.py -> build/lib/magnum/conductor/handlers -copying magnum/conductor/handlers/cluster_conductor.py -> build/lib/magnum/conductor/handlers -copying magnum/conductor/handlers/__init__.py -> build/lib/magnum/conductor/handlers creating build/lib/magnum/tests/unit/cmd copying magnum/tests/unit/cmd/test_driver_manage.py -> build/lib/magnum/tests/unit/cmd copying magnum/tests/unit/cmd/test_db_manage.py -> build/lib/magnum/tests/unit/cmd copying magnum/tests/unit/cmd/test_conductor.py -> build/lib/magnum/tests/unit/cmd copying magnum/tests/unit/cmd/test_api.py -> build/lib/magnum/tests/unit/cmd copying magnum/tests/unit/cmd/__init__.py -> build/lib/magnum/tests/unit/cmd -creating build/lib/magnum/drivers/mesos_ubuntu_v1 -copying magnum/drivers/mesos_ubuntu_v1/version.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 -copying magnum/drivers/mesos_ubuntu_v1/template_def.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 -copying magnum/drivers/mesos_ubuntu_v1/scale_manager.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 -copying magnum/drivers/mesos_ubuntu_v1/monitor.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 -copying magnum/drivers/mesos_ubuntu_v1/driver.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 -copying magnum/drivers/mesos_ubuntu_v1/__init__.py -> build/lib/magnum/drivers/mesos_ubuntu_v1 creating build/lib/magnum/cmd copying magnum/cmd/driver_manage.py -> build/lib/magnum/cmd copying magnum/cmd/db_manage.py -> build/lib/magnum/cmd copying magnum/cmd/conductor.py -> build/lib/magnum/cmd copying magnum/cmd/api.py -> build/lib/magnum/cmd copying magnum/cmd/__init__.py -> build/lib/magnum/cmd -creating build/lib/magnum/tests/functional/k8s -copying magnum/tests/functional/k8s/test_magnum_python_client.py -> build/lib/magnum/tests/functional/k8s -copying magnum/tests/functional/k8s/test_k8s_python_client.py -> build/lib/magnum/tests/functional/k8s -copying magnum/tests/functional/k8s/__init__.py -> build/lib/magnum/tests/functional/k8s +copying magnum/tests/functional/python_client_base.py -> build/lib/magnum/tests/functional +copying magnum/tests/functional/__init__.py -> build/lib/magnum/tests/functional +creating build/lib/magnum/tests/unit/service +copying magnum/tests/unit/service/test_periodic.py -> build/lib/magnum/tests/unit/service +copying magnum/tests/unit/service/__init__.py -> build/lib/magnum/tests/unit/service +creating build/lib/magnum/tests/functional/k8s_coreos +copying magnum/tests/functional/k8s_coreos/test_k8s_python_client.py -> build/lib/magnum/tests/functional/k8s_coreos +copying magnum/tests/functional/k8s_coreos/__init__.py -> build/lib/magnum/tests/functional/k8s_coreos +creating build/lib/magnum/common/policies +copying magnum/common/policies/stats.py -> build/lib/magnum/common/policies +copying magnum/common/policies/quota.py -> build/lib/magnum/common/policies +copying magnum/common/policies/magnum_service.py -> build/lib/magnum/common/policies +copying magnum/common/policies/federation.py -> build/lib/magnum/common/policies +copying magnum/common/policies/cluster_template.py -> build/lib/magnum/common/policies +copying magnum/common/policies/cluster.py -> build/lib/magnum/common/policies +copying magnum/common/policies/certificate.py -> build/lib/magnum/common/policies +copying magnum/common/policies/baymodel.py -> build/lib/magnum/common/policies +copying magnum/common/policies/bay.py -> build/lib/magnum/common/policies +copying magnum/common/policies/base.py -> build/lib/magnum/common/policies +copying magnum/common/policies/__init__.py -> build/lib/magnum/common/policies +creating build/lib/magnum/common/cert_manager +copying magnum/common/cert_manager/x509keypair_cert_manager.py -> build/lib/magnum/common/cert_manager +copying magnum/common/cert_manager/local_cert_manager.py -> build/lib/magnum/common/cert_manager +copying magnum/common/cert_manager/cert_manager.py -> build/lib/magnum/common/cert_manager +copying magnum/common/cert_manager/barbican_cert_manager.py -> build/lib/magnum/common/cert_manager +copying magnum/common/cert_manager/__init__.py -> build/lib/magnum/common/cert_manager +creating build/lib/magnum/drivers/k8s_fedora_atomic_v1 +copying magnum/drivers/k8s_fedora_atomic_v1/version.py -> build/lib/magnum/drivers/k8s_fedora_atomic_v1 +copying magnum/drivers/k8s_fedora_atomic_v1/template_def.py -> build/lib/magnum/drivers/k8s_fedora_atomic_v1 +copying magnum/drivers/k8s_fedora_atomic_v1/driver.py -> build/lib/magnum/drivers/k8s_fedora_atomic_v1 +copying magnum/drivers/k8s_fedora_atomic_v1/__init__.py -> build/lib/magnum/drivers/k8s_fedora_atomic_v1 +creating build/lib/magnum/hacking +copying magnum/hacking/checks.py -> build/lib/magnum/hacking +copying magnum/hacking/__init__.py -> build/lib/magnum/hacking +creating build/lib/magnum/tests/functional/mesos +copying magnum/tests/functional/mesos/test_mesos_python_client.py -> build/lib/magnum/tests/functional/mesos +copying magnum/tests/functional/mesos/__init__.py -> build/lib/magnum/tests/functional/mesos +creating build/lib/magnum/conf +copying magnum/conf/x509.py -> build/lib/magnum/conf +copying magnum/conf/utils.py -> build/lib/magnum/conf +copying magnum/conf/trust.py -> build/lib/magnum/conf +copying magnum/conf/services.py -> build/lib/magnum/conf +copying magnum/conf/rpc.py -> build/lib/magnum/conf +copying magnum/conf/quota.py -> build/lib/magnum/conf +copying magnum/conf/profiler.py -> build/lib/magnum/conf +copying magnum/conf/paths.py -> build/lib/magnum/conf +copying magnum/conf/opts.py -> build/lib/magnum/conf +copying magnum/conf/octavia.py -> build/lib/magnum/conf +copying magnum/conf/nova.py -> build/lib/magnum/conf +copying magnum/conf/neutron.py -> build/lib/magnum/conf +copying magnum/conf/magnum_client.py -> build/lib/magnum/conf +copying magnum/conf/keystone.py -> build/lib/magnum/conf +copying magnum/conf/heat.py -> build/lib/magnum/conf +copying magnum/conf/glance.py -> build/lib/magnum/conf +copying magnum/conf/drivers.py -> build/lib/magnum/conf +copying magnum/conf/docker_registry.py -> build/lib/magnum/conf +copying magnum/conf/docker.py -> build/lib/magnum/conf +copying magnum/conf/database.py -> build/lib/magnum/conf +copying magnum/conf/conductor.py -> build/lib/magnum/conf +copying magnum/conf/cluster_templates.py -> build/lib/magnum/conf +copying magnum/conf/cluster_heat.py -> build/lib/magnum/conf +copying magnum/conf/cluster.py -> build/lib/magnum/conf +copying magnum/conf/cinder.py -> build/lib/magnum/conf +copying magnum/conf/certificates.py -> build/lib/magnum/conf +copying magnum/conf/barbican.py -> build/lib/magnum/conf +copying magnum/conf/api.py -> build/lib/magnum/conf +copying magnum/conf/__init__.py -> build/lib/magnum/conf +creating build/lib/magnum/tests/unit/conf +copying magnum/tests/unit/conf/test_conf.py -> build/lib/magnum/tests/unit/conf +copying magnum/tests/unit/conf/__init__.py -> build/lib/magnum/tests/unit/conf +creating build/lib/magnum/tests/unit/drivers +copying magnum/tests/unit/drivers/test_template_definition.py -> build/lib/magnum/tests/unit/drivers +copying magnum/tests/unit/drivers/test_heat_driver.py -> build/lib/magnum/tests/unit/drivers +copying magnum/tests/unit/drivers/__init__.py -> build/lib/magnum/tests/unit/drivers creating build/lib/magnum/tests/unit/servicegroup copying magnum/tests/unit/servicegroup/test_magnum_service.py -> build/lib/magnum/tests/unit/servicegroup copying magnum/tests/unit/servicegroup/__init__.py -> build/lib/magnum/tests/unit/servicegroup -creating build/lib/magnum/tests/unit/common/x509 -copying magnum/tests/unit/common/x509/test_validator.py -> build/lib/magnum/tests/unit/common/x509 -copying magnum/tests/unit/common/x509/test_sign.py -> build/lib/magnum/tests/unit/common/x509 -copying magnum/tests/unit/common/x509/test_operations.py -> build/lib/magnum/tests/unit/common/x509 -copying magnum/tests/unit/common/x509/__init__.py -> build/lib/magnum/tests/unit/common/x509 -creating build/lib/magnum/tests/functional/swarm_mode -copying magnum/tests/functional/swarm_mode/test_swarm_mode_python_client.py -> build/lib/magnum/tests/functional/swarm_mode -copying magnum/tests/functional/swarm_mode/__init__.py -> build/lib/magnum/tests/functional/swarm_mode +creating build/lib/magnum/tests/functional/api/v1/clients +copying magnum/tests/functional/api/v1/clients/magnum_service_client.py -> build/lib/magnum/tests/functional/api/v1/clients +copying magnum/tests/functional/api/v1/clients/cluster_template_client.py -> build/lib/magnum/tests/functional/api/v1/clients +copying magnum/tests/functional/api/v1/clients/cluster_client.py -> build/lib/magnum/tests/functional/api/v1/clients +copying magnum/tests/functional/api/v1/clients/cert_client.py -> build/lib/magnum/tests/functional/api/v1/clients +copying magnum/tests/functional/api/v1/clients/baymodel_client.py -> build/lib/magnum/tests/functional/api/v1/clients +copying magnum/tests/functional/api/v1/clients/bay_client.py -> build/lib/magnum/tests/functional/api/v1/clients +copying magnum/tests/functional/api/v1/clients/__init__.py -> build/lib/magnum/tests/functional/api/v1/clients +copying magnum/tests/unit/conductor/handlers/test_swarm_cluster_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers +copying magnum/tests/unit/conductor/handlers/test_mesos_cluster_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers +copying magnum/tests/unit/conductor/handlers/test_k8s_cluster_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers +copying magnum/tests/unit/conductor/handlers/test_indirection_api.py -> build/lib/magnum/tests/unit/conductor/handlers +copying magnum/tests/unit/conductor/handlers/test_federation_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers +copying magnum/tests/unit/conductor/handlers/test_conductor_listener.py -> build/lib/magnum/tests/unit/conductor/handlers +copying magnum/tests/unit/conductor/handlers/test_cluster_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers +copying magnum/tests/unit/conductor/handlers/test_ca_conductor.py -> build/lib/magnum/tests/unit/conductor/handlers +copying magnum/tests/unit/conductor/handlers/__init__.py -> build/lib/magnum/tests/unit/conductor/handlers creating build/lib/magnum/tests/unit/db copying magnum/tests/unit/db/utils.py -> build/lib/magnum/tests/unit/db copying magnum/tests/unit/db/test_x509keypair.py -> build/lib/magnum/tests/unit/db @@ -2583,9 +2595,33 @@ copying magnum/tests/unit/db/test_cluster.py -> build/lib/magnum/tests/unit/db copying magnum/tests/unit/db/base.py -> build/lib/magnum/tests/unit/db copying magnum/tests/unit/db/__init__.py -> build/lib/magnum/tests/unit/db -creating build/lib/magnum/tests/unit/conf -copying magnum/tests/unit/conf/test_conf.py -> build/lib/magnum/tests/unit/conf -copying magnum/tests/unit/conf/__init__.py -> build/lib/magnum/tests/unit/conf +creating build/lib/magnum/drivers/k8s_fedora_ironic_v1 +copying magnum/drivers/k8s_fedora_ironic_v1/version.py -> build/lib/magnum/drivers/k8s_fedora_ironic_v1 +copying magnum/drivers/k8s_fedora_ironic_v1/template_def.py -> build/lib/magnum/drivers/k8s_fedora_ironic_v1 +copying magnum/drivers/k8s_fedora_ironic_v1/driver.py -> build/lib/magnum/drivers/k8s_fedora_ironic_v1 +copying magnum/drivers/k8s_fedora_ironic_v1/__init__.py -> build/lib/magnum/drivers/k8s_fedora_ironic_v1 +creating build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_utils.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_types.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_stats.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_quota.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_magnum_service.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_federation.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_cluster_template.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_cluster.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_certificate.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_baymodel.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/test_bay.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/tests/unit/api/controllers/v1/__init__.py -> build/lib/magnum/tests/unit/api/controllers/v1 +copying magnum/conductor/utils.py -> build/lib/magnum/conductor +copying magnum/conductor/scale_manager.py -> build/lib/magnum/conductor +copying magnum/conductor/monitors.py -> build/lib/magnum/conductor +copying magnum/conductor/k8s_api.py -> build/lib/magnum/conductor +copying magnum/conductor/api.py -> build/lib/magnum/conductor +copying magnum/conductor/__init__.py -> build/lib/magnum/conductor +creating build/lib/magnum/tests/functional/k8s_ironic +copying magnum/tests/functional/k8s_ironic/test_k8s_python_client.py -> build/lib/magnum/tests/functional/k8s_ironic +copying magnum/tests/functional/k8s_ironic/__init__.py -> build/lib/magnum/tests/functional/k8s_ironic creating build/lib/magnum/drivers/heat copying magnum/drivers/heat/k8s_fedora_template_def.py -> build/lib/magnum/drivers/heat copying magnum/drivers/heat/template_def.py -> build/lib/magnum/drivers/heat @@ -2595,52 +2631,51 @@ copying magnum/drivers/heat/k8s_coreos_template_def.py -> build/lib/magnum/drivers/heat copying magnum/drivers/heat/driver.py -> build/lib/magnum/drivers/heat copying magnum/drivers/heat/__init__.py -> build/lib/magnum/drivers/heat -creating build/lib/magnum/common/cert_manager -copying magnum/common/cert_manager/x509keypair_cert_manager.py -> build/lib/magnum/common/cert_manager -copying magnum/common/cert_manager/local_cert_manager.py -> build/lib/magnum/common/cert_manager -copying magnum/common/cert_manager/cert_manager.py -> build/lib/magnum/common/cert_manager -copying magnum/common/cert_manager/barbican_cert_manager.py -> build/lib/magnum/common/cert_manager -copying magnum/common/cert_manager/__init__.py -> build/lib/magnum/common/cert_manager -creating build/lib/magnum/api/middleware -copying magnum/api/middleware/parsable_error.py -> build/lib/magnum/api/middleware -copying magnum/api/middleware/auth_token.py -> build/lib/magnum/api/middleware -copying magnum/api/middleware/__init__.py -> build/lib/magnum/api/middleware +creating build/lib/magnum/db/sqlalchemy +copying magnum/db/sqlalchemy/models.py -> build/lib/magnum/db/sqlalchemy +copying magnum/db/sqlalchemy/migration.py -> build/lib/magnum/db/sqlalchemy +copying magnum/db/sqlalchemy/api.py -> build/lib/magnum/db/sqlalchemy +copying magnum/db/sqlalchemy/__init__.py -> build/lib/magnum/db/sqlalchemy +creating build/lib/magnum/conductor/tasks +copying magnum/conductor/tasks/heat_tasks.py -> build/lib/magnum/conductor/tasks +copying magnum/conductor/tasks/__init__.py -> build/lib/magnum/conductor/tasks +creating build/lib/magnum/drivers/swarm_fedora_atomic_v1 +copying magnum/drivers/swarm_fedora_atomic_v1/version.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 +copying magnum/drivers/swarm_fedora_atomic_v1/template_def.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 +copying magnum/drivers/swarm_fedora_atomic_v1/monitor.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 +copying magnum/drivers/swarm_fedora_atomic_v1/driver.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 +copying magnum/drivers/swarm_fedora_atomic_v1/__init__.py -> build/lib/magnum/drivers/swarm_fedora_atomic_v1 +copying magnum/conductor/handlers/ca_conductor.py -> build/lib/magnum/conductor/handlers +copying magnum/conductor/handlers/indirection_api.py -> build/lib/magnum/conductor/handlers +copying magnum/conductor/handlers/federation_conductor.py -> build/lib/magnum/conductor/handlers +copying magnum/conductor/handlers/conductor_listener.py -> build/lib/magnum/conductor/handlers +copying magnum/conductor/handlers/cluster_conductor.py -> build/lib/magnum/conductor/handlers +copying magnum/conductor/handlers/__init__.py -> build/lib/magnum/conductor/handlers +creating build/lib/magnum/servicegroup +copying magnum/servicegroup/magnum_service_periodic.py -> build/lib/magnum/servicegroup +copying magnum/servicegroup/__init__.py -> build/lib/magnum/servicegroup creating build/lib/magnum/tests/unit/db/sqlalchemy copying magnum/tests/unit/db/sqlalchemy/test_types.py -> build/lib/magnum/tests/unit/db/sqlalchemy copying magnum/tests/unit/db/sqlalchemy/__init__.py -> build/lib/magnum/tests/unit/db/sqlalchemy -copying magnum/tests/unit/common/test_utils.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_urlfetch.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_short_id.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_service.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_rpc.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_profiler.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_policy.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_octavia.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_keystone.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_exception.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_docker_utils.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_context.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/test_clients.py -> build/lib/magnum/tests/unit/common -copying magnum/tests/unit/common/__init__.py -> build/lib/magnum/tests/unit/common -copying magnum/api/controllers/versions.py -> build/lib/magnum/api/controllers -copying magnum/api/controllers/root.py -> build/lib/magnum/api/controllers -copying magnum/api/controllers/link.py -> build/lib/magnum/api/controllers -copying magnum/api/controllers/base.py -> build/lib/magnum/api/controllers -copying magnum/api/controllers/__init__.py -> build/lib/magnum/api/controllers -creating build/lib/magnum/hacking -copying magnum/hacking/checks.py -> build/lib/magnum/hacking -copying magnum/hacking/__init__.py -> build/lib/magnum/hacking -copying magnum/tests/functional/api/base.py -> build/lib/magnum/tests/functional/api -copying magnum/tests/functional/api/__init__.py -> build/lib/magnum/tests/functional/api -creating build/lib/magnum/tests/functional/k8s_coreos -copying magnum/tests/functional/k8s_coreos/test_k8s_python_client.py -> build/lib/magnum/tests/functional/k8s_coreos -copying magnum/tests/functional/k8s_coreos/__init__.py -> build/lib/magnum/tests/functional/k8s_coreos -creating build/lib/magnum/tests/unit/drivers -copying magnum/tests/unit/drivers/test_template_definition.py -> build/lib/magnum/tests/unit/drivers -copying magnum/tests/unit/drivers/test_heat_driver.py -> build/lib/magnum/tests/unit/drivers -copying magnum/tests/unit/drivers/__init__.py -> build/lib/magnum/tests/unit/drivers -copying magnum/tests/unit/test_hacking.py -> build/lib/magnum/tests/unit -copying magnum/tests/unit/__init__.py -> build/lib/magnum/tests/unit +creating build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/objects/utils.py -> build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/objects/test_x509keypair.py -> build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/objects/test_objects.py -> build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/objects/test_magnum_service.py -> build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/objects/test_fields.py -> build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/objects/test_federation.py -> build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/objects/test_cluster_template.py -> build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/objects/test_cluster.py -> build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/objects/__init__.py -> build/lib/magnum/tests/unit/objects +copying magnum/tests/unit/api/utils.py -> build/lib/magnum/tests/unit/api +copying magnum/tests/unit/api/test_validation.py -> build/lib/magnum/tests/unit/api +copying magnum/tests/unit/api/test_servicegroup.py -> build/lib/magnum/tests/unit/api +copying magnum/tests/unit/api/test_hooks.py -> build/lib/magnum/tests/unit/api +copying magnum/tests/unit/api/test_expose.py -> build/lib/magnum/tests/unit/api +copying magnum/tests/unit/api/test_attr_validator.py -> build/lib/magnum/tests/unit/api +copying magnum/tests/unit/api/test_app.py -> build/lib/magnum/tests/unit/api +copying magnum/tests/unit/api/base.py -> build/lib/magnum/tests/unit/api +copying magnum/tests/unit/api/__init__.py -> build/lib/magnum/tests/unit/api running egg_info creating magnum.egg-info writing magnum.egg-info/PKG-INFO @@ -2657,6 +2692,49 @@ warning: no previously-included files matching '*.pyc' found anywhere in distribution reading manifest template 'MANIFEST.in' writing manifest file 'magnum.egg-info/SOURCES.txt' +copying magnum/tests/unit/api/controllers/auth-paste.ini -> build/lib/magnum/tests/unit/api/controllers +copying magnum/tests/unit/api/controllers/auth-root-access.ini -> build/lib/magnum/tests/unit/api/controllers +copying magnum/tests/unit/api/controllers/auth-v1-access.ini -> build/lib/magnum/tests/unit/api/controllers +copying magnum/tests/unit/api/controllers/noauth-paste.ini -> build/lib/magnum/tests/unit/api/controllers +copying magnum/drivers/mesos_ubuntu_v1/COPYING -> build/lib/magnum/drivers/mesos_ubuntu_v1 +creating build/lib/magnum/drivers/mesos_ubuntu_v1/image +copying magnum/drivers/mesos_ubuntu_v1/image/Dockerfile -> build/lib/magnum/drivers/mesos_ubuntu_v1/image +copying magnum/drivers/mesos_ubuntu_v1/image/README.md -> build/lib/magnum/drivers/mesos_ubuntu_v1/image +copying magnum/drivers/mesos_ubuntu_v1/image/install_imagebuild_deps.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/image +copying magnum/drivers/mesos_ubuntu_v1/image/validate_image.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/image +creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker +copying magnum/drivers/mesos_ubuntu_v1/image/docker/elements-deps -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker +copying magnum/drivers/mesos_ubuntu_v1/image/docker/package-installs.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker +creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d +copying magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d/60-disable-docker-service -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d +creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d +copying magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d/10-add-docker-repo -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d +creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos +copying magnum/drivers/mesos_ubuntu_v1/image/mesos/elements-deps -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos +copying magnum/drivers/mesos_ubuntu_v1/image/mesos/package-installs.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos +creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d +copying magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d/60-disable-upstart -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d +creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d +copying magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d/10-apt-repo -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d +creating build/lib/magnum/drivers/mesos_ubuntu_v1/templates +copying magnum/drivers/mesos_ubuntu_v1/templates/mesos_slave_software_configs.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates +copying magnum/drivers/mesos_ubuntu_v1/templates/mesoscluster.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates +copying magnum/drivers/mesos_ubuntu_v1/templates/mesosmaster.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates +copying magnum/drivers/mesos_ubuntu_v1/templates/mesosslave.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates +creating build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/add-ext-ca-certs.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/add-proxy.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/configure-mesos-master.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/configure-mesos-slave.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/start-services-master.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/start-services-slave.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/volume-service.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/write-heat-params-master.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/write-heat-params.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +creating build/lib/magnum/tests/contrib +copying magnum/tests/contrib/copy_instance_logs.sh -> build/lib/magnum/tests/contrib +copying magnum/tests/contrib/gate_hook.sh -> build/lib/magnum/tests/contrib +copying magnum/tests/contrib/post_test_hook.sh -> build/lib/magnum/tests/contrib creating build/lib/magnum/drivers/swarm_fedora_atomic_v2/templates copying magnum/drivers/swarm_fedora_atomic_v2/templates/swarmcluster.yaml -> build/lib/magnum/drivers/swarm_fedora_atomic_v2/templates copying magnum/drivers/swarm_fedora_atomic_v2/templates/swarmmaster.yaml -> build/lib/magnum/drivers/swarm_fedora_atomic_v2/templates @@ -2665,106 +2743,6 @@ copying magnum/drivers/swarm_fedora_atomic_v2/templates/fragments/write-heat-params-master.yaml -> build/lib/magnum/drivers/swarm_fedora_atomic_v2/templates/fragments copying magnum/drivers/swarm_fedora_atomic_v2/templates/fragments/write-swarm-master-service.sh -> build/lib/magnum/drivers/swarm_fedora_atomic_v2/templates/fragments copying magnum/drivers/swarm_fedora_atomic_v2/templates/fragments/write-swarm-worker-service.sh -> build/lib/magnum/drivers/swarm_fedora_atomic_v2/templates/fragments -creating build/lib/magnum/drivers/k8s_fedora_ironic_v1/image -creating build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes -copying magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/Readme.md -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes -copying magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/elements-deps -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes -copying magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/package-installs.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes -creating build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates -copying magnum/drivers/k8s_fedora_ironic_v1/templates/kubecluster.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates -copying magnum/drivers/k8s_fedora_ironic_v1/templates/kubemaster.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates -copying magnum/drivers/k8s_fedora_ironic_v1/templates/kubeminion.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates -copying magnum/drivers/k8s_fedora_ironic_v1/templates/kubeminion_software_configs.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates -creating build/lib/magnum/tests/contrib -copying magnum/tests/contrib/copy_instance_logs.sh -> build/lib/magnum/tests/contrib -copying magnum/tests/contrib/gate_hook.sh -> build/lib/magnum/tests/contrib -copying magnum/tests/contrib/post_test_hook.sh -> build/lib/magnum/tests/contrib -copying magnum/db/sqlalchemy/alembic.ini -> build/lib/magnum/db/sqlalchemy -creating build/lib/magnum/db/sqlalchemy/alembic -copying magnum/db/sqlalchemy/alembic/README -> build/lib/magnum/db/sqlalchemy/alembic -copying magnum/db/sqlalchemy/alembic/env.py -> build/lib/magnum/db/sqlalchemy/alembic -copying magnum/db/sqlalchemy/alembic/script.py.mako -> build/lib/magnum/db/sqlalchemy/alembic -creating build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/041d9a0f1159_add_flavor_id_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/049f81f6f584_remove_ssh_authorized_key_from_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/04c625aa95ba_change_storage_driver_to_string.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/05d3e97de9ee_add_volume_driver.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/085e601a39f6_remove_service.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/14328d6a57e3_add_master_count_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/1481f5b560dd_add_labels_column_to_baymodel_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/156ceb17fb0a_add_bay_status_reason.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/1afee1db6cd0_add_master_flavor.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/1c1ff5e56048_rename_container_image_id.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/1d045384b966_add_insecure_baymodel_attr.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/1f196a3dabae_remove_container.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/2581ebaf0cb2_initial_migration.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/27ad304554e2_adding_magnum_service_functionality.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/29affeaa2bc2_rename_bay_master_address.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/2ace4006498_rename_bay_minions_address.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/2ae93c9c6191_add_public_column_to_baymodel_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/2b5f24dd95de_rename_service_port.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/2d1354bbf76e_ssh_authorized_key.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/2d8657c0cdc_add_bay_uuid.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/33ef79969018_add_memory_to_container.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/35cff7c86221_add_private_network_to_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/3a938526b35d_add_docker_volume_size.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/3b6c4c42adb4_add_unique_constraints.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/3be65537a94a_add_network_driver_baymodel_column.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/3bea56f25597_multi_tenant.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/40f325033343_add_bay_create_timeout_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/417917e778f5_add_server_type_to_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/421102d1f2d2_create_x509keypair_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/456126c6c9e9_create_baylock_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/4956f03cabad_add_cluster_distro.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/4e263f236334_add_registry_enabled.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/4ea34a59a64c_add_discovery_url_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/52bcaf58fecb_add_master_flavor_id_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/53882537ac57_add_host_column_to_pod.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/5518af8dbc21_rename_cert_uuid.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/5793cd26898d_add_bay_status.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/57fbdf2327a2_remove_baylock.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/592131657ca1_add_coe_column_to_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/5977879072a7_add_env_to_container.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/59e7664a8ba1_add_container_status.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/5ad410481b88_rename_insecure.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/5d4caa6e0a42_create_trustee_for_each_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/68ce16dfd341_add_master_lb_enabled_column_to_baymodel_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/6f21dc920bb_add_cert_uuid_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/6f21dc998bb_add_master_addresses_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/720f640f43d1_rename_bay_table_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/859fb45df249_remove_replication_controller.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/966a99e70ff_add_proxy.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/9a1539f1cd2c_add_federation_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/a0e7c8450ab1_add_labels_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/a1136d335540_add_docker_storage_driver_column.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/aa0cc27839af_add_docker_volume_size_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/adc3b7679ae_add_registry_trust_id_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/b1f612248cab_add_floating_ip_enabled_column_to_.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/bb42b7cad130_remove_node_object.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/bc46ba6cf949_add_keypair_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/d072f58ab240_modify_x509keypair_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/e0653b2d5271_add_fixed_subnet_column_to_baymodel_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/e647f5931da8_add_insecure_registry_to_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/e772b2598d9_add_container_command.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/ee92b41b8809_create_quotas_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/ef08a5e057bd_remove_pod.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/fb03fdef8919_rename_baymodel_to_clustertemplate.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/db/sqlalchemy/alembic/versions/fcb4efee8f8b_add_version_info_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions -copying magnum/tests/unit/api/controllers/auth-paste.ini -> build/lib/magnum/tests/unit/api/controllers -copying magnum/tests/unit/api/controllers/auth-root-access.ini -> build/lib/magnum/tests/unit/api/controllers -copying magnum/tests/unit/api/controllers/auth-v1-access.ini -> build/lib/magnum/tests/unit/api/controllers -copying magnum/tests/unit/api/controllers/noauth-paste.ini -> build/lib/magnum/tests/unit/api/controllers -creating build/lib/magnum/drivers/swarm_fedora_atomic_v1/image -creating build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch -copying magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/Dockerfile -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch -copying magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/README.rst -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch -copying magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/run_openvswitch_neutron.sh -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch -creating build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates -copying magnum/drivers/swarm_fedora_atomic_v1/templates/COPYING -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates -copying magnum/drivers/swarm_fedora_atomic_v1/templates/README.md -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates -copying magnum/drivers/swarm_fedora_atomic_v1/templates/cluster.yaml -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates -copying magnum/drivers/swarm_fedora_atomic_v1/templates/swarmmaster.yaml -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates -copying magnum/drivers/swarm_fedora_atomic_v1/templates/swarmnode.yaml -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates creating build/lib/magnum/drivers/common/image creating build/lib/magnum/drivers/common/image/fedora-atomic copying magnum/drivers/common/image/fedora-atomic/README.rst -> build/lib/magnum/drivers/common/image/fedora-atomic @@ -2872,13 +2850,6 @@ copying magnum/drivers/common/templates/swarm/fragments/write-swarm-master-service.sh -> build/lib/magnum/drivers/common/templates/swarm/fragments copying magnum/api/app.wsgi -> build/lib/magnum/api copying magnum/api/rest_api_version_history.rst -> build/lib/magnum/api -creating build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates -copying magnum/drivers/k8s_fedora_atomic_v1/templates/COPYING -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates -copying magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates -copying magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates -copying magnum/drivers/k8s_fedora_atomic_v1/templates/kubeminion.yaml -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates -creating build/lib/magnum/drivers/k8s_fedora_atomic_v1/tools -copying magnum/drivers/k8s_fedora_atomic_v1/tools/grafana-prometheus-dashboard.json -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/tools creating build/lib/magnum/drivers/k8s_coreos_v1/templates copying magnum/drivers/k8s_coreos_v1/templates/COPYING -> build/lib/magnum/drivers/k8s_coreos_v1/templates copying magnum/drivers/k8s_coreos_v1/templates/kubecluster.yaml -> build/lib/magnum/drivers/k8s_coreos_v1/templates @@ -2910,41 +2881,105 @@ copying magnum/drivers/k8s_coreos_v1/templates/fragments/write-kubeconfig.yaml -> build/lib/magnum/drivers/k8s_coreos_v1/templates/fragments copying magnum/drivers/k8s_coreos_v1/templates/fragments/write-master-kubeconfig.yaml -> build/lib/magnum/drivers/k8s_coreos_v1/templates/fragments copying magnum/drivers/k8s_coreos_v1/templates/fragments/write-network-config.yaml -> build/lib/magnum/drivers/k8s_coreos_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/COPYING -> build/lib/magnum/drivers/mesos_ubuntu_v1 -creating build/lib/magnum/drivers/mesos_ubuntu_v1/image -copying magnum/drivers/mesos_ubuntu_v1/image/Dockerfile -> build/lib/magnum/drivers/mesos_ubuntu_v1/image -copying magnum/drivers/mesos_ubuntu_v1/image/README.md -> build/lib/magnum/drivers/mesos_ubuntu_v1/image -copying magnum/drivers/mesos_ubuntu_v1/image/install_imagebuild_deps.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/image -copying magnum/drivers/mesos_ubuntu_v1/image/validate_image.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/image -creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker -copying magnum/drivers/mesos_ubuntu_v1/image/docker/elements-deps -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker -copying magnum/drivers/mesos_ubuntu_v1/image/docker/package-installs.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker -creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d -copying magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d/60-disable-docker-service -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d -creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d -copying magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d/10-add-docker-repo -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d -creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos -copying magnum/drivers/mesos_ubuntu_v1/image/mesos/elements-deps -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos -copying magnum/drivers/mesos_ubuntu_v1/image/mesos/package-installs.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos -creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d -copying magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d/60-disable-upstart -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d -creating build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d -copying magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d/10-apt-repo -> build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d -creating build/lib/magnum/drivers/mesos_ubuntu_v1/templates -copying magnum/drivers/mesos_ubuntu_v1/templates/mesos_slave_software_configs.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates -copying magnum/drivers/mesos_ubuntu_v1/templates/mesoscluster.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates -copying magnum/drivers/mesos_ubuntu_v1/templates/mesosmaster.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates -copying magnum/drivers/mesos_ubuntu_v1/templates/mesosslave.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates -creating build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/add-ext-ca-certs.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/add-proxy.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/configure-mesos-master.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/configure-mesos-slave.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/start-services-master.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/start-services-slave.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/volume-service.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/write-heat-params-master.sh -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying magnum/drivers/mesos_ubuntu_v1/templates/fragments/write-heat-params.yaml -> build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments +creating build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates +copying magnum/drivers/k8s_fedora_atomic_v1/templates/COPYING -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates +copying magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates +copying magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates +copying magnum/drivers/k8s_fedora_atomic_v1/templates/kubeminion.yaml -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates +creating build/lib/magnum/drivers/k8s_fedora_atomic_v1/tools +copying magnum/drivers/k8s_fedora_atomic_v1/tools/grafana-prometheus-dashboard.json -> build/lib/magnum/drivers/k8s_fedora_atomic_v1/tools +creating build/lib/magnum/drivers/k8s_fedora_ironic_v1/image +creating build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes +copying magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/Readme.md -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes +copying magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/elements-deps -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes +copying magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/package-installs.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes +creating build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates +copying magnum/drivers/k8s_fedora_ironic_v1/templates/kubecluster.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates +copying magnum/drivers/k8s_fedora_ironic_v1/templates/kubemaster.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates +copying magnum/drivers/k8s_fedora_ironic_v1/templates/kubeminion.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates +copying magnum/drivers/k8s_fedora_ironic_v1/templates/kubeminion_software_configs.yaml -> build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates +copying magnum/db/sqlalchemy/alembic.ini -> build/lib/magnum/db/sqlalchemy +creating build/lib/magnum/db/sqlalchemy/alembic +copying magnum/db/sqlalchemy/alembic/README -> build/lib/magnum/db/sqlalchemy/alembic +copying magnum/db/sqlalchemy/alembic/env.py -> build/lib/magnum/db/sqlalchemy/alembic +copying magnum/db/sqlalchemy/alembic/script.py.mako -> build/lib/magnum/db/sqlalchemy/alembic +creating build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/041d9a0f1159_add_flavor_id_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/049f81f6f584_remove_ssh_authorized_key_from_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/04c625aa95ba_change_storage_driver_to_string.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/05d3e97de9ee_add_volume_driver.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/085e601a39f6_remove_service.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/14328d6a57e3_add_master_count_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/1481f5b560dd_add_labels_column_to_baymodel_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/156ceb17fb0a_add_bay_status_reason.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/1afee1db6cd0_add_master_flavor.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/1c1ff5e56048_rename_container_image_id.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/1d045384b966_add_insecure_baymodel_attr.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/1f196a3dabae_remove_container.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/2581ebaf0cb2_initial_migration.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/27ad304554e2_adding_magnum_service_functionality.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/29affeaa2bc2_rename_bay_master_address.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/2ace4006498_rename_bay_minions_address.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/2ae93c9c6191_add_public_column_to_baymodel_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/2b5f24dd95de_rename_service_port.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/2d1354bbf76e_ssh_authorized_key.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/2d8657c0cdc_add_bay_uuid.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/33ef79969018_add_memory_to_container.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/35cff7c86221_add_private_network_to_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/3a938526b35d_add_docker_volume_size.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/3b6c4c42adb4_add_unique_constraints.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/3be65537a94a_add_network_driver_baymodel_column.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/3bea56f25597_multi_tenant.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/40f325033343_add_bay_create_timeout_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/417917e778f5_add_server_type_to_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/421102d1f2d2_create_x509keypair_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/456126c6c9e9_create_baylock_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/4956f03cabad_add_cluster_distro.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/4e263f236334_add_registry_enabled.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/4ea34a59a64c_add_discovery_url_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/52bcaf58fecb_add_master_flavor_id_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/53882537ac57_add_host_column_to_pod.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/5518af8dbc21_rename_cert_uuid.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/5793cd26898d_add_bay_status.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/57fbdf2327a2_remove_baylock.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/592131657ca1_add_coe_column_to_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/5977879072a7_add_env_to_container.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/59e7664a8ba1_add_container_status.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/5ad410481b88_rename_insecure.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/5d4caa6e0a42_create_trustee_for_each_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/68ce16dfd341_add_master_lb_enabled_column_to_baymodel_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/6f21dc920bb_add_cert_uuid_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/6f21dc998bb_add_master_addresses_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/720f640f43d1_rename_bay_table_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/859fb45df249_remove_replication_controller.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/966a99e70ff_add_proxy.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/9a1539f1cd2c_add_federation_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/a0e7c8450ab1_add_labels_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/a1136d335540_add_docker_storage_driver_column.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/aa0cc27839af_add_docker_volume_size_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/adc3b7679ae_add_registry_trust_id_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/b1f612248cab_add_floating_ip_enabled_column_to_.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/bb42b7cad130_remove_node_object.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/bc46ba6cf949_add_keypair_to_cluster.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/d072f58ab240_modify_x509keypair_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/e0653b2d5271_add_fixed_subnet_column_to_baymodel_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/e647f5931da8_add_insecure_registry_to_baymodel.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/e772b2598d9_add_container_command.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/ee92b41b8809_create_quotas_table.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/ef08a5e057bd_remove_pod.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/fb03fdef8919_rename_baymodel_to_clustertemplate.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +copying magnum/db/sqlalchemy/alembic/versions/fcb4efee8f8b_add_version_info_to_bay.py -> build/lib/magnum/db/sqlalchemy/alembic/versions +creating build/lib/magnum/drivers/swarm_fedora_atomic_v1/image +creating build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch +copying magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/Dockerfile -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch +copying magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/README.rst -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch +copying magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/run_openvswitch_neutron.sh -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch +creating build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates +copying magnum/drivers/swarm_fedora_atomic_v1/templates/COPYING -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates +copying magnum/drivers/swarm_fedora_atomic_v1/templates/README.md -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates +copying magnum/drivers/swarm_fedora_atomic_v1/templates/cluster.yaml -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates +copying magnum/drivers/swarm_fedora_atomic_v1/templates/swarmmaster.yaml -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates +copying magnum/drivers/swarm_fedora_atomic_v1/templates/swarmnode.yaml -> build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates running install_lib creating /build/magnum-7.1.0/debian/tmp creating /build/magnum-7.1.0/debian/tmp/usr @@ -2952,18 +2987,9 @@ creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3 creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking -copying build/lib/magnum/hacking/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking -copying build/lib/magnum/hacking/checks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd -copying build/lib/magnum/cmd/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd -copying build/lib/magnum/cmd/api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd -copying build/lib/magnum/cmd/conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd -copying build/lib/magnum/cmd/db_manage.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd -copying build/lib/magnum/cmd/driver_manage.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service -copying build/lib/magnum/service/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service -copying build/lib/magnum/service/periodic.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup +copying build/lib/magnum/servicegroup/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup +copying build/lib/magnum/servicegroup/magnum_service_periodic.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf copying build/lib/magnum/conf/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf copying build/lib/magnum/conf/api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf @@ -2994,9 +3020,27 @@ copying build/lib/magnum/conf/trust.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf copying build/lib/magnum/conf/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf copying build/lib/magnum/conf/x509.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf -copying build/lib/magnum/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum -copying build/lib/magnum/i18n.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum -copying build/lib/magnum/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking +copying build/lib/magnum/hacking/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking +copying build/lib/magnum/hacking/checks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd +copying build/lib/magnum/cmd/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd +copying build/lib/magnum/cmd/api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd +copying build/lib/magnum/cmd/conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd +copying build/lib/magnum/cmd/db_manage.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd +copying build/lib/magnum/cmd/driver_manage.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/certificate.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/fields.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/quota.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/stats.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects +copying build/lib/magnum/objects/x509keypair.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager copying build/lib/magnum/common/cert_manager/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager @@ -3004,23 +3048,6 @@ copying build/lib/magnum/common/cert_manager/cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager copying build/lib/magnum/common/cert_manager/local_cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager copying build/lib/magnum/common/cert_manager/x509keypair_cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager -copying build/lib/magnum/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/clients.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/config.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/context.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/docker_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/exception.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/keystone.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/name_generator.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/octavia.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/policy.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/profiler.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/rpc.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/rpc_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/short_id.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/urlfetch.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common -copying build/lib/magnum/common/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies copying build/lib/magnum/common/policies/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies copying build/lib/magnum/common/policies/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies @@ -3038,6 +3065,87 @@ copying build/lib/magnum/common/x509/extensions.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509 copying build/lib/magnum/common/x509/validator.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509 copying build/lib/magnum/common/x509/operations.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509 +copying build/lib/magnum/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/clients.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/config.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/context.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/docker_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/exception.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/keystone.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/name_generator.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/octavia.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/policy.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/profiler.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/rpc.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/rpc_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/short_id.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/urlfetch.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +copying build/lib/magnum/common/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service +copying build/lib/magnum/service/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service +copying build/lib/magnum/service/periodic.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service +copying build/lib/magnum/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum +copying build/lib/magnum/i18n.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum +copying build/lib/magnum/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/rest_api_version_history.rst -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/app.wsgi -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/app.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/attr_validator.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/config.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/expose.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/hooks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/http_error.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/servicegroup.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/validation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +copying build/lib/magnum/api/versioned_method.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware +copying build/lib/magnum/api/middleware/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware +copying build/lib/magnum/api/middleware/auth_token.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware +copying build/lib/magnum/api/middleware/parsable_error.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/bay.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/baymodel.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/certificate.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/collection.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/magnum_services.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/quota.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/stats.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/v1/types.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +copying build/lib/magnum/api/controllers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers +copying build/lib/magnum/api/controllers/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers +copying build/lib/magnum/api/controllers/link.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers +copying build/lib/magnum/api/controllers/root.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers +copying build/lib/magnum/api/controllers/versions.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks +copying build/lib/magnum/conductor/tasks/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks +copying build/lib/magnum/conductor/tasks/heat_tasks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks +copying build/lib/magnum/conductor/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor +copying build/lib/magnum/conductor/api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor +copying build/lib/magnum/conductor/k8s_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor +copying build/lib/magnum/conductor/monitors.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor +copying build/lib/magnum/conductor/scale_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor +copying build/lib/magnum/conductor/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers +copying build/lib/magnum/conductor/handlers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers +copying build/lib/magnum/conductor/handlers/cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers +copying build/lib/magnum/conductor/handlers/conductor_listener.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers +copying build/lib/magnum/conductor/handlers/federation_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers +copying build/lib/magnum/conductor/handlers/indirection_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers +copying build/lib/magnum/conductor/handlers/ca_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common +copying build/lib/magnum/conductor/handlers/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common +copying build/lib/magnum/conductor/handlers/common/cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common +copying build/lib/magnum/conductor/handlers/common/trust_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db/sqlalchemy creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db/sqlalchemy/alembic @@ -3118,47 +3226,222 @@ copying build/lib/magnum/db/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db copying build/lib/magnum/db/api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db copying build/lib/magnum/db/migration.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup -copying build/lib/magnum/servicegroup/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup -copying build/lib/magnum/servicegroup/magnum_service_periodic.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/rest_api_version_history.rst -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/app.wsgi -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware -copying build/lib/magnum/api/middleware/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware -copying build/lib/magnum/api/middleware/auth_token.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware -copying build/lib/magnum/api/middleware/parsable_error.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware -copying build/lib/magnum/api/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/app.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/attr_validator.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/config.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/expose.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/hooks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/http_error.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/servicegroup.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/validation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -copying build/lib/magnum/api/versioned_method.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers -copying build/lib/magnum/api/controllers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers -copying build/lib/magnum/api/controllers/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers -copying build/lib/magnum/api/controllers/link.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers -copying build/lib/magnum/api/controllers/root.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers -copying build/lib/magnum/api/controllers/versions.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/bay.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/baymodel.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/certificate.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/collection.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/magnum_services.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/quota.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/stats.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 -copying build/lib/magnum/api/controllers/v1/types.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1 +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/contrib +copying build/lib/magnum/tests/contrib/post_test_hook.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/contrib +copying build/lib/magnum/tests/contrib/gate_hook.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/contrib +copying build/lib/magnum/tests/contrib/copy_instance_logs.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/contrib +copying build/lib/magnum/tests/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests +copying build/lib/magnum/tests/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests +copying build/lib/magnum/tests/conf_fixture.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests +copying build/lib/magnum/tests/fake_notifier.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests +copying build/lib/magnum/tests/fakes.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests +copying build/lib/magnum/tests/policy_fixture.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests +copying build/lib/magnum/tests/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +copying build/lib/magnum/tests/unit/objects/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +copying build/lib/magnum/tests/unit/objects/test_cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +copying build/lib/magnum/tests/unit/objects/test_cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +copying build/lib/magnum/tests/unit/objects/test_federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +copying build/lib/magnum/tests/unit/objects/test_fields.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +copying build/lib/magnum/tests/unit/objects/test_magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +copying build/lib/magnum/tests/unit/objects/test_objects.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +copying build/lib/magnum/tests/unit/objects/test_x509keypair.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +copying build/lib/magnum/tests/unit/objects/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/sqlalchemy +copying build/lib/magnum/tests/unit/db/sqlalchemy/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/sqlalchemy +copying build/lib/magnum/tests/unit/db/sqlalchemy/test_types.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/sqlalchemy +copying build/lib/magnum/tests/unit/db/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +copying build/lib/magnum/tests/unit/db/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +copying build/lib/magnum/tests/unit/db/test_cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +copying build/lib/magnum/tests/unit/db/test_cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +copying build/lib/magnum/tests/unit/db/test_federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +copying build/lib/magnum/tests/unit/db/test_magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +copying build/lib/magnum/tests/unit/db/test_quota.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +copying build/lib/magnum/tests/unit/db/test_x509keypair.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +copying build/lib/magnum/tests/unit/db/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/servicegroup +copying build/lib/magnum/tests/unit/servicegroup/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/servicegroup +copying build/lib/magnum/tests/unit/servicegroup/test_magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/servicegroup +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers +copying build/lib/magnum/tests/unit/drivers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers +copying build/lib/magnum/tests/unit/drivers/test_heat_driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers +copying build/lib/magnum/tests/unit/drivers/test_template_definition.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf +copying build/lib/magnum/tests/unit/conf/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf +copying build/lib/magnum/tests/unit/conf/test_conf.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service +copying build/lib/magnum/tests/unit/service/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service +copying build/lib/magnum/tests/unit/service/test_periodic.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd +copying build/lib/magnum/tests/unit/cmd/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd +copying build/lib/magnum/tests/unit/cmd/test_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd +copying build/lib/magnum/tests/unit/cmd/test_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd +copying build/lib/magnum/tests/unit/cmd/test_db_manage.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd +copying build/lib/magnum/tests/unit/cmd/test_driver_manage.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template +copying build/lib/magnum/tests/unit/template/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template +copying build/lib/magnum/tests/unit/template/test_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template +copying build/lib/magnum/tests/unit/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit +copying build/lib/magnum/tests/unit/test_hacking.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor +copying build/lib/magnum/tests/unit/conductor/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor +copying build/lib/magnum/tests/unit/conductor/test_k8s_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor +copying build/lib/magnum/tests/unit/conductor/test_monitors.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor +copying build/lib/magnum/tests/unit/conductor/test_rpcapi.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor +copying build/lib/magnum/tests/unit/conductor/test_scale_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor +copying build/lib/magnum/tests/unit/conductor/test_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +copying build/lib/magnum/tests/unit/conductor/handlers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +copying build/lib/magnum/tests/unit/conductor/handlers/test_ca_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +copying build/lib/magnum/tests/unit/conductor/handlers/test_cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +copying build/lib/magnum/tests/unit/conductor/handlers/test_conductor_listener.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +copying build/lib/magnum/tests/unit/conductor/handlers/test_federation_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +copying build/lib/magnum/tests/unit/conductor/handlers/test_indirection_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +copying build/lib/magnum/tests/unit/conductor/handlers/test_k8s_cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +copying build/lib/magnum/tests/unit/conductor/handlers/test_mesos_cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +copying build/lib/magnum/tests/unit/conductor/handlers/test_swarm_cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common +copying build/lib/magnum/tests/unit/conductor/handlers/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common +copying build/lib/magnum/tests/unit/conductor/handlers/common/test_cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common +copying build/lib/magnum/tests/unit/conductor/handlers/common/test_trust_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks +copying build/lib/magnum/tests/unit/conductor/tasks/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks +copying build/lib/magnum/tests/unit/conductor/tasks/test_heat_tasks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 +copying build/lib/magnum/tests/unit/common/x509/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 +copying build/lib/magnum/tests/unit/common/x509/test_operations.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 +copying build/lib/magnum/tests/unit/common/x509/test_sign.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 +copying build/lib/magnum/tests/unit/common/x509/test_validator.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager +copying build/lib/magnum/tests/unit/common/cert_manager/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager +copying build/lib/magnum/tests/unit/common/cert_manager/test_barbican.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager +copying build/lib/magnum/tests/unit/common/cert_manager/test_cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager +copying build/lib/magnum/tests/unit/common/cert_manager/test_local.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager +copying build/lib/magnum/tests/unit/common/cert_manager/test_x509keypair_cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager +copying build/lib/magnum/tests/unit/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_clients.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_context.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_docker_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_exception.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_keystone.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_octavia.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_policy.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_profiler.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_rpc.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_short_id.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_urlfetch.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +copying build/lib/magnum/tests/unit/common/test_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +copying build/lib/magnum/tests/unit/api/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +copying build/lib/magnum/tests/unit/api/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +copying build/lib/magnum/tests/unit/api/test_app.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +copying build/lib/magnum/tests/unit/api/test_attr_validator.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +copying build/lib/magnum/tests/unit/api/test_expose.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +copying build/lib/magnum/tests/unit/api/test_hooks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +copying build/lib/magnum/tests/unit/api/test_servicegroup.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +copying build/lib/magnum/tests/unit/api/test_validation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +copying build/lib/magnum/tests/unit/api/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers +copying build/lib/magnum/tests/unit/api/controllers/noauth-paste.ini -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers +copying build/lib/magnum/tests/unit/api/controllers/auth-v1-access.ini -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers +copying build/lib/magnum/tests/unit/api/controllers/auth-root-access.ini -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers +copying build/lib/magnum/tests/unit/api/controllers/auth-paste.ini -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_bay.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_baymodel.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_certificate.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_quota.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_stats.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_types.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/v1/test_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 +copying build/lib/magnum/tests/unit/api/controllers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers +copying build/lib/magnum/tests/unit/api/controllers/test_base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers +copying build/lib/magnum/tests/unit/api/controllers/test_root.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic +copying build/lib/magnum/tests/functional/k8s_ironic/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic +copying build/lib/magnum/tests/functional/k8s_ironic/test_k8s_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos +copying build/lib/magnum/tests/functional/mesos/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos +copying build/lib/magnum/tests/functional/mesos/test_mesos_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_coreos +copying build/lib/magnum/tests/functional/k8s_coreos/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_coreos +copying build/lib/magnum/tests/functional/k8s_coreos/test_k8s_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_coreos +copying build/lib/magnum/tests/functional/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional +copying build/lib/magnum/tests/functional/python_client_base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common +copying build/lib/magnum/tests/functional/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common +copying build/lib/magnum/tests/functional/common/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common +copying build/lib/magnum/tests/functional/common/client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common +copying build/lib/magnum/tests/functional/common/config.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common +copying build/lib/magnum/tests/functional/common/datagen.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common +copying build/lib/magnum/tests/functional/common/manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common +copying build/lib/magnum/tests/functional/common/models.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common +copying build/lib/magnum/tests/functional/common/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm +copying build/lib/magnum/tests/functional/swarm/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm +copying build/lib/magnum/tests/functional/swarm/test_swarm_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s +copying build/lib/magnum/tests/functional/k8s/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s +copying build/lib/magnum/tests/functional/k8s/test_k8s_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s +copying build/lib/magnum/tests/functional/k8s/test_magnum_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode +copying build/lib/magnum/tests/functional/swarm_mode/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode +copying build/lib/magnum/tests/functional/swarm_mode/test_swarm_mode_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1 +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients +copying build/lib/magnum/tests/functional/api/v1/clients/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients +copying build/lib/magnum/tests/functional/api/v1/clients/bay_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients +copying build/lib/magnum/tests/functional/api/v1/clients/baymodel_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients +copying build/lib/magnum/tests/functional/api/v1/clients/cert_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients +copying build/lib/magnum/tests/functional/api/v1/clients/cluster_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients +copying build/lib/magnum/tests/functional/api/v1/clients/cluster_template_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients +copying build/lib/magnum/tests/functional/api/v1/clients/magnum_service_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/bay_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/baymodel_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/baymodelpatch_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/baypatch_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/cert_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/cluster_id_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/cluster_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/cluster_template_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/cluster_templatepatch_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/clusterpatch_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/models/magnum_service_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models +copying build/lib/magnum/tests/functional/api/v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1 +copying build/lib/magnum/tests/functional/api/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api +copying build/lib/magnum/tests/functional/api/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/swarmnode.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/swarmmaster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/cluster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/README.md -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/COPYING -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/run_openvswitch_neutron.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/README.rst -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/Dockerfile -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/monitor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 +copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat copying build/lib/magnum/drivers/heat/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat copying build/lib/magnum/drivers/heat/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat @@ -3168,48 +3451,33 @@ copying build/lib/magnum/drivers/heat/swarm_mode_template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat copying build/lib/magnum/drivers/heat/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat copying build/lib/magnum/drivers/heat/k8s_fedora_template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/write-heat-params.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/write-heat-params-master.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/volume-service.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/start-services-slave.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/start-services-master.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/configure-mesos-slave.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/configure-mesos-master.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/add-proxy.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/add-ext-ca-certs.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/mesosslave.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/mesosmaster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/mesoscluster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates -copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/mesos_slave_software_configs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d/10-apt-repo -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d/60-disable-upstart -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/package-installs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/elements-deps -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d/10-add-docker-repo -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d/60-disable-docker-service -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/package-installs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/elements-deps -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/validate_image.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/install_imagebuild_deps.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/README.md -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image -copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/Dockerfile -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image -copying build/lib/magnum/drivers/mesos_ubuntu_v1/COPYING -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 -copying build/lib/magnum/drivers/mesos_ubuntu_v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 -copying build/lib/magnum/drivers/mesos_ubuntu_v1/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 -copying build/lib/magnum/drivers/mesos_ubuntu_v1/monitor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 -copying build/lib/magnum/drivers/mesos_ubuntu_v1/scale_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 -copying build/lib/magnum/drivers/mesos_ubuntu_v1/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 -copying build/lib/magnum/drivers/mesos_ubuntu_v1/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates/kubeminion_software_configs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates/kubeminion.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates/kubemaster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates/kubecluster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/package-installs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/elements-deps -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/Readme.md -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 +copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/tools +copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/tools/grafana-prometheus-dashboard.json -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/tools +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates/kubeminion.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates/COPYING -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates +copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 +copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 +copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 +copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1 creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/templates creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/templates/fragments @@ -3246,18 +3514,6 @@ copying build/lib/magnum/drivers/k8s_coreos_v1/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1 copying build/lib/magnum/drivers/k8s_coreos_v1/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1 copying build/lib/magnum/drivers/k8s_coreos_v1/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1 -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/tools -copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/tools/grafana-prometheus-dashboard.json -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/tools -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates/kubeminion.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/templates/COPYING -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 -copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 -copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 -copying build/lib/magnum/drivers/k8s_fedora_atomic_v1/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1 creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/templates creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/templates/swarm @@ -3368,39 +3624,6 @@ copying build/lib/magnum/drivers/common/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common copying build/lib/magnum/drivers/common/k8s_monitor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common copying build/lib/magnum/drivers/common/k8s_scale_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/swarmnode.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/swarmmaster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/cluster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/README.md -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/templates/COPYING -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/templates -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/run_openvswitch_neutron.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/README.rst -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch/Dockerfile -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/image/openvswitch -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/monitor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 -copying build/lib/magnum/drivers/swarm_fedora_atomic_v1/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1 -copying build/lib/magnum/drivers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates/kubeminion_software_configs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates/kubeminion.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates/kubemaster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/templates/kubecluster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/templates -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/package-installs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/elements-deps -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes/Readme.md -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 -copying build/lib/magnum/drivers/k8s_fedora_ironic_v1/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1 creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2 creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/templates creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/templates/fragments @@ -3415,246 +3638,51 @@ copying build/lib/magnum/drivers/swarm_fedora_atomic_v2/monitor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2 copying build/lib/magnum/drivers/swarm_fedora_atomic_v2/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2 copying build/lib/magnum/drivers/swarm_fedora_atomic_v2/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2 -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/certificate.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/fields.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/quota.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/stats.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -copying build/lib/magnum/objects/x509keypair.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor -copying build/lib/magnum/conductor/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor -copying build/lib/magnum/conductor/api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor -copying build/lib/magnum/conductor/k8s_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor -copying build/lib/magnum/conductor/monitors.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor -copying build/lib/magnum/conductor/scale_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor -copying build/lib/magnum/conductor/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers -copying build/lib/magnum/conductor/handlers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers -copying build/lib/magnum/conductor/handlers/cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers -copying build/lib/magnum/conductor/handlers/conductor_listener.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers -copying build/lib/magnum/conductor/handlers/federation_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers -copying build/lib/magnum/conductor/handlers/indirection_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers -copying build/lib/magnum/conductor/handlers/ca_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common -copying build/lib/magnum/conductor/handlers/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common -copying build/lib/magnum/conductor/handlers/common/cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common -copying build/lib/magnum/conductor/handlers/common/trust_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks -copying build/lib/magnum/conductor/tasks/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks -copying build/lib/magnum/conductor/tasks/heat_tasks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/contrib -copying build/lib/magnum/tests/contrib/post_test_hook.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/contrib -copying build/lib/magnum/tests/contrib/gate_hook.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/contrib -copying build/lib/magnum/tests/contrib/copy_instance_logs.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/contrib -copying build/lib/magnum/tests/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests -copying build/lib/magnum/tests/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests -copying build/lib/magnum/tests/conf_fixture.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests -copying build/lib/magnum/tests/fake_notifier.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests -copying build/lib/magnum/tests/fakes.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests -copying build/lib/magnum/tests/policy_fixture.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests -copying build/lib/magnum/tests/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit -copying build/lib/magnum/tests/unit/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit -copying build/lib/magnum/tests/unit/test_hacking.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers -copying build/lib/magnum/tests/unit/drivers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers -copying build/lib/magnum/tests/unit/drivers/test_heat_driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers -copying build/lib/magnum/tests/unit/drivers/test_template_definition.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf -copying build/lib/magnum/tests/unit/conf/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf -copying build/lib/magnum/tests/unit/conf/test_conf.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/sqlalchemy -copying build/lib/magnum/tests/unit/db/sqlalchemy/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/sqlalchemy -copying build/lib/magnum/tests/unit/db/sqlalchemy/test_types.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/sqlalchemy -copying build/lib/magnum/tests/unit/db/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -copying build/lib/magnum/tests/unit/db/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -copying build/lib/magnum/tests/unit/db/test_cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -copying build/lib/magnum/tests/unit/db/test_cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -copying build/lib/magnum/tests/unit/db/test_federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -copying build/lib/magnum/tests/unit/db/test_magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -copying build/lib/magnum/tests/unit/db/test_quota.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -copying build/lib/magnum/tests/unit/db/test_x509keypair.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -copying build/lib/magnum/tests/unit/db/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/servicegroup -copying build/lib/magnum/tests/unit/servicegroup/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/servicegroup -copying build/lib/magnum/tests/unit/servicegroup/test_magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/servicegroup -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd -copying build/lib/magnum/tests/unit/cmd/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd -copying build/lib/magnum/tests/unit/cmd/test_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd -copying build/lib/magnum/tests/unit/cmd/test_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd -copying build/lib/magnum/tests/unit/cmd/test_db_manage.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd -copying build/lib/magnum/tests/unit/cmd/test_driver_manage.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service -copying build/lib/magnum/tests/unit/service/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service -copying build/lib/magnum/tests/unit/service/test_periodic.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_clients.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_context.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_docker_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_exception.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_keystone.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_octavia.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_policy.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_profiler.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_rpc.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_short_id.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_urlfetch.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -copying build/lib/magnum/tests/unit/common/test_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 -copying build/lib/magnum/tests/unit/common/x509/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 -copying build/lib/magnum/tests/unit/common/x509/test_operations.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 -copying build/lib/magnum/tests/unit/common/x509/test_sign.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 -copying build/lib/magnum/tests/unit/common/x509/test_validator.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509 -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager -copying build/lib/magnum/tests/unit/common/cert_manager/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager -copying build/lib/magnum/tests/unit/common/cert_manager/test_barbican.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager -copying build/lib/magnum/tests/unit/common/cert_manager/test_cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager -copying build/lib/magnum/tests/unit/common/cert_manager/test_local.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager -copying build/lib/magnum/tests/unit/common/cert_manager/test_x509keypair_cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -copying build/lib/magnum/tests/unit/objects/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -copying build/lib/magnum/tests/unit/objects/test_cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -copying build/lib/magnum/tests/unit/objects/test_cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -copying build/lib/magnum/tests/unit/objects/test_federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -copying build/lib/magnum/tests/unit/objects/test_fields.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -copying build/lib/magnum/tests/unit/objects/test_magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -copying build/lib/magnum/tests/unit/objects/test_objects.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -copying build/lib/magnum/tests/unit/objects/test_x509keypair.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -copying build/lib/magnum/tests/unit/objects/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template -copying build/lib/magnum/tests/unit/template/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template -copying build/lib/magnum/tests/unit/template/test_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers -copying build/lib/magnum/tests/unit/api/controllers/noauth-paste.ini -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers -copying build/lib/magnum/tests/unit/api/controllers/auth-v1-access.ini -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers -copying build/lib/magnum/tests/unit/api/controllers/auth-root-access.ini -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers -copying build/lib/magnum/tests/unit/api/controllers/auth-paste.ini -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers -copying build/lib/magnum/tests/unit/api/controllers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers -copying build/lib/magnum/tests/unit/api/controllers/test_base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers -copying build/lib/magnum/tests/unit/api/controllers/test_root.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_bay.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_baymodel.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_certificate.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_cluster.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_cluster_template.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_federation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_magnum_service.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_quota.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_stats.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_types.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/controllers/v1/test_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1 -copying build/lib/magnum/tests/unit/api/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -copying build/lib/magnum/tests/unit/api/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -copying build/lib/magnum/tests/unit/api/test_app.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -copying build/lib/magnum/tests/unit/api/test_attr_validator.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -copying build/lib/magnum/tests/unit/api/test_expose.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -copying build/lib/magnum/tests/unit/api/test_hooks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -copying build/lib/magnum/tests/unit/api/test_servicegroup.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -copying build/lib/magnum/tests/unit/api/test_validation.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -copying build/lib/magnum/tests/unit/api/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor -copying build/lib/magnum/tests/unit/conductor/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor -copying build/lib/magnum/tests/unit/conductor/test_k8s_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor -copying build/lib/magnum/tests/unit/conductor/test_monitors.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor -copying build/lib/magnum/tests/unit/conductor/test_rpcapi.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor -copying build/lib/magnum/tests/unit/conductor/test_scale_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor -copying build/lib/magnum/tests/unit/conductor/test_utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -copying build/lib/magnum/tests/unit/conductor/handlers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -copying build/lib/magnum/tests/unit/conductor/handlers/test_ca_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -copying build/lib/magnum/tests/unit/conductor/handlers/test_cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -copying build/lib/magnum/tests/unit/conductor/handlers/test_conductor_listener.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -copying build/lib/magnum/tests/unit/conductor/handlers/test_federation_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -copying build/lib/magnum/tests/unit/conductor/handlers/test_indirection_api.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -copying build/lib/magnum/tests/unit/conductor/handlers/test_k8s_cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -copying build/lib/magnum/tests/unit/conductor/handlers/test_mesos_cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -copying build/lib/magnum/tests/unit/conductor/handlers/test_swarm_cluster_conductor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common -copying build/lib/magnum/tests/unit/conductor/handlers/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common -copying build/lib/magnum/tests/unit/conductor/handlers/common/test_cert_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common -copying build/lib/magnum/tests/unit/conductor/handlers/common/test_trust_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks -copying build/lib/magnum/tests/unit/conductor/tasks/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks -copying build/lib/magnum/tests/unit/conductor/tasks/test_heat_tasks.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_coreos -copying build/lib/magnum/tests/functional/k8s_coreos/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_coreos -copying build/lib/magnum/tests/functional/k8s_coreos/test_k8s_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_coreos -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode -copying build/lib/magnum/tests/functional/swarm_mode/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode -copying build/lib/magnum/tests/functional/swarm_mode/test_swarm_mode_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s -copying build/lib/magnum/tests/functional/k8s/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s -copying build/lib/magnum/tests/functional/k8s/test_k8s_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s -copying build/lib/magnum/tests/functional/k8s/test_magnum_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common -copying build/lib/magnum/tests/functional/common/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common -copying build/lib/magnum/tests/functional/common/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common -copying build/lib/magnum/tests/functional/common/client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common -copying build/lib/magnum/tests/functional/common/config.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common -copying build/lib/magnum/tests/functional/common/datagen.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common -copying build/lib/magnum/tests/functional/common/manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common -copying build/lib/magnum/tests/functional/common/models.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common -copying build/lib/magnum/tests/functional/common/utils.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm -copying build/lib/magnum/tests/functional/swarm/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm -copying build/lib/magnum/tests/functional/swarm/test_swarm_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos -copying build/lib/magnum/tests/functional/mesos/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos -copying build/lib/magnum/tests/functional/mesos/test_mesos_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos -copying build/lib/magnum/tests/functional/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional -copying build/lib/magnum/tests/functional/python_client_base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic -copying build/lib/magnum/tests/functional/k8s_ironic/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic -copying build/lib/magnum/tests/functional/k8s_ironic/test_k8s_python_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api -copying build/lib/magnum/tests/functional/api/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api -copying build/lib/magnum/tests/functional/api/base.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1 -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients -copying build/lib/magnum/tests/functional/api/v1/clients/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients -copying build/lib/magnum/tests/functional/api/v1/clients/bay_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients -copying build/lib/magnum/tests/functional/api/v1/clients/baymodel_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients -copying build/lib/magnum/tests/functional/api/v1/clients/cert_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients -copying build/lib/magnum/tests/functional/api/v1/clients/cluster_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients -copying build/lib/magnum/tests/functional/api/v1/clients/cluster_template_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients -copying build/lib/magnum/tests/functional/api/v1/clients/magnum_service_client.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients -creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/bay_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/baymodel_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/baymodelpatch_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/baypatch_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/cert_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/cluster_id_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/cluster_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/cluster_template_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/cluster_templatepatch_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/clusterpatch_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/models/magnum_service_model.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models -copying build/lib/magnum/tests/functional/api/v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1 -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking/checks.py to checks.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/api.py to api.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/conductor.py to conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/db_manage.py to db_manage.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/driver_manage.py to driver_manage.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service/periodic.py to periodic.cpython-37.pyc +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/write-heat-params.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/write-heat-params-master.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/volume-service.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/start-services-slave.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/start-services-master.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/configure-mesos-slave.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/configure-mesos-master.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/add-proxy.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/fragments/add-ext-ca-certs.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates/fragments +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/mesosslave.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/mesosmaster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/mesoscluster.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates +copying build/lib/magnum/drivers/mesos_ubuntu_v1/templates/mesos_slave_software_configs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/templates +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d/10-apt-repo -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos/pre-install.d +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d/60-disable-upstart -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos/post-install.d +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/package-installs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/mesos/elements-deps -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/mesos +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d/10-add-docker-repo -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker/pre-install.d +creating /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d/60-disable-docker-service -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker/post-install.d +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/package-installs.yaml -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/docker/elements-deps -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image/docker +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/validate_image.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/install_imagebuild_deps.sh -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/README.md -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image +copying build/lib/magnum/drivers/mesos_ubuntu_v1/image/Dockerfile -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/image +copying build/lib/magnum/drivers/mesos_ubuntu_v1/COPYING -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 +copying build/lib/magnum/drivers/mesos_ubuntu_v1/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 +copying build/lib/magnum/drivers/mesos_ubuntu_v1/driver.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 +copying build/lib/magnum/drivers/mesos_ubuntu_v1/monitor.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 +copying build/lib/magnum/drivers/mesos_ubuntu_v1/scale_manager.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 +copying build/lib/magnum/drivers/mesos_ubuntu_v1/template_def.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 +copying build/lib/magnum/drivers/mesos_ubuntu_v1/version.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1 +copying build/lib/magnum/drivers/__init__.py -> /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup/magnum_service_periodic.py to magnum_service_periodic.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf/api.py to api.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf/barbican.py to barbican.cpython-37.pyc @@ -3684,14 +3712,44 @@ byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf/trust.py to trust.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf/utils.py to utils.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conf/x509.py to x509.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/i18n.py to i18n.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/version.py to version.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/hacking/checks.py to checks.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/api.py to api.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/conductor.py to conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/db_manage.py to db_manage.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/cmd/driver_manage.py to driver_manage.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/base.py to base.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/certificate.py to certificate.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/cluster.py to cluster.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/cluster_template.py to cluster_template.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/federation.py to federation.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/fields.py to fields.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/magnum_service.py to magnum_service.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/quota.py to quota.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/stats.py to stats.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/x509keypair.py to x509keypair.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager/barbican_cert_manager.py to barbican_cert_manager.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager/cert_manager.py to cert_manager.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager/local_cert_manager.py to local_cert_manager.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/cert_manager/x509keypair_cert_manager.py to x509keypair_cert_manager.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/base.py to base.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/bay.py to bay.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/baymodel.py to baymodel.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/certificate.py to certificate.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/cluster.py to cluster.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/cluster_template.py to cluster_template.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/federation.py to federation.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/magnum_service.py to magnum_service.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/quota.py to quota.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/stats.py to stats.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509/extensions.py to extensions.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509/validator.py to validator.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509/operations.py to operations.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/clients.py to clients.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/config.py to config.cpython-37.pyc @@ -3709,21 +3767,59 @@ byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/short_id.py to short_id.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/urlfetch.py to urlfetch.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/utils.py to utils.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/base.py to base.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/bay.py to bay.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/baymodel.py to baymodel.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/certificate.py to certificate.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/cluster.py to cluster.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/cluster_template.py to cluster_template.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/federation.py to federation.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/magnum_service.py to magnum_service.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/quota.py to quota.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/policies/stats.py to stats.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509/extensions.py to extensions.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509/validator.py to validator.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/common/x509/operations.py to operations.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/service/periodic.py to periodic.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/i18n.py to i18n.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/version.py to version.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/app.py to app.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/attr_validator.py to attr_validator.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/config.py to config.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/expose.py to expose.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/hooks.py to hooks.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/http_error.py to http_error.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/servicegroup.py to servicegroup.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/utils.py to utils.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/validation.py to validation.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/versioned_method.py to versioned_method.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware/auth_token.py to auth_token.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware/parsable_error.py to parsable_error.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/bay.py to bay.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/baymodel.py to baymodel.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/certificate.py to certificate.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/cluster.py to cluster.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/cluster_template.py to cluster_template.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/collection.py to collection.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/federation.py to federation.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/magnum_services.py to magnum_services.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/quota.py to quota.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/stats.py to stats.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/types.py to types.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/base.py to base.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/link.py to link.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/root.py to root.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/versions.py to versions.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks/heat_tasks.py to heat_tasks.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/api.py to api.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/k8s_api.py to k8s_api.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/monitors.py to monitors.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/scale_manager.py to scale_manager.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/utils.py to utils.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/cluster_conductor.py to cluster_conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/conductor_listener.py to conductor_listener.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/federation_conductor.py to federation_conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/indirection_api.py to indirection_api.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/ca_conductor.py to ca_conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common/cert_manager.py to cert_manager.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common/trust_manager.py to trust_manager.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db/sqlalchemy/alembic/versions/fcb4efee8f8b_add_version_info_to_bay.py to fcb4efee8f8b_add_version_info_to_bay.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db/sqlalchemy/alembic/versions/fb03fdef8919_rename_baymodel_to_clustertemplate.py to fb03fdef8919_rename_baymodel_to_clustertemplate.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db/sqlalchemy/alembic/versions/ef08a5e057bd_remove_pod.py to ef08a5e057bd_remove_pod.cpython-37.pyc @@ -3797,109 +3893,6 @@ byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db/api.py to api.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/db/migration.py to migration.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/servicegroup/magnum_service_periodic.py to magnum_service_periodic.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware/auth_token.py to auth_token.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/middleware/parsable_error.py to parsable_error.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/app.py to app.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/attr_validator.py to attr_validator.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/config.py to config.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/expose.py to expose.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/hooks.py to hooks.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/http_error.py to http_error.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/servicegroup.py to servicegroup.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/utils.py to utils.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/validation.py to validation.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/versioned_method.py to versioned_method.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/base.py to base.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/link.py to link.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/root.py to root.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/versions.py to versions.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/bay.py to bay.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/baymodel.py to baymodel.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/certificate.py to certificate.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/cluster.py to cluster.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/cluster_template.py to cluster_template.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/collection.py to collection.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/federation.py to federation.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/magnum_services.py to magnum_services.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/quota.py to quota.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/stats.py to stats.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/api/controllers/v1/types.py to types.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/driver.py to driver.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/k8s_coreos_template_def.py to k8s_coreos_template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/k8s_template_def.py to k8s_template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/swarm_fedora_template_def.py to swarm_fedora_template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/swarm_mode_template_def.py to swarm_mode_template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/template_def.py to template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/k8s_fedora_template_def.py to k8s_fedora_template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/driver.py to driver.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/monitor.py to monitor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/scale_manager.py to scale_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/template_def.py to template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/version.py to version.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/driver.py to driver.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/template_def.py to template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/version.py to version.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/driver.py to driver.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/template_def.py to template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/version.py to version.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/templates/swarm/fragments/make-cert.py to make-cert.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/driver.py to driver.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/k8s_monitor.py to k8s_monitor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/k8s_scale_manager.py to k8s_scale_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/driver.py to driver.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/monitor.py to monitor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/template_def.py to template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/version.py to version.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/driver.py to driver.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/template_def.py to template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/version.py to version.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/driver.py to driver.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/monitor.py to monitor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/template_def.py to template_def.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/version.py to version.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/base.py to base.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/certificate.py to certificate.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/cluster.py to cluster.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/cluster_template.py to cluster_template.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/federation.py to federation.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/fields.py to fields.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/magnum_service.py to magnum_service.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/quota.py to quota.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/stats.py to stats.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/objects/x509keypair.py to x509keypair.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/api.py to api.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/k8s_api.py to k8s_api.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/monitors.py to monitors.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/scale_manager.py to scale_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/utils.py to utils.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/cluster_conductor.py to cluster_conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/conductor_listener.py to conductor_listener.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/federation_conductor.py to federation_conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/indirection_api.py to indirection_api.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/ca_conductor.py to ca_conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common/cert_manager.py to cert_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/handlers/common/trust_manager.py to trust_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/conductor/tasks/heat_tasks.py to heat_tasks.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/base.py to base.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/conf_fixture.py to conf_fixture.cpython-37.pyc @@ -3907,13 +3900,15 @@ byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/fakes.py to fakes.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/policy_fixture.py to policy_fixture.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/utils.py to utils.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/test_hacking.py to test_hacking.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers/test_heat_driver.py to test_heat_driver.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers/test_template_definition.py to test_template_definition.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf/test_conf.py to test_conf.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_cluster.py to test_cluster.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_cluster_template.py to test_cluster_template.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_federation.py to test_federation.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_fields.py to test_fields.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_magnum_service.py to test_magnum_service.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_objects.py to test_objects.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_x509keypair.py to test_x509keypair.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/utils.py to utils.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/sqlalchemy/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/sqlalchemy/test_types.py to test_types.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/__init__.py to __init__.cpython-37.pyc @@ -3927,13 +3922,51 @@ byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/db/utils.py to utils.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/servicegroup/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/servicegroup/test_magnum_service.py to test_magnum_service.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers/test_heat_driver.py to test_heat_driver.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/drivers/test_template_definition.py to test_template_definition.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conf/test_conf.py to test_conf.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service/test_periodic.py to test_periodic.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd/test_api.py to test_api.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd/test_conductor.py to test_conductor.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd/test_db_manage.py to test_db_manage.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/cmd/test_driver_manage.py to test_driver_manage.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/service/test_periodic.py to test_periodic.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template/test_template.py to test_template.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/test_hacking.py to test_hacking.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_k8s_api.py to test_k8s_api.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_monitors.py to test_monitors.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_rpcapi.py to test_rpcapi.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_scale_manager.py to test_scale_manager.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_utils.py to test_utils.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_ca_conductor.py to test_ca_conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_cluster_conductor.py to test_cluster_conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_conductor_listener.py to test_conductor_listener.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_federation_conductor.py to test_federation_conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_indirection_api.py to test_indirection_api.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_k8s_cluster_conductor.py to test_k8s_cluster_conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_mesos_cluster_conductor.py to test_mesos_cluster_conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_swarm_cluster_conductor.py to test_swarm_cluster_conductor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common/test_cert_manager.py to test_cert_manager.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common/test_trust_manager.py to test_trust_manager.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks/test_heat_tasks.py to test_heat_tasks.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509/test_operations.py to test_operations.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509/test_sign.py to test_sign.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509/test_validator.py to test_validator.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/test_barbican.py to test_barbican.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/test_cert_manager.py to test_cert_manager.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/test_local.py to test_local.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/test_x509keypair_cert_manager.py to test_x509keypair_cert_manager.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/test_clients.py to test_clients.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/test_context.py to test_context.cpython-37.pyc @@ -3948,29 +3981,15 @@ byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/test_short_id.py to test_short_id.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/test_urlfetch.py to test_urlfetch.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/test_utils.py to test_utils.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509/test_operations.py to test_operations.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509/test_sign.py to test_sign.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/x509/test_validator.py to test_validator.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/test_barbican.py to test_barbican.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/test_cert_manager.py to test_cert_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/test_local.py to test_local.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/common/cert_manager/test_x509keypair_cert_manager.py to test_x509keypair_cert_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_cluster.py to test_cluster.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_cluster_template.py to test_cluster_template.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_federation.py to test_federation.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_fields.py to test_fields.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_magnum_service.py to test_magnum_service.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_objects.py to test_objects.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/test_x509keypair.py to test_x509keypair.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/objects/utils.py to utils.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/template/test_template.py to test_template.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/test_base.py to test_base.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/test_root.py to test_root.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/base.py to base.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_app.py to test_app.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_attr_validator.py to test_attr_validator.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_expose.py to test_expose.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_hooks.py to test_hooks.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_servicegroup.py to test_servicegroup.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_validation.py to test_validation.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/utils.py to utils.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1/test_bay.py to test_bay.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1/test_baymodel.py to test_baymodel.cpython-37.pyc @@ -3983,42 +4002,17 @@ byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1/test_stats.py to test_stats.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1/test_types.py to test_types.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/v1/test_utils.py to test_utils.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/base.py to base.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_app.py to test_app.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_attr_validator.py to test_attr_validator.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_expose.py to test_expose.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_hooks.py to test_hooks.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_servicegroup.py to test_servicegroup.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/test_validation.py to test_validation.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/utils.py to utils.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_k8s_api.py to test_k8s_api.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_monitors.py to test_monitors.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_rpcapi.py to test_rpcapi.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_scale_manager.py to test_scale_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/test_utils.py to test_utils.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_ca_conductor.py to test_ca_conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_cluster_conductor.py to test_cluster_conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_conductor_listener.py to test_conductor_listener.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_federation_conductor.py to test_federation_conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_indirection_api.py to test_indirection_api.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_k8s_cluster_conductor.py to test_k8s_cluster_conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_mesos_cluster_conductor.py to test_mesos_cluster_conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/test_swarm_cluster_conductor.py to test_swarm_cluster_conductor.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common/test_cert_manager.py to test_cert_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/handlers/common/test_trust_manager.py to test_trust_manager.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/conductor/tasks/test_heat_tasks.py to test_heat_tasks.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/test_base.py to test_base.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/unit/api/controllers/test_root.py to test_root.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic/test_k8s_python_client.py to test_k8s_python_client.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos/test_mesos_python_client.py to test_mesos_python_client.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_coreos/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_coreos/test_k8s_python_client.py to test_k8s_python_client.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode/test_swarm_mode_python_client.py to test_swarm_mode_python_client.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s/test_k8s_python_client.py to test_k8s_python_client.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s/test_magnum_python_client.py to test_magnum_python_client.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/python_client_base.py to python_client_base.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common/base.py to base.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common/client.py to client.cpython-37.pyc @@ -4029,14 +4023,11 @@ byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/common/utils.py to utils.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm/test_swarm_python_client.py to test_swarm_python_client.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/mesos/test_mesos_python_client.py to test_mesos_python_client.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/python_client_base.py to python_client_base.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s_ironic/test_k8s_python_client.py to test_k8s_python_client.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/__init__.py to __init__.cpython-37.pyc -byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/base.py to base.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s/test_k8s_python_client.py to test_k8s_python_client.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/k8s/test_magnum_python_client.py to test_magnum_python_client.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/swarm_mode/test_swarm_mode_python_client.py to test_swarm_mode_python_client.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients/__init__.py to __init__.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients/bay_client.py to bay_client.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/clients/baymodel_client.py to baymodel_client.cpython-37.pyc @@ -4057,6 +4048,50 @@ byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models/clusterpatch_model.py to clusterpatch_model.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/models/magnum_service_model.py to magnum_service_model.cpython-37.pyc byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/v1/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/tests/functional/api/base.py to base.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/driver.py to driver.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/monitor.py to monitor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/template_def.py to template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v1/version.py to version.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/driver.py to driver.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/k8s_coreos_template_def.py to k8s_coreos_template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/k8s_template_def.py to k8s_template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/swarm_fedora_template_def.py to swarm_fedora_template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/swarm_mode_template_def.py to swarm_mode_template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/template_def.py to template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/heat/k8s_fedora_template_def.py to k8s_fedora_template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/driver.py to driver.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/template_def.py to template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_ironic_v1/version.py to version.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/driver.py to driver.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/template_def.py to template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/version.py to version.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/driver.py to driver.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/template_def.py to template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/k8s_coreos_v1/version.py to version.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/templates/swarm/fragments/make-cert.py to make-cert.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/driver.py to driver.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/k8s_monitor.py to k8s_monitor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/common/k8s_scale_manager.py to k8s_scale_manager.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/driver.py to driver.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/monitor.py to monitor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/template_def.py to template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/swarm_fedora_atomic_v2/version.py to version.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/__init__.py to __init__.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/driver.py to driver.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/monitor.py to monitor.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/scale_manager.py to scale_manager.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/template_def.py to template_def.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/mesos_ubuntu_v1/version.py to version.cpython-37.pyc +byte-compiling /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages/magnum/drivers/__init__.py to __init__.cpython-37.pyc running install_data creating /build/magnum-7.1.0/debian/tmp/usr/etc creating /build/magnum-7.1.0/debian/tmp/usr/etc/magnum @@ -4081,121 +4116,133 @@ + PYTHONS=disabled + PYTHON3S=disabled + TEST_PARALLEL_OPT=--parallel ++ for i in $@ ++ case "${1}" in + PKGOS_USE_PY2=no + shift -+ [ no = yes ] -+ [ yes = yes ] -+ py3versions -vr ++ for i in $@ ++ case "${1}" in ++ '[' no = yes ']' ++ '[' yes = yes ']' +++ py3versions -vr + PYTHON3S=3.7 -+ [ yes = no ] -+ [ disabled = disabled ] ++ '[' yes = no ']' ++ for pyvers in ${PYTHONS} ${PYTHON3S} ++ '[' disabled = disabled ']' + continue -+ [ 3.7 = disabled ] -+ echo 3.7 -+ cut -d. -f1 ++ for pyvers in ${PYTHONS} ${PYTHON3S} ++ '[' 3.7 = disabled ']' +++ echo 3.7 +++ cut -d. -f1 + PYMAJOR=3 -+ echo ===> Testing with python (python3) ++ echo '===> Testing with python (python3)' ===> Testing with python (python3) -+ [ 3 = 3 ] -+ pwd -+ [ -d /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -z ] -+ pwd ++ '[' 3 = 3 ']' +++ pwd ++ '[' -d /build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -z '' ']' +++ pwd + export PYTHONPATH=/build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages -+ [ -e .stestr.conf ] ++ PYTHONPATH=/build/magnum-7.1.0/debian/tmp/usr/lib/python3/dist-packages ++ '[' -e .stestr.conf ']' + rm -rf .stestr -+ PYTHON=python3.7 python3-stestr run --subunit magnum\.tests\.unit(?!(.*drivers\.test_heat_driver\.TestHeatPoller\.test_poll_done.*|.*drivers\.test_heat_driver\.TestHeatPoller\.test_poll_destroy.*)) + subunit2pyunit -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_start_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_start_version ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_repr -magnum.tests.unit.api.controllers.test_base.TestVersion.test_repr ... ok -magnum.tests.unit.api.controllers.test_base.TestController.test_api_version_decorator -magnum.tests.unit.api.controllers.test_base.TestController.test_api_version_decorator ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__ne__with_equal -magnum.tests.unit.api.controllers.test_base.TestVersion.test__ne__with_equal ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_higher_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_higher_version ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_equal -magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_equal ... ok ++ PYTHON=python3.7 ++ python3-stestr run --subunit 'magnum\.tests\.unit(?!(.*drivers\.test_heat_driver\.TestHeatPoller\.test_poll_done.*|.*drivers\.test_heat_driver\.TestHeatPoller\.test_poll_destroy.*))' magnum.tests.unit.api.controllers.test_base.TestVersion.test__ne__with_unequal magnum.tests.unit.api.controllers.test_base.TestVersion.test__ne__with_unequal ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_higher_major_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_higher_major_version ... ok -magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_too_high -magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_too_high ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_init -magnum.tests.unit.api.controllers.test_base.TestVersion.test_init ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__eq__with_equal -magnum.tests.unit.api.controllers.test_base.TestVersion.test__eq__with_equal ... ok -magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_shared_start_end -magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_shared_start_end ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_valid_version magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_valid_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_version_too_high +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_version_too_high ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_repr_with_strings +magnum.tests.unit.api.controllers.test_base.TestVersion.test_repr_with_strings ... ok +magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_positive +magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_positive ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_higher_major_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_higher_major_version ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test__le__with_higher_version magnum.tests.unit.api.controllers.test_base.TestVersion.test__le__with_higher_version ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_higher_minor_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_higher_minor_version ... ok -magnum.tests.unit.api.controllers.test_base.TestController.test_controller_get_attribute -magnum.tests.unit.api.controllers.test_base.TestController.test_controller_get_attribute ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_end_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_end_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_higher_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_higher_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_lower_major_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_lower_major_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_incorrect_service_type +magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_incorrect_service_type ... ok +magnum.tests.unit.api.controllers.test_base.TestController.test_controller_get_attr_version_not_found +magnum.tests.unit.api.controllers.test_base.TestController.test_controller_get_attr_version_not_found ... ok magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_ok magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_ok ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_higher_major_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_higher_major_version ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_lower_major_version magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_lower_major_version ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__eq__with_unequal -magnum.tests.unit.api.controllers.test_base.TestVersion.test__eq__with_unequal ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_higher_minor_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_higher_minor_version ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_null_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_null_version ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_lower_minor_version magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_lower_minor_version ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_lower_minor_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_lower_minor_version ... ok -magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_negative -magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_negative ... ok +magnum.tests.unit.api.controllers.test_base.TestController.test_controller_get_attribute +magnum.tests.unit.api.controllers.test_base.TestController.test_controller_get_attribute ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_latest +magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_latest ... ok magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_invalid_major_version magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_invalid_major_version ... ok +magnum.tests.unit.api.controllers.test_base.TestController.test_api_version_decorator +magnum.tests.unit.api.controllers.test_base.TestController.test_api_version_decorator ... ok +magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_negative +magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_negative ... ok +magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_shared_start_end +magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_shared_start_end ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test__le__with_lower_version magnum.tests.unit.api.controllers.test_base.TestVersion.test__le__with_lower_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_version_too_low +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_version_too_low ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_init +magnum.tests.unit.api.controllers.test_base.TestVersion.test_init ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test_is_null_false magnum.tests.unit.api.controllers.test_base.TestVersion.test_is_null_false ... ok -magnum.tests.unit.api.controllers.test_base.TestController.test_controller_get_attr_version_not_found -magnum.tests.unit.api.controllers.test_base.TestController.test_controller_get_attr_version_not_found ... ok -magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_too_low -magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_too_low ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_equal +magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_equal ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_bad_length +magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_bad_length ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__eq__with_equal +magnum.tests.unit.api.controllers.test_base.TestVersion.test__eq__with_equal ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__eq__with_unequal +magnum.tests.unit.api.controllers.test_base.TestVersion.test__eq__with_unequal ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_higher_minor_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test__gt__with_higher_minor_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_higher_minor_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_higher_minor_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_lower_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_lower_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__ne__with_equal +magnum.tests.unit.api.controllers.test_base.TestVersion.test__ne__with_equal ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_higher_major_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_higher_major_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_lower_minor_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_lower_minor_version ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test_is_null_true magnum.tests.unit.api.controllers.test_base.TestVersion.test_is_null_true ... ok -magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_positive -magnum.tests.unit.api.controllers.test_base.TestController.test_check_for_versions_intersection_positive ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_repr +magnum.tests.unit.api.controllers.test_base.TestVersion.test_repr ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_start_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_start_version ... ok +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_null_version +magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_null_version ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_ok magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_ok ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_incorrect_service_type -magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_incorrect_service_type ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestBayObject.test_bay_init -magnum.tests.unit.api.controllers.v1.test_bay.TestBayObject.test_bay_init ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestBayObject.test_as_dict_faults +magnum.tests.unit.api.controllers.v1.test_bay.TestBayObject.test_as_dict_faults ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_no_header magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_no_header ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_lower_major_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test__lt__with_lower_major_version ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_version_too_low -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_version_too_low ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_bad_length -magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_bad_length ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_repr_with_strings -magnum.tests.unit.api.controllers.test_base.TestVersion.test_repr_with_strings ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_lower_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test__ge__with_lower_version ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_end_version -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_end_version ... ok +magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_too_high +magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_too_high ... ok +magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_too_low +magnum.tests.unit.api.controllers.test_root.TestCheckVersions.test_check_version_too_low ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestBayObject.test_bay_init +magnum.tests.unit.api.controllers.v1.test_bay.TestBayObject.test_bay_init ... ok magnum.tests.unit.api.controllers.test_base.TestVersion.test__le__with_equal magnum.tests.unit.api.controllers.test_base.TestVersion.test__le__with_equal ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_version_too_high -magnum.tests.unit.api.controllers.test_base.TestVersion.test_matches_version_too_high ... ok -magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_latest -magnum.tests.unit.api.controllers.test_base.TestVersion.test_parse_headers_latest ... ok +INFO [alembic.runtime.migration] Context impl SQLiteImpl. +INFO [alembic.runtime.migration] Will assume non-transactional DDL. INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. INFO [alembic.runtime.migration] Context impl SQLiteImpl. @@ -4233,140 +4280,301 @@ INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c -INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c -INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c -INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c -INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c -INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c -INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c -magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist_not_abs -magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist_not_abs ... ok -magnum.tests.unit.api.controllers.test_root.TestRootController.test_get_not_found -magnum.tests.unit.api.controllers.test_root.TestRootController.test_get_not_found ... ok magnum.tests.unit.api.controllers.test_root.TestRootController.test_v1_controller magnum.tests.unit.api.controllers.test_root.TestRootController.test_v1_controller ... ok -magnum.tests.unit.api.controllers.test_root.TestV1Routing.test_route_checks_version -magnum.tests.unit.api.controllers.test_root.TestV1Routing.test_route_checks_version ... ok -magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist -magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_delete -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_delete ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_get_one -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_get_one -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_mandatory_property_fail -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_mandatory_property_fail ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_delete +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_delete ... ok INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_not_found -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_not_found ... ok -magnum.tests.unit.api.controllers.test_root.TestRootController.test_version -magnum.tests.unit.api.controllers.test_root.TestRootController.test_version ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_update -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_update ... ok magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_non_existent_bay magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_non_existent_bay ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name_not_found -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_with_name_not_found -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_with_name_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name_not_found +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name_not_found ... ok magnum.tests.unit.api.controllers.test_root.TestRootController.test_noauth magnum.tests.unit.api.controllers.test_root.TestRootController.test_noauth ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_delete -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_delete ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestBayObject.test_as_dict_faults -magnum.tests.unit.api.controllers.v1.test_bay.TestBayObject.test_as_dict_faults ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_get_all -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_get_all ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_add_root_non_existent -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_add_root_non_existent ... ok -magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_disable_file -magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_disable_file ... ok -magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_enabled -magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_enabled ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_empty_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_empty_name ... ok INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_detail -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_detail ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_success -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_success ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one ... ok -magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_root_access -magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_root_access ... ok magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_no_public_routes magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_no_public_routes ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_set_project_id_and_user_id -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_set_project_id_and_user_id ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_apiserver_port -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_apiserver_port ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_invalid_node_count -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_invalid_node_count ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_baymodel_id_failed -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_baymodel_id_failed ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_get_one +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_multi_images_same_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_multi_images_same_name ... ok +magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_root_access +magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_root_access ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_invalid_at_start_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_invalid_at_start_name ... ok magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_update magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_update ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_bay_name_failed -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_bay_name_failed ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok ... ok -magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_v1_access -magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_v1_access ... ok +magnum.tests.unit.api.controllers.test_root.TestRootController.test_get_not_found +magnum.tests.unit.api.controllers.test_root.TestRootController.test_get_not_found ... ok magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_node_count_zero magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_node_count_zero ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_with_name_not_found +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_with_name_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_bay_name_failed +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_bay_name_failed ... ok +INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_underscore_at_end_valid_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_underscore_at_end_valid_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_mandatory_property_fail +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_mandatory_property_fail ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_not_found +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_lb_one_node +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_lb_one_node ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name ... ok magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_create magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_create ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_with_name -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_with_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_multiple_bay_by_name -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_multiple_bay_by_name ... ok +magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_enabled +magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_enabled ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_valid_str_int_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_valid_str_int_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_master_count +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_master_count ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_name +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_name ... ok +INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_flavor magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_flavor ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_ok ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_at_end_valid_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_at_end_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_get_all -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_get_all ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_docker_volume_size -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_docker_volume_size ... ok +INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_with_name +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_with_name ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_get_one +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_generate_uuid +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_generate_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_add_root_non_existent +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_add_root_non_existent ... ok +INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_failed_bay_heatclient_exception +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_failed_bay_heatclient_exception ... ok magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_all_with_pagination_marker magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_all_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_capital_letter_start_valid_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_capital_letter_start_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name_not_found +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_long_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_long_name ... ok +INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c +magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist_not_abs +magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist_not_abs ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_one +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_one ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_get_all +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_get_all ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_node_count +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_node_count ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_create_baymodel_with_no_os_distro_image +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_create_baymodel_with_no_os_distro_image ... ok +magnum.tests.unit.api.controllers.test_root.TestRootController.test_version +magnum.tests.unit.api.controllers.test_root.TestRootController.test_version ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_timeout +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_timeout ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_detail +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_detail ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail_against_single +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail_against_single ... ok magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_non_existent_baymodel_id magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_non_existent_baymodel_id ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_get_one -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_keypair +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_keypair ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_update_bay_async +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_update_bay_async ... ok +magnum.tests.unit.api.controllers.test_root.TestV1Routing.test_route_checks_version +magnum.tests.unit.api.controllers.test_root.TestV1Routing.test_route_checks_version ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_mix_special_char_valid_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_mix_special_char_valid_name ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_non_existent_property_fail +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_non_existent_property_fail ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_at_end_valid_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_at_end_valid_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_no_baymodel_id +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_no_baymodel_id ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_at_end_valid_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_at_end_valid_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_baymodel_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_baymodel_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_on_os_distro_image +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_on_os_distro_image ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_lb_multi_node +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_lb_multi_node ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_flavor_id +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_flavor_id ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_doesnt_contain_id +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_doesnt_contain_id ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_name_not_found +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_name_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_ext_network +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_ext_network ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_multiple_bay_by_name +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_multiple_bay_by_name ... ok +magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_disable_file +magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_disable_file ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_integer_str_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_integer_str_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_detail +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_detail ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_image_id +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_image_id ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_multiple_baymodel_by_name +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_multiple_baymodel_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_without_docker_volume_size +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_without_docker_volume_size ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_set_project_id_and_user_id +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_set_project_id_and_user_id ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_valid_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_valid_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_update +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_update ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_empty +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_empty ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_master_count_zero +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_master_count_zero ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_delete +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_delete ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_get_all +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_get_all ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_zero +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_zero ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_collection_links +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_collection_links ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay_not_allow_update +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay_not_allow_update ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_invalid_node_count +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_invalid_node_count ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name_not_found +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name_not_found ... ok magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_empty +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_empty ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail_against_single +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail_against_single ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_bay +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_bay ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_uuid +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert +magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_rotate +magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_rotate ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_detail +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_detail ... ok +INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_failed_bay +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_failed_bay ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_update_bay_with_rollback_enabled +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_update_bay_with_rollback_enabled ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_cluster_not_found +magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_cluster_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestRotateCaCertificate.test_rotate_ca_cert +magnum.tests.unit.api.controllers.v1.test_certificate.TestRotateCaCertificate.test_rotate_ca_cert ... ok magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_non_existent_baymodel_id magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_non_existent_baymodel_id ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name_multiple_bay +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name_multiple_bay ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_non_existent_property +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_non_existent_property ... ok +magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_v1_access +magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_v1_access ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_nonexist_image +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_nonexist_image ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_get_one +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_valid_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_valid_name ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_create +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_create ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_node_count_negative +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_node_count_negative ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_public_baymodel_fail +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_public_baymodel_fail ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_add_non_existent_property +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_add_non_existent_property ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_ok ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_master_flavor_id +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_master_flavor_id ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_generate_uuid +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_generate_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_negative +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_negative ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelObject.test_baymodel_init +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelObject.test_baymodel_init ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_docker_volume_size +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_docker_volume_size ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_doesnt_contain_id +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_doesnt_contain_id ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_get_one +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_update +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_update ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_invalid_at_start_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_invalid_at_start_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_baymodel_id_failed +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_baymodel_id_failed ... ok +INFO [alembic.runtime.migration] Running stamp_revision -> 9a1539f1cd2c +magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist +magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist ... ok magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_as_admin magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_as_admin ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name_multiple_bay -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name_multiple_bay ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_generate_uuid -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_generate_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_mix_special_char_valid_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_mix_special_char_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_timeout -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_timeout ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_links -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_links ... ok -PATCH: /v1/bays/e56b7fe3-fde0-4efb-97fa-53ba18174f98 [{'path': '/name', 'value': 'bay_example_B', 'op': 'replace'}] -GOT:Response: 404 Not Found +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_delete +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_delete ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_with_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_with_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_docker_volume_size +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_docker_volume_size ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_update +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_update ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_get_one +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_one +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_one ... ok +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '.test_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '.test_bay'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testbay_', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/596e0b2a-3dbf-4e21-a4c9-3d2ca99f5530 +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"uuid": "596e0b2a-3dbf-4e21-a4c9-3d2ca99f5530", "name": "testbay_", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/596e0b2a-3dbf-4e21-a4c9-3d2ca99f5530", "rel": "self"}, {"href": "http://localhost/bays/596e0b2a-3dbf-4e21-a4c9-3d2ca99f5530", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:19.318415+00:00", "updated_at": null} +DELETE: /v1/baymodels/clustermodel1 +GOT:Response: 204 No Content Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster e56b7fe3-fde0-4efb-97fa-53ba18174f98 could not be found", "detail": "Cluster e56b7fe3-fde0-4efb-97fa-53ba18174f98 could not be found.", "links": []}]} + PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/foo', 'value': 'bar', 'op': 'add'}] GOT:Response: 400 Bad Request Content-Type: application/json @@ -4375,321 +4583,211 @@ Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version {"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Adding a new attribute /foo to the root of the resource is not allowed", "detail": "Adding a new attribute /foo to the root of the resource is not allowed.", "links": []}]} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'value': 'img', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:08.119667+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': -12, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 65536, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 0, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 1023, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 'not an int', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -DELETE: /v1/clusters/57eff512-ca1e-4caa-b1f3-7b3e4f9885f1 -GOT:Response: 204 No Content +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/non-existent', 'op': 'remove'}] +GOT:Response: 400 Bad Request +Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version - -GET: /v1/clusters/not_found {} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'", "detail": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'. Reason: can't remove non-existent object 'non-existent'", "links": []}]} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'my-image', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]}magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_nonexist_image -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_nonexist_image ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name_not_found -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_lb_one_node -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_lb_one_node ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name_multiple_bay -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_by_name_multiple_bay ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_update -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_update ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_no_baymodel_id -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_no_baymodel_id ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_on_os_distro_image -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_on_os_distro_image ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_update_bay_async -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_update_bay_async ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_create -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_create ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_baymodel_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_baymodel_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail_against_single -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail_against_single ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_external_network -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_external_network ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_lb_multi_node -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_lb_multi_node ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_negative -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_negative ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_collection_links_default_limit -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_collection_links_default_limit ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_update -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_update ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_zero -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_zero ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_integer_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_integer_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_failed_bay_heatclient_exception -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_failed_bay_heatclient_exception ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_node_count -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_node_count ... ok -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:Response: 403 Forbidden +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "my-image", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.175023+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:get to be performed", "detail": "Policy doesn't allow bay:get to be performed.", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 201 Created +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.279414+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_dns +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_dns ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestCertObject.test_cert_init +magnum.tests.unit.api.controllers.v1.test_certificate.TestCertObject.test_cert_init ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_create +magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_create ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_get_one +magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name_multiple_cluster +magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name_multiple_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_create +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_create ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_multiple_cluster_by_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_multiple_cluster_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_invalid_node_count +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_invalid_node_count ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_resource_limit_reached +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_resource_limit_reached ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_collection_links_default_limit +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_collection_links_default_limit ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_links +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_links ... ok +PATCH: /v1/bays/5abfa278-3a65-4e35-bb70-22c7612adfd8 [{'path': '/name', 'value': 'bay_example_B', 'op': 'replace'}] +GOT:Response: 404 Not Found Content-Type: application/json -Location: http://localhost/v1/bays/df7aa3e2-15b2-4107-b728-a69dc76d5351 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "df7aa3e2-15b2-4107-b728-a69dc76d5351", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/df7aa3e2-15b2-4107-b728-a69dc76d5351", "rel": "self"}, {"href": "http://localhost/bays/df7aa3e2-15b2-4107-b728-a69dc76d5351", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.059762+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 0, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 5abfa278-3a65-4e35-bb70-22c7612adfd8 could not be found", "detail": "Cluster 5abfa278-3a65-4e35-bb70-22c7612adfd8 could not be found.", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '0'. Value should be greater or equal to 1", "links": []}]} -GET: /v1/baymodels {} -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: ''. Value should have a minimum character requirement of 1", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 1, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'foo', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/ab4266c3-c711-474e-bc22-bef3e5b4f836 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:get_all to be performed", "detail": "Policy doesn't allow baymodel:get_all to be performed.", "links": []}]} -GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:Response: 403 Forbidden +{"uuid": "ab4266c3-c711-474e-bc22-bef3e5b4f836", "name": "cluster1", "baymodel_id": "foo", "node_count": 3, "master_count": 1, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/ab4266c3-c711-474e-bc22-bef3e5b4f836", "rel": "self"}, {"href": "http://localhost/bays/ab4266c3-c711-474e-bc22-bef3e5b4f836", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:19.234789+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/3a37aa35-0b6c-4c45-9a68-c8e4f09086a9 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:get to be performed", "detail": "Policy doesn't allow baymodel:get to be performed.", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] -GOT:Response: 403 Forbidden +{"uuid": "3a37aa35-0b6c-4c45-9a68-c8e4f09086a9", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 1, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/3a37aa35-0b6c-4c45-9a68-c8e4f09086a9", "rel": "self"}, {"href": "http://localhost/bays/3a37aa35-0b6c-4c45-9a68-c8e4f09086a9", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:19.594525+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/c2897072-b108-4811-b949-89d7bc4df29f Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:update to be performed", "detail": "Policy doesn't allow baymodel:update to be performed.", "links": []}]} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"uuid": "c2897072-b108-4811-b949-89d7bc4df29f", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 1, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/c2897072-b108-4811-b949-89d7bc4df29f", "rel": "self"}, {"href": "http://localhost/bays/c2897072-b108-4811-b949-89d7bc4df29f", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:19.814362+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': '19d8429f-146b-421f-aaf7-7b4fd6be3ef6', 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:08.967844+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '1.1.2', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '1.1..1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_public_baymodel_fail -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_public_baymodel_fail ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_dns_nameserver -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_dns_nameserver ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_ext_network -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_ext_network ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_update_bay_with_rollback_enabled -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_update_bay_with_rollback_enabled ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_collection_links -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_collection_links ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_none -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_none ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_long_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_long_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid_not_found -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_name -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_integer_str_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_integer_str_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_without_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_without_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_underscore_invalid_at_start_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_underscore_invalid_at_start_name ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_non_existent_property -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_remove_non_existent_property ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert -magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_empty -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_empty ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_doesnt_contain_id -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_doesnt_contain_id ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelObject.test_baymodel_init -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelObject.test_baymodel_init ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_collection_links_default_limit -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_collection_links_default_limit ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_keypair -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_keypair ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_without_docker_volume_size -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_without_docker_volume_size ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_uuid -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_generate_uuid -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_generate_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_master_count_zero -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_master_count_zero ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_get_one -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_delete -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_delete ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name_multiple_cluster -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name_multiple_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_not_found -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_delete -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_delete ... ok +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate 19d8429f-146b-421f-aaf7-7b4fd6be3ef6 could not be found", "detail": "ClusterTemplate 19d8429f-146b-421f-aaf7-7b4fd6be3ef6 could not be found.", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} +GET: /v1/baymodels/?limit=3 {} +GOT:{'baymodels': [{'uuid': '80c778c2-3b3e-4a1c-8b42-cd12b210b270', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/80c778c2-3b3e-4a1c-8b42-cd12b210b270', 'rel': 'self'}, {'href': 'http://localhost/baymodels/80c778c2-3b3e-4a1c-8b42-cd12b210b270', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.236383+00:00', 'updated_at': None}, {'uuid': 'af91366a-1c59-45f3-86e8-759eef3cf308', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/af91366a-1c59-45f3-86e8-759eef3cf308', 'rel': 'self'}, {'href': 'http://localhost/baymodels/af91366a-1c59-45f3-86e8-759eef3cf308', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.240038+00:00', 'updated_at': None}, {'uuid': '66cf3a9d-aeca-420b-aa2d-208367b0642d', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/66cf3a9d-aeca-420b-aa2d-208367b0642d', 'rel': 'self'}, {'href': 'http://localhost/baymodels/66cf3a9d-aeca-420b-aa2d-208367b0642d', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.243642+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/baymodels?sort_key=id&sort_dir=asc&limit=3&marker=66cf3a9d-aeca-420b-aa2d-208367b0642d'}magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_collection_links +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_collection_links ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_links +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_links ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_not_found +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_fail +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_fail ... ok magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_network_driver magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_network_driver ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_node_count_negative -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_node_count_negative ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_bay -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_bay ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_external_network_id -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_external_network_id ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_name_not_found -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_with_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_failed_cluster -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_failed_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_many -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_many ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_detail_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_create_baymodel_with_no_os_distro_image -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_create_baymodel_with_no_os_distro_image ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_resource_limit_reached -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_resource_limit_reached ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_empty -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_empty ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_non_existent_cluster -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_non_existent_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_add_non_existent_property -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_add_non_existent_property ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_labels -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_labels ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_image_id -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_image_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_uuid_not_found -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_uuid_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_failed_bay -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_get_one_failed_bay ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_node_count -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_node_count ... ok DELETE: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 -GOT:Response: 403 Forbidden -Content-Type: application/json +GOT:Response: 204 No Content Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:delete to be performed", "detail": "Policy doesn't allow bay:delete to be performed.", "links": []}]} -DELETE: /v1/bays/not_found + +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/baymodel_id', 'value': 'f0eb5e0b-d47a-4d22-8f77-f31201fcd6fd', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 could not be found", "detail": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 could not be found.", "links": []}]} +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/name', 'value': 'bay_example_B', 'op': 'replace'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/baymodel_id', 'op': 'replace', 'value': 'f0eb5e0b-d47a-4d22-8f77-f31201fcd6fd'}]'", "detail": "Couldn't apply patch '[{'path': '/baymodel_id', 'op': 'replace', 'value': 'f0eb5e0b-d47a-4d22-8f77-f31201fcd6fd'}]'. Reason: can't replace non-existent object 'baymodel_id'", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': 3, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "cannot change cluster property(ies) name", "detail": "cannot change cluster property(ies) name.", "links": []}]} +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +GOT:Response: 200 OK Content-Type: application/json -Location: http://localhost/v1/bays/a028e8fa-f0df-4152-99e6-abd1eea9c400 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "a028e8fa-f0df-4152-99e6-abd1eea9c400", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": 3, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/a028e8fa-f0df-4152-99e6-abd1eea9c400", "rel": "self"}, {"href": "http://localhost/bays/a028e8fa-f0df-4152-99e6-abd1eea9c400", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.458864+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test.-_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "name": "bay_example_A", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 4, "master_count": 3, "docker_volume_size": null, "labels": {}, "master_flavor_id": null, "flavor_id": null, "bay_create_timeout": 60, "links": [{"href": "http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "stack_id": "047c6319-7abd-4bd9-a033-8c6af0173cd0", "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": "172.17.2.3", "coe_version": null, "container_version": null, "node_addresses": ["172.17.2.4"], "master_addresses": ["172.17.2.18"], "created_at": "2023-01-11T04:01:19.418430+00:00", "updated_at": null} +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 4, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:19.418430+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-flavor", "detail": "test-flavor", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66'} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/979aadf1-6712-477d-8633-ddc461c10ca9 +Location: http://localhost/v1/bays/28e275e2-72ab-47c0-8e6b-d3f3d05d660d Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "979aadf1-6712-477d-8633-ddc461c10ca9", "name": "test.-_bay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/979aadf1-6712-477d-8633-ddc461c10ca9", "rel": "self"}, {"href": "http://localhost/bays/979aadf1-6712-477d-8633-ddc461c10ca9", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.706870+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 403 Forbidden +{"uuid": "28e275e2-72ab-47c0-8e6b-d3f3d05d660d", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 60, "links": [{"href": "http://localhost/v1/bays/28e275e2-72ab-47c0-8e6b-d3f3d05d660d", "rel": "self"}, {"href": "http://localhost/bays/28e275e2-72ab-47c0-8e6b-d3f3d05d660d", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:19.880477+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testbay.', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/7f7ecbee-015c-43cc-a3e8-24617951925d Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:create to be performed", "detail": "Policy doesn't allow baymodel:create to be performed.", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"uuid": "7f7ecbee-015c-43cc-a3e8-24617951925d", "name": "testbay.", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/7f7ecbee-015c-43cc-a3e8-24617951925d", "rel": "self"}, {"href": "http://localhost/bays/7f7ecbee-015c-43cc-a3e8-24617951925d", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:20.088361+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': None} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 +Location: http://localhost/v1/bays/e5c8f34e-f6b8-4765-a222-a03386272d2c Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.223650+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_flavor -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_flavor ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_network_driver -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_network_driver ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_volume_driver -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_volume_driver ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_name -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_name ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_cluster_not_found -magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_cluster_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_one -magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_one ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_non_existent_cluster_template_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_non_existent_cluster_template_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name_not_found -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_as_admin -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_as_admin ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_invalid_at_start_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_invalid_at_start_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_multiple_cluster_template_by_name -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_multiple_cluster_template_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_valid_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_hyphen_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_all_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_all_with_pagination_marker ... ok -PATCH: /v1/bays/bay_example_A [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +{"uuid": "e5c8f34e-f6b8-4765-a222-a03386272d2c", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": null, "links": [{"href": "http://localhost/v1/bays/e5c8f34e-f6b8-4765-a222-a03386272d2c", "rel": "self"}, {"href": "http://localhost/bays/e5c8f34e-f6b8-4765-a222-a03386272d2c", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:20.310748+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_none +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_timeout_none ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_underscore_invalid_at_start_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_underscore_invalid_at_start_name ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_os_distro_image +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_os_distro_image ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_all_with_all_projects +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_all_with_all_projects ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid ... ok +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 @@ -4697,167 +4795,240 @@ Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version {"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:update to be performed", "detail": "Policy doesn't allow bay:update to be performed.", "links": []}]} -GET: /v1/bays?limit=3&marker=cd8f2f94-24ac-4c18-aaab-f4f3084deac7 {} -GOT:{'bays': [{'uuid': 'f262539a-588c-42da-b394-518424e2f6a6', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/f262539a-588c-42da-b394-518424e2f6a6', 'rel': 'self'}, {'href': 'http://localhost/bays/f262539a-588c-42da-b394-518424e2f6a6', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} -POST: /v1/bays {'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 201 Created +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/uuid', 'op': 'remove'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/bays/d4ee2c90-d91c-479b-a169-f0806dfe29f4 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "d4ee2c90-d91c-479b-a169-f0806dfe29f4", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/d4ee2c90-d91c-479b-a169-f0806dfe29f4", "rel": "self"}, {"href": "http://localhost/bays/d4ee2c90-d91c-479b-a169-f0806dfe29f4", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.704543+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 15} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/uuid' is an internal attribute and can not be updated", "detail": "'/uuid' is an internal attribute and can not be updated", "links": []}]} +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/baymodel_id', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute baymodel_id", "detail": "Invalid input for field/attribute baymodel_id. Value: 'None'. Mandatory field missing.", "links": []}]} -GET: /v1/baymodels {} -GOT:{'baymodels': [{'uuid': 'a357d3ee-fdaf-4dba-a27b-adae8f9ab111', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/a357d3ee-fdaf-4dba-a27b-adae8f9ab111', 'rel': 'self'}, {'href': 'http://localhost/baymodels/a357d3ee-fdaf-4dba-a27b-adae8f9ab111', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:08.965266+00:00', 'updated_at': None}, {'uuid': '0cb053c1-04e5-4bae-a92b-908357a20bc1', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/0cb053c1-04e5-4bae-a92b-908357a20bc1', 'rel': 'self'}, {'href': 'http://localhost/baymodels/0cb053c1-04e5-4bae-a92b-908357a20bc1', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:08.967893+00:00', 'updated_at': None}, {'uuid': '49e7c6ab-b048-4c58-ae4e-1a5f9158b6f6', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/49e7c6ab-b048-4c58-ae4e-1a5f9158b6f6', 'rel': 'self'}, {'href': 'http://localhost/baymodels/49e7c6ab-b048-4c58-ae4e-1a5f9158b6f6', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:08.970043+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/baymodels?sort_key=id&sort_dir=asc&limit=3&marker=49e7c6ab-b048-4c58-ae4e-1a5f9158b6f6'} -GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.119954+00:00', 'updated_at': None} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/dns_nameserver', 'op': 'remove'}] -GOT:Response: 200 OK +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/baymodel_id' is a mandatory attribute and can not be removed", "detail": "'/baymodel_id' is a mandatory attribute and can not be removed", "links": []}]} +POST: /v1/bays {'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/7034240a-ff51-448b-a835-8ad3f790218f Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "bay_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": null, "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.119954+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_singular -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_singular ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_docker_volume_size -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_docker_volume_size ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_image_name -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_image_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_update -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_update ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_empty -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_empty ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name_multiple_cluster -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name_multiple_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_add_non_existent_property -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_add_non_existent_property ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_cluster_template_id_failed -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_cluster_template_id_failed ... ok -DELETE: /v1/bays/ac270f97-3b11-43a4-8c4c-eb29a5611bcf -GOT:Response: 404 Not Found +{"uuid": "7034240a-ff51-448b-a835-8ad3f790218f", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/7034240a-ff51-448b-a835-8ad3f790218f", "rel": "self"}, {"href": "http://localhost/bays/7034240a-ff51-448b-a835-8ad3f790218f", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:19.726237+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster ac270f97-3b11-43a4-8c4c-eb29a5611bcf could not be found", "detail": "Cluster ac270f97-3b11-43a4-8c4c-eb29a5611bcf could not be found.", "links": []}]} -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.044230+00:00', 'updated_at': None} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'Testbay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'. Value should have a maximum character requirement of 242", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test.-_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/2e2a69e6-e2b5-44d4-8a26-29f22b0fc541 +Location: http://localhost/v1/bays/cb4da5b5-f624-4035-842a-7d0dbccf72be Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "2e2a69e6-e2b5-44d4-8a26-29f22b0fc541", "name": "Testbay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/2e2a69e6-e2b5-44d4-8a26-29f22b0fc541", "rel": "self"}, {"href": "http://localhost/bays/2e2a69e6-e2b5-44d4-8a26-29f22b0fc541", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.523751+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 1, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'foo', 'bay_create_timeout': 15} +{"uuid": "cb4da5b5-f624-4035-842a-7d0dbccf72be", "name": "test.-_bay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/cb4da5b5-f624-4035-842a-7d0dbccf72be", "rel": "self"}, {"href": "http://localhost/bays/cb4da5b5-f624-4035-842a-7d0dbccf72be", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:19.978002+00:00", "updated_at": null} +DELETE: /v1/baymodels/not_found +GOT:Response: 404 Not Found +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate not_found could not be found", "detail": "ClusterTemplate not_found could not be found.", "links": []}]} +GET: /v1/baymodels/clustermodel1 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.276705+00:00', 'updated_at': None} +POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_image_name +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_image_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_get_all +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_get_all ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_get_one +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_all_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_all_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name_not_found +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name_multiple_cluster +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name_multiple_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_uuid_not_found +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_uuid_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_lb_one_node +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_lb_one_node ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_master_count +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_master_count ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_negative +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_negative ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_delete +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_delete ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_name_not_found +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_name_not_found ... ok +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'fake-uuid'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +DEBUG [taskflow.engines.action_engine.completer] Applying resolver 'RevertAll(strategy=REVERT_ALL)' to resolve failure 'Failure: ValueError: ' of atom 'magnum.conductor.tasks.heat_tasks.UpdateStack==1.0' +DEBUG [taskflow.engines.action_engine.completer] Modified/tweaked 1 nodes while applying resolver 'RevertAll(strategy=REVERT_ALL)' +DEBUG [taskflow.engines.action_engine.builder] Discarding failure 'Failure: ValueError: ' (in response to outcome 'executed') under completion units request during completion of atom 'magnum.conductor.tasks.heat_tasks.UpdateStack==1.0' (intention is to REVERT) +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_FAILED', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'bay_faults': {}, 'created_at': '2023-01-11T04:01:19.694398+00:00', 'updated_at': None} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/69c21da3-27c7-43ce-a0f0-9e48c5a3be3b +Location: http://localhost/v1/bays/9e4f181b-c8ac-41a7-8086-abdbedcbc50b Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "69c21da3-27c7-43ce-a0f0-9e48c5a3be3b", "name": "cluster1", "baymodel_id": "foo", "node_count": 3, "master_count": 1, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/69c21da3-27c7-43ce-a0f0-9e48c5a3be3b", "rel": "self"}, {"href": "http://localhost/bays/69c21da3-27c7-43ce-a0f0-9e48c5a3be3b", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.774875+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"uuid": "9e4f181b-c8ac-41a7-8086-abdbedcbc50b", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/9e4f181b-c8ac-41a7-8086-abdbedcbc50b", "rel": "self"}, {"href": "http://localhost/bays/9e4f181b-c8ac-41a7-8086-abdbedcbc50b", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2000-01-01T00:00:00+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/8aa76759-80e7-45de-9586-2fbf2cb8b1dc +Location: http://localhost/v1/bays/a3c4fe86-1259-4ed5-890d-16b7a933105c Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "8aa76759-80e7-45de-9586-2fbf2cb8b1dc", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 1, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/8aa76759-80e7-45de-9586-2fbf2cb8b1dc", "rel": "self"}, {"href": "http://localhost/bays/8aa76759-80e7-45de-9586-2fbf2cb8b1dc", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:09.007180+00:00", "updated_at": null} -GET: /v1/baymodels/detail?limit=3&marker=e1c3b888-e9ad-4949-bccb-bdbb96b7ff0c {} -GOT:{'baymodels': [{'uuid': 'a244317f-282f-437f-a77e-a4ea2f47aeb1', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/a244317f-282f-437f-a77e-a4ea2f47aeb1', 'rel': 'self'}, {'href': 'http://localhost/baymodels/a244317f-282f-437f-a77e-a4ea2f47aeb1', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.185426+00:00', 'updated_at': None}]} -GET: /v1/baymodels?limit=3&marker=d49f0241-3012-43f7-a2af-20d6edff402f {} -GOT:{'baymodels': [{'uuid': '3385127c-cea1-40f8-ac4c-d4c49ada3449', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/3385127c-cea1-40f8-ac4c-d4c49ada3449', 'rel': 'self'}, {'href': 'http://localhost/baymodels/3385127c-cea1-40f8-ac4c-d4c49ada3449', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.384494+00:00', 'updated_at': None}]}magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_all_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_all_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name_not_found -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_keypair_id -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_keypair_id ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_set_project_id_and_user_id -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_set_project_id_and_user_id ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_external_network -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_external_network ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_keypair -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_keypair ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_os_distro_image -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_os_distro_image ... ok -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +{"uuid": "a3c4fe86-1259-4ed5-890d-16b7a933105c", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": 20, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/a3c4fe86-1259-4ed5-890d-16b7a933105c", "rel": "self"}, {"href": "http://localhost/bays/a3c4fe86-1259-4ed5-890d-16b7a933105c", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:20.304202+00:00", "updated_at": null} +DELETE: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:get to be performed", "detail": "Policy doesn't allow bay:get to be performed.", "links": []}]} -GET: /v1/bays/not_found {} +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:delete to be performed", "detail": "Policy doesn't allow baymodel:delete to be performed.", "links": []}]} +GET: /v1/baymodels/not_found {} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate not_found could not be found", "detail": "ClusterTemplate not_found could not be found.", "links": []}]} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/f3735892-0454-40c7-8740-3a4f510567a6 +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "f3735892-0454-40c7-8740-3a4f510567a6", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/f3735892-0454-40c7-8740-3a4f510567a6", "rel": "self"}, {"href": "http://localhost/bays/f3735892-0454-40c7-8740-3a4f510567a6", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2000-01-01T00:00:00+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testbay-', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2000-01-01T00:00:00+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/50daad03-2137-4e56-b1b7-2c2c44da74e2 +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "50daad03-2137-4e56-b1b7-2c2c44da74e2", "name": "testbay-", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/50daad03-2137-4e56-b1b7-2c2c44da74e2", "rel": "self"}, {"href": "http://localhost/bays/50daad03-2137-4e56-b1b7-2c2c44da74e2", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.430899+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'df29a3f3-22be-404a-901c-7c4321cfd6b3', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.735548+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_set_project_id_and_user_id +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_set_project_id_and_user_id ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_network_driver +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_network_driver ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_overlay +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_overlay ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_by_bay_name +magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_by_bay_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_one +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_one ... ok +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) +PATCH: /v1/bays/not_found [{'path': '/name', 'value': 'not_found', 'op': 'replace'}] +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate df29a3f3-22be-404a-901c-7c4321cfd6b3 could not be found", "detail": "ClusterTemplate df29a3f3-22be-404a-901c-7c4321cfd6b3 could not be found.", "links": []}]} +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 409 Conflict +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "test-img", "detail": "test-img", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 0, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-img", "detail": "test-img", "links": []}]} -PATCH: /v1/baymodels/example_A [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '0'. Value should be greater or equal to 1", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test_bay123456', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created +Content-Type: application/json +Location: http://localhost/v1/bays/cf83bcde-372b-4a66-9da9-48d953744d40 +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"uuid": "cf83bcde-372b-4a66-9da9-48d953744d40", "name": "test_bay123456", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/cf83bcde-372b-4a66-9da9-48d953744d40", "rel": "self"}, {"href": "http://localhost/bays/cf83bcde-372b-4a66-9da9-48d953744d40", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:19.579985+00:00", "updated_at": null} +GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:update to be performed", "detail": "Policy doesn't allow baymodel:update to be performed.", "links": []}]} -DELETE: /v1/baymodels/clustermodel1 +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:get to be performed", "detail": "Policy doesn't allow baymodel:get to be performed.", "links": []}]} +DELETE: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 GOT:Response: 204 No Content Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 @@ -4865,182 +5036,206 @@ Vary: OpenStack-API-Version GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.316053+00:00', 'updated_at': None} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_doesnt_contain_id -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_doesnt_contain_id ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_flavor -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_flavor ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid_admin -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid_admin ... ok - -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +GOT:Response: 404 Not Found Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.337096+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': 'rexray', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 could not be found", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 could not be found.", "links": []}]} +GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66/detail {} +GOT:Response: 404 Not Found Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.419691+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The %(name)s resource %(id)s could not be found", "detail": "The %(name)s resource %(id)s could not be found.", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/flavor_id', 'value': 'aaa', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "sigma-6-model", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.528205+00:00", "updated_at": null} -POST: /v1/certificates {'cluster_uuid': 'not_found', 'csr': 'fake-csr'} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'value': 'aaa', 'op': 'replace'}] +GOT:Response: 400 Bad Request +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} +PATCH: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:Response: 403 Forbidden +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.6 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow certificate:rotate_ca to be performed", "detail": "Policy doesn't allow certificate:rotate_ca to be performed.", "links": []}]} +GET: /v1/clusters/2e9dd267-8c44-46ed-8867-8862757fc88b/detail {} GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:create to be performed", "detail": "Policy doesn't allow cluster:create to be performed.", "links": []}]}magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_create -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_create ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_multiple_cluster_by_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_multiple_cluster_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_labels -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_labels ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_on_os_distro_image -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_on_os_distro_image ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_valid_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_not_found -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_not_found ... ok -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:detail to be performed", "detail": "Policy doesn't allow cluster:detail to be performed.", "links": []}]} +GET: /v1/clusters/cluster1 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:20.787991+00:00', 'updated_at': None}magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid_admin +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid_admin ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_docker_volume_size +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_docker_volume_size ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_non_existent_cluster_template_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_non_existent_cluster_template_name ... ok /build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -DEBUG [taskflow.engines.action_engine.completer] Applying resolver 'RevertAll(strategy=REVERT_ALL)' to resolve failure 'Failure: ValueError: ' of atom 'magnum.conductor.tasks.heat_tasks.DeleteStack==1.0' -DEBUG [taskflow.engines.action_engine.completer] Modified/tweaked 1 nodes while applying resolver 'RevertAll(strategy=REVERT_ALL)' -DEBUG [taskflow.engines.action_engine.builder] Discarding failure 'Failure: ValueError: ' (in response to outcome 'executed') under completion units request during completion of atom 'magnum.conductor.tasks.heat_tasks.DeleteStack==1.0' (intention is to REVERT) -GET: /v1/bays/41b0dbc9-e90a-4ae1-bd8b-13ce61b958d3/detail {} +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplateObject.test_cluster_template_init +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplateObject.test_cluster_template_init ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_all_with_all_projects +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_all_with_all_projects ... ok +DELETE: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:detail to be performed", "detail": "Policy doesn't allow bay:detail to be performed.", "links": []}]} -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/name', 'value': 'bay_example_B', 'op': 'replace'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:delete to be performed", "detail": "Policy doesn't allow bay:delete to be performed.", "links": []}]} +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "cannot change cluster property(ies) name", "detail": "cannot change cluster property(ies) name.", "links": []}]} -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/baymodel_id', 'value': 'bed30d9f-a2e9-4abf-a76b-e033ff1555e2', 'op': 'replace'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:get to be performed", "detail": "Policy doesn't allow bay:get to be performed.", "links": []}]} +DELETE: /v1/bays/20ce0470-1a7a-4ea7-9755-882dc25616cb +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/baymodel_id', 'op': 'replace', 'value': 'bed30d9f-a2e9-4abf-a76b-e033ff1555e2'}]'", "detail": "Couldn't apply patch '[{'path': '/baymodel_id', 'op': 'replace', 'value': 'bed30d9f-a2e9-4abf-a76b-e033ff1555e2'}]'. Reason: can't replace non-existent object 'baymodel_id'", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 20ce0470-1a7a-4ea7-9755-882dc25616cb could not be found", "detail": "Cluster 20ce0470-1a7a-4ea7-9755-882dc25616cb could not be found.", "links": []}]} +GET: /v1/bays/detail?limit=3&marker=3c8c285e-794b-4332-a748-02fe0e913110 {} +GOT:{'bays': [{'uuid': '221edf3b-60c6-4613-b74a-f0e852441f74', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/221edf3b-60c6-4613-b74a-f0e852441f74', 'rel': 'self'}, {'href': 'http://localhost/bays/221edf3b-60c6-4613-b74a-f0e852441f74', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:19.706299+00:00', 'updated_at': None}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testbay-', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/47298b81-934f-4abe-9f37-d7035cc04193 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': -1} +{"uuid": "47298b81-934f-4abe-9f37-d7035cc04193", "name": "testbay-", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/47298b81-934f-4abe-9f37-d7035cc04193", "rel": "self"}, {"href": "http://localhost/bays/47298b81-934f-4abe-9f37-d7035cc04193", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:19.996857+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute bay_create_timeout", "detail": "Invalid input for field/attribute bay_create_timeout. Value: '-1'. Value should be greater or equal to 0", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-net", "detail": "test-net", "links": []}]} +DELETE: /v1/baymodels/test_baymodel +GOT:Response: 409 Conflict Content-Type: application/json -Location: http://localhost/v1/bays/a4a4a7a9-f1b6-4262-ad17-be75b1aac6c2 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "a4a4a7a9-f1b6-4262-ad17-be75b1aac6c2", "name": "gamma-1-bay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/a4a4a7a9-f1b6-4262-ad17-be75b1aac6c2", "rel": "self"}, {"href": "http://localhost/bays/a4a4a7a9-f1b6-4262-ad17-be75b1aac6c2", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:09.171298+00:00", "updated_at": null} +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple ClusterTemplates exist with same name", "detail": "Multiple ClusterTemplates exist with same name. Please use the ClusterTemplate uuid instead.", "links": []}]} GET: /v1/baymodels {} GOT:{'baymodels': []} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'flannel', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/certificates {'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'csr': 'fake-csr'} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "kubernetes", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "flannel", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.511092+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"bay_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "cluster_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "links": [{"href": "http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "csr": "fake-csr", "pem": "fake-pem"} +POST: /v1/certificates {'cluster_uuid': 'not_found', 'csr': 'fake-csr'} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} +PATCH: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:Response: 202 Accepted +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 +Vary: OpenStack-API-Version + +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:Response: 403 Forbidden +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute keypair_id", "detail": "Invalid input for field/attribute keypair_id. Value: 'None'. Mandatory field missing.", "links": []}]}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_keypair_id -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_keypair_id ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_create -magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_create ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_by_bay_name -magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_by_bay_name ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestRotateCaCertificateNonTls.test_rotate_ca_cert_non_tls -magnum.tests.unit.api.controllers.v1.test_certificate.TestRotateCaCertificateNonTls.test_rotate_ca_cert_non_tls ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail_against_single -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail_against_single ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_many -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_many ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_doesnt_contain_id -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_doesnt_contain_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_non_existent_cluster_template_id -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_non_existent_cluster_template_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_nonexist_image -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_nonexist_image ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name_not_found -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name_not_found ... ok +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:get to be performed", "detail": "Policy doesn't allow cluster:get to be performed.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': 'm2.small', 'flavor_id': None} +GOT:Response: 202 Accepted +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"uuid": "c0ed5ab6-ec8f-404e-a922-54f5f7a1dfd7"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test_cluster123456', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None}magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_valid_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_valid_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_master_flavor_id +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_master_flavor_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_delete +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_delete ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_multiple_cluster_template_by_name +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_multiple_cluster_template_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_all_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_all_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_public_cluster_template_fail +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_public_cluster_template_fail ... ok +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) /usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details FutureWarning) /usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details @@ -5049,52 +5244,103 @@ FutureWarning) /usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'fake-uuid'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 403 Forbidden +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:create to be performed", "detail": "Policy doesn't allow bay:create to be performed.", "links": []}]} +DELETE: /v1/bays/cluster1 +GOT:Response: 204 No Content +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version + +GET: /v1/bays/not_found {} +GOT:Response: 404 Not Found +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'clustermodel1', 'bay_create_timeout': 15} +GOT:Response: 201 Created +Content-Type: application/json +Location: http://localhost/v1/bays/558cb0d7-37b7-4a88-9724-14143588924a +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"uuid": "558cb0d7-37b7-4a88-9724-14143588924a", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/558cb0d7-37b7-4a88-9724-14143588924a", "rel": "self"}, {"href": "http://localhost/bays/558cb0d7-37b7-4a88-9724-14143588924a", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:20.096687+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '123456test_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456test_bay'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +GET: /v1/baymodels/cc27dee5-766d-4dbe-8dfa-2a0f81e2c114/detail {} +GOT:Response: 403 Forbidden +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:detail to be performed", "detail": "Policy doesn't allow baymodel:detail to be performed.", "links": []}]} +GET: /v1/baymodels {} +GOT:{'baymodels': [{'uuid': '36bda790-491b-4ecf-96a6-bf9641ca6d24', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/36bda790-491b-4ecf-96a6-bf9641ca6d24', 'rel': 'self'}, {'href': 'http://localhost/baymodels/36bda790-491b-4ecf-96a6-bf9641ca6d24', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.338473+00:00', 'updated_at': None}, {'uuid': 'ca7cb87a-95c5-4d67-97c0-04d5b1468fda', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/ca7cb87a-95c5-4d67-97c0-04d5b1468fda', 'rel': 'self'}, {'href': 'http://localhost/baymodels/ca7cb87a-95c5-4d67-97c0-04d5b1468fda', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.342313+00:00', 'updated_at': None}, {'uuid': '7dc978d1-565b-4c10-82b2-f89eb7cc3053', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/7dc978d1-565b-4c10-82b2-f89eb7cc3053', 'rel': 'self'}, {'href': 'http://localhost/baymodels/7dc978d1-565b-4c10-82b2-f89eb7cc3053', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.345523+00:00', 'updated_at': None}, {'uuid': '45d500a3-23ca-4a97-886a-1811343bd468', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/45d500a3-23ca-4a97-886a-1811343bd468', 'rel': 'self'}, {'href': 'http://localhost/baymodels/45d500a3-23ca-4a97-886a-1811343bd468', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.349294+00:00', 'updated_at': None}, {'uuid': '81eb5151-4cff-4119-bc52-bca29c605e7f', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/81eb5151-4cff-4119-bc52-bca29c605e7f', 'rel': 'self'}, {'href': 'http://localhost/baymodels/81eb5151-4cff-4119-bc52-bca29c605e7f', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.352663+00:00', 'updated_at': None}]}magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_many +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_many ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_singular +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_singular ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_flavor +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_flavor ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_os_distro_image +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_os_distro_image ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_empty +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_empty ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_update_cluster_with_rollback_disabled +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_update_cluster_with_rollback_disabled ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_update_cluster_with_rollback_enabled +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_update_cluster_with_rollback_enabled ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_node_count_negative +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_node_count_negative ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_node_count_zero +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_node_count_zero ... ok +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fixture.py:232: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() + methods.append((name, inspect.getargspec(method))) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GET: /v1/bays {} GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:create to be performed", "detail": "Policy doesn't allow bay:create to be performed.", "links": []}]} -GET: /v1/bays/detail {} -GOT:{'bays': [{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.546543+00:00', 'updated_at': None}]} +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:get_all to be performed", "detail": "Policy doesn't allow bay:get_all to be performed.", "links": []}]} +GET: /v1/bays/?limit=3 {} +GOT:{'bays': [{'uuid': '06a31565-e34d-403b-99a5-523ad65f72cc', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/06a31565-e34d-403b-99a5-523ad65f72cc', 'rel': 'self'}, {'href': 'http://localhost/bays/06a31565-e34d-403b-99a5-523ad65f72cc', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '6a9ed795-8329-44ae-9698-ee4d72781166', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/6a9ed795-8329-44ae-9698-ee4d72781166', 'rel': 'self'}, {'href': 'http://localhost/bays/6a9ed795-8329-44ae-9698-ee4d72781166', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'aa4d9205-90d0-4442-ac57-937fae80ffd9', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/aa4d9205-90d0-4442-ac57-937fae80ffd9', 'rel': 'self'}, {'href': 'http://localhost/bays/aa4d9205-90d0-4442-ac57-937fae80ffd9', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}], 'next': 'http://localhost/v1/bays?sort_key=id&sort_dir=asc&limit=3&marker=aa4d9205-90d0-4442-ac57-937fae80ffd9'} GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52/detail {} GOT:Response: 404 Not Found Content-Type: application/json @@ -5103,336 +5349,329 @@ Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version {"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The %(name)s resource %(id)s could not be found", "detail": "The %(name)s resource %(id)s could not be found.", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '123456', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +GET: /v1/bays/test_bay {} +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test-bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/9441c417-3f96-40f0-b167-85cbd26601ea Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'. Value should have a maximum character requirement of 242", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '_test_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"uuid": "9441c417-3f96-40f0-b167-85cbd26601ea", "name": "test-bay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/9441c417-3f96-40f0-b167-85cbd26601ea", "rel": "self"}, {"href": "http://localhost/bays/9441c417-3f96-40f0-b167-85cbd26601ea", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:20.998565+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': -1, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '_test_bay'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -DELETE: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '-1'. Value should be greater or equal to 1", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': -1} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:delete to be performed", "detail": "Policy doesn't allow baymodel:delete to be performed.", "links": []}]} -DELETE: /v1/baymodels/not_found -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute bay_create_timeout", "detail": "Invalid input for field/attribute bay_create_timeout. Value: '-1'. Value should be greater or equal to 0", "links": []}]} +GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate not_found could not be found", "detail": "ClusterTemplate not_found could not be found.", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'value': 'img', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:get to be performed", "detail": "Policy doesn't allow baymodel:get to be performed.", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'value': 'aaa', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/image_id' is a mandatory attribute and can not be removed", "detail": "'/image_id' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/keypair_id', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/keypair_id' is a mandatory attribute and can not be removed", "detail": "'/keypair_id' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/coe', 'op': 'remove'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:10.099292+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_not_set -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_not_set ... ok +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/coe' is a mandatory attribute and can not be removed", "detail": "'/coe' is a mandatory attribute and can not be removed", "links": []}]}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_mandatory_property_fail +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_mandatory_property_fail ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_keypair_id +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_keypair_id ... ok magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_network_driver_non_def_config magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_network_driver_non_def_config ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_image_id -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_image_id ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_rotate -magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_rotate ... ok /build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_delete -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_delete ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_docker_volume_size -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_docker_volume_size ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_zero -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_zero ... ok - -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': 'openstack.org', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/certificates {'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'csr': 'fake-csr'} -GOT:Response: 201 Created +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) +GET: /v1/bays/cluster1 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:19.386900+00:00', 'updated_at': None} +GET: /v1/bays {} +GOT:{'bays': [{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 +Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"bay_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "cluster_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "links": [{"href": "http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "csr": "fake-csr", "pem": "fake-pem"} -DELETE: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "test-key", "detail": "test-key", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'foo', 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:delete to be performed", "detail": "Policy doesn't allow cluster:delete to be performed.", "links": []}]} -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_FAILED', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'faults': {'fake_name': 'fake_reason'}, 'created_at': '2021-12-08T21:34:09.598085+00:00', 'updated_at': None} -PATCH: /v1/clusters/10356c4b-bdf8-4035-8541-2f753a39ea21 [{'path': '/name', 'value': 'cluster_example_B', 'op': 'replace'}] -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "master_count must be 1 when master_lb_enabled is False", "detail": "master_count must be 1 when master_lb_enabled is False", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test.bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/a0e8ca5f-bf48-40d8-b07c-edfd475fef72 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 10356c4b-bdf8-4035-8541-2f753a39ea21 could not be found", "detail": "Cluster 10356c4b-bdf8-4035-8541-2f753a39ea21 could not be found.", "links": []}]} -PATCH: /v1/clusters/a1b6aea3-2afe-4229-90cf-8de657e4d3c5 [{'path': '/cluster_id', 'value': 'a1b6aea3-2afe-4229-90cf-8de657e4d3c5', 'op': 'replace'}] -GOT:Response: 404 Not Found +{"uuid": "a0e8ca5f-bf48-40d8-b07c-edfd475fef72", "name": "test.bay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/a0e8ca5f-bf48-40d8-b07c-edfd475fef72", "rel": "self"}, {"href": "http://localhost/bays/a0e8ca5f-bf48-40d8-b07c-edfd475fef72", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:20.309722+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 0} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/6c92b780-3d8d-4868-bd5d-1c7601fa8d7e Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster a1b6aea3-2afe-4229-90cf-8de657e4d3c5 could not be found", "detail": "Cluster a1b6aea3-2afe-4229-90cf-8de657e4d3c5 could not be found.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"uuid": "6c92b780-3d8d-4868-bd5d-1c7601fa8d7e", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 0, "links": [{"href": "http://localhost/v1/bays/6c92b780-3d8d-4868-bd5d-1c7601fa8d7e", "rel": "self"}, {"href": "http://localhost/bays/6c92b780-3d8d-4868-bd5d-1c7601fa8d7e", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:20.474377+00:00", "updated_at": null} +DELETE: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "02f76bc6-70cf-423c-b687-8a84bde3487d"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'notfound', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} +GET: /v1/baymodels {} +GOT:{'baymodels': [{'uuid': '2fb22f29-cfdb-47c1-824d-2363a6fdd314', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/2fb22f29-cfdb-47c1-824d-2363a6fdd314', 'rel': 'self'}, {'href': 'http://localhost/baymodels/2fb22f29-cfdb-47c1-824d-2363a6fdd314', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.738301+00:00', 'updated_at': None}, {'uuid': 'a0bef1e9-6971-499d-857d-fc5d619c906b', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/a0bef1e9-6971-499d-857d-fc5d619c906b', 'rel': 'self'}, {'href': 'http://localhost/baymodels/a0bef1e9-6971-499d-857d-fc5d619c906b', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.740711+00:00', 'updated_at': None}, {'uuid': '5e4fed54-1c4d-4ea2-9274-d799089a2490', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/5e4fed54-1c4d-4ea2-9274-d799089a2490', 'rel': 'self'}, {'href': 'http://localhost/baymodels/5e4fed54-1c4d-4ea2-9274-d799089a2490', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.743182+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/baymodels?sort_key=id&sort_dir=asc&limit=3&marker=5e4fed54-1c4d-4ea2-9274-d799089a2490'}magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_collection_links_default_limit +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_collection_links_default_limit ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_all_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_all_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_singular +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_singular ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_success +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_success ... ok +PATCH: /v1/bays/bay_example_A [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate notfound could not be found", "detail": "ClusterTemplate notfound could not be found.", "links": []}]} -DELETE: /v1/clustertemplates/17fc7b42-78f8-4d8d-a823-c9025053d0eb -GOT:Response: 204 No Content +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:update to be performed", "detail": "Policy doesn't allow bay:update to be performed.", "links": []}]} +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_FAILED', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'bay_faults': {'fake_name': 'fake_reason'}, 'created_at': '2023-01-11T04:01:20.486451+00:00', 'updated_at': None} +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/baymodel_id', 'value': '25012b95-1e36-4dae-916e-8d8a5a8ee84e', 'op': 'replace'}] +GOT:Response: 400 Bad Request +Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version - -DELETE: /v1/clustertemplates/test_cluster_template -GOT:Response: 409 Conflict +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/baymodel_id', 'op': 'replace', 'value': '25012b95-1e36-4dae-916e-8d8a5a8ee84e'}]'", "detail": "Couldn't apply patch '[{'path': '/baymodel_id', 'op': 'replace', 'value': '25012b95-1e36-4dae-916e-8d8a5a8ee84e'}]'. Reason: can't replace non-existent object 'baymodel_id'", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple ClusterTemplates exist with same name", "detail": "Multiple ClusterTemplates exist with same name. Please use the ClusterTemplate uuid instead.", "links": []}]} -GET: /v1/clustertemplates?limit=3&marker=2eafc899-dd9a-46ae-9d61-72ea5210811e {} -GOT:{'clustertemplates': [{'uuid': '4cb03b31-cac1-48b0-9c0a-7557186a7866', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/4cb03b31-cac1-48b0-9c0a-7557186a7866', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/4cb03b31-cac1-48b0-9c0a-7557186a7866', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:10.918876+00:00', 'updated_at': None}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/labels', 'value': "{'etcd_volume_size': '1'}", 'op': 'replace'}] -GOT:Response: 200 OK +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-img", "detail": "test-img", "links": []}]} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"etcd_volume_size": "1"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:11.108771+00:00", "updated_at": null}/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_replace_labels_success -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_replace_labels_success ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_flavor -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_flavor ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_network_driver -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_network_driver ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_network_driver -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_network_driver ... ok - -GET: /v1/clusters/90dc2aeb-d7cd-4eeb-957a-1982d91b2527 {} -GOT:{'uuid': '90dc2aeb-d7cd-4eeb-957a-1982d91b2527', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/90dc2aeb-d7cd-4eeb-957a-1982d91b2527', 'rel': 'self'}, {'href': 'http://localhost/clusters/90dc2aeb-d7cd-4eeb-957a-1982d91b2527', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.963018+00:00', 'updated_at': None} -GET: /v1/clusters/e3b77a33-7e03-4c5a-89bb-922d864f8c8a {} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:create to be performed", "detail": "Policy doesn't allow baymodel:create to be performed.", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 99, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster e3b77a33-7e03-4c5a-89bb-922d864f8c8a could not be found", "detail": "Cluster e3b77a33-7e03-4c5a-89bb-922d864f8c8a could not be found.", "links": []}]} -PATCH: /v1/clusters/test_cluster [{'path': '/name', 'value': 'test_cluster', 'op': 'replace'}] -GOT:Response: 409 Conflict +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 99, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:21.312365+00:00", "updated_at": null} +PATCH: /v1/clusters/cluster_example_A [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted -Content-Type: application/json +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:update to be performed", "detail": "Policy doesn't allow cluster:update to be performed.", "links": []}]} +DELETE: /v1/clusters/8ca1637f-81a5-42c6-8080-df9ccd197d8f +GOT:Response: 204 No Content Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "2226cc04-8856-46de-b3dc-d5817c85339c"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 403 Forbidden -Content-Type: application/json + +DELETE: /v1/clusters/cluster1 +GOT:Response: 204 No Content Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Resource limit exceeded: You have reached the maximum clusters per project, 1", "detail": "Resource limit exceeded: You have reached the maximum clusters per project, 1. You may delete a cluster to make room for a new one.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': 'invalid', 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request + +GET: /v1/clustertemplates {} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute cluster", "detail": "Invalid input for field/attribute cluster. Value: '{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': 'invalid', 'master_flavor_id': None, 'flavor_id': None}'. Value not a valid dict: invalid", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:get_all to be performed", "detail": "Policy doesn't allow clustertemplate:get_all to be performed.", "links": []}]}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_get_all +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_get_all ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_collection_links +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_collection_links ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_flavor +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_flavor ... ok +GET: /v1/bays/f69915ba-659b-4054-ba07-5ebad9bd7026/detail {} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'. Value should have a maximum character requirement of 242", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '123456', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:detail to be performed", "detail": "Policy doesn't allow bay:detail to be performed.", "links": []}]} +DELETE: /v1/bays/test_bay +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '123456test_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} +GET: /v1/bays/detail {} +GOT:{'bays': [{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:20.485309+00:00', 'updated_at': None}]} +GET: /v1/bays {} +GOT:{'bays': []} +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/non-existent', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456test_cluster'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '-test_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None}magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_multi_keypair_same_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_multi_keypair_same_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_get_one -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_non_existent_property_fail -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_non_existent_property_fail ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_image_id -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_image_id ... ok -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'fake-uuid'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) -DELETE: /v1/bays/cluster1 -GOT:Response: 204 No Content +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'", "detail": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'. Reason: can't remove non-existent object 'non-existent'", "links": []}]} +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:20.946890+00:00', 'updated_at': None} +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'op': 'remove'}] +GOT:Response: 200 OK +Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version - -GET: /v1/bays/?limit=3 {} -GOT:{'bays': [{'uuid': 'e6af8c46-ce8c-4269-9989-4cac39b0c1c8', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/e6af8c46-ce8c-4269-9989-4cac39b0c1c8', 'rel': 'self'}, {'href': 'http://localhost/bays/e6af8c46-ce8c-4269-9989-4cac39b0c1c8', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'fd7c842e-ad82-40a4-bc23-a1da9bcc693d', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/fd7c842e-ad82-40a4-bc23-a1da9bcc693d', 'rel': 'self'}, {'href': 'http://localhost/bays/fd7c842e-ad82-40a4-bc23-a1da9bcc693d', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '42c40726-66a6-4b09-83be-ea754f86a76a', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/42c40726-66a6-4b09-83be-ea754f86a76a', 'rel': 'self'}, {'href': 'http://localhost/bays/42c40726-66a6-4b09-83be-ea754f86a76a', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}], 'next': 'http://localhost/v1/bays?sort_key=id&sort_dir=asc&limit=3&marker=42c40726-66a6-4b09-83be-ea754f86a76a'} -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/non-existent', 'op': 'remove'}] -GOT:Response: 400 Bad Request +{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "name": "bay_example_A", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 1, "master_count": 3, "docker_volume_size": null, "labels": {}, "master_flavor_id": null, "flavor_id": null, "bay_create_timeout": 60, "links": [{"href": "http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "stack_id": "047c6319-7abd-4bd9-a033-8c6af0173cd0", "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": "172.17.2.3", "coe_version": null, "container_version": null, "node_addresses": ["172.17.2.4"], "master_addresses": ["172.17.2.18"], "created_at": "2023-01-11T04:01:20.946890+00:00", "updated_at": null} +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 1, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:20.946890+00:00', 'updated_at': '2023-01-11T04:01:21.131441+00:00'} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/9def0d51-e11f-4441-aba9-63bdc855dedc Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'", "detail": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'. Reason: can't remove non-existent object 'non-existent'", "links": []}]} -GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:Response: 403 Forbidden +{"uuid": "9def0d51-e11f-4441-aba9-63bdc855dedc", "name": "bay_example_A", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/9def0d51-e11f-4441-aba9-63bdc855dedc", "rel": "self"}, {"href": "http://localhost/bays/9def0d51-e11f-4441-aba9-63bdc855dedc", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:21.356761+00:00", "updated_at": null} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '-test_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:get to be performed", "detail": "Policy doesn't allow baymodel:get to be performed.", "links": []}]} -DELETE: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '-test_bay'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '123456', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15}magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_integer_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_integer_name ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_without_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_without_name ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_not_found +magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_baymodel_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_not_set +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_not_set ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_dns_nameserver +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_dns_nameserver ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid_not_found +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_uuid_not_found ... ok + +POST: /v1/certificates {'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'csr': 'fake-csr', 'pem': 'fake-pem'} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} -GET: /v1/baymodels/detail {} -GOT:{'baymodels': [{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.703938+00:00', 'updated_at': None}]} -GET: /v1/baymodels {} -GOT:{'baymodels': [{'uuid': '7270eac3-41af-4f05-9a80-8386533b061b', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/7270eac3-41af-4f05-9a80-8386533b061b', 'rel': 'self'}, {'href': 'http://localhost/baymodels/7270eac3-41af-4f05-9a80-8386533b061b', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.847045+00:00', 'updated_at': None}, {'uuid': '2eb58c89-ee8c-4558-a17e-8a7fbeca482f', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/2eb58c89-ee8c-4558-a17e-8a7fbeca482f', 'rel': 'self'}, {'href': 'http://localhost/baymodels/2eb58c89-ee8c-4558-a17e-8a7fbeca482f', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.858330+00:00', 'updated_at': None}, {'uuid': '2bd96def-b85c-48b0-91d5-1e928526db08', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/2bd96def-b85c-48b0-91d5-1e928526db08', 'rel': 'self'}, {'href': 'http://localhost/baymodels/2bd96def-b85c-48b0-91d5-1e928526db08', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.860625+00:00', 'updated_at': None}, {'uuid': 'cd1226f0-44ec-4287-81d3-e86898fb373a', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/cd1226f0-44ec-4287-81d3-e86898fb373a', 'rel': 'self'}, {'href': 'http://localhost/baymodels/cd1226f0-44ec-4287-81d3-e86898fb373a', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.862583+00:00', 'updated_at': None}, {'uuid': '01ec477c-41fc-41ed-8454-5f78ddadabf2', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/01ec477c-41fc-41ed-8454-5f78ddadabf2', 'rel': 'self'}, {'href': 'http://localhost/baymodels/01ec477c-41fc-41ed-8454-5f78ddadabf2', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.865023+00:00', 'updated_at': None}]}magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_many -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_many ... ok -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/uuid', 'op': 'remove'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow certificate:create to be performed", "detail": "Policy doesn't allow certificate:create to be performed.", "links": []}]} +GET: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/uuid' is an internal attribute and can not be updated", "detail": "'/uuid' is an internal attribute and can not be updated", "links": []}]} -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/baymodel_id', 'op': 'remove'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow certificate:get to be performed", "detail": "Policy doesn't allow certificate:get to be performed.", "links": []}]} +GET: /v1/certificates/test_cluster {} +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/baymodel_id' is a mandatory attribute and can not be removed", "detail": "'/baymodel_id' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'value': 4, 'op': 'replace'}] -GOT:Response: 200 OK +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "name": "bay_example_A", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 4, "master_count": 3, "docker_volume_size": null, "labels": {}, "master_flavor_id": null, "flavor_id": null, "bay_create_timeout": 60, "links": [{"href": "http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "stack_id": "047c6319-7abd-4bd9-a033-8c6af0173cd0", "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": "172.17.2.3", "coe_version": null, "container_version": null, "node_addresses": ["172.17.2.4"], "master_addresses": ["172.17.2.18"], "created_at": "2021-12-08T21:34:08.036996+00:00", "updated_at": null} -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 4, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.036996+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} -PATCH: /v1/bays/test_bay [{'path': '/name', 'value': 'test_bay', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:create to be performed", "detail": "Policy doesn't allow cluster:create to be performed.", "links": []}]} +DELETE: /v1/clusters/test_cluster GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 @@ -5440,78 +5679,73 @@ Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version {"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'clustermodel1', 'bay_create_timeout': 15} -GOT:Response: 201 Created +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'value': -1, 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/bays/a5d1c45c-838c-46d9-b50e-9b997efe8530 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "a5d1c45c-838c-46d9-b50e-9b997efe8530", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/a5d1c45c-838c-46d9-b50e-9b997efe8530", "rel": "self"}, {"href": "http://localhost/bays/a5d1c45c-838c-46d9-b50e-9b997efe8530", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.863161+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '-1'. Value should be greater or equal to 1", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-net", "detail": "test-net", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '123456test_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +{"uuid": "c513423c-0015-4f53-8ddd-c728e2edf27a"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456test_bay'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Resource limit exceeded: You have reached the maximum clusters per project, 1", "detail": "Resource limit exceeded: You have reached the maximum clusters per project, 1. You may delete a cluster to make room for a new one.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "test-key", "detail": "test-key", "links": []}]} -DELETE: /v1/baymodels/b3d2b138-6874-466c-933d-4e642d132da9 -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'. Value should have a maximum character requirement of 242", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '123456', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate b3d2b138-6874-466c-933d-4e642d132da9 could not be found", "detail": "ClusterTemplate b3d2b138-6874-466c-933d-4e642d132da9 could not be found.", "links": []}]} -DELETE: /v1/baymodels/test_baymodel -GOT:Response: 409 Conflict +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '123456test_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple ClusterTemplates exist with same name", "detail": "Multiple ClusterTemplates exist with same name. Please use the ClusterTemplate uuid instead.", "links": []}]}magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_multiple_baymodel_by_name -magnum.tests.unit.api.controllers.v1.test_baymodel.TestDelete.test_delete_multiple_baymodel_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_links -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_links ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_singular -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_singular ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_docker_volume_size -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_docker_volume_size ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestCertObject.test_cert_init -magnum.tests.unit.api.controllers.v1.test_certificate.TestCertObject.test_cert_init ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_get_one -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_get_one ... ok -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.194950+00:00', 'updated_at': None} -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'op': 'remove'}] -GOT:Response: 200 OK +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456test_cluster'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]}magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_node_count +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_node_count ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name_multiple_cluster_template +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name_multiple_cluster_template ... ok +DELETE: /v1/bays/not_found +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "name": "bay_example_A", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 1, "master_count": 3, "docker_volume_size": null, "labels": {}, "master_flavor_id": null, "flavor_id": null, "bay_create_timeout": 60, "links": [{"href": "http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "stack_id": "047c6319-7abd-4bd9-a033-8c6af0173cd0", "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": "172.17.2.3", "coe_version": null, "container_version": null, "node_addresses": ["172.17.2.4"], "master_addresses": ["172.17.2.18"], "created_at": "2021-12-08T21:34:08.194950+00:00", "updated_at": null} -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 1, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.194950+00:00', 'updated_at': '2021-12-08T21:34:08.384601+00:00'} +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} +GET: /v1/bays?limit=3&marker=4b74a70a-44d3-439e-a07e-f2898df23341 {} +GOT:{'bays': [{'uuid': 'e72bb375-315d-431f-b52c-31554c877938', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/e72bb375-315d-431f-b52c-31554c877938', 'rel': 'self'}, {'href': 'http://localhost/bays/e72bb375-315d-431f-b52c-31554c877938', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} PATCH: /v1/bays/bay_example_A [{'path': '/node_count', 'value': 4, 'op': 'replace'}] GOT:Response: 202 Accepted Content-Type: application/json @@ -5520,23 +5754,23 @@ Openstack-Api-Version: container-infra 1.2 Vary: OpenStack-API-Version {"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} -PATCH: /v1/bays/bay_example_A/?rollback=True [{'path': '/node_count', 'value': 4, 'op': 'replace'}] -GOT:Response: 202 Accepted +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 15} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.3 +Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute baymodel_id", "detail": "Invalid input for field/attribute baymodel_id. Value: 'None'. Mandatory field missing.", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/3d85d5ea-4bdd-4c12-ab01-15bbb506aa95 +Location: http://localhost/v1/bays/6d7f6e81-c89a-4787-87c1-ce8be2c9e452 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "3d85d5ea-4bdd-4c12-ab01-15bbb506aa95", "name": "bay_example_A", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/3d85d5ea-4bdd-4c12-ab01-15bbb506aa95", "rel": "self"}, {"href": "http://localhost/bays/3d85d5ea-4bdd-4c12-ab01-15bbb506aa95", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:09.288375+00:00", "updated_at": null} +{"uuid": "6d7f6e81-c89a-4787-87c1-ce8be2c9e452", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/6d7f6e81-c89a-4787-87c1-ce8be2c9e452", "rel": "self"}, {"href": "http://localhost/bays/6d7f6e81-c89a-4787-87c1-ce8be2c9e452", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:20.276308+00:00", "updated_at": null} POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 0, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 400 Bad Request Content-Type: application/json @@ -5545,303 +5779,328 @@ Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version {"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute master_count", "detail": "Invalid input for field/attribute master_count. Value: '0'. Value should be greater or equal to 1", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': -1, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GET: /v1/baymodels {} +GOT:Response: 403 Forbidden +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:get_all to be performed", "detail": "Policy doesn't allow baymodel:get_all to be performed.", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/uuid', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '-1'. Value should be greater or equal to 1", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testbay_', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/uuid' is an internal attribute and can not be updated", "detail": "'/uuid' is an internal attribute and can not be updated", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] +GOT:Response: 200 OK Content-Type: application/json -Location: http://localhost/v1/bays/d119bfd1-cc24-4730-8932-da7053feb41a Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "d119bfd1-cc24-4730-8932-da7053feb41a", "name": "testbay_", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/d119bfd1-cc24-4730-8932-da7053feb41a", "rel": "self"}, {"href": "http://localhost/bays/d119bfd1-cc24-4730-8932-da7053feb41a", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:09.733511+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_underscore_at_end_valid_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_underscore_at_end_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_valid_str_int_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_valid_str_int_name ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_detail -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_detail ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_delete -magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_delete ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name_multiple_baymodel -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name_multiple_baymodel ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_one -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_one ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay_not_allow_update -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay_not_allow_update ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_not_found -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_not_found ... ok +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "bay_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.682344+00:00", "updated_at": null} +GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.682344+00:00', 'updated_at': '2023-01-11T04:01:20.793937+00:00'}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_public_baymodel_success +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_public_baymodel_success ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_external_network +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_external_network ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_coe +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_coe ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_image_id +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_image_id ... ok /build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) /usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead return wrapped(*args, **kwargs) -GET: /v1/bays {} -GOT:Response: 403 Forbidden +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/foo', 'value': 'bar', 'op': 'add'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:get_all to be performed", "detail": "Policy doesn't allow bay:get_all to be performed.", "links": []}]} -DELETE: /v1/bays/test_bay -GOT:Response: 409 Conflict +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Adding a new attribute /foo to the root of the resource is not allowed", "detail": "Adding a new attribute /foo to the root of the resource is not allowed.", "links": []}]} +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/baymodel_id', 'value': 'f3f971fc-10a8-4449-9f3b-e7fb3cdb116d', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} -GET: /v1/bays/5af29436-b316-4e86-b8e6-1a8acfcaebe0 {} -GOT:{'uuid': '5af29436-b316-4e86-b8e6-1a8acfcaebe0', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5af29436-b316-4e86-b8e6-1a8acfcaebe0', 'rel': 'self'}, {'href': 'http://localhost/bays/5af29436-b316-4e86-b8e6-1a8acfcaebe0', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.568022+00:00', 'updated_at': None} -GET: /v1/bays/5af29436-b316-4e86-b8e6-1a8acfcaebe0 {} -GOT:{'uuid': '5af29436-b316-4e86-b8e6-1a8acfcaebe0', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5af29436-b316-4e86-b8e6-1a8acfcaebe0', 'rel': 'self'}, {'href': 'http://localhost/bays/5af29436-b316-4e86-b8e6-1a8acfcaebe0', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.568022+00:00', 'updated_at': None} -GET: /bays/5af29436-b316-4e86-b8e6-1a8acfcaebe0 {} -GOT:{'uuid': '5af29436-b316-4e86-b8e6-1a8acfcaebe0', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5af29436-b316-4e86-b8e6-1a8acfcaebe0', 'rel': 'self'}, {'href': 'http://localhost/bays/5af29436-b316-4e86-b8e6-1a8acfcaebe0', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.568022+00:00', 'updated_at': None} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'foo', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/baymodel_id', 'op': 'replace', 'value': 'f3f971fc-10a8-4449-9f3b-e7fb3cdb116d'}]'", "detail": "Couldn't apply patch '[{'path': '/baymodel_id', 'op': 'replace', 'value': 'f3f971fc-10a8-4449-9f3b-e7fb3cdb116d'}]'. Reason: can't replace non-existent object 'baymodel_id'", "links": []}]} +PATCH: /v1/bays/bay_example_A [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +GOT:Response: 200 OK Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "master_count must be 1 when master_lb_enabled is False", "detail": "master_count must be 1 when master_lb_enabled is False", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': None} +{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "name": "bay_example_A", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 4, "master_count": 3, "docker_volume_size": null, "labels": {}, "master_flavor_id": null, "flavor_id": null, "bay_create_timeout": 60, "links": [{"href": "http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "stack_id": "047c6319-7abd-4bd9-a033-8c6af0173cd0", "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": "172.17.2.3", "coe_version": null, "container_version": null, "node_addresses": ["172.17.2.4"], "master_addresses": ["172.17.2.18"], "created_at": "2023-01-11T04:01:21.560848+00:00", "updated_at": null} +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 4, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:21.560848+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': 3, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/80c8cbb7-72fa-46a3-be47-3bbe02f4b5e9 +Location: http://localhost/v1/bays/9a9560be-d215-4c4b-a765-13ccb5e5f448 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "80c8cbb7-72fa-46a3-be47-3bbe02f4b5e9", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": null, "links": [{"href": "http://localhost/v1/bays/80c8cbb7-72fa-46a3-be47-3bbe02f4b5e9", "rel": "self"}, {"href": "http://localhost/bays/80c8cbb7-72fa-46a3-be47-3bbe02f4b5e9", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:09.146519+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 201 Created +{"uuid": "9a9560be-d215-4c4b-a765-13ccb5e5f448", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": 3, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/9a9560be-d215-4c4b-a765-13ccb5e5f448", "rel": "self"}, {"href": "http://localhost/bays/9a9560be-d215-4c4b-a765-13ccb5e5f448", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:21.989901+00:00", "updated_at": null} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +GOT:Response: 403 Forbidden Content-Type: application/json -Location: http://localhost/v1/bays/b08864d2-3269-43b4-8637-49ca3c11a552 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "b08864d2-3269-43b4-8637-49ca3c11a552", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": 20, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/b08864d2-3269-43b4-8637-49ca3c11a552", "rel": "self"}, {"href": "http://localhost/bays/b08864d2-3269-43b4-8637-49ca3c11a552", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:09.335945+00:00", "updated_at": null} -GET: /v1/baymodels/clustermodel1 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.471638+00:00', 'updated_at': None}magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_non_existent_property_fail -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_non_existent_property_fail ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_flavor_id -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_flavor_id ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_public_baymodel_success -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_public_baymodel_success ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_network_driver -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_network_driver ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name_not_found -magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_by_cluster_name -magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_by_cluster_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one ... ok -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) - +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:update to be performed", "detail": "Policy doesn't allow baymodel:update to be performed.", "links": []}]} GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': None, 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.119954+00:00', 'updated_at': '2021-12-08T21:34:09.241150+00:00'} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 99, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:22.290638+00:00', 'updated_at': None} +GET: /v1/baymodels {} +GOT:{'baymodels': [{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:22.417401+00:00', 'updated_at': None}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/external_network_id', 'value': 'aaa', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 99, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.394629+00:00", "updated_at": null} -POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_external_network_id +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_replace_baymodel_with_no_exist_external_network_id ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay_allow_update +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay_allow_update ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_image_name +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_image_name ... ok +DELETE: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "test-img", "detail": "test-img", "links": []}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:delete to be performed", "detail": "Policy doesn't allow bay:delete to be performed.", "links": []}]} +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:update to be performed", "detail": "Policy doesn't allow cluster:update to be performed.", "links": []}]} -DELETE: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 -GOT:Response: 204 No Content +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:get to be performed", "detail": "Policy doesn't allow bay:get to be performed.", "links": []}]} +GET: /v1/bays {} +GOT:{'bays': [{'uuid': 'd7116a34-3ece-45b9-a402-9495d1b341df', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/d7116a34-3ece-45b9-a402-9495d1b341df', 'rel': 'self'}, {'href': 'http://localhost/bays/d7116a34-3ece-45b9-a402-9495d1b341df', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'd6f23a58-da26-4e55-ba60-4df9e4e29725', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/d6f23a58-da26-4e55-ba60-4df9e4e29725', 'rel': 'self'}, {'href': 'http://localhost/bays/d6f23a58-da26-4e55-ba60-4df9e4e29725', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '7292bff6-3b9d-46d7-bc26-2ff1c91d4ec9', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/7292bff6-3b9d-46d7-bc26-2ff1c91d4ec9', 'rel': 'self'}, {'href': 'http://localhost/bays/7292bff6-3b9d-46d7-bc26-2ff1c91d4ec9', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}], 'next': 'http://localhost/v1/bays?sort_key=id&sort_dir=asc&limit=3&marker=7292bff6-3b9d-46d7-bc26-2ff1c91d4ec9'} +GET: /v1/bays/842c3a4b-0bb2-4664-ab4f-3879df9af168 {} +GOT:{'uuid': '842c3a4b-0bb2-4664-ab4f-3879df9af168', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/842c3a4b-0bb2-4664-ab4f-3879df9af168', 'rel': 'self'}, {'href': 'http://localhost/bays/842c3a4b-0bb2-4664-ab4f-3879df9af168', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:22.999089+00:00', 'updated_at': None} +GET: /v1/bays/842c3a4b-0bb2-4664-ab4f-3879df9af168 {} +GOT:{'uuid': '842c3a4b-0bb2-4664-ab4f-3879df9af168', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/842c3a4b-0bb2-4664-ab4f-3879df9af168', 'rel': 'self'}, {'href': 'http://localhost/bays/842c3a4b-0bb2-4664-ab4f-3879df9af168', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:22.999089+00:00', 'updated_at': None} +GET: /bays/842c3a4b-0bb2-4664-ab4f-3879df9af168 {} +GOT:{'uuid': '842c3a4b-0bb2-4664-ab4f-3879df9af168', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/842c3a4b-0bb2-4664-ab4f-3879df9af168', 'rel': 'self'}, {'href': 'http://localhost/bays/842c3a4b-0bb2-4664-ab4f-3879df9af168', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:22.999089+00:00', 'updated_at': None} +GET: /v1/bays {} +GOT:{'bays': [{'uuid': '4099c06f-17ad-4e41-a706-80435f9e896a', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/4099c06f-17ad-4e41-a706-80435f9e896a', 'rel': 'self'}, {'href': 'http://localhost/bays/4099c06f-17ad-4e41-a706-80435f9e896a', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '26b81ee1-bef6-4c0d-84b0-d3582a76b33c', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/26b81ee1-bef6-4c0d-84b0-d3582a76b33c', 'rel': 'self'}, {'href': 'http://localhost/bays/26b81ee1-bef6-4c0d-84b0-d3582a76b33c', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '3f936ecb-9cda-4298-a49d-86afa5a24980', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/3f936ecb-9cda-4298-a49d-86afa5a24980', 'rel': 'self'}, {'href': 'http://localhost/bays/3f936ecb-9cda-4298-a49d-86afa5a24980', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '99c20039-f44d-49c5-961a-7b65aa7c3463', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/99c20039-f44d-49c5-961a-7b65aa7c3463', 'rel': 'self'}, {'href': 'http://localhost/bays/99c20039-f44d-49c5-961a-7b65aa7c3463', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '150bef65-17c4-453d-aea0-f7e8da346dac', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/150bef65-17c4-453d-aea0-f7e8da346dac', 'rel': 'self'}, {'href': 'http://localhost/bays/150bef65-17c4-453d-aea0-f7e8da346dac', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]}magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_many +magnum.tests.unit.api.controllers.v1.test_bay.TestListBay.test_many ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name_multiple_bay +magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name_multiple_bay ... ok +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_capital_letter_start_valid_name +magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_capital_letter_start_valid_name ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_update +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_disallow_update ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_delete +magnum.tests.unit.api.controllers.v1.test_baymodel.TestBayModelPolicyEnforcement.test_policy_only_owner_delete ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name_multiple_baymodel +magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_get_one_by_name_multiple_baymodel ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_flavor +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_flavor ... ok + +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created +Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version - -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:Response: 404 Not Found +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.775660+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 1, 'docker_storage_driver': 'overlay', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 could not be found", "detail": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 could not be found.", "links": []}]} +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 1, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "overlay", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.828672+00:00", "updated_at": null} +POST: /v1/certificates {'csr': 'fake-csr', 'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52'} +GOT:Response: 201 Created +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 +Vary: OpenStack-API-Version +{"bay_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "cluster_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "links": [{"href": "http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "csr": "fake-csr", "pem": "fake-pem"} +GET: /v1/clusters/detail?limit=3&marker=c7ce877e-17c9-4f51-aae2-8f7a89d097bf {} +GOT:{'clusters': [{'uuid': '675b569a-65b3-4b49-84e8-f302a0c74e4e', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/675b569a-65b3-4b49-84e8-f302a0c74e4e', 'rel': 'self'}, {'href': 'http://localhost/clusters/675b569a-65b3-4b49-84e8-f302a0c74e4e', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:21.245995+00:00', 'updated_at': None}]} GET: /v1/clusters {} -GOT:{'clusters': []} -GET: /v1/clusters/test_cluster {} -GOT:Response: 409 Conflict +GOT:{'clusters': [{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:21.640928+00:00', 'updated_at': None} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'op': 'remove'}] +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/foo', 'value': 'bar', 'op': 'add'}] +{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"}magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_ok ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_non_existent_cluster_template_id +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_non_existent_cluster_template_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_labels +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_labels ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_multi_keypair_same_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_multi_keypair_same_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_non_existent_cluster_template_id +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_non_existent_cluster_template_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_detail +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_detail ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_one +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_one ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_network_driver +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_network_driver ... ok + +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '_test_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Adding a new attribute /foo to the root of the resource is not allowed", "detail": "Adding a new attribute /foo to the root of the resource is not allowed.", "links": []}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/cluster_template_id', 'value': 'e4aa0dd8-c761-4250-9592-d33e2220aafa', 'op': 'replace'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '_test_bay'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +GET: /v1/baymodels/detail?limit=3&marker=3d75893d-7403-441d-8d2a-05c70253c721 {} +GOT:{'baymodels': [{'uuid': '49a4c573-22ef-43aa-b773-b2766121f33c', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/49a4c573-22ef-43aa-b773-b2766121f33c', 'rel': 'self'}, {'href': 'http://localhost/baymodels/49a4c573-22ef-43aa-b773-b2766121f33c', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.480631+00:00', 'updated_at': None}]} +POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/f25076f7-d8a8-4f59-ba7b-671e3d0393f1 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "cannot change cluster property(ies) cluster_template_id", "detail": "cannot change cluster property(ies) cluster_template_id.", "links": []}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +{"uuid": "f25076f7-d8a8-4f59-ba7b-671e3d0393f1", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/f25076f7-d8a8-4f59-ba7b-671e3d0393f1", "rel": "self"}, {"href": "http://localhost/baymodels/f25076f7-d8a8-4f59-ba7b-671e3d0393f1", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.651915+00:00", "updated_at": null} +GET: /v1/clusters {} +GOT:{'clusters': [{'uuid': '40882699-1436-4772-a3ac-adc99a9a75aa', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/40882699-1436-4772-a3ac-adc99a9a75aa', 'rel': 'self'}, {'href': 'http://localhost/clusters/40882699-1436-4772-a3ac-adc99a9a75aa', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'c783ca4f-5740-49c1-9bea-77cf8e68d38a', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/c783ca4f-5740-49c1-9bea-77cf8e68d38a', 'rel': 'self'}, {'href': 'http://localhost/clusters/c783ca4f-5740-49c1-9bea-77cf8e68d38a', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'bf13391f-8902-46c2-ab69-42292601a9fa', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/bf13391f-8902-46c2-ab69-42292601a9fa', 'rel': 'self'}, {'href': 'http://localhost/clusters/bf13391f-8902-46c2-ab69-42292601a9fa', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '34dda098-e616-4d5c-9926-b2b43606b1fc', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/34dda098-e616-4d5c-9926-b2b43606b1fc', 'rel': 'self'}, {'href': 'http://localhost/clusters/34dda098-e616-4d5c-9926-b2b43606b1fc', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} +GET: /v1/clusters/5e65d284-5727-4ab8-80f6-0f1d26a2b9a1 {} +GOT:{'uuid': '5e65d284-5727-4ab8-80f6-0f1d26a2b9a1', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5e65d284-5727-4ab8-80f6-0f1d26a2b9a1', 'rel': 'self'}, {'href': 'http://localhost/clusters/5e65d284-5727-4ab8-80f6-0f1d26a2b9a1', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:21.281671+00:00', 'updated_at': None} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'clustermodel1', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 4, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:10.919029+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'}magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_set_project_id_and_user_id -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_set_project_id_and_user_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_flavor -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_flavor ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_master_count -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_master_count ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_get_all -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_get_all ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_external_network_id -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_external_network_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_keypair_id -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_keypair_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_links -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_links ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_no_project_id -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_no_project_id ... ok -GET: /v1/ {} -GOT:{'id': 'v1', 'media_types': [{'base': 'application/json', 'type': 'application/vnd.openstack.magnum.v1+json'}], 'links': [{'href': 'http://localhost/v1/', 'rel': 'self'}, {'href': 'http://docs.openstack.org/developer/magnum/dev/api-spec-v1.html', 'rel': 'describedby', 'type': 'text/html'}], 'baymodels': [{'href': 'http://localhost/v1/baymodels/', 'rel': 'self'}, {'href': 'http://localhost/baymodels/', 'rel': 'bookmark'}], 'bays': [{'href': 'http://localhost/v1/bays/', 'rel': 'self'}, {'href': 'http://localhost/bays/', 'rel': 'bookmark'}], 'clustertemplates': [{'href': 'http://localhost/v1/clustertemplates/', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/', 'rel': 'bookmark'}], 'clusters': [{'href': 'http://localhost/v1/clusters/', 'rel': 'self'}, {'href': 'http://localhost/clusters/', 'rel': 'bookmark'}], 'quotas': [{'href': 'http://localhost/v1/quotas/', 'rel': 'self'}, {'href': 'http://localhost/quotas/', 'rel': 'bookmark'}], 'certificates': [{'href': 'http://localhost/v1/certificates/', 'rel': 'self'}, {'href': 'http://localhost/certificates/', 'rel': 'bookmark'}], 'mservices': [{'href': 'http://localhost/v1/mservices/', 'rel': 'self'}, {'href': 'http://localhost/mservices/', 'rel': 'bookmark'}], 'stats': [{'href': 'http://localhost/v1/stats/', 'rel': 'self'}, {'href': 'http://localhost/stats/', 'rel': 'bookmark'}], 'federations': [{'href': 'http://localhost/v1/federations/', 'rel': 'self'}, {'href': 'http://localhost/federations/', 'rel': 'bookmark'}]} -DELETE: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 -GOT:Response: 403 Forbidden +{"uuid": "17ae1bb4-7c1d-47be-8c43-5fb5103afd8b"}magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_cluster_template_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_cluster_template_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_docker_volume_size +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_docker_volume_size ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_on_os_distro_image +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_on_os_distro_image ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_none +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_none ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_cluster +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail_against_single +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail_against_single ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid_not_found +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid_not_found ... ok + +GET: /v1/baymodels/6b54454f-a715-405b-9bb4-d5a89cb9791c {} +GOT:{'uuid': '6b54454f-a715-405b-9bb4-d5a89cb9791c', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/6b54454f-a715-405b-9bb4-d5a89cb9791c', 'rel': 'self'}, {'href': 'http://localhost/baymodels/6b54454f-a715-405b-9bb4-d5a89cb9791c', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.334767+00:00', 'updated_at': None} +GET: /v1/baymodels/6b54454f-a715-405b-9bb4-d5a89cb9791c {} +GOT:{'uuid': '6b54454f-a715-405b-9bb4-d5a89cb9791c', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/6b54454f-a715-405b-9bb4-d5a89cb9791c', 'rel': 'self'}, {'href': 'http://localhost/baymodels/6b54454f-a715-405b-9bb4-d5a89cb9791c', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.334767+00:00', 'updated_at': None} +GET: /baymodels/6b54454f-a715-405b-9bb4-d5a89cb9791c {} +GOT:{'uuid': '6b54454f-a715-405b-9bb4-d5a89cb9791c', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/6b54454f-a715-405b-9bb4-d5a89cb9791c', 'rel': 'self'}, {'href': 'http://localhost/baymodels/6b54454f-a715-405b-9bb4-d5a89cb9791c', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.334767+00:00', 'updated_at': None} +PATCH: /v1/baymodels/c112a199-05f7-4718-9072-776d70ddfb79 [{'path': '/name', 'value': 'bay_model_example_B', 'op': 'add'}] +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:delete to be performed", "detail": "Policy doesn't allow bay:delete to be performed.", "links": []}]} -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate c112a199-05f7-4718-9072-776d70ddfb79 could not be found", "detail": "ClusterTemplate c112a199-05f7-4718-9072-776d70ddfb79 could not be found.", "links": []}]} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'flannel', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow bay:update to be performed", "detail": "Policy doesn't allow bay:update to be performed.", "links": []}]} -GET: /v1/bays/cluster1 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:08.478501+00:00', 'updated_at': None} -GET: /v1/bays/test_bay {} -GOT:Response: 409 Conflict +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "kubernetes", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "flannel", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.734595+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_FAILED', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'bay_faults': {}, 'created_at': '2021-12-08T21:34:08.978529+00:00', 'updated_at': None} -GET: /v1/bays {} -GOT:{'bays': [{'uuid': '7e506f5f-f868-4ae2-a7ad-e786b433f9c6', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/7e506f5f-f868-4ae2-a7ad-e786b433f9c6', 'rel': 'self'}, {'href': 'http://localhost/bays/7e506f5f-f868-4ae2-a7ad-e786b433f9c6', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '1db43186-a95d-4527-85e9-256ab6eea8b8', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/1db43186-a95d-4527-85e9-256ab6eea8b8', 'rel': 'self'}, {'href': 'http://localhost/bays/1db43186-a95d-4527-85e9-256ab6eea8b8', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'fc695118-656e-45d1-86a5-03af1dc81d1d', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/fc695118-656e-45d1-86a5-03af1dc81d1d', 'rel': 'self'}, {'href': 'http://localhost/bays/fc695118-656e-45d1-86a5-03af1dc81d1d', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '38621aec-3c77-4e05-bd76-6e465fa520ab', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/38621aec-3c77-4e05-bd76-6e465fa520ab', 'rel': 'self'}, {'href': 'http://localhost/bays/38621aec-3c77-4e05-bd76-6e465fa520ab', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '9c44fff1-056d-42b2-89ad-28b1a9a091fb', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/9c44fff1-056d-42b2-89ad-28b1a9a091fb', 'rel': 'self'}, {'href': 'http://localhost/bays/9c44fff1-056d-42b2-89ad-28b1a9a091fb', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/foo', 'value': 'bar', 'op': 'add'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test", "detail": "test", "links": []}]}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_external_network +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_external_network ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_keypair_id +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_keypair_id ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name_not_found +magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_delete +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_delete ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_with_name_not_found +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_with_name_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail_against_single +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail_against_single ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_ext_network +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_ext_network ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_multi_images_same_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_multi_images_same_name ... ok + +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Adding a new attribute /foo to the root of the resource is not allowed", "detail": "Adding a new attribute /foo to the root of the resource is not allowed.", "links": []}]} -PATCH: /v1/bays/bay_example_A [{'path': '/node_count', 'value': 4, 'op': 'replace'}]magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPatch.test_replace_ok_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_empty_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_invalid_empty_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_at_end_valid_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_at_end_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail_against_single -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_detail_against_single ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay_allow_update -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_update_baymodel_with_bay_allow_update ... ok -DELETE: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 -GOT:Response: 204 No Content +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "test-img", "detail": "test-img", "links": []}]} +GET: /v1/clusters {} +GOT:Response: 403 Forbidden +Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version - -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:get_all to be performed", "detail": "Policy doesn't allow cluster:get_all to be performed.", "links": []}]} +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 could not be found", "detail": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 could not be found.", "links": []}]} -GET: /v1/bays {} -GOT:{'bays': [{'uuid': '1104fe34-e6f2-4c4f-a0f6-62fe7447141d', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/1104fe34-e6f2-4c4f-a0f6-62fe7447141d', 'rel': 'self'}, {'href': 'http://localhost/bays/1104fe34-e6f2-4c4f-a0f6-62fe7447141d', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'f2958416-de32-407c-b035-6ffac29a6cfc', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/f2958416-de32-407c-b035-6ffac29a6cfc', 'rel': 'self'}, {'href': 'http://localhost/bays/f2958416-de32-407c-b035-6ffac29a6cfc', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '84899f9a-b182-4d99-9349-75a85ee50fe8', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/84899f9a-b182-4d99-9349-75a85ee50fe8', 'rel': 'self'}, {'href': 'http://localhost/bays/84899f9a-b182-4d99-9349-75a85ee50fe8', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}], 'next': 'http://localhost/v1/bays?sort_key=id&sort_dir=asc&limit=3&marker=84899f9a-b182-4d99-9349-75a85ee50fe8'} -GET: /v1/bays/detail?limit=3&marker=2db09100-8414-4ac8-b148-befbd7b4b3fb {} -GOT:{'bays': [{'uuid': '0184f1ac-978e-4274-8fa4-6cbc1125f354', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/0184f1ac-978e-4274-8fa4-6cbc1125f354', 'rel': 'self'}, {'href': 'http://localhost/bays/0184f1ac-978e-4274-8fa4-6cbc1125f354', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:09.646615+00:00', 'updated_at': None}]} -GET: /v1/bays {} -GOT:{'bays': []} -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_FAILED', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'bay_faults': {'fake_name': 'fake_reason'}, 'created_at': '2021-12-08T21:34:10.014848+00:00', 'updated_at': None} -GET: /v1/bays {} -GOT:{'bays': [{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} -PATCH: /v1/bays/not_found [{'path': '/name', 'value': 'not_found', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:get to be performed", "detail": "Policy doesn't allow cluster:get to be performed.", "links": []}]} +GET: /v1/clusters?limit=3&marker=3a17723d-44fc-43f8-b6b9-ccf56fa04233 {} +GOT:{'clusters': [{'uuid': '5a994c7f-7193-4eb2-a6fe-148f7704a596', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5a994c7f-7193-4eb2-a6fe-148f7704a596', 'rel': 'self'}, {'href': 'http://localhost/clusters/5a994c7f-7193-4eb2-a6fe-148f7704a596', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} +GET: /v1/clusters/not_found {} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 @@ -5849,235 +6108,315 @@ Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version {"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '-test_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +PATCH: /v1/clusters/test_cluster [{'path': '/name', 'value': 'test_cluster', 'op': 'replace'}] +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '-test_bay'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test-bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} +PATCH: /v1/clusters/7dcf7355-a6a9-4e98-812e-02527da3a3a0 [{'path': '/cluster_id', 'value': '7dcf7355-a6a9-4e98-812e-02527da3a3a0', 'op': 'replace'}] +GOT:Response: 404 Not Found Content-Type: application/json -Location: http://localhost/v1/bays/32f87e6d-0bf4-45ff-9e24-1212dfa2caa8 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "32f87e6d-0bf4-45ff-9e24-1212dfa2caa8", "name": "test-bay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/32f87e6d-0bf4-45ff-9e24-1212dfa2caa8", "rel": "self"}, {"href": "http://localhost/bays/32f87e6d-0bf4-45ff-9e24-1212dfa2caa8", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:10.877911+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15}magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_multi_images_same_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_multi_images_same_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_master_count -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_no_master_count ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_invalid_at_start_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_invalid_at_start_name ... ok -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_valid_name -magnum.tests.unit.api.controllers.v1.test_bay.TestPost.test_create_bay_with_period_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_collection_links -magnum.tests.unit.api.controllers.v1.test_baymodel.TestListBayModel.test_collection_links ... ok - -GET: /v1/baymodels/not_found {} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 7dcf7355-a6a9-4e98-812e-02527da3a3a0 could not be found", "detail": "Cluster 7dcf7355-a6a9-4e98-812e-02527da3a3a0 could not be found.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'foo', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 1, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate not_found could not be found", "detail": "ClusterTemplate not_found could not be found.", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/keypair_id', 'value': 'aaa', 'op': 'replace'}] -GOT:Response: 404 Not Found +{"uuid": "5bb6952c-44b3-4ea3-908f-1f0a80e4ee43"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "aaa", "detail": "aaa", "links": []}]} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"uuid": "2c250c3d-a79e-47ff-836b-a2c8beb9087c"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': -1, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.874689+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute create_timeout", "detail": "Invalid input for field/attribute create_timeout. Value: '-1'. Value should be greater or equal to 0", "links": []}]} +DELETE: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test", "detail": "test", "links": []}]} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:delete to be performed", "detail": "Policy doesn't allow clustertemplate:delete to be performed.", "links": []}]} +DELETE: /v1/clustertemplates/not_found GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Test", "detail": "Test", "links": []}]} -POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate not_found could not be found", "detail": "ClusterTemplate not_found could not be found.", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/baymodels/9382413e-c798-472a-954c-15c1e7a38066 +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "9382413e-c798-472a-954c-15c1e7a38066", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/9382413e-c798-472a-954c-15c1e7a38066", "rel": "self"}, {"href": "http://localhost/baymodels/9382413e-c798-472a-954c-15c1e7a38066", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:10.243975+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 1, 'docker_storage_driver': 'overlay', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_overlay -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_overlay ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterObject.test_cluster_init -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterObject.test_cluster_init ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_docker_volume_size -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_docker_volume_size ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_keypair -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_keypair ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_flavor_id -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_flavor_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_keypair -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_keypair ... ok +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2000-01-01T00:00:00+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_network_driver +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_network_driver ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_os_distro_image +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_os_distro_image ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_unjoin_non_member_cluster +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_unjoin_non_member_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_generate_uuid +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_generate_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_no_dns_zone_name +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_no_dns_zone_name ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_internal_attr +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_internal_attr ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_invalid_name +magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_invalid_name ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_non_exist +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_non_exist ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_missing +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_missing ... ok +magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_server_debug_on_serverfault +magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_server_debug_on_serverfault ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_forced_down +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_forced_down ... ok +magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_http_config_workers +magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_http_config_workers ... ok +magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https_no_cert +magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https_no_cert ... ok +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanCert.test_barbican_cert_none_values +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanCert.test_barbican_cert_none_values ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_private_key_fail +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_private_key_fail ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_without_intermediate +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_without_intermediate ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_cached +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_cached ... ok +magnum.tests.unit.common.test_context.ContextTestCase.test_context_with_roles +magnum.tests.unit.common.test_context.ContextTestCase.test_context_with_roles ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trustee +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trustee ... ok -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'etcd_volume_size': '1'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.108771+00:00', 'updated_at': '2021-12-08T21:34:11.256831+00:00'} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +GET: /v1/clusters/db370d31-e757-4cd5-98fb-c2fcfa895886 {} +GOT:{'uuid': 'db370d31-e757-4cd5-98fb-c2fcfa895886', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/db370d31-e757-4cd5-98fb-c2fcfa895886', 'rel': 'self'}, {'href': 'http://localhost/clusters/db370d31-e757-4cd5-98fb-c2fcfa895886', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'db370d31-e757-4cd5-98fb-c2fcfa895886', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:20.953749+00:00', 'updated_at': None} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 3, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:11.333078+00:00", "updated_at": null} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'bad_driver', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"uuid": "d4c85dfe-eac0-45f4-94e8-751ffbaac2be"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'notfound', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Network driver type bad_driver is not supported, expecting a flannel/calico/unspecified network driver", "detail": "Network driver type bad_driver is not supported, expecting a flannel/calico/unspecified network driver.", "links": []}]} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'flannel', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate notfound could not be found", "detail": "ClusterTemplate notfound could not be found.", "links": []}]} +DELETE: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 +GOT:Response: 204 No Content +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version + +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:Response: 404 Not Found Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "kubernetes", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "flannel", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:11.407258+00:00", "updated_at": null} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'mesos', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_with_disabled_driver -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_with_disabled_driver ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_unjoin_non_existent_cluster -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_unjoin_non_existent_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_non_admin -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_non_admin ... ok +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 could not be found", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 could not be found.", "links": []}]} +GET: /v1/clustertemplates {} +GOT:{'clustertemplates': [{'uuid': '527a5139-e64a-46d4-9e57-93916c20e7cf', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/527a5139-e64a-46d4-9e57-93916c20e7cf', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/527a5139-e64a-46d4-9e57-93916c20e7cf', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': '0', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:21.540930+00:00', 'updated_at': None}, {'uuid': '934c5a00-9268-4a4a-99ff-0a7ad0859f1d', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/934c5a00-9268-4a4a-99ff-0a7ad0859f1d', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/934c5a00-9268-4a4a-99ff-0a7ad0859f1d', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': '1', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:21.543529+00:00', 'updated_at': None}, {'uuid': '69740907-ebe7-4894-b1ad-8356fc75f661', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/69740907-ebe7-4894-b1ad-8356fc75f661', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/69740907-ebe7-4894-b1ad-8356fc75f661', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': '2', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:21.545502+00:00', 'updated_at': None}, {'uuid': '79b408fa-6a2a-46d4-b396-f3f07c6ccbcc', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/79b408fa-6a2a-46d4-b396-f3f07c6ccbcc', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/79b408fa-6a2a-46d4-b396-f3f07c6ccbcc', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': '3', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:21.547434+00:00', 'updated_at': None}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'cluster_model_example_B', 'op': 'replace'}] +GOT:Response: 200 OK +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_B", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:21.609936+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_singular +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_singular ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_public_cluster_template_success +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_public_cluster_template_success ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_network_driver +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_network_driver ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_all_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_all_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_not_all_tenants +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_not_all_tenants ... ok magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_with_non_admin_context magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_with_non_admin_context ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_patch_quota_not_found -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_patch_quota_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_frombasetype_no_value -magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_frombasetype_no_value ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_environment_variables_bad_json -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_environment_variables_bad_json ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_cluster_type_supported -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_cluster_type_supported ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_invalid_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_invalid_create ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_valid_vm -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_valid_vm ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_valid_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_valid_create ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_noauth -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_noauth ... ok -magnum.tests.unit.common.test_context.ContextTestCase.test_context_with_roles -magnum.tests.unit.common.test_context.ContextTestCase.test_context_with_roles ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_access_info -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_access_info ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_no_credentials -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_no_credentials ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_token -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_token ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trust_with_limit_roles -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trust_with_limit_roles ... ok -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_entity -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_entity ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup -magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup_transport_null -magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup_transport_null ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_get_server -magnum.tests.unit.common.test_rpc.TestRpc.test_get_server ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_60 -magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_60 ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_get_root_helper -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_get_root_helper ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_no_retry_on_success -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_no_retry_on_success ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_retry_on_failure -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_retry_on_failure ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_validate_and_normalize_mac -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_validate_and_normalize_mac ... ok -magnum.tests.unit.common.x509.test_operations.TestX509Operations.test_decrypt_key -magnum.tests.unit.common.x509.test_operations.TestX509Operations.test_decrypt_key ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_issuer_name -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_issuer_name ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_snapshot_complete -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_snapshot_complete ... ok -magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_create_federation -magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_create_federation ... ok +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_self_stats_without_param +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_self_stats_without_param ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_valid_mac_addr +magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_valid_mac_addr ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch_add_attr_not_exist +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch_add_attr_not_exist ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_by_name +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_by_name ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_by_uuid +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_by_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_docker_memory +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_docker_memory ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_isolation_invalid +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_isolation_invalid ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_label +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_label ... ok +magnum.tests.unit.api.test_expose.TestExpose.test_expose_with_rest_content_types +magnum.tests.unit.api.test_expose.TestExpose.test_expose_with_rest_content_types ... ok + +GET: /v1/clustertemplates/?limit=3 {} +GOT:{'clustertemplates': [{'uuid': '3b04f946-37c3-4b43-b511-19f7ed8c8023', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/3b04f946-37c3-4b43-b511-19f7ed8c8023', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/3b04f946-37c3-4b43-b511-19f7ed8c8023', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.129868+00:00', 'updated_at': None}, {'uuid': '63ed9280-c50a-4232-bb3e-f59e4c4bf0df', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/63ed9280-c50a-4232-bb3e-f59e4c4bf0df', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/63ed9280-c50a-4232-bb3e-f59e4c4bf0df', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.132246+00:00', 'updated_at': None}, {'uuid': '508cd144-f77f-4e77-8dd6-2196c4768afc', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/508cd144-f77f-4e77-8dd6-2196c4768afc', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/508cd144-f77f-4e77-8dd6-2196c4768afc', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.134970+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/clustertemplates?sort_key=id&sort_dir=asc&limit=3&marker=508cd144-f77f-4e77-8dd6-2196c4768afc'} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created +Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:22.284886+00:00", "updated_at": null} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': -12, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 65536, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 0, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_apiserver_port +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_apiserver_port ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_unjoin_non_existent_cluster +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_unjoin_non_existent_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_without_name +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_without_name ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_no_project_id +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_no_project_id ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_tenants_false +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_tenants_false ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_with_pagination_limit +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_with_pagination_limit ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_update_mandatory_attr +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_update_mandatory_attr ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_multiple_valid_network +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_multiple_valid_network ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_valid_image_by_id +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_valid_image_by_id ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_isolation +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_isolation ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_without_validator +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_without_validator ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_two_allowed_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_two_allowed_create ... ok +magnum.tests.unit.cmd.test_conductor.TestMagnumConductor.test_conductor_config_workers +magnum.tests.unit.cmd.test_conductor.TestMagnumConductor.test_conductor_config_workers ... ok +magnum.tests.unit.common.cert_manager.test_cert_manager.TestCertManager.test_local_cert_manager +magnum.tests.unit.common.cert_manager.test_cert_manager.TestCertManager.test_local_cert_manager ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_with_fail +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_with_fail ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_without_pkp +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_without_pkp ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_region +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_region ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_cached +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_cached ... ok +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_list_instances +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_list_instances ... ok +magnum.tests.unit.common.test_docker_utils.TestDockerUtils.test_is_docker_api_version_atleast +magnum.tests.unit.common.test_docker_utils.TestDockerUtils.test_is_docker_api_version_atleast ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_password_legacy +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_password_legacy ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_get_client +magnum.tests.unit.common.test_rpc.TestRpc.test_get_client ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_get_client_profiler_enabled +magnum.tests.unit.common.test_rpc.TestRpc.test_get_client_profiler_enabled ... ok +magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_k8s_quantity +magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_k8s_quantity ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_with_unicode_csr +magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_with_unicode_csr ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_sign_node_certificate_without_cluster_name +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_sign_node_certificate_without_cluster_name ... ok +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action_on_raise +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action_on_raise ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_only_required +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_only_required ... ok +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_only_required +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_only_required ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_compute_memory_util +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_compute_memory_util ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_compute_cpu_util +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_compute_cpu_util ... ok magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_compute_memory_util magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_compute_memory_util ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_compute_memory_util -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_compute_memory_util ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_get_metric_unit +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_get_metric_unit ... ok magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_ping_conductor magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_ping_conductor ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_all_cluster_stats -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_all_cluster_stats ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_name -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_name ... ok -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_create_magnum_service -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_create_magnum_service ... ok -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_create_magnum_service_failure_for_dup -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_create_magnum_service_failure_for_dup ... ok -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_destroy_magnum_service -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_destroy_magnum_service ... ok -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_destroy_magnum_service_failure -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_destroy_magnum_service_failure ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_by_uuid -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_by_uuid ... ok -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_node_count_by_update -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_node_count_by_update ... ok -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_sync_cluster_status -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_sync_cluster_status ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_params_insecure -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_params_insecure ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_invalid -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_invalid ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_swarm_get_heat_param -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_swarm_get_heat_param ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_master_address -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_master_address ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_fail -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_fail ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_ubuntu_mesos_definition -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_ubuntu_mesos_definition ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_save -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_save ... ok -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_uuid -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_uuid ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_load_in_base -magnum.tests.unit.objects.test_objects.TestObject.test_load_in_base ... ok -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_same_revision_does_not_backport -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_same_revision_does_not_backport ... ok -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_save -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_save ... ok -magnum.tests.unit.test_hacking.HackingTestCase.test_check_explicit_underscore_import -magnum.tests.unit.test_hacking.HackingTestCase.test_check_explicit_underscore_import ... ok +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_two_container_hosts +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_two_container_hosts ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_name +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_name ... ok +magnum.tests.unit.conf.test_conf.ConfTestCase.test_append_config +magnum.tests.unit.conf.test_conf.ConfTestCase.test_append_config ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid_that_does_not_exist +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid_that_does_not_exist ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_create_federation_already_exists +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_create_federation_already_exists ... ok +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_list +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_list ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_sorted +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_sorted ... ok +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_that_does_not_exist +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_that_does_not_exist ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_if_cluster_template_is_secure +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_if_cluster_template_is_secure ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_if_cluster_template_is_secure +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_if_cluster_template_is_secure ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list_all +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list_all ... ok +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_to_primitive +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_to_primitive ... ok +magnum.tests.unit.objects.test_fields.TestServerType.test_stringify +magnum.tests.unit.objects.test_fields.TestServerType.test_stringify ... ok +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_destroy +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_destroy ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_get_changes +magnum.tests.unit.objects.test_objects.TestObject.test_get_changes ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_hydration_bad_ns +magnum.tests.unit.objects.test_objects.TestObject.test_hydration_bad_ns ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_unknown_objtype +magnum.tests.unit.objects.test_objects.TestObject.test_unknown_objtype ... ok +magnum.tests.unit.objects.test_objects.TestObjectVersions.test_versions +magnum.tests.unit.objects.test_objects.TestObjectVersions.test_versions ... ok +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_list +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_list ... ok +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_not_changes +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_not_changes ... ok +magnum.tests.unit.test_hacking.HackingTestCase.test_dict_constructor_with_list_copy +magnum.tests.unit.test_hacking.HackingTestCase.test_dict_constructor_with_list_copy ... ok GOT:Response: 400 Bad Request Content-Type: application/json @@ -6085,429 +6424,404 @@ Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '-test_cluster'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '.test_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/6dfb8015-de73-48ba-bafa-338a5ab564f9 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '.test_cluster'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '_test_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"uuid": "6dfb8015-de73-48ba-bafa-338a5ab564f9", "name": "eta-18-bay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/6dfb8015-de73-48ba-bafa-338a5ab564f9", "rel": "self"}, {"href": "http://localhost/bays/6dfb8015-de73-48ba-bafa-338a5ab564f9", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:21.711861+00:00", "updated_at": null} +DELETE: /v1/baymodels/23247981-b919-4dd9-a991-fe4026a5a0d3 +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '_test_cluster'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate 23247981-b919-4dd9-a991-fe4026a5a0d3 could not be found", "detail": "ClusterTemplate 23247981-b919-4dd9-a991-fe4026a5a0d3 could not be found.", "links": []}]} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: ''. Value should have a minimum character requirement of 1", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 409 Conflict +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:21.922458+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '1.1.2', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '1.1..1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': 'openstack.org', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GET: /v1/clusters/3dc8c6bc-a128-4949-b7c3-681d074eade3 {} +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "keypair2", "detail": "keypair2", "links": []}]} -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 3dc8c6bc-a128-4949-b7c3-681d074eade3 could not be found", "detail": "Cluster 3dc8c6bc-a128-4949-b7c3-681d074eade3 could not be found.", "links": []}]} +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_FAILED', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'faults': {'fake_name': 'fake_reason'}, 'created_at': '2023-01-11T04:01:22.185812+00:00', 'updated_at': None}magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_failed_cluster +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_failed_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_doesnt_contain_id +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_doesnt_contain_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_no_cluster_template_id +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_no_cluster_template_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_master_count_zero +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_master_count_zero ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_timeout +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_timeout ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_nonexist_image +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_nonexist_image ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_create +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_create ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_name +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_create_cluster_template_with_no_os_distro_image +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_create_cluster_template_with_no_os_distro_image ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_non_existent_property_fail +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_non_existent_property_fail ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_image_id +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_image_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster ... ok + +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'bay_model_example_B', 'op': 'replace'}] +GOT:Response: 200 OK Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:get to be performed", "detail": "Policy doesn't allow clustertemplate:get to be performed.", "links": []}]} -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:10.679129+00:00', 'updated_at': None} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/non-existent', 'op': 'remove'}] +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "bay_model_example_B", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.450150+00:00", "updated_at": null} +GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_B', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.450150+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'", "detail": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'. Reason: can't remove non-existent object 'non-existent'", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'value': 'aaa', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "flavor", "detail": "flavor", "links": []}]} +POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] -GOT:Response: 200 OK +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} +GET: /v1/clusters {} +GOT:{'clusters': []} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52/?rollback=False [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.3 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:11.241622+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster_allow_update -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster_allow_update ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_public_cluster_template_fail -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_public_cluster_template_fail ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_coe -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_coe ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_network_driver -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_network_driver ... ok - -GOT:Response: 201 Created +{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52/?rollback=True [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +GOT:Response: 202 Accepted Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.3 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2000-01-01T00:00:00+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'my-image', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': -1, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "my-image", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.527180+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '-1'. Value should be greater or equal to 1", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 0, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "flavor", "detail": "flavor", "links": []}]} -GET: /v1/clusters/detail {} -GOT:{'clusters': [{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:09.735378+00:00', 'updated_at': None}]} -GET: /v1/clusters/detail?limit=3&marker=e862b510-bec2-48ac-bf82-e89e929cd4ac {} -GOT:{'clusters': [{'uuid': '56ddb2e8-bd6d-4524-9288-eb17e23cc7f2', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/56ddb2e8-bd6d-4524-9288-eb17e23cc7f2', 'rel': 'self'}, {'href': 'http://localhost/clusters/56ddb2e8-bd6d-4524-9288-eb17e23cc7f2', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:10.178192+00:00', 'updated_at': None}]} -GET: /v1/clusters/6527d802-d2d2-498c-9bdb-b6585e934555 {} -GOT:{'uuid': '6527d802-d2d2-498c-9bdb-b6585e934555', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/6527d802-d2d2-498c-9bdb-b6585e934555', 'rel': 'self'}, {'href': 'http://localhost/clusters/6527d802-d2d2-498c-9bdb-b6585e934555', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': '6527d802-d2d2-498c-9bdb-b6585e934555', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:10.391324+00:00', 'updated_at': None} -GET: /v1/clusters/97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a {} -GOT:{'uuid': '97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a', 'rel': 'self'}, {'href': 'http://localhost/clusters/97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:10.636484+00:00', 'updated_at': None}magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_links -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_links ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_update_cluster_with_rollback_disabled -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_update_cluster_with_rollback_disabled ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_generate_uuid -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_generate_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_flavor_id -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_flavor_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_keypair -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_keypair ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_master_flavor_id -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_master_flavor_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_lb_one_node -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_lb_one_node ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_create -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_create ... ok - -PATCH: /v1/federations/6a649e7c-17f2-4bf7-ac70-840402b50686 [{'path': '/member_ids', 'value': '877e3a87-7080-4ff2-ba15-b76e854d9156', 'op': 'remove'}] -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '0'. Value should be greater or equal to 1", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 0, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 877e3a87-7080-4ff2-ba15-b76e854d9156 could not be found", "detail": "Cluster 877e3a87-7080-4ff2-ba15-b76e854d9156 could not be found.", "links": []}]} -GET: /v1/quotas {} -GOT:{'quotas': [{'id': 3, 'hard_limit': 10, 'project_id': 'proj-id-2', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:11.580567+00:00', 'updated_at': None}]} -GET: /v1/quotas?all_tenants=True {} -GOT:{'quotas': []} -POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 10} -GOT:Response: 201 Created +{"uuid": "416ad95c-8e98-4d5d-b983-de01560d4fd7"}magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_zero +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_zero ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_docker_volume_size +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_docker_volume_size ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_not_found +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_add_root_non_existent +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_add_root_non_existent ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_external_network_id +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_external_network_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_not_found +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_doesnt_contain_id +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_doesnt_contain_id ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_empty +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_empty ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_many +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_many ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_join_non_existent_cluster +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_join_non_existent_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_multitype_tostring +magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_multitype_tostring ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_valid_values +magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_valid_values ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_valid_name +magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_valid_name ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_valid_image_by_name +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_valid_image_by_name ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_cluster +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_cluster ... ok +magnum.tests.unit.api.test_expose.TestExpose.test_expose_without_rest_content_types +magnum.tests.unit.api.test_expose.TestExpose.test_expose_without_rest_content_types ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_invalid_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_invalid_create ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_validate_cluster_properties +magnum.tests.unit.api.test_validation.TestValidation.test_validate_cluster_properties ... ok +magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairCert.test_x509keypair_cert +magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairCert.test_x509keypair_cert ... ok +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_list_instances_inspect +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_list_instances_inspect ... ok +magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers +magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers ... ok +magnum.tests.unit.common.test_policy.TestPolicy.test_check_is_admin_with_user_context_fails +magnum.tests.unit.common.test_policy.TestPolicy.test_check_is_admin_with_user_context_fails ... ok +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_context +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_context ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_get_server_profiler_enabled +magnum.tests.unit.common.test_rpc.TestRpc.test_get_server_profiler_enabled ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_serialize_entity +magnum.tests.unit.common.test_rpc.TestRpc.test_serialize_entity ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_string +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_string ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_use_standard_locale_no_env_variables +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_use_standard_locale_no_env_variables ... ok +magnum.tests.unit.common.x509.test_operations.TestX509Operations.test_decrypt_key +magnum.tests.unit.common.x509.test_operations.TestX509Operations.test_decrypt_key ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage +magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage_disallowed +magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage_disallowed ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage_disallowed_but_not_critical +magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage_disallowed_but_not_critical ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage +magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_in_cache +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_in_cache ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_temp_no_dir +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_temp_no_dir ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates_without_cert_ref +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates_without_cert_ref ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_get_cluster_magnum_cert +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_get_cluster_magnum_cert ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_cert_failed +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_cert_failed ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_update_complete +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_update_complete ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_node_count_success +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_node_count_success ... ok +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action_copies_object +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action_copies_object ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_with_registry +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_with_registry ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_apiserver_port +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_apiserver_port ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_dns +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_dns ... ok +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_poll_node_count +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_poll_node_count ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_pull_data_success +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_pull_data_success ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_compute_memory_util +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_compute_memory_util ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster_nullable_cluster_template_id +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster_nullable_cluster_template_id ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_with_filters +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_with_filters ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_by_uuid +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_by_uuid ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_id +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_id ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template_uuid +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template_uuid ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_node_address +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_node_address ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_params +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_params ... ok +magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_scale_params +magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_scale_params ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_create +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_create ... ok +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_id +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_id ... ok +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_coerce_good_values +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_coerce_good_values ... ok +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_coerce_bad_values +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_coerce_bad_values ... ok +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_stringify_invalid +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_stringify_invalid ... ok +magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_on_restart +magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_on_restart ... ok +magnum.tests.unit.template.test_template.TestTemplate.test_template_yaml +magnum.tests.unit.template.test_template.TestTemplate.test_template_yaml ... ok + +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"id": 42, "hard_limit": 10, "project_id": "fake_project", "resource": "Cluster", "created_at": "2021-12-08T21:34:11.794927+00:00", "updated_at": null} -PATCH: /v1/quotas {'project_id': 'not-found', 'hard_limit': 20, 'resource': 'Cluster'} -GOT:Response: 404 Not Found +{"uuid": "142b4156-790d-469a-8410-79db8cf4ccf1"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test-cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Quota could not be found: project_id not-found resource Cluster", "detail": "Quota could not be found: project_id not-found resource Cluster.", "links": []}]} - -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'bay_model_example_B', 'op': 'replace'}] -GOT:Response: 200 OK +{"uuid": "6d909e3c-3ad5-4091-8b53-d588c9dbce64"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test.cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "bay_model_example_B", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:10.052239+00:00", "updated_at": null} -GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_B', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:10.052239+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': -1, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 1, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 2, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 'notanint', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:Response: 403 Forbidden +{"uuid": "877d6ace-9c9f-4951-9490-a1ecbfb5a922"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testcluster.', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:get to be performed", "detail": "Policy doesn't allow cluster:get to be performed.", "links": []}]} -GET: /v1/clusters {} -GOT:{'clusters': [{'uuid': '36e1afd1-25f2-489d-b529-04359e310cf3', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/36e1afd1-25f2-489d-b529-04359e310cf3', 'rel': 'self'}, {'href': 'http://localhost/clusters/36e1afd1-25f2-489d-b529-04359e310cf3', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '4cc02a73-d6e4-460c-911b-d6e1178b6aaa', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/4cc02a73-d6e4-460c-911b-d6e1178b6aaa', 'rel': 'self'}, {'href': 'http://localhost/clusters/4cc02a73-d6e4-460c-911b-d6e1178b6aaa', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '2037aa69-53c4-4b92-8850-d1965b10da8e', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/2037aa69-53c4-4b92-8850-d1965b10da8e', 'rel': 'self'}, {'href': 'http://localhost/clusters/2037aa69-53c4-4b92-8850-d1965b10da8e', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '4c5a012c-4497-41c4-9507-06bc08c696b1', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/4c5a012c-4497-41c4-9507-06bc08c696b1', 'rel': 'self'}, {'href': 'http://localhost/clusters/4c5a012c-4497-41c4-9507-06bc08c696b1', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]}magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_all_with_all_projects -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_all_with_all_projects ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_all_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_all_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_one -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_one ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_invalid_node_count -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_invalid_node_count ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_cluster_template_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_cluster_template_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_negative -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_negative ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplateObject.test_cluster_template_init -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplateObject.test_cluster_template_init ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_get_one -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_cluster -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail_against_single -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail_against_single ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid_admin -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid_admin ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_add_root_non_existent -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_add_root_non_existent ... ok - -POST: /v1/certificates {'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'csr': 'fake-csr', 'pem': 'fake-pem'} -GOT:Response: 403 Forbidden -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow certificate:create to be performed", "detail": "Policy doesn't allow certificate:create to be performed.", "links": []}]} -POST: /v1/certificates {'csr': 'fake-csr', 'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52'} -GOT:Response: 201 Created -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 -Vary: OpenStack-API-Version -{"bay_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "cluster_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "links": [{"href": "http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "csr": "fake-csr", "pem": "fake-pem"} -PATCH: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:Response: 400 Bad Request +{"uuid": "e293b734-f356-43aa-837d-04e3b7a6148b"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testcluster-', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 +Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Rotating the CA certificate on a non-TLS cluster is not supported", "detail": "Rotating the CA certificate on a non-TLS cluster is not supported", "links": []}]} -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52/detail {} -GOT:Response: 404 Not Found +{"uuid": "407fa69f-3068-40c8-8558-f9a39d43c4e4"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testcluster_', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The %(name)s resource %(id)s could not be found", "detail": "The %(name)s resource %(id)s could not be found.", "links": []}]} -GET: /v1/clusters {} -GOT:{'clusters': [{'uuid': 'd33ffd3f-5848-4f68-8e04-07a0dc155889', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/d33ffd3f-5848-4f68-8e04-07a0dc155889', 'rel': 'self'}, {'href': 'http://localhost/clusters/d33ffd3f-5848-4f68-8e04-07a0dc155889', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '74e6cc58-122a-4707-92bf-721a472739f7', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/74e6cc58-122a-4707-92bf-721a472739f7', 'rel': 'self'}, {'href': 'http://localhost/clusters/74e6cc58-122a-4707-92bf-721a472739f7', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '55a95fde-e096-4d13-bc9f-d43aa8b5c7a0', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/55a95fde-e096-4d13-bc9f-d43aa8b5c7a0', 'rel': 'self'}, {'href': 'http://localhost/clusters/55a95fde-e096-4d13-bc9f-d43aa8b5c7a0', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '6b2be9b7-ccee-4b1e-8055-298e283600a2', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/6b2be9b7-ccee-4b1e-8055-298e283600a2', 'rel': 'self'}, {'href': 'http://localhost/clusters/6b2be9b7-ccee-4b1e-8055-298e283600a2', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '24231e80-04c5-4f25-a8c6-7a261f973352', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/24231e80-04c5-4f25-a8c6-7a261f973352', 'rel': 'self'}, {'href': 'http://localhost/clusters/24231e80-04c5-4f25-a8c6-7a261f973352', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"uuid": "f5fb5aa2-a02b-47be-a479-ca169046a9d2"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test.-_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "ad3198c1-f6a0-4be1-b379-13cdf9e8bca7"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': '3e89905b-7de9-4e38-8f99-7a052f0c5313', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"uuid": "06ebee6e-8926-4614-9ad9-381047c19ba5"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'Testcluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate 3e89905b-7de9-4e38-8f99-7a052f0c5313 could not be found", "detail": "ClusterTemplate 3e89905b-7de9-4e38-8f99-7a052f0c5313 could not be found.", "links": []}]} +{"uuid": "e5b9f3f6-5e05-4b6d-a021-9f55dc1babe0"} POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-img", "detail": "test-img", "links": []}]} -GET: /v1/clustertemplates/not_found {} -GOT:Response: 404 Not Found +{"uuid": "1620b554-84cf-4bab-a8f1-c97c82a4d4c0"} +DELETE: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate not_found could not be found", "detail": "ClusterTemplate not_found could not be found.", "links": []}]} -GET: /v1/clustertemplates/2b5df041-560f-480c-b1b0-6a94fe490872 {} -GOT:{'uuid': '2b5df041-560f-480c-b1b0-6a94fe490872', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/2b5df041-560f-480c-b1b0-6a94fe490872', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/2b5df041-560f-480c-b1b0-6a94fe490872', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.929683+00:00', 'updated_at': None}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_docker_volume_size -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_docker_volume_size ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_dns_nameserver -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_dns_nameserver ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_keypair -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_keypair ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail_against_single -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail_against_single ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_extra_non_removable_attr -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_extra_non_removable_attr ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_frombasetype_no_value -magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_frombasetype_no_value ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_docker_memory -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_docker_memory ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_valid_network -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_valid_network ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_vaild_flavor -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_vaild_flavor ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_environment_variables_valid_json -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_environment_variables_valid_json ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_invalid_isolation -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_invalid_isolation ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_label -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_label ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_update -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_update ... ok -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanCert.test_barbican_cert_none_values -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanCert.test_barbican_cert_none_values ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_without_pkp -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_without_pkp ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_pkp_fail -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_pkp_fail ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_region -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_region ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_noauth -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_noauth ... ok -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init ... ok -magnum.tests.unit.common.test_exception.TestException.test_all_exceptions -magnum.tests.unit.common.test_exception.TestException.test_all_exceptions ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_delete_trust_not_found -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_delete_trust_not_found ... ok -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_context -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_context ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_has_publickey -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_has_publickey ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_client_files_none -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_client_files_none ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_environment -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_environment ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_apiserver_port -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_apiserver_port ... ok -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_update_stack -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_update_stack ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success_no_master -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success_no_master ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_compute_memory_util -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_compute_memory_util ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_pull_data_raise -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_pull_data_raise ... ok -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_update -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_update ... ok -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_with_none_hosts -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_with_none_hosts ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_template -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_template ... ok -magnum.tests.unit.conf.test_conf.ConfTestCase.test_append_config -magnum.tests.unit.conf.test_conf.ConfTestCase.test_append_config ... ok -magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_opts -magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_opts ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_cluster_template_not_exist -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_cluster_template_not_exist ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_one_tenant_cluster_stats -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_one_tenant_cluster_stats ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_create_cluster_template_already_exists -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_create_cluster_template_already_exists ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_multiple_cluster_template -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_multiple_cluster_template ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_that_does_not_exist -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_that_does_not_exist ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_with_filters -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_with_filters ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_members -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_members ... ok -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_list -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_list ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair_that_does_not_exist -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair_that_does_not_exist ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_that_does_not_exist -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_that_does_not_exist ... ok -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_delete_complete -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_delete_complete ... ok -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_node_count -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_node_count ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_unexpect_size -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_unexpect_size ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_node_address_fip_disabled -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_node_address_fip_disabled ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_unexpect_size -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_unexpect_size ... ok -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id ... ok -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_client_error -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_client_error ... ok -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_invalid_ip_ver -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_invalid_ip_ver ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_id -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_id ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_uuid -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_uuid ... ok -magnum.tests.unit.objects.test_fields.TestClusterType.test_from_primitive -magnum.tests.unit.objects.test_fields.TestClusterType.test_from_primitive ... ok -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_compute_metric_raise -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_compute_metric_raise ... ok -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_pull_data_raise -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_pull_data_raise ... ok - -GET: /v1/baymodels/2bf73f4d-d667-4745-ae63-a620f090ca55 {} -GOT:{'uuid': '2bf73f4d-d667-4745-ae63-a620f090ca55', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/2bf73f4d-d667-4745-ae63-a620f090ca55', 'rel': 'self'}, {'href': 'http://localhost/baymodels/2bf73f4d-d667-4745-ae63-a620f090ca55', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.688720+00:00', 'updated_at': None} -GET: /v1/baymodels/2bf73f4d-d667-4745-ae63-a620f090ca55 {} -GOT:{'uuid': '2bf73f4d-d667-4745-ae63-a620f090ca55', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/2bf73f4d-d667-4745-ae63-a620f090ca55', 'rel': 'self'}, {'href': 'http://localhost/baymodels/2bf73f4d-d667-4745-ae63-a620f090ca55', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.688720+00:00', 'updated_at': None} -GET: /baymodels/2bf73f4d-d667-4745-ae63-a620f090ca55 {} -GOT:{'uuid': '2bf73f4d-d667-4745-ae63-a620f090ca55', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/2bf73f4d-d667-4745-ae63-a620f090ca55', 'rel': 'self'}, {'href': 'http://localhost/baymodels/2bf73f4d-d667-4745-ae63-a620f090ca55', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:09.688720+00:00', 'updated_at': None} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'op': 'remove'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:delete to be performed", "detail": "Policy doesn't allow clustertemplate:delete to be performed.", "links": []}]} +DELETE: /v1/clustertemplates/test_cluster_template +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/image_id' is a mandatory attribute and can not be removed", "detail": "'/image_id' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/keypair_id', 'op': 'remove'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple ClusterTemplates exist with same name", "detail": "Multiple ClusterTemplates exist with same name. Please use the ClusterTemplate uuid instead.", "links": []}]} +GET: /v1/clustertemplates?limit=3&marker=c4737be4-f92f-42a7-8d69-d513cc2c7025 {} +GOT:{'clustertemplates': [{'uuid': 'eb3629f9-cbd9-47fb-876b-a17a3eb619fa', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/eb3629f9-cbd9-47fb-876b-a17a3eb619fa', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/eb3629f9-cbd9-47fb-876b-a17a3eb619fa', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:23.264371+00:00', 'updated_at': None}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '1.1.2', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_dns_nameserver +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_dns_nameserver ... ok + +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/keypair_id' is a mandatory attribute and can not be removed", "detail": "'/keypair_id' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/coe', 'op': 'remove'}] +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.903041+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'k8s', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'storm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'meson', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'osomatsu', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/coe' is a mandatory attribute and can not be removed", "detail": "'/coe' is a mandatory attribute and can not be removed", "links": []}]} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute image_id", "detail": "Invalid input for field/attribute image_id. Value: 'None'. Mandatory field missing.", "links": []}]} +GET: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'} +GET: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'} +GET: /certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'}magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_links +magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_links ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterObject.test_cluster_init +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterObject.test_cluster_init ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_generate_uuid +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_generate_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_keypair +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_keypair ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_no_exist_external_network +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_no_exist_external_network ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_with_name +magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_with_name ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_join_cluster_already_member +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_join_cluster_already_member ... ok +magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_get_many +magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_get_many ... ok +magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceEnforcement.test_policy_disallow_get_all +magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceEnforcement.test_policy_disallow_get_all ... ok + PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/external_network_id', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json @@ -6555,307 +6869,391 @@ Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/cluster_distro' is a mandatory attribute and can not be removed", "detail": "'/cluster_distro' is a mandatory attribute and can not be removed", "links": []}]}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_mandatory_property_fail -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPatch.test_remove_mandatory_property_fail ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_labels -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_labels ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_collection_links -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_collection_links ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_mandatory_property_fail -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_mandatory_property_fail ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_cluster_name_failed -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_cluster_name_failed ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_name ... ok - -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'flannel', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created -Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "kubernetes", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "flannel", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:10.220619+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/cluster_distro' is a mandatory attribute and can not be removed", "detail": "'/cluster_distro' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/network_driver', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute image_id", "detail": "Invalid input for field/attribute image_id. Value: 'None'. Mandatory field missing.", "links": []}]} -PATCH: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:Response: 403 Forbidden -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow certificate:rotate_ca to be performed", "detail": "Policy doesn't allow certificate:rotate_ca to be performed.", "links": []}]} -DELETE: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/network_driver' is a mandatory attribute and can not be removed", "detail": "'/network_driver' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/keypair_id', 'value': 'aaa', 'op': 'replace'}] +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:delete to be performed", "detail": "Policy doesn't allow cluster:delete to be performed.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 3, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "aaa", "detail": "aaa", "links": []}]} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'flannel', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "6dc85234-57e9-431e-ba77-b994add3bd81"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 0, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "kubernetes", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "flannel", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:21.880262+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "0cde1bdf-3ecb-4142-86f9-66353ef9d94d"} -GET: /v1/clustertemplates {} -GOT:{'clustertemplates': [{'uuid': 'ec51017e-a3b1-4a77-9976-92af80f3adaf', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/ec51017e-a3b1-4a77-9976-92af80f3adaf', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/ec51017e-a3b1-4a77-9976-92af80f3adaf', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.414257+00:00', 'updated_at': None}, {'uuid': '928a5859-1c24-4bdd-a6e4-6c3ecc9bca56', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/928a5859-1c24-4bdd-a6e4-6c3ecc9bca56', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/928a5859-1c24-4bdd-a6e4-6c3ecc9bca56', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.416628+00:00', 'updated_at': None}, {'uuid': 'b1fc5824-faa3-4891-b87a-b1043c05f22e', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/b1fc5824-faa3-4891-b87a-b1043c05f22e', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/b1fc5824-faa3-4891-b87a-b1043c05f22e', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.418744+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/clustertemplates?sort_key=id&sort_dir=asc&limit=3&marker=b1fc5824-faa3-4891-b87a-b1043c05f22e'}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_collection_links_default_limit -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_collection_links_default_limit ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_empty -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_empty ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_flavor_id -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_flavor_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_singular -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_singular ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster_not_allow_update -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster_not_allow_update ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_public_cluster_template_success -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_public_cluster_template_success ... ok +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "gamma-6-model", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:21.909376+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_name +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_without_name ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestRotateCaCertificateNonTls.test_rotate_ca_cert_non_tls +magnum.tests.unit.api.controllers.v1.test_certificate.TestRotateCaCertificateNonTls.test_rotate_ca_cert_non_tls ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_not_found +magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_get_one +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_update +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_update ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_links +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_links ... ok -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/non-existent', 'op': 'remove'}] +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '-test_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'", "detail": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'. Reason: can't remove non-existent object 'non-existent'", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/flavor_id', 'value': 'aaa', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '-test_cluster'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '.test_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'bay_model_example_B', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '.test_cluster'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '_test_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] -GOT:Response: 200 OK -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "bay_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:10.282454+00:00", "updated_at": null} -GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:10.282454+00:00', 'updated_at': '2021-12-08T21:34:10.402121+00:00'} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'bad_driver', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '_test_cluster'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Network driver type bad_driver is not supported, expecting a flannel/calico/unspecified network driver", "detail": "Network driver type bad_driver is not supported, expecting a flannel/calico/unspecified network driver.", "links": []}]} -GET: /v1/certificates/not_found {} -GOT:Response: 404 Not Found -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} -POST: /v1/certificates {'cluster_uuid': 'cluster1', 'csr': 'fake-csr'} -GOT:Response: 201 Created -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 -Vary: OpenStack-API-Version -{"bay_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "cluster_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "links": [{"href": "http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "csr": "fake-csr", "pem": "fake-pem"} -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:11.211904+00:00', 'updated_at': None} -PATCH: /v1/clusters/cluster_example_A [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: ''. Value should have a minimum character requirement of 1", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"}magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name_not_found -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_update_cluster_with_rollback_enabled -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_update_cluster_with_rollback_enabled ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_node_count_zero -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_node_count_zero ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_master_flavor_id -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_master_flavor_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_detail -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_detail ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_delete -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_delete ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_create_cluster_template_with_no_os_distro_image -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_create_cluster_template_with_no_os_distro_image ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_set_project_id_and_user_id -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_set_project_id_and_user_id ... ok -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) - -GOT:Response: 200 OK -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "name": "bay_example_A", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 4, "master_count": 3, "docker_volume_size": null, "labels": {}, "master_flavor_id": null, "flavor_id": null, "bay_create_timeout": 60, "links": [{"href": "http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "stack_id": "047c6319-7abd-4bd9-a033-8c6af0173cd0", "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": "172.17.2.3", "coe_version": null, "container_version": null, "node_addresses": ["172.17.2.4"], "master_addresses": ["172.17.2.18"], "created_at": "2021-12-08T21:34:10.144788+00:00", "updated_at": null} -GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'bay_example_A', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 4, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:10.144788+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +{"uuid": "e618166a-27d0-4fa6-b035-1c10d0d75960"} +GET: /v1/clustertemplates/detail?limit=3&marker=4b9625b2-fcc0-4a17-a2d7-5e8cd060d8a1 {} +GOT:{'clustertemplates': [{'uuid': '4b47e82f-a645-452e-b3c2-fa910d8e3ab6', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/4b47e82f-a645-452e-b3c2-fa910d8e3ab6', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/4b47e82f-a645-452e-b3c2-fa910d8e3ab6', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.068413+00:00', 'updated_at': None}]} +GET: /v1/clustertemplates/clustermodel1 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.211827+00:00', 'updated_at': None} +GET: /v1/clustertemplates/test_clustertemplate {} +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: ''. Value should have a minimum character requirement of 1", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testbay.', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple ClusterTemplates exist with same name", "detail": "Multiple ClusterTemplates exist with same name. Please use the ClusterTemplate uuid instead.", "links": []}]} +POST: /v1/clustertemplates {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/69d7917b-eb18-4c72-a4b5-bcc586eba6e5 +Location: http://localhost/v1/clustertemplates/45356b4e-d536-4338-a23a-b5a01e5962da Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "69d7917b-eb18-4c72-a4b5-bcc586eba6e5", "name": "testbay.", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/69d7917b-eb18-4c72-a4b5-bcc586eba6e5", "rel": "self"}, {"href": "http://localhost/bays/69d7917b-eb18-4c72-a4b5-bcc586eba6e5", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:10.551383+00:00", "updated_at": null} -GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66/detail {} -GOT:Response: 404 Not Found +{"uuid": "45356b4e-d536-4338-a23a-b5a01e5962da", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/45356b4e-d536-4338-a23a-b5a01e5962da", "rel": "self"}, {"href": "http://localhost/clustertemplates/45356b4e-d536-4338-a23a-b5a01e5962da", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:22.521646+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_image_name +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_image_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_flavor +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_flavor ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_one +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_one ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_patch_quota +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_patch_quota ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_frombasetype_no_value +magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_frombasetype_no_value ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_nonexist_image_by_name +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_nonexist_image_by_name ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_with_valid_providers_none_isolation +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_with_valid_providers_none_isolation ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_valid +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_valid ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_create +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_create ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_magnum_url +magnum.tests.unit.common.test_clients.ClientsTest.test_magnum_url ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trust_with_all_roles +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trust_with_all_roles ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name_is_None +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name_is_None ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_12 +magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_12 ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid1 +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid1 ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_1 +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_1 ... ok +magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_docker_quantity +magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_docker_quantity ... ok +magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_openstasck_ca +magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_openstasck_ca ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_ca_cert +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_ca_cert ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete_conflict +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete_conflict ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_restore_complete +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_restore_complete ... ok +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_discovery_url +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_discovery_url ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_server_image +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_server_image ... ok +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_multi_master +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_multi_master ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_get_metric_unit +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_get_metric_unit ... ok +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_three_container_hosts +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_three_container_hosts ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_projectid +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_projectid ... ok +magnum.tests.unit.conf.test_conf.ConfTestCase.test_import_mods_valid_func +magnum.tests.unit.conf.test_conf.ConfTestCase.test_import_mods_valid_func ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_id +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_id ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_create_cluster_template +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_create_cluster_template ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid_public +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid_public ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template_that_does_not_exist +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template_that_does_not_exist ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_uudid_that_does_not_exist +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_uudid_that_does_not_exist ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_that_does_not_exist +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_that_does_not_exist ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_by_project_id_resource +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_by_project_id_resource ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_update_quota +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_update_quota ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_master_address_fip_disabled +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_master_address_fip_disabled ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_node_address_fip_disabled +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_node_address_fip_disabled ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_master_address_fip_disabled +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_master_address_fip_disabled ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_enabled_without_fp +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_enabled_without_fp ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_bm_fedora_kubernetes_ironic_definition +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_bm_fedora_kubernetes_ironic_definition ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list_with_filters +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list_with_filters ... ok +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_stringify +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_stringify ... ok +magnum.tests.unit.objects.test_fields.TestClusterType.test_stringify_invalid +magnum.tests.unit.objects.test_fields.TestClusterType.test_stringify_invalid ... ok +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_coerce_bad_values +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_coerce_bad_values ... ok +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_stringify +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_stringify ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_changed_1 +magnum.tests.unit.objects.test_objects.TestObject.test_changed_1 ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_changed_2 +magnum.tests.unit.objects.test_objects.TestObject.test_changed_2 ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_changes_in_primitive +magnum.tests.unit.objects.test_objects.TestObject.test_changes_in_primitive ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_hydration_type_error +magnum.tests.unit.objects.test_objects.TestObject.test_hydration_type_error ... ok +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_passes_revision +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_passes_revision ... ok + +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 1, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:21.640928+00:00', 'updated_at': '2023-01-11T04:01:21.829213+00:00'} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/cluster_template_id', 'value': '72f56f8d-896a-4676-8a52-19b56575a406', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The %(name)s resource %(id)s could not be found", "detail": "The %(name)s resource %(id)s could not be found.", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] -GOT:Response: 200 OK +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate 72f56f8d-896a-4676-8a52-19b56575a406 could not be found", "detail": "ClusterTemplate 72f56f8d-896a-4676-8a52-19b56575a406 could not be found.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': 'invalid', 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "bay_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:10.923648+00:00", "updated_at": null} -GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:10.923648+00:00', 'updated_at': '2021-12-08T21:34:11.142050+00:00'} -POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_image_name -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_image_name ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestRotateCaCertificate.test_rotate_ca_cert -magnum.tests.unit.api.controllers.v1.test_certificate.TestRotateCaCertificate.test_rotate_ca_cert ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_detail -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_detail ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_update -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_update ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_with_name_not_found -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_with_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_node_count_negative -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_node_count_negative ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_update -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_update ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name_multiple_cluster_template -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name_multiple_cluster_template ... ok - +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute cluster", "detail": "Invalid input for field/attribute cluster. Value: '{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': 'invalid', 'master_flavor_id': None, 'flavor_id': None}'. Value not a valid dict: invalid", "links": []}]} POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "9b10749a-e6b1-478b-97d4-cb310072eb97"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "keypair2", "detail": "keypair2", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': '92162cd2-b24b-47a8-9346-47206ef24fa0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-flavor", "detail": "test-flavor", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate 92162cd2-b24b-47a8-9346-47206ef24fa0 could not be found", "detail": "ClusterTemplate 92162cd2-b24b-47a8-9346-47206ef24fa0 could not be found.", "links": []}]} +GET: /v1/clustertemplates/bf9ec6e4-6d2c-4b83-88f9-37df1333abaf/detail {} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "f7f8d8b4-761d-4f83-8912-09cea830255a"} +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:detail to be performed", "detail": "Policy doesn't allow clustertemplate:detail to be performed.", "links": []}]} GET: /v1/clustertemplates {} -GOT:Response: 403 Forbidden +GOT:{'clustertemplates': [{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.672978+00:00', 'updated_at': None}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'bad_driver', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:get_all to be performed", "detail": "Policy doesn't allow clustertemplate:get_all to be performed.", "links": []}]} -GET: /v1/clustertemplates/detail?limit=3&marker=fd743407-91c5-4f3c-8cf7-a7132d8dd47d {} -GOT:{'clustertemplates': [{'uuid': '976f8ee3-60bc-4603-a27a-9eab327265a0', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/976f8ee3-60bc-4603-a27a-9eab327265a0', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/976f8ee3-60bc-4603-a27a-9eab327265a0', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:12.228785+00:00', 'updated_at': None}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/external_network_id', 'value': 'aaa', 'op': 'replace'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Network driver type bad_driver is not supported, expecting a flannel/calico/unspecified network driver", "detail": "Network driver type bad_driver is not supported, expecting a flannel/calico/unspecified network driver.", "links": []}]} +POST: /v1/clustertemplates {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_multi_image_name +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_multi_image_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_volume_driver +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_volume_driver ... ok +magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_empty +magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_empty ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_invalid_hard_limit +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_invalid_hard_limit ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_tenants +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_tenants ... ok +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_all_stats +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_all_stats ... ok +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_invalid_type_stats +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_invalid_type_stats ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_missing_required_fields_path +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_missing_required_fields_path ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_valid_patches +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_valid_patches ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_invalid_values +magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_invalid_values ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch_add_attr_already_exist +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch_add_attr_already_exist ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_forbidden_image +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_forbidden_image ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_invalid +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_invalid ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_cluster_type_supported +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_cluster_type_supported ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_two_allowed_update +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_two_allowed_update ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat ... ok +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_context +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_context ... ok +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_entity_null_base +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_entity_null_base ... ok +magnum.tests.unit.common.test_service.TestMagnumService.test_prepare_service_with_argv_none +magnum.tests.unit.common.test_service.TestMagnumService.test_prepare_service_with_argv_none ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_endianness +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_endianness ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_validate_and_normalize_mac +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_validate_and_normalize_mac ... ok +magnum.tests.unit.common.test_utils.GeneratePasswordTestCase.test_generate_password +magnum.tests.unit.common.test_utils.GeneratePasswordTestCase.test_generate_password ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_has_publickey +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_has_publickey ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_load_pem_private_key_with_bytes_private_key +magnum.tests.unit.common.x509.test_sign.TestX509.test_load_pem_private_key_with_bytes_private_key ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_rollback_complete +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_rollback_complete ... ok +magnum.tests.unit.conductor.handlers.test_conductor_listener.TestHandler.test_ping_conductor +magnum.tests.unit.conductor.handlers.test_conductor_listener.TestHandler.test_ping_conductor ... ok +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_class_action_on_raise +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_class_action_on_raise ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_docker_storage_driver +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_docker_storage_driver ... ok +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_poll_node_count_by_update +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_poll_node_count_by_update ... ok +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_all_values +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_all_values ... ok +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_create_stack +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_create_stack ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_compute_cpu_util +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_compute_cpu_util ... ok +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_create +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_create ... ok +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_scale_up +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_scale_up ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_userid +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_userid ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_delete_in_progress +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_delete_in_progress ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_by_admin_all_tenants +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_by_admin_all_tenants ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster_uuid +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster_uuid ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_that_referenced_by_clusters +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_that_referenced_by_clusters ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_not_found +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_not_found ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list_with_filters +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list_with_filters ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_name +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_name ... ok + +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 1023, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 'not an int', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +PATCH: /v1/federations/f31633b3-c5e0-47ae-a1c1-8b50dccf8f87 [{'path': '/member_ids', 'value': '76c3f979-d915-4b42-ab3e-ecc83951e893', 'op': 'remove'}] +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/keypair_id', 'value': 'aaa', 'op': 'replace'}] -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 76c3f979-d915-4b42-ab3e-ecc83951e893 could not be found", "detail": "Cluster 76c3f979-d915-4b42-ab3e-ecc83951e893 could not be found.", "links": []}]} +POST: /v1/federations {'uuid': 'fbc364ed-4f57-4c1d-8ade-5888dbdd556c', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "aaa", "detail": "aaa", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'cluster_model_example_B', 'op': 'replace'}] -GOT:Response: 400 Bad Request +{"uuid": "fe114188-fb7a-4630-82e0-474eabbb3ffb"} +POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 10} +GOT:Response: 201 Created Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} -GET: /v1/federations/6a311401-244d-4774-a6f8-074fde700e77 {} -GOT:{'uuid': '6a311401-244d-4774-a6f8-074fde700e77', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/6a311401-244d-4774-a6f8-074fde700e77', 'rel': 'self'}, {'href': 'http://localhost/federations/6a311401-244d-4774-a6f8-074fde700e77', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:13.078358+00:00', 'updated_at': None} -GET: /v1/federations/6a311401-244d-4774-a6f8-074fde700e77 {} -GOT:{'uuid': '6a311401-244d-4774-a6f8-074fde700e77', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/6a311401-244d-4774-a6f8-074fde700e77', 'rel': 'self'}, {'href': 'http://localhost/federations/6a311401-244d-4774-a6f8-074fde700e77', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:13.078358+00:00', 'updated_at': None} -GET: /federations/6a311401-244d-4774-a6f8-074fde700e77 {} -GOT:{'uuid': '6a311401-244d-4774-a6f8-074fde700e77', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/6a311401-244d-4774-a6f8-074fde700e77', 'rel': 'self'}, {'href': 'http://localhost/federations/6a311401-244d-4774-a6f8-074fde700e77', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:13.078358+00:00', 'updated_at': None} +{"id": 42, "hard_limit": 10, "project_id": "fake_project", "resource": "Cluster", "created_at": "2023-01-11T04:01:22.793289+00:00", "updated_at": null} POST: /v1/quotas {'id': 42, 'resource': 'Cluster', 'hard_limit': 10} GOT:Response: 400 Bad Request Content-Type: application/json @@ -6864,171 +7262,119 @@ Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version {"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Must provide a valid project ID", "detail": "Must provide a valid project ID.", "links": []}]} -POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 10} -GOT:Response: 404 Not Found +GET: /v1/quotas?all_tenants=False {} +GOT:{'quotas': [{'id': 2, 'hard_limit': 10, 'project_id': 'proj-id-1', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:22.947970+00:00', 'updated_at': None}]} +GET: /v1/quotas?limit=2&all_tenants=True {} +GOT:{'quotas': [{'id': 1, 'hard_limit': 10, 'project_id': 'proj-id-0', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:23.016030+00:00', 'updated_at': None}, {'id': 2, 'hard_limit': 10, 'project_id': 'proj-id-1', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:23.019450+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/quotas?sort_key=id&sort_dir=asc&limit=2&marker=2'} +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_list +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_list ... ok +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_create_or_complete +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_create_or_complete ... ok +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_sync_cluster_status +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_sync_cluster_status ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_ubuntu_mesos_definition +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_ubuntu_mesos_definition ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_name +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_name ... ok +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_save +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_save ... ok +magnum.tests.unit.objects.test_fields.TestClusterType.test_coerce_good_values +magnum.tests.unit.objects.test_fields.TestClusterType.test_coerce_good_values ... ok +magnum.tests.unit.objects.test_fields.TestClusterType.test_from_primitive +magnum.tests.unit.objects.test_fields.TestClusterType.test_from_primitive ... ok +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_create +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_create ... ok +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_save +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_save ... ok +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_changes +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_changes ... ok + +GET: /v1/baymodels?limit=3&marker=55a83e57-7048-43c4-9718-82a35d30e2b5 {} +GOT:{'baymodels': [{'uuid': '2cee1acf-bc7f-4bda-ae9c-4563ade427a2', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/2cee1acf-bc7f-4bda-ae9c-4563ade427a2', 'rel': 'self'}, {'href': 'http://localhost/baymodels/2cee1acf-bc7f-4bda-ae9c-4563ade427a2', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.845458+00:00', 'updated_at': None}]} +GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.994447+00:00', 'updated_at': None} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/dns_nameserver', 'op': 'remove'}] +GOT:Response: 200 OK Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The project_id fake_project could not be found", "detail": "The project_id fake_project could not be found.", "links": []}]}magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_project_id_not_found -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_project_id_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_delete_quota -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_delete_quota ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_tenants_false -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_tenants_false ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_one -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_one ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_add_internal_attr -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_add_internal_attr ... ok -magnum.tests.unit.api.test_app.TestAppConfig.test_get_pecan_config -magnum.tests.unit.api.test_app.TestAppConfig.test_get_pecan_config ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_invalid_flavor -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_invalid_flavor ... ok -magnum.tests.unit.api.test_hooks.TestContextHook.test_context_hook_before_method_auth_info -magnum.tests.unit.api.test_hooks.TestContextHook.test_context_hook_before_method_auth_info ... ok -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_server_debug_on_serverfault -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_server_debug_on_serverfault ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_invalid_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_invalid_create ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_supported_replace_update -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_supported_replace_update ... ok -magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_correct_arg_with_details_and_path -magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_correct_arg_with_details_and_path ... ok -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_store_cert -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_store_cert ... ok -magnum.tests.unit.common.cert_manager.test_cert_manager.TestCert.test_get_decrypted_private_key -magnum.tests.unit.common.cert_manager.test_cert_manager.TestCert.test_get_decrypted_private_key ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_store_cert_with_io_error -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_store_cert_with_io_error ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_cached -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_cached ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_noauth -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_noauth ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_magnum_url -magnum.tests.unit.common.test_clients.ClientsTest.test_magnum_url ... ok -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_timeout -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_timeout ... ok -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_list_instances -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_list_instances ... ok -magnum.tests.unit.common.test_exception.TestException.test_message_is_templated -magnum.tests.unit.common.test_exception.TestException.test_message_is_templated ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trustee -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trustee ... ok -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_entity -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_entity ... ok -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_entity_null_base -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_entity_null_base ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_16 -magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_16 ... ok -magnum.tests.unit.common.test_utils.GeneratePasswordTestCase.test_generate_password -magnum.tests.unit.common.test_utils.GeneratePasswordTestCase.test_generate_password ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints_with_non_ca -magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints_with_non_ca ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates_without_name -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates_without_name ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete_conflict -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete_conflict ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_update_complete -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_update_complete ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_only_required -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_only_required ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_node_count -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_node_count ... ok -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_delete_stack_with_error -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_delete_stack_with_error ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_get_metric_unit -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_get_metric_unit ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_pull_data_success -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_pull_data_success ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_that_does_not_exist -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_that_does_not_exist ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_create_federation_already_exists -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_create_federation_already_exists ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_all -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_all ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_sorted -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_sorted ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_heat_param -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_heat_param ... ok -magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_params -magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_params ... ok -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_save -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_save ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_list_all -magnum.tests.unit.objects.test_federation.TestFederationObject.test_list_all ... ok -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_get_by_host_and_binary -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_get_by_host_and_binary ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_dehydration -magnum.tests.unit.objects.test_objects.TestObject.test_dehydration ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_obj_fields -magnum.tests.unit.objects.test_objects.TestObject.test_obj_fields ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_orphaned_object -magnum.tests.unit.objects.test_objects.TestObject.test_orphaned_object ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_updates -magnum.tests.unit.objects.test_objects.TestObject.test_updates ... ok -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics ... ok - -GOT:Response: 409 Conflict +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "bay_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": null, "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:20.994447+00:00", "updated_at": null} +GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': None, 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:20.994447+00:00', 'updated_at': '2023-01-11T04:01:21.146003+00:00'} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "test-img", "detail": "test-img", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:21.250988+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/f65c3740-41cf-4f2a-aa47-0da9ea0d28c4 +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "f65c3740-41cf-4f2a-aa47-0da9ea0d28c4", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 1, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/f65c3740-41cf-4f2a-aa47-0da9ea0d28c4", "rel": "self"}, {"href": "http://localhost/bays/f65c3740-41cf-4f2a-aa47-0da9ea0d28c4", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:11.418758+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': '.test_bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 400 Bad Request +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:21.324011+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_volume_driver +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_volume_driver ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one +magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_delete +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_delete ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_collection_links +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_collection_links ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_collection_links_default_limit +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_collection_links_default_limit ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_detail ... ok + +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] +GOT:Response: 200 OK Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '.test_bay'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test.bay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "bay_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:22.724141+00:00", "updated_at": null} +GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'bay_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:22.724141+00:00', 'updated_at': '2023-01-11T04:01:22.948570+00:00'} +POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/bays/54fa3ef7-4043-45a0-80b9-28a9ac8fd227 +Location: http://localhost/v1/baymodels/02b79cc9-2a4f-4838-bcb4-a80077588229 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "54fa3ef7-4043-45a0-80b9-28a9ac8fd227", "name": "test.bay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/54fa3ef7-4043-45a0-80b9-28a9ac8fd227", "rel": "self"}, {"href": "http://localhost/bays/54fa3ef7-4043-45a0-80b9-28a9ac8fd227", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:11.727970+00:00", "updated_at": null} -GET: /v1/baymodels/?limit=3 {} -GOT:{'baymodels': [{'uuid': 'a25dfe4e-cd05-4eee-8f11-a7662d632804', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/a25dfe4e-cd05-4eee-8f11-a7662d632804', 'rel': 'self'}, {'href': 'http://localhost/baymodels/a25dfe4e-cd05-4eee-8f11-a7662d632804', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:11.865539+00:00', 'updated_at': None}, {'uuid': '4fa23a23-b8fe-4b3d-904b-d966cf45b1ee', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/4fa23a23-b8fe-4b3d-904b-d966cf45b1ee', 'rel': 'self'}, {'href': 'http://localhost/baymodels/4fa23a23-b8fe-4b3d-904b-d966cf45b1ee', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:11.869225+00:00', 'updated_at': None}, {'uuid': '58abc1aa-d607-43da-ba8e-9e32d338b827', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/58abc1aa-d607-43da-ba8e-9e32d338b827', 'rel': 'self'}, {'href': 'http://localhost/baymodels/58abc1aa-d607-43da-ba8e-9e32d338b827', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:11.872888+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/baymodels?sort_key=id&sort_dir=asc&limit=3&marker=58abc1aa-d607-43da-ba8e-9e32d338b827'} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_fail -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_public_fail ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_dns -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_dns ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_coe -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_coe ... ok +{"uuid": "02b79cc9-2a4f-4838-bcb4-a80077588229", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/02b79cc9-2a4f-4838-bcb4-a80077588229", "rel": "self"}, {"href": "http://localhost/baymodels/02b79cc9-2a4f-4838-bcb4-a80077588229", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:23.056018+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': -12, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 65536, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 0, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 1023, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_apiserver_port +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_apiserver_port ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_volume_driver +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_volume_driver ... ok magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_with_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_with_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_failed_cluster_heatclient_exception +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_failed_cluster_heatclient_exception ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_add_non_existent_property +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_add_non_existent_property ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_mandatory_property_fail +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_mandatory_property_fail ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_cluster_name_failed +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_cluster_name_failed ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_cluster_template_id_failed +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_cluster_template_id_failed ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name_not_found +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok_by_name_not_found ... ok -DELETE: /v1/clusters/test_cluster +PATCH: /v1/bays/test_bay [{'path': '/name', 'value': 'test_bay', 'op': 'replace'}] GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 @@ -7036,284 +7382,251 @@ Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version {"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {'key': 'value'}, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'Testbay', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/bays/e9638f79-245e-4cd8-8bc8-55e7c1fb8d85 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "dada12a3-7e03-4727-aa4a-e37426ca49ca"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"uuid": "e9638f79-245e-4cd8-8bc8-55e7c1fb8d85", "name": "Testbay", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/e9638f79-245e-4cd8-8bc8-55e7c1fb8d85", "rel": "self"}, {"href": "http://localhost/bays/e9638f79-245e-4cd8-8bc8-55e7c1fb8d85", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2023-01-11T04:01:24.239005+00:00", "updated_at": null} +PATCH: /v1/baymodels/example_A [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test_cluster123456', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:update to be performed", "detail": "Policy doesn't allow baymodel:update to be performed.", "links": []}]} +DELETE: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "c3902f41-b220-4941-a5b7-d1ab19c8be9e"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test-cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:delete to be performed", "detail": "Policy doesn't allow baymodel:delete to be performed.", "links": []}]} +GET: /v1/baymodels/detail {} +GOT:{'baymodels': [{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2023-01-11T04:01:24.509674+00:00', 'updated_at': None}]} +GET: /v1/baymodels/test_baymodel {} +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "1ac93d7d-2f4d-4576-8a86-ac7b00cb3ef4"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test.cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple ClusterTemplates exist with same name", "detail": "Multiple ClusterTemplates exist with same name. Please use the ClusterTemplate uuid instead.", "links": []}]} +PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'bay_model_example_B', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "86957da0-5c24-4277-bfe8-46cd2fd43c06"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testcluster.', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "ff69bc1e-fbc2-4eba-871d-1bdbb2a06696"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testcluster-', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:24.944313+00:00", "updated_at": null} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': -1, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_docker_volume_size +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_docker_volume_size ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_network_driver +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_network_driver ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_multi_image_name +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_multi_image_name ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_keypair +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_exist_keypair ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name_multiple_cluster +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_by_name_multiple_cluster ... ok + +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "11875861-c2ac-420c-a22a-db2fcbd5de79"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'testcluster_', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "flavor", "detail": "flavor", "links": []}]} +GET: /v1/federations/ea94881e-8b6a-4fa2-b659-721f2afde3b3 {} +GOT:{'uuid': 'ea94881e-8b6a-4fa2-b659-721f2afde3b3', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/ea94881e-8b6a-4fa2-b659-721f2afde3b3', 'rel': 'self'}, {'href': 'http://localhost/federations/ea94881e-8b6a-4fa2-b659-721f2afde3b3', 'rel': 'bookmark'}], 'created_at': '2023-01-11T04:01:22.666135+00:00', 'updated_at': None} +GET: /v1/federations {} +GOT:{'federations': [{'uuid': '6db06b7b-203c-4754-859a-930093ea4bc2', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/6db06b7b-203c-4754-859a-930093ea4bc2', 'rel': 'self'}, {'href': 'http://localhost/federations/6db06b7b-203c-4754-859a-930093ea4bc2', 'rel': 'bookmark'}]}]} +POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 5} +GOT:Response: 201 Created Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5e37d502-615d-4993-8eb3-fe12a281a35b"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test.-_cluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"id": 42, "hard_limit": 5, "project_id": "fake_project", "resource": "Cluster", "created_at": "2023-01-11T04:01:22.821884+00:00", "updated_at": null} +PATCH: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 20} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "27cbb0b5-c349-4783-a3d4-1fc003014657"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'Testcluster', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"id": 42, "hard_limit": 20, "project_id": "fake_project", "resource": "Cluster", "created_at": "2023-01-11T04:01:22.821884+00:00", "updated_at": "2023-01-11T04:01:22.833979+00:00"} + +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e24eadd4-4687-49f3-b5d7-07e661641d7d"} -DELETE: /v1/clustertemplates/a51fe58c-7cab-4124-a9d7-3190813e3728 +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute keypair_id", "detail": "Invalid input for field/attribute keypair_id. Value: 'None'. Mandatory field missing.", "links": []}]} +GET: /v1/certificates/not_found {} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} +DELETE: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 +GOT:Response: 403 Forbidden +Content-Type: application/json +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.1 +Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:delete to be performed", "detail": "Policy doesn't allow cluster:delete to be performed.", "links": []}]} +DELETE: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 +GOT:Response: 204 No Content +Openstack-Api-Maximum-Version: container-infra 1.6 +Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate a51fe58c-7cab-4124-a9d7-3190813e3728 could not be found", "detail": "ClusterTemplate a51fe58c-7cab-4124-a9d7-3190813e3728 could not be found.", "links": []}]} -GET: /v1/clustertemplates {} -GOT:{'clustertemplates': [{'uuid': '568da8b5-9c0f-4591-9746-f2bffdae3162', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/568da8b5-9c0f-4591-9746-f2bffdae3162', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/568da8b5-9c0f-4591-9746-f2bffdae3162', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:12.703463+00:00', 'updated_at': None}, {'uuid': '9d10dbe1-752b-44c6-ae38-e13b020bd162', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/9d10dbe1-752b-44c6-ae38-e13b020bd162', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/9d10dbe1-752b-44c6-ae38-e13b020bd162', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:12.706572+00:00', 'updated_at': None}, {'uuid': 'af714c10-46ac-4208-aea2-bb0f9e04dc30', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/af714c10-46ac-4208-aea2-bb0f9e04dc30', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/af714c10-46ac-4208-aea2-bb0f9e04dc30', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:12.708981+00:00', 'updated_at': None}, {'uuid': '60a66a97-5cb2-48ea-be21-5d89bb609ebf', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/60a66a97-5cb2-48ea-be21-5d89bb609ebf', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/60a66a97-5cb2-48ea-be21-5d89bb609ebf', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:12.711594+00:00', 'updated_at': None}, {'uuid': '38491e68-d497-4180-ac24-b47d19145de3', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/38491e68-d497-4180-ac24-b47d19145de3', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/38491e68-d497-4180-ac24-b47d19145de3', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:12.714172+00:00', 'updated_at': None}]}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_many -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_many ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_no_exist_external_network -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_no_exist_external_network ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_success -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_success ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_labels -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_labels ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_image_name -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_image_name ... ok -GOT:Response: 201 Created +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:Response: 404 Not Found Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 1, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "overlay", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:10.379892+00:00", "updated_at": null} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': -1, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 could not be found", "detail": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 could not be found.", "links": []}]} +DELETE: /v1/clusters/not_found +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute docker_volume_size", "detail": "Invalid input for field/attribute docker_volume_size. Value: '-1'. Value should be greater or equal to 1", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 'notanint', 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52/detail {} +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute cluster", "detail": "Invalid input for field/attribute cluster. Value: '{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 'notanint', 'labels': None, 'master_flavor_id': None, 'flavor_id': None}'. invalid literal for int() with base 10: 'notanint'", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 1, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The %(name)s resource %(id)s could not be found", "detail": "The %(name)s resource %(id)s could not be found.", "links": []}]} +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:21.588162+00:00', 'updated_at': None} +PATCH: /v1/clusters/cluster_example_A [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "docker volume size 1 GB is not valid, expecting minimum value 3GB for devicemapper storage driver", "detail": "docker volume size 1 GB is not valid, expecting minimum value 3GB for devicemapper storage driver.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 2, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 4, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:21.776744+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "docker volume size 2 GB is not valid, expecting minimum value 3GB for devicemapper storage driver", "detail": "docker volume size 2 GB is not valid, expecting minimum value 3GB for devicemapper storage driver.", "links": []}]} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-net", "detail": "test-net", "links": []}]} POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 404 Not Found +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "test-key", "detail": "test-key", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "test-img", "detail": "test-img", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None}magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_keypair +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_keypair ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_labels +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_labels ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_get_one +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_get_one ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_mandatory_property_fail +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_mandatory_property_fail ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_flavor_id +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_flavor_id ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_member_join +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_member_join ... ok + +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': -1, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "b926b6a6-a8a9-4773-8a20-8daa4e00319b"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute docker_volume_size", "detail": "Invalid input for field/attribute docker_volume_size. Value: '-1'. Value should be greater or equal to 1", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 'notanint', 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "d18ebbef-194c-4084-b604-5d4eeebb0aaa"} -POST: /v1/clustertemplates {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_image_name -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_image_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_volume_driver -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_volume_driver ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_empty -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_empty ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_not_all_tenants -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_not_all_tenants ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_one_not_found -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_one_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_all_stats -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_all_stats ... ok -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_empty -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_empty ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_missing_required_fields_path -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_missing_required_fields_path ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestUuidType.test_invalid_uuid -magnum.tests.unit.api.controllers.v1.test_types.TestUuidType.test_invalid_uuid ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_when_user_forbidden -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_when_user_forbidden ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_isolation_valid -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_isolation_valid ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_valid_isolation -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_valid_isolation ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_all_three -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_all_three ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_check_type -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_check_type ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_all_allowed_update -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_all_allowed_update ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_invalid -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_invalid ... ok -magnum.tests.unit.cmd.test_conductor.TestMagnumConductor.test_conductor -magnum.tests.unit.cmd.test_conductor.TestMagnumConductor.test_conductor ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_store_cert -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_store_cert ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_region -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_region ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_region -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_region ... ok -magnum.tests.unit.common.test_context.ContextTestCase.test_context -magnum.tests.unit.common.test_context.ContextTestCase.test_context ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_password_legacy -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_password_legacy ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name_is_None -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name_is_None ... ok - -POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 10} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute cluster", "detail": "Invalid input for field/attribute cluster. Value: '{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 'notanint', 'labels': None, 'master_flavor_id': None, 'flavor_id': None}'. invalid literal for int() with base 10: 'notanint'", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 1, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"id": 42, "hard_limit": 10, "project_id": "fake_project", "resource": "Cluster", "created_at": "2021-12-08T21:34:13.303485+00:00", "updated_at": null} -DELETE: /v1/quotas/fake_project/Cluster -GOT:Response: 204 No Content +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "docker volume size 1 GB is not valid, expecting minimum value 3GB for devicemapper storage driver", "detail": "docker volume size 1 GB is not valid, expecting minimum value 3GB for devicemapper storage driver.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': 2, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request +Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version - -GET: /v1/quotas/fake_project/Cluster {} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "docker volume size 2 GB is not valid, expecting minimum value 3GB for devicemapper storage driver", "detail": "docker volume size 2 GB is not valid, expecting minimum value 3GB for devicemapper storage driver.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Quota could not be found: project_id fake_project resource Cluster", "detail": "Quota could not be found: project_id fake_project resource Cluster.", "links": []}]} -GET: /v1/quotas?all_tenants=False {} -GOT:{'quotas': [{'id': 2, 'hard_limit': 10, 'project_id': 'proj-id-1', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:13.377445+00:00', 'updated_at': None}]} -GET: /v1/quotas {} -GOT:{'quotas': [{'id': 1, 'hard_limit': 10, 'project_id': 'fake_project', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:13.468495+00:00', 'updated_at': None}]} -GET: / {} -GOT:Response: 500 Internal Server Error -Content-Type: application/json -{"errors": [{"request_id": "", "code": "server", "status": 500, "title": "Test exception message", "detail": "Test exception message.", "links": []}]} -stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. -stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. -stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. -stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. -stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. -stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. -stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. -stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. -magnum.tests.unit.test_hacking.HackingTestCase.test_assert_equal_in -magnum.tests.unit.test_hacking.HackingTestCase.test_assert_equal_in ... ok - -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 99, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 99, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:12.072471+00:00", "updated_at": null} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '1.1.2', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '1.1..1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': 'openstack.org', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 404 Not Found +{"uuid": "bbeb4966-6031-4e4f-bc32-a6632a1c3f73"} +DELETE: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Test", "detail": "Test", "links": []}]} -GET: /v1/federations/25b7d496-dde6-43e2-974c-72ff0fe47f62/detail {} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66/detail {} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 @@ -7321,1995 +7634,1815 @@ Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version {"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The %(name)s resource %(id)s could not be found", "detail": "The %(name)s resource %(id)s could not be found.", "links": []}]} - -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.241622+00:00', 'updated_at': '2021-12-08T21:34:11.463061+00:00'} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'k8s', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'storm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'meson', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'osomatsu', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +GET: /v1/clustertemplates/f416cab1-87e9-4cd9-85cd-82d86c585e93 {} +GOT:Response: 404 Not Found Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:11.947622+00:00", "updated_at": null} -POST: /v1/federations {'uuid': 'db0f720a-a084-4910-8a4f-1591aec50033', 'name': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate f416cab1-87e9-4cd9-85cd-82d86c585e93 could not be found", "detail": "ClusterTemplate f416cab1-87e9-4cd9-85cd-82d86c585e93 could not be found.", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'flannel', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'. Value should have a maximum character requirement of 242", "links": []}]}magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_with_invalid_name -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_with_invalid_name ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_invalid_hard_limit -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_invalid_hard_limit ... ok +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "kubernetes", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "flannel", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:23.033016+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_network_driver_non_def_config +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_network_driver_non_def_config ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail_against_single +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail_against_single ... ok +magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_get_one +magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_get_one ... ok magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_one magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_one ... ok magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_tenant_stats magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_tenant_stats ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_missing_required_fields_op +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_missing_required_fields_op ... ok magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_frombasetype_no_value magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_frombasetype_no_value ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch_add_attr_already_exist -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch_add_attr_already_exist ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_resource_with_name -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_resource_with_name ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_invalid -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_invalid ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_without_validator -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_without_validator ... ok -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_exception_success -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_exception_success ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_valid_bm -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_valid_bm ... ok -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_get_cert -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_get_cert ... ok -magnum.tests.unit.common.cert_manager.test_cert_manager.TestCertManager.test_barbican_cert_manager -magnum.tests.unit.common.cert_manager.test_cert_manager.TestCertManager.test_barbican_cert_manager ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_cert_fail -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_cert_fail ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_private_key_fail -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_private_key_fail ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_password -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_password ... ok -magnum.tests.unit.common.test_profiler.TestProfiler.test_all_public_methods_are_traced -magnum.tests.unit.common.test_profiler.TestProfiler.test_all_public_methods_are_traced ... ok -magnum.tests.unit.common.test_profiler.TestProfiler.test_setup_profiler -magnum.tests.unit.common.test_profiler.TestProfiler.test_setup_profiler ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid1 -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid1 ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_0 -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_0 ... ok -magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get_exceed_manifest_size -magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get_exceed_manifest_size ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_without_root_helper -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_without_root_helper ... ok -magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir_mocked_error_on_rmtree -magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir_mocked_error_on_rmtree ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_invalid_flavor +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_invalid_flavor ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_vaild_flavor +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_vaild_flavor ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_when_user_forbidden +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_when_user_forbidden ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_invalid_providers +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_invalid_providers ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_update +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_update ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_not_supported_replace_update +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_not_supported_replace_update ... ok +magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https_no_key +magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https_no_key ... ok +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanCert.test_barbican_cert +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanCert.test_barbican_cert ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_intermediates_fail +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_intermediates_fail ... ok +magnum.tests.unit.common.test_context.ContextTestCase.test_to_dict_from_dict +magnum.tests.unit.common.test_context.ContextTestCase.test_to_dict_from_dict ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_get_transport_url +magnum.tests.unit.common.test_rpc.TestRpc.test_get_transport_url ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_get_transport_url_null +magnum.tests.unit.common.test_rpc.TestRpc.test_get_transport_url_null ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_safe_rstrip +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_safe_rstrip ... ok +magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir +magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir ... ok +magnum.tests.unit.common.x509.test_operations.TestX509Operations.test_generate_csr_and_key +magnum.tests.unit.common.x509.test_operations.TestX509Operations.test_generate_csr_and_key ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_with_bytes_issuer_name +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_with_bytes_issuer_name ... ok magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_extentions_as_client magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_extentions_as_client ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_load_pem_private_key_with_bytes_private_key -magnum.tests.unit.common.x509.test_sign.TestX509.test_load_pem_private_key_with_bytes_private_key ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_empty_chars -magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_empty_chars ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates_with_error -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates_with_error ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_sign_node_certificate -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_sign_node_certificate ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_cert_failed -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_cert_failed ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_invalid_unicode_name -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_invalid_unicode_name ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_trust_failed -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_trust_failed ... ok -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action_copies_object -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action_copies_object ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_update_stack -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_update_stack ... ok -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_registry -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_registry ... ok -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_create_stack -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_create_stack ... ok -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_scale_up -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_scale_up ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_context -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_context ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domainid_userid -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domainid_userid ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_uuid -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_uuid ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_by_uuid -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_by_uuid ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_uudid_that_does_not_exist -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_uudid_that_does_not_exist ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_not_found -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_not_found ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints +magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_without_ca_usage +magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_without_ca_usage ... ok +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_create_trustee_and_trust +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_create_trustee_and_trust ... ok +magnum.tests.unit.conductor.handlers.test_ca_conductor.TestSignConductor.test_get_ca_certificate +magnum.tests.unit.conductor.handlers.test_ca_conductor.TestSignConductor.test_get_ca_certificate ... ok +magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_create_federation +magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_create_federation ... ok +magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_update_federation +magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_update_federation ... ok +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_poll_node_count +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_poll_node_count ... ok +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_delete_stack +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_delete_stack ... ok +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_no_container_host +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_no_container_host ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domain_project_id +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domain_project_id ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_template +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_template ... ok +magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedList_type_check +magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedList_type_check ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_that_does_not_exist +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_that_does_not_exist ... ok +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_destroy_magnum_service +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_destroy_magnum_service ... ok magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_update_magnum_service_failure magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_update_magnum_service_failure ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_master_address -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_master_address ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_node_address -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_node_address ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_delete_quota +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_delete_quota ... ok +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_no_save +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_no_save ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_heat_param +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_heat_param ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_params +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_params ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_discovery_url +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_discovery_url ... ok +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_duplicated_name +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_duplicated_name ... ok +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_invalid_ip_ver +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_invalid_ip_ver ... ok magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_disabled_without_fp magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_disabled_without_fp ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_output_with_mapping_type -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_output_with_mapping_type ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_base_get_scale_params -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_base_get_scale_params ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_refresh -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_refresh ... ok -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_destroy -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_destroy ... ok -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_refresh -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_refresh ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_refresh -magnum.tests.unit.objects.test_federation.TestFederationObject.test_refresh ... ok -magnum.tests.unit.objects.test_fields.TestClusterType.test_coerce_good_values -magnum.tests.unit.objects.test_fields.TestClusterType.test_coerce_good_values ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_static_result -magnum.tests.unit.objects.test_objects.TestObject.test_static_result ... ok -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_by_id -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_by_id ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_swarm_v2_definition +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_swarm_v2_definition ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_save +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_save ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_id +magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_id ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_list_with_filters +magnum.tests.unit.objects.test_federation.TestFederationObject.test_list_with_filters ... ok +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_stringify_invalid +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_stringify_invalid ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_changed_3 +magnum.tests.unit.objects.test_objects.TestObject.test_changed_3 ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_object_inheritance +magnum.tests.unit.objects.test_objects.TestObject.test_object_inheritance ... ok +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_same_revision_does_not_backport +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_same_revision_does_not_backport ... ok +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_destroy +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_destroy ... ok +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_by_uuid +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_by_uuid ... ok +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_compute_metric_raise +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_compute_metric_raise ... ok +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_pull_data_raise +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_pull_data_raise ... ok -GET: /v1/clusters/97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a {} -GOT:{'uuid': '97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a', 'rel': 'self'}, {'href': 'http://localhost/clusters/97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:10.636484+00:00', 'updated_at': None} -GET: /clusters/97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a {} -GOT:{'uuid': '97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a', 'rel': 'self'}, {'href': 'http://localhost/clusters/97fe7c16-4b75-4b04-9a26-b9dce7dd2c3a', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:10.636484+00:00', 'updated_at': None} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52/?rollback=False [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +POST: /v1/clusters {'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.3 +Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} +{"uuid": "67ea179a-67d3-409e-8a05-60b51469d964"} POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "61bcd7b0-d2f1-45d7-9ca7-aa2fc42f7776"} -POST: /v1/clusters {'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "test-key", "detail": "test-key", "links": []}]} +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:21.848392+00:00', 'updated_at': None} +GET: /v1/clustertemplates/f5e80ee8-8b1d-4010-81b9-d3ec1f5edced {} +GOT:{'uuid': 'f5e80ee8-8b1d-4010-81b9-d3ec1f5edced', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/f5e80ee8-8b1d-4010-81b9-d3ec1f5edced', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/f5e80ee8-8b1d-4010-81b9-d3ec1f5edced', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:21.925287+00:00', 'updated_at': None} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "23bfb5b8-33dd-490e-9dcd-dd51cea0c675"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': 'm2.small'} -GOT:Response: 202 Accepted -Content-Type: application/json +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test", "detail": "test", "links": []}]} +DELETE: /v1/federations/federation-example +GOT:Response: 204 No Content Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e29e5b12-789c-46f6-9755-d490bbb7bea5"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'keypair': 'keypair2'} -GOT:Response: 202 Accepted + +PATCH: /v1/federations/373280aa-146e-4187-991c-c0f907374795 [{'path': '/member_ids', 'value': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'op': 'add'}] +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "4ccdbb28-408c-4623-883a-0591fc1f493d"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': 'm2.small', 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "A cluster with UUID 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 is already a member of thefederation federation-example", "detail": "A cluster with UUID 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 is already a member of thefederation federation-example.", "links": []}]} +GET: /v1/mservices {} +GOT:{'mservices': [{'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 1, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}, {'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 2, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}, {'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 3, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}, {'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 4, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}, {'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 5, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}]} +GET: /v1/mservices {} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "1719d2dd-2571-4d54-8348-1904dd5d834d"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'foo', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 1, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow magnum-service:get_all to be performed", "detail": "Policy doesn't allow magnum-service:get_all to be performed.", "links": []}]} +POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'invalid-res', 'hard_limit': 10} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "986e745c-4f0f-44b9-9429-36d0aac4cd02"} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute resource", "detail": "Invalid input for field/attribute resource. Value: 'invalid-res'. Value should be one of: Cluster", "links": []}]}magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_invalid_resource +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_invalid_resource ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_add_internal_attr +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_add_internal_attr ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_invalid_mac_addr +magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_invalid_mac_addr ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_nonexist_image_by_id +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_nonexist_image_by_id ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_valid_isolation +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_valid_isolation ... ok +magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_remote_error_success +magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_remote_error_success ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_not_allowed_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_not_allowed_create ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_not_allowed_update +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_not_allowed_update ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_one_allowed_update +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_one_allowed_update ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_not_supported_add_update +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_not_supported_add_update ... ok +magnum.tests.unit.common.cert_manager.test_cert_manager.TestCertManager.test_barbican_cert_manager +magnum.tests.unit.common.cert_manager.test_cert_manager.TestCertManager.test_barbican_cert_manager ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalCert.test_local_cert +magnum.tests.unit.common.cert_manager.test_local.TestLocalCert.test_local_cert ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_pkp_fail +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_pkp_fail ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_store_cert_with_io_error +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_store_cert_with_io_error ... ok +magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_get_cert +magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_get_cert ... ok +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_version +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_version ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_token +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_token ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_delete_trust +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_delete_trust ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name ... ok +magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get_unsupported_scheme +magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get_unsupported_scheme ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_get_root_helper +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_get_root_helper ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_extentions_as_ca +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_extentions_as_ca ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_load_pem_private_key_with_unicode_private_key +magnum.tests.unit.common.x509.test_sign.TestX509.test_load_pem_private_key_with_unicode_private_key ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints_not_critical +magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints_not_critical ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates_without_name +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates_without_name ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_client_cert +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_client_cert ... ok +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_handles_bad_request +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_handles_bad_request ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_resume_complete +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_resume_complete ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_coreos_with_disovery +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_coreos_with_disovery ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_node_count +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_node_count ... ok +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_all_values +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_all_values ... ok +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_only_required +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_only_required ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success ... ok +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_delete +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_delete ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_userid_projectid +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_userid_projectid ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_id_that_does_not_exist +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_id_that_does_not_exist ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_multiple_cluster_template +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_multiple_cluster_template ... ok +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_create_magnum_service +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_create_magnum_service ... ok +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_destroy_magnum_service_failure +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_destroy_magnum_service_failure ... ok +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair_by_uuid +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair_by_uuid ... ok +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_delete_complete +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_delete_complete ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_node_address +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_node_address ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_fail +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_fail ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_update_outputs +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_update_outputs ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_load +magnum.tests.unit.objects.test_objects.TestObject.test_load ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_loaded_in_primitive +magnum.tests.unit.objects.test_objects.TestObject.test_loaded_in_primitive ... ok +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_object_serialization +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_object_serialization ... ok +GET: /v1/ {} +GOT:{'id': 'v1', 'media_types': [{'base': 'application/json', 'type': 'application/vnd.openstack.magnum.v1+json'}], 'links': [{'href': 'http://localhost/v1/', 'rel': 'self'}, {'href': 'http://docs.openstack.org/developer/magnum/dev/api-spec-v1.html', 'rel': 'describedby', 'type': 'text/html'}], 'baymodels': [{'href': 'http://localhost/v1/baymodels/', 'rel': 'self'}, {'href': 'http://localhost/baymodels/', 'rel': 'bookmark'}], 'bays': [{'href': 'http://localhost/v1/bays/', 'rel': 'self'}, {'href': 'http://localhost/bays/', 'rel': 'bookmark'}], 'clustertemplates': [{'href': 'http://localhost/v1/clustertemplates/', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/', 'rel': 'bookmark'}], 'clusters': [{'href': 'http://localhost/v1/clusters/', 'rel': 'self'}, {'href': 'http://localhost/clusters/', 'rel': 'bookmark'}], 'quotas': [{'href': 'http://localhost/v1/quotas/', 'rel': 'self'}, {'href': 'http://localhost/quotas/', 'rel': 'bookmark'}], 'certificates': [{'href': 'http://localhost/v1/certificates/', 'rel': 'self'}, {'href': 'http://localhost/certificates/', 'rel': 'bookmark'}], 'mservices': [{'href': 'http://localhost/v1/mservices/', 'rel': 'self'}, {'href': 'http://localhost/mservices/', 'rel': 'bookmark'}], 'stats': [{'href': 'http://localhost/v1/stats/', 'rel': 'self'}, {'href': 'http://localhost/stats/', 'rel': 'bookmark'}], 'federations': [{'href': 'http://localhost/v1/federations/', 'rel': 'self'}, {'href': 'http://localhost/federations/', 'rel': 'bookmark'}]} +GET: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'bay_create_timeout': 60, 'links': [{'href': 'http://localhost/v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:20.190034+00:00', 'updated_at': None} +PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'value': -1, 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:create to be performed", "detail": "Policy doesn't allow clustertemplate:create to be performed.", "links": []}]} -GET: /v1/clustertemplates/clustermodel1 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:13.161095+00:00', 'updated_at': None}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_not_found -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_fail -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_fail ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_multi_image_name -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_multi_image_name ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_with_name_not_found -magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_with_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_collection_links -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_collection_links ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_empty -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_empty ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_uuid_not_found -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_uuid_not_found ... ok - -GET: /v1/clusters?limit=3&marker=d81e035e-40d3-4438-8ccb-898b155f6633 {} -GOT:{'clusters': [{'uuid': '38d984a0-d4cd-4057-ab2d-b0d23cd9118f', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/38d984a0-d4cd-4057-ab2d-b0d23cd9118f', 'rel': 'self'}, {'href': 'http://localhost/clusters/38d984a0-d4cd-4057-ab2d-b0d23cd9118f', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} -GET: /v1/clusters {} -GOT:{'clusters': [{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'value': -1, 'op': 'replace'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '-1'. Value should be greater or equal to 1", "links": []}]} +PATCH: /v1/bays/bay_example_A/?rollback=True [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.3 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '-1'. Value should be greater or equal to 1", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'clustermodel1', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} +POST: /v1/baymodels {'uuid': '', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': '', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': '', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': '', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': '', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': '', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': '', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': '', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': '', 'fixed_subnet': '', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': '', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': '', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': '', 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': '', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': '', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': '', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_empty_string +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_empty_string ... ok +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_disable_pull_data +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_disable_pull_data ... ok +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'fake-uuid'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details + FutureWarning) +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) + +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "0e785b52-9584-4bb5-857c-b71f8b38630a"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': -1, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"uuid": "9a7165a1-e1fa-45a8-80bf-e8aeec5bd386"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute create_timeout", "detail": "Invalid input for field/attribute create_timeout. Value: '-1'. Value should be greater or equal to 0", "links": []}]} -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute cluster_template_id", "detail": "Invalid input for field/attribute cluster_template_id. Value: 'None'. Mandatory field missing.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 0, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:get to be performed", "detail": "Policy doesn't allow clustertemplate:get to be performed.", "links": []}]} -DELETE: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute master_count", "detail": "Invalid input for field/attribute master_count. Value: '0'. Value should be greater or equal to 1", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66/detail {} -GOT:Response: 404 Not Found +{"uuid": "6d7598f5-7442-41c8-90ee-d2a4b2097822"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The %(name)s resource %(id)s could not be found", "detail": "The %(name)s resource %(id)s could not be found.", "links": []}]} -GET: /v1/clustertemplates/f0381137-9036-4d4b-be64-3ba7ef477ca1 {} -GOT:{'uuid': 'f0381137-9036-4d4b-be64-3ba7ef477ca1', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/f0381137-9036-4d4b-be64-3ba7ef477ca1', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/f0381137-9036-4d4b-be64-3ba7ef477ca1', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'f0381137-9036-4d4b-be64-3ba7ef477ca1', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:13.320204+00:00', 'updated_at': None} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/foo', 'value': 'bar', 'op': 'add'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-img", "detail": "test-img", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Adding a new attribute /foo to the root of the resource is not allowed", "detail": "Adding a new attribute /foo to the root of the resource is not allowed.", "links": []}]} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created -Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:create to be performed", "detail": "Policy doesn't allow clustertemplate:create to be performed.", "links": []}]} +DELETE: /v1/clustertemplates/clustermodel1 +GOT:Response: 204 No Content Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:13.515888+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_external_network -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_external_network ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_apiserver_port -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_apiserver_port ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_os_distro_image -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_os_distro_image ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_image_id -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_image_id ... ok -PATCH: /v1/bays/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'value': -1, 'op': 'replace'}] + +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'value': 'img', 'op': 'replace'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '-1'. Value should be greater or equal to 1", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/non-existent', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-flavor", "detail": "test-flavor", "links": []}]} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66'} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'", "detail": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'. Reason: can't remove non-existent object 'non-existent'", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'value': 'aaa', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/bays/7e7002e3-070e-4fc3-99a2-a847e62e310b Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "7e7002e3-070e-4fc3-99a2-a847e62e310b", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 60, "links": [{"href": "http://localhost/v1/bays/7e7002e3-070e-4fc3-99a2-a847e62e310b", "rel": "self"}, {"href": "http://localhost/bays/7e7002e3-070e-4fc3-99a2-a847e62e310b", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.728733+00:00", "updated_at": null} -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 0} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'cluster_model_example_B', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/bays/3108bafc-03e5-4a2c-b49c-5c18230a44e2 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "3108bafc-03e5-4a2c-b49c-5c18230a44e2", "name": "cluster1", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 0, "links": [{"href": "http://localhost/v1/bays/3108bafc-03e5-4a2c-b49c-5c18230a44e2", "rel": "self"}, {"href": "http://localhost/bays/3108bafc-03e5-4a2c-b49c-5c18230a44e2", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:08.969049+00:00", "updated_at": null} -DELETE: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 -GOT:Response: 204 No Content +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +GOT:Response: 400 Bad Request +Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster_not_allow_update +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster_not_allow_update ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_with_name_not_found +magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_with_name_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name_not_found +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_member_unjoin +magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_member_unjoin ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_hostcluster_does_not_exist +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_hostcluster_does_not_exist ... ok -GET: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:Response: 404 Not Found +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 could not be found", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 could not be found.", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/uuid', 'op': 'remove'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple images", "detail": "Multiple images", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/uuid' is an internal attribute and can not be updated", "detail": "'/uuid' is an internal attribute and can not be updated", "links": []}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/external_network_id', 'value': 'aaa', 'op': 'replace'}] +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:22.910850+00:00", "updated_at": null} +GET: /v1/mservices {} +GOT:{'mservices': []} +POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': -10} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} -POST: /v1/baymodels {'uuid': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'fixed_subnet': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_long_string -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_long_string ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_volume_driver -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_volume_driver ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_get_one -magnum.tests.unit.api.controllers.v1.test_certificate.TestCertPolicyEnforcement.test_policy_disallow_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one -magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name_multiple_cluster -magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_get_one_by_name_multiple_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_links -magnum.tests.unit.api.controllers.v1.test_certificate.TestGetCaCertificate.test_links ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_not_found -magnum.tests.unit.api.controllers.v1.test_cluster.TestDelete.test_delete_cluster_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_non_existent_property -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_non_existent_property ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_non_existent_cluster_template_id -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_non_existent_cluster_template_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_no_cluster_template_id -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_no_cluster_template_id ... ok +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute hard_limit", "detail": "Invalid input for field/attribute hard_limit. Value: '-10'. Value should be greater or equal to 1", "links": []}]} +GET: /v1/quotas?all_tenants=True {} +GOT:{'quotas': [{'id': 1, 'hard_limit': 10, 'project_id': 'proj-id-0', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:23.062627+00:00', 'updated_at': None}, {'id': 2, 'hard_limit': 10, 'project_id': 'proj-id-1', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:23.064145+00:00', 'updated_at': None}, {'id': 3, 'hard_limit': 10, 'project_id': 'proj-id-2', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:23.065223+00:00', 'updated_at': None}, {'id': 4, 'hard_limit': 10, 'project_id': 'proj-id-3', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:23.066415+00:00', 'updated_at': None}]} +GET: /v1/stats {} +GOT:{'clusters': 2, 'nodes': 12} +GET: /v1/stats?project_id=123&type=invalid {} -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 4, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:11.534005+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} -PATCH: /v1/clusters/not_found [{'path': '/name', 'value': 'not_found', 'op': 'replace'}] +GET: / {} +GOT:Response: 500 Internal Server Error +Content-Type: application/json +{"errors": [{"request_id": "", "code": "server", "status": 500, "title": "Remote error: TestException Test exception message", "detail": "Remote error: TestException Test exception message.\n['", "links": []}]} +stdin:1:1: M339 Do not use xrange(). +magnum.tests.unit.test_hacking.HackingTestCase.test_no_xrange +magnum.tests.unit.test_hacking.HackingTestCase.test_no_xrange ... ok + +GET: /v1/federations/ce52f13b-bcce-48c8-93a4-6e387236341a/detail {} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52/?rollback=True [{'path': '/node_count', 'value': 4, 'op': 'replace'}] -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The %(name)s resource %(id)s could not be found", "detail": "The %(name)s resource %(id)s could not be found.", "links": []}]} +GET: /v1/mservices {} +GOT:{'mservices': [{'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 1, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}]} +GET: /v1/quotas/fake_project/Cluster {} +GOT:{'id': 1, 'hard_limit': 10, 'project_id': 'fake_project', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:23.190248+00:00', 'updated_at': None} +GET: /v1/stats?project_id=234 {} +GOT:{'clusters': 1, 'nodes': 6} +stdin:1:1: M322 Method's default argument shouldn't be mutable! +magnum.tests.unit.test_hacking.HackingTestCase.test_no_mutable_default_args +magnum.tests.unit.test_hacking.HackingTestCase.test_no_mutable_default_args ... ok + +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_B', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:21.609936+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] +GOT:Response: 200 OK Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.3 +Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 0, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:21.822774+00:00", "updated_at": null} +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:21.822774+00:00', 'updated_at': '2023-01-11T04:01:22.019829+00:00'} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'flannel', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '0'. Value should be greater or equal to 1", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "kubernetes", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "flannel", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:22.125491+00:00", "updated_at": null} +GET: /v1/federations?limit=3&marker=d553b96e-c1af-4308-b131-f5fe6ad90cd7 {} +GOT:{'federations': [{'uuid': '25d2f4ff-b45f-4fa5-ad01-a12530504e3d', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/25d2f4ff-b45f-4fa5-ad01-a12530504e3d', 'rel': 'self'}, {'href': 'http://localhost/federations/25d2f4ff-b45f-4fa5-ad01-a12530504e3d', 'rel': 'bookmark'}]}]} +GET: /v1/federations/fake-name {} +GOT:{'uuid': 'fd6788d1-5173-4b53-add1-0c6f40dce7ca', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/fd6788d1-5173-4b53-add1-0c6f40dce7ca', 'rel': 'self'}, {'href': 'http://localhost/federations/fd6788d1-5173-4b53-add1-0c6f40dce7ca', 'rel': 'bookmark'}], 'created_at': '2023-01-11T04:01:22.346449+00:00', 'updated_at': None} +GET: /v1/quotas {} +GOT:{'quotas': [{'id': 2, 'hard_limit': 10, 'project_id': 'proj-id-1', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:22.607502+00:00', 'updated_at': None}]} +GET: /v1/quotas?all_tenants=True {} +GOT:{'quotas': []} +GET: /v1/stats {} +GOT:{'clusters': 1, 'nodes': 6} +GET: / {} +GOT:Response: 400 Bad Request +Content-Type: application/json +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Test exception message", "detail": "Test exception message.\nTraceback (most recent call last):\n File \"/opt/stack/magnum/magnum/openstack/common/rpc/amqp.py\", line 434, in _process_data\\n **args)\n File \"/opt/stack/magnum/magnum/openstack/common/rpc/dispatcher.py\", line 172, in dispatch\\n result = getattr(proxyobj, method)(context, **kwargs)", "links": []}]}magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_server_debug_on_clientfault +magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_server_debug_on_clientfault ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_all_three +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_all_three ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_remove_update +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_remove_update ... ok +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_delete_cert +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_delete_cert ... ok +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_store_cert_failure +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_store_cert_failure ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_store_cert +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_store_cert ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron ... ok +magnum.tests.unit.common.test_exception.TestException.test_all_exceptions +magnum.tests.unit.common.test_exception.TestException.test_all_exceptions ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_trustee_domain_id +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_trustee_domain_id ... ok +magnum.tests.unit.common.test_profiler.TestProfiler.test_setup_profiler +magnum.tests.unit.common.test_profiler.TestProfiler.test_setup_profiler ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_60 +magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_60 ... ok +magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get +magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_subject_name +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_subject_name ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints_with_non_ca +magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints_with_non_ca ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_environment +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_environment ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_check_complete +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_check_complete ... ok +magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_delete_federation +magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_delete_federation ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_master_count +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_master_count ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_compute_memory_util +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_compute_memory_util ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_get_metric_unit +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_get_metric_unit ... ok +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_get_ca_certificate +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_get_ca_certificate ... ok +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_with_none_hosts +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_with_none_hosts ... ok +magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_opts +magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_opts ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list_sorted +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list_sorted ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_update_quota_not_found +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_update_quota_not_found ... ok +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_node_count_by_update +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_node_count_by_update ... ok +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_save +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_save ... ok +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_server_error +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_server_error ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_id +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_id ... ok +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_create +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_create ... ok +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_refresh +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_refresh ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_get +magnum.tests.unit.objects.test_objects.TestObject.test_get ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_obj_attr_is_set +magnum.tests.unit.objects.test_objects.TestObject.test_obj_attr_is_set ... ok +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_revision_does_not_backport +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_revision_does_not_backport ... ok +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_backports_level1 +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_backports_level1 ... ok + +stdin:1:1: M316 assertTrue(isinstance(a, b)) sentences not allowed +magnum.tests.unit.test_hacking.HackingTestCase.test_assert_true_isinstance +magnum.tests.unit.test_hacking.HackingTestCase.test_assert_true_isinstance ... ok + +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "1e665a5b-6718-4a98-be72-6b4fafebcf91"} -GET: /v1/clustertemplates/5d9430e2-b160-424c-bc08-e1f04a642c18/detail {} -GOT:Response: 403 Forbidden +{"uuid": "a2a50860-8331-4a8a-bfa1-52c9580f2e10"} +DELETE: /v1/clustertemplates/61253469-fc09-4e3a-b4e2-fc0eaac11fb6 +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:detail to be performed", "detail": "Policy doesn't allow clustertemplate:detail to be performed.", "links": []}]} -DELETE: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate 61253469-fc09-4e3a-b4e2-fc0eaac11fb6 could not be found", "detail": "ClusterTemplate 61253469-fc09-4e3a-b4e2-fc0eaac11fb6 could not be found.", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/foo', 'value': 'bar', 'op': 'add'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:delete to be performed", "detail": "Policy doesn't allow clustertemplate:delete to be performed.", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'value': 'img', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Adding a new attribute /foo to the root of the resource is not allowed", "detail": "Adding a new attribute /foo to the root of the resource is not allowed.", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/external_network_id', 'value': 'aaa', 'op': 'replace'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} +PATCH: /v1/clustertemplates/233f1014-6d4e-414f-98f6-8d80b4093368 [{'path': '/name', 'value': 'cluster_model_example_B', 'op': 'add'}] +GOT:Response: 404 Not Found Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:13.210570+00:00", "updated_at": null} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': -1, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_docker_volume_size -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_docker_volume_size ... ok - -GET: /v1/clustertemplates {} -GOT:{'clustertemplates': []} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/flavor_id', 'value': 'aaa', 'op': 'replace'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate 233f1014-6d4e-414f-98f6-8d80b4093368 could not be found", "detail": "ClusterTemplate 233f1014-6d4e-414f-98f6-8d80b4093368 could not be found.", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'my-image', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'cluster_model_example_B', 'op': 'replace'}] -GOT:Response: 200 OK +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "my-image", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:22.530745+00:00", "updated_at": null} +GET: /v1/federations {} +GOT:{'federations': []} +GET: /v1/federations {} +GOT:{'federations': [{'uuid': 'fde6345e-debd-4ca1-9355-33b0473d670b', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/fde6345e-debd-4ca1-9355-33b0473d670b', 'rel': 'self'}, {'href': 'http://localhost/federations/fde6345e-debd-4ca1-9355-33b0473d670b', 'rel': 'bookmark'}]}, {'uuid': '1c4b91b7-8d6a-466d-949b-e1bf3d0a64df', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/1c4b91b7-8d6a-466d-949b-e1bf3d0a64df', 'rel': 'self'}, {'href': 'http://localhost/federations/1c4b91b7-8d6a-466d-949b-e1bf3d0a64df', 'rel': 'bookmark'}]}, {'uuid': 'c02c9fa7-80e8-40ea-bbf2-684febd81f03', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/c02c9fa7-80e8-40ea-bbf2-684febd81f03', 'rel': 'self'}, {'href': 'http://localhost/federations/c02c9fa7-80e8-40ea-bbf2-684febd81f03', 'rel': 'bookmark'}]}, {'uuid': '8c803283-ec49-4fc3-9109-af3d5df8dce0', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/8c803283-ec49-4fc3-9109-af3d5df8dce0', 'rel': 'self'}, {'href': 'http://localhost/federations/8c803283-ec49-4fc3-9109-af3d5df8dce0', 'rel': 'bookmark'}]}, {'uuid': 'fa53a7aa-87c4-4028-84e8-3eb2c62d790d', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/fa53a7aa-87c4-4028-84e8-3eb2c62d790d', 'rel': 'self'}, {'href': 'http://localhost/federations/fa53a7aa-87c4-4028-84e8-3eb2c62d790d', 'rel': 'bookmark'}]}]} +PATCH: /v1/federations/8a66fc71-f74a-4148-9507-debaf6b20b9a [{'path': '/member_ids', 'value': 'ec49815d-386a-4d87-bec3-981677d7ddc3', 'op': 'add'}] +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_B", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:11.787506+00:00", "updated_at": null} -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_B', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.787506+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster ec49815d-386a-4d87-bec3-981677d7ddc3 could not be found", "detail": "Cluster ec49815d-386a-4d87-bec3-981677d7ddc3 could not be found.", "links": []}]} + +PATCH: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] -GOT:Response: 200 OK +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Rotating the CA certificate on a non-TLS cluster is not supported", "detail": "Rotating the CA certificate on a non-TLS cluster is not supported", "links": []}]} +DELETE: /v1/clusters/1a2acaf3-5508-418d-91f1-a7aba5659a9d +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:12.385600+00:00", "updated_at": null} -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:12.385600+00:00', 'updated_at': '2021-12-08T21:34:12.476077+00:00'} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 1a2acaf3-5508-418d-91f1-a7aba5659a9d could not be found", "detail": "Cluster 1a2acaf3-5508-418d-91f1-a7aba5659a9d could not be found.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:12.620499+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_dns -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_dns ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_volume_driver -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_volume_driver ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_member_join -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_member_join ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_member_unjoin -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_member_unjoin ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_valid_true_values -magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_valid_true_values ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_invalid_op -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_invalid_op ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_valid_patches -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_valid_patches ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_invalid_mac_addr -magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_invalid_mac_addr ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_valid_values -magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_valid_values ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_valid_name -magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_limit -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_limit ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_sort_dir -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_sort_dir ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalCert.test_local_cert -magnum.tests.unit.common.cert_manager.test_local.TestLocalCert.test_local_cert ... ok -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_list_instances_inspect -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_list_instances_inspect ... ok -magnum.tests.unit.common.test_profiler.TestProfiler.test_setup_profiler_without_osprofiler -magnum.tests.unit.common.test_profiler.TestProfiler.test_setup_profiler_without_osprofiler ... ok -magnum.tests.unit.common.test_rpc.TestProfilerRequestContextSerializer.test_serialize_context -magnum.tests.unit.common.test_rpc.TestProfilerRequestContextSerializer.test_serialize_context ... ok -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_entity_null_base -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_entity_null_base ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_add_extra_exmods -magnum.tests.unit.common.test_rpc.TestRpc.test_add_extra_exmods ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_get_server_profiler_enabled -magnum.tests.unit.common.test_rpc.TestRpc.test_get_server_profiler_enabled ... ok -magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir -magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_extentions_as_ca -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_extentions_as_ca ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints -magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions_disallowed -magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions_disallowed ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates_if_raise_error -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates_if_raise_error ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_client_cert -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_client_cert ... ok -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_create_trustee_and_trust -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_create_trustee_and_trust ... ok -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust_without_trust_id -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust_without_trust_id ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete_with_lb -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete_with_lb ... ok -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action ... ok -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_multi_master -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_multi_master ... ok -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_lb_octavia -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_lb_octavia ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_get_metric_unit -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_get_metric_unit ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domainid -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domainid ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_by_admin_all_tenants -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_by_admin_all_tenants ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid_public -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid_public ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_sorted -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_sorted ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_that_does_not_exist -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_that_does_not_exist ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_properties -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_properties ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_delete_quota -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_delete_quota ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_invalid_sort_key -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_invalid_sort_key ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_if_cluster_template_is_secure -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_if_cluster_template_is_secure ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_none_api_address -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_none_api_address ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_node_address_fip_disabled -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_node_address_fip_disabled ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_swarm_v2_definition -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_swarm_v2_definition ... ok -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_id -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_id ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_save -magnum.tests.unit.objects.test_federation.TestFederationObject.test_save ... ok -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_coerce_good_values -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_coerce_good_values ... ok -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_from_primitive -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_from_primitive ... ok -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_to_primitive -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_to_primitive ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_changed_2 -magnum.tests.unit.objects.test_objects.TestObject.test_changed_2 ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_with_alternate_context -magnum.tests.unit.objects.test_objects.TestObject.test_with_alternate_context ... ok -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_disable_pull_data -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_disable_pull_data ... ok -magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_firsttime -magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_firsttime ... ok -magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_on_restart -magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_on_restart ... ok - -POST: /v1/bays {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'test_bay123456', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'baymodel_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'bay_create_timeout': 15} -GOT:Response: 201 Created +{"uuid": "85df5343-5df1-4a3c-9c8d-b7251db47d15"} +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:Response: 403 Forbidden Content-Type: application/json -Location: http://localhost/v1/bays/8d66276b-20d7-4f4c-acc7-14717007350a Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "8d66276b-20d7-4f4c-acc7-14717007350a", "name": "test_bay123456", "baymodel_id": "e74c40e0-d825-11e2-a28f-0800200c9a66", "node_count": 3, "master_count": 3, "docker_volume_size": null, "labels": {"key1": "val1", "key2": "val2"}, "master_flavor_id": "m1.small", "flavor_id": "m1.small", "bay_create_timeout": 15, "links": [{"href": "http://localhost/v1/bays/8d66276b-20d7-4f4c-acc7-14717007350a", "rel": "self"}, {"href": "http://localhost/bays/8d66276b-20d7-4f4c-acc7-14717007350a", "rel": "bookmark"}], "stack_id": null, "status": "CREATE_IN_PROGRESS", "status_reason": "Completed successfully", "discovery_url": null, "api_address": null, "coe_version": null, "container_version": null, "node_addresses": null, "master_addresses": null, "created_at": "2021-12-08T21:34:09.986641+00:00", "updated_at": null} -GET: /v1/baymodels/817c8010-38ef-4346-bb76-d880461a88ac/detail {} +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:get to be performed", "detail": "Policy doesn't allow clustertemplate:get to be performed.", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:detail to be performed", "detail": "Policy doesn't allow baymodel:detail to be performed.", "links": []}]} -DELETE: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:update to be performed", "detail": "Policy doesn't allow clustertemplate:update to be performed.", "links": []}]} +GET: /v1/clustertemplates/4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26 {} +GOT:{'uuid': '4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.703531+00:00', 'updated_at': None} +GET: /v1/clustertemplates/4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26 {} +GOT:{'uuid': '4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.703531+00:00', 'updated_at': None} +GET: /clustertemplates/4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26 {} +GOT:{'uuid': '4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/4884d3dc-b1b0-46f5-b5f4-a4e2741e5a26', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.703531+00:00', 'updated_at': None} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/labels', 'value': "{'etcd_volume_size': '1'}", 'op': 'replace'}] +GOT:Response: 200 OK Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow baymodel:delete to be performed", "detail": "Policy doesn't allow baymodel:delete to be performed.", "links": []}]} -GET: /v1/baymodels/test_baymodel {} -GOT:Response: 409 Conflict +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"etcd_volume_size": "1"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:22.877113+00:00", "updated_at": null} +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'etcd_volume_size': '1'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:22.877113+00:00', 'updated_at': '2023-01-11T04:01:22.999088+00:00'}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_replace_labels_success +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_replace_labels_success ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster_allow_update +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_update_cluster_template_with_cluster_allow_update ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_not_set +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_not_set ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_success +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_success ... ok + +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 1, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 2, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 'notanint', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'bad_driver', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple ClusterTemplates exist with same name", "detail": "Multiple ClusterTemplates exist with same name. Please use the ClusterTemplate uuid instead.", "links": []}]} -GET: /v1/baymodels {} -GOT:{'baymodels': [{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'created_at': '2021-12-08T21:34:10.503293+00:00', 'updated_at': None}]} -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Network driver type bad_driver is not supported, expecting a flannel/calico/unspecified network driver", "detail": "Network driver type bad_driver is not supported, expecting a flannel/calico/unspecified network driver.", "links": []}]} +POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 409 Conflict Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 is referenced by one or multiple clusters.", "links": []}]} -PATCH: /v1/baymodels/125c8212-b4b7-4eb9-8e10-1fa7b0eb9195 [{'path': '/name', 'value': 'bay_model_example_B', 'op': 'add'}] +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple images", "detail": "Multiple images", "links": []}]} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate 125c8212-b4b7-4eb9-8e10-1fa7b0eb9195 could not be found", "detail": "ClusterTemplate 125c8212-b4b7-4eb9-8e10-1fa7b0eb9195 could not be found.", "links": []}]} -POST: /v1/baymodels {'uuid': '', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': '', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': '', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': '', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': '', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': '', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': '', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': '', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': '', 'fixed_subnet': '', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': '', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': '', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': '', 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': '', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_empty_string -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_empty_string ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_multi_image_name -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_multi_image_name ... ok -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_os_distro_image -magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_no_os_distro_image ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_get_all -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_get_all ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_get_one -magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_disallow_get_one ... ok - -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Test", "detail": "Test", "links": []}]} +GET: /v1/clusters/test_cluster {} +GOT:Response: 409 Conflict Content-Type: application/json -Location: http://localhost/v1/baymodels/2f7a8472-215f-4804-bb7f-fec4090ade97 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "2f7a8472-215f-4804-bb7f-fec4090ade97", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/2f7a8472-215f-4804-bb7f-fec4090ade97", "rel": "self"}, {"href": "http://localhost/baymodels/2f7a8472-215f-4804-bb7f-fec4090ade97", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:11.252987+00:00", "updated_at": null} -PATCH: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:Response: 202 Accepted -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 -Vary: OpenStack-API-Version +{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} +GET: /v1/clusters/a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed {} +GOT:{'uuid': 'a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed', 'rel': 'self'}, {'href': 'http://localhost/clusters/a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:25.824566+00:00', 'updated_at': None} +GET: /v1/clusters/a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed {} +GOT:{'uuid': 'a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed', 'rel': 'self'}, {'href': 'http://localhost/clusters/a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:25.824566+00:00', 'updated_at': None}magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_links +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_links ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_non_existent_property +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_non_existent_property ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_non_existent_cluster +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_non_existent_cluster ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_flavor +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_flavor ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_name +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_as_admin +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_as_admin ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_keypair_id +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_replace_cluster_template_with_no_exist_keypair_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_set_project_id_and_user_id +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_set_project_id_and_user_id ... ok -GET: /v1/clusters/21c49543-3dc3-4d80-801b-8ccf1b50e588/detail {} -GOT:Response: 403 Forbidden +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 'not an int', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': 'rexray', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:detail to be performed", "detail": "Policy doesn't allow cluster:detail to be performed.", "links": []}]} -PATCH: /v1/clusters/cluster_example_A [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] -GOT:Response: 403 Forbidden +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:23.238474+00:00", "updated_at": null} +GET: /v1/certificates/cluster1 {} +GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'} +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_FAILED', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'faults': {}, 'created_at': '2023-01-11T04:01:23.513824+00:00', 'updated_at': None} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/foo', 'value': 'bar', 'op': 'add'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:update to be performed", "detail": "Policy doesn't allow cluster:update to be performed.", "links": []}]} -DELETE: /v1/clusters/not_found -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Adding a new attribute /foo to the root of the resource is not allowed", "detail": "Adding a new attribute /foo to the root of the resource is not allowed.", "links": []}]} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/uuid', 'op': 'remove'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': -1, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/uuid' is an internal attribute and can not be updated", "detail": "'/uuid' is an internal attribute and can not be updated", "links": []}]} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/cluster_template_id', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute node_count", "detail": "Invalid input for field/attribute node_count. Value: '-1'. Value should be greater or equal to 1", "links": []}]} -PATCH: /v1/clustertemplates/example_A [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] -GOT:Response: 403 Forbidden +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/cluster_template_id' is a mandatory attribute and can not be removed", "detail": "'/cluster_template_id' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/name', 'value': 'cluster_example_B', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:update to be performed", "detail": "Policy doesn't allow clustertemplate:update to be performed.", "links": []}]} -GET: /v1/clustertemplates/test_clustertemplate {} -GOT:Response: 409 Conflict +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "cannot change cluster property(ies) name", "detail": "cannot change cluster property(ies) name.", "links": []}]} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/cluster_template_id', 'value': '8392d93d-0765-4334-ba0e-cea071c6d2b2', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple ClusterTemplates exist with same name", "detail": "Multiple ClusterTemplates exist with same name. Please use the ClusterTemplate uuid instead.", "links": []}]} -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:12.459464+00:00', 'updated_at': None} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/dns_nameserver', 'op': 'remove'}] -GOT:Response: 200 OK +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "cannot change cluster property(ies) cluster_template_id", "detail": "cannot change cluster property(ies) cluster_template_id.", "links": []}]} +PATCH: /v1/clusters/not_found [{'path': '/name', 'value': 'not_found', 'op': 'replace'}] +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": null, "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:12.459464+00:00", "updated_at": null} -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} -GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': None, 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:12.459464+00:00', 'updated_at': '2021-12-08T21:34:12.606360+00:00'}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_singular -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_singular ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name_not_found -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_one -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_one ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_no_dns_zone_name -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_no_dns_zone_name ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_no_hostcluster_id -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_no_hostcluster_id ... ok -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_invalid_tenant_stats -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_invalid_tenant_stats ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_update_mandatory_attr -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_update_mandatory_attr ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_resource_with_uuid -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_resource_with_uuid ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_valid_image_by_id -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_valid_image_by_id ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_isolation_invalid_label -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_isolation_invalid_label ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_missing -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_missing ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_all_allowed_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_all_allowed_create ... ok -magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_stamp -magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_stamp ... ok -magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_none_arg -magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_none_arg ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert ... ok -magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairCert.test_x509keypair_cert -magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairCert.test_x509keypair_cert ... ok -magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_delete_cert -magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_delete_cert ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name_not_found -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name_not_found ... ok -magnum.tests.unit.common.test_policy.TestPolicy.test_check_is_admin_with_user_context_fails -magnum.tests.unit.common.test_policy.TestPolicy.test_check_is_admin_with_user_context_fails ... ok -magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir_mocked -magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir_mocked ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_subject_name -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_subject_name ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_in_cache -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_in_cache ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_get_cluster_magnum_cert -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_get_cluster_magnum_cert ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_restore_complete -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_restore_complete ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_master_count -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_master_count ... ok -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_with_lb_neutron -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_with_lb_neutron ... ok -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_poll_node_count -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_poll_node_count ... ok -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_multi_master -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_multi_master ... ok -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_poll_node_count -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_poll_node_count ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_compute_cpu_util -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_compute_cpu_util ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_compute_metric_value -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_compute_metric_value ... ok -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_delete -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_delete ... ok -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_sign_certificate -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_sign_certificate ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_delete_complete_status -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_delete_complete_status ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_delete_in_progress -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_delete_in_progress ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid_from_uuid -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid_from_uuid ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_with_filters -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_with_filters ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_that_referenced_by_clusters -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template_that_referenced_by_clusters ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_id_public -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_id_public ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_create_x509keypair -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_create_x509keypair ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_if_cluster_template_is_secure -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_if_cluster_template_is_secure ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_swarm_get_params -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_swarm_get_params ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_discovery_url -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_discovery_url ... ok -magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_heat_param -magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_heat_param ... ok -magnum.tests.unit.objects.test_fields.TestClusterType.test_coerce_bad_values -magnum.tests.unit.objects.test_fields.TestClusterType.test_coerce_bad_values ... ok -magnum.tests.unit.objects.test_fields.TestServerType.test_coerce_good_values -magnum.tests.unit.objects.test_fields.TestServerType.test_coerce_good_values ... ok -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_create -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_create ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_contains -magnum.tests.unit.objects.test_objects.TestObject.test_contains ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_load -magnum.tests.unit.objects.test_objects.TestObject.test_load ... ok -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_backports_level2 -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_backports_level2 ... ok -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_create -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_create ... ok -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_bad_id_and_uuid -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_bad_id_and_uuid ... ok -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_by_uuid -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_by_uuid ... ok -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_list_all -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_list_all ... ok -magnum.tests.unit.template.test_template.TestTemplate.test_template_yaml -magnum.tests.unit.template.test_template.TestTemplate.test_template_yaml ... ok +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster not_found could not be found", "detail": "Cluster not_found could not be found.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None}magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_flavor_id +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_flavor_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_collection_links_default_limit +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_collection_links_default_limit ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_empty +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_empty ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name_not_found +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_name_not_found ... ok -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +GOT:Response: 202 Accepted Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:12.155649+00:00", "updated_at": null} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'k8s', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'storm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'meson', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'osomatsu', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GET: /v1/certificates/cluster1 {} -GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'} -DELETE: /v1/clusters/cluster1 -GOT:Response: 204 No Content +{"uuid": "85773756-949f-44ca-ad56-6c2a8984bf18"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted +Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version - -GET: /v1/clusters {} -GOT:{'clusters': [{'uuid': '8c11a263-df85-48eb-bbc8-098b5be239b2', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/8c11a263-df85-48eb-bbc8-098b5be239b2', 'rel': 'self'}, {'href': 'http://localhost/clusters/8c11a263-df85-48eb-bbc8-098b5be239b2', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '21e5fa0f-3820-4630-a14e-1537e91f56eb', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/21e5fa0f-3820-4630-a14e-1537e91f56eb', 'rel': 'self'}, {'href': 'http://localhost/clusters/21e5fa0f-3820-4630-a14e-1537e91f56eb', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'b0827296-267e-4fa2-80f6-bf4f5836073d', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/b0827296-267e-4fa2-80f6-bf4f5836073d', 'rel': 'self'}, {'href': 'http://localhost/clusters/b0827296-267e-4fa2-80f6-bf4f5836073d', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}], 'next': 'http://localhost/v1/clusters?sort_key=id&sort_dir=asc&limit=3&marker=b0827296-267e-4fa2-80f6-bf4f5836073d'}magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_collection_links_default_limit -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_collection_links_default_limit ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_failed_cluster_heatclient_exception -magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_get_one_failed_cluster_heatclient_exception ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_multi_images_same_name -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_multi_images_same_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_lb_multi_node -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_lb_multi_node ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_name -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_name ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_collection_links -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_collection_links ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail ... ok - -POST: /v1/federations {'uuid': '2ecedbce-b6f4-4527-99ae-85bbc1878f52', 'name': '123456', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} -GOT:Response: 400 Bad Request +{"uuid": "f033a66a-6c7a-4001-a525-e9eee4990c50"} +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/federations {'uuid': '587a48e4-30c0-4ef3-a901-cbb03458dc79', 'name': '123456test_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:get to be performed", "detail": "Policy doesn't allow clustertemplate:get to be performed.", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456test_federation'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/federations {'uuid': '00acde24-efb0-4e7b-b798-8e4bf16a93e6', 'name': '-test_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/image_id' is a mandatory attribute and can not be removed", "detail": "'/image_id' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/coe', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '-test_federation'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/federations {'uuid': '88fc7740-e410-4c18-b65c-f877a6f8d80d', 'name': '.test_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/coe' is a mandatory attribute and can not be removed", "detail": "'/coe' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/external_network_id', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '.test_federation'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/federations {'uuid': 'a4666af1-6945-449b-bc1a-d7e1009f67c1', 'name': '_test_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/external_network_id' is a mandatory attribute and can not be removed", "detail": "'/external_network_id' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/server_type', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '_test_federation'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} -POST: /v1/federations {'uuid': '7a26c03d-b50d-479c-b67e-c87c87c8c152', 'name': '', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/server_type' is a mandatory attribute and can not be removed", "detail": "'/server_type' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/tls_disabled', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: ''. Value should have a minimum character requirement of 1", "links": []}]} -POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': -10} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/tls_disabled' is a mandatory attribute and can not be removed", "detail": "'/tls_disabled' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute hard_limit", "detail": "Invalid input for field/attribute hard_limit. Value: '-10'. Value should be greater or equal to 1", "links": []}]} -GET: /v1/quotas/fake_project/Cluster {} -GOT:{'id': 1, 'hard_limit': 10, 'project_id': 'fake_project', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:12.502790+00:00', 'updated_at': None} -GET: /v1/stats?project_id=234 {} -GOT:{'clusters': 1, 'nodes': 6} -GET: / {} -GOT:Response: 500 Internal Server Error -Content-Type: application/json -{"errors": [{"request_id": "", "code": "server", "status": 500, "title": "Test exception message", "detail": "Test exception message.", "links": []}]} -stdin:1:1: M302 assertEqual(A is not None) sentences not allowed. -magnum.tests.unit.test_hacking.HackingTestCase.test_assert_is_not_none -magnum.tests.unit.test_hacking.HackingTestCase.test_assert_is_not_none ... ok - -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/public' is a mandatory attribute and can not be removed", "detail": "'/public' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/registry_enabled', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test", "detail": "test", "links": []}]} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/registry_enabled' is a mandatory attribute and can not be removed", "detail": "'/registry_enabled' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/cluster_distro', 'op': 'remove'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:12.968711+00:00", "updated_at": null} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/cluster_distro' is a mandatory attribute and can not be removed", "detail": "'/cluster_distro' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/network_driver', 'op': 'remove'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:13.060934+00:00", "updated_at": null} -POST: /v1/clustertemplates {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/network_driver' is a mandatory attribute and can not be removed", "detail": "'/network_driver' is a mandatory attribute and can not be removed", "links": []}]} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/flavor_id', 'value': 'aaa', 'op': 'replace'}] +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "test-img", "detail": "test-img", "links": []}]} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 1, 'docker_storage_driver': 'overlay', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "aaa", "detail": "aaa", "links": []}]} +PATCH: /v1/federations/46f3676c-3432-405c-814d-cd58e4ecbe83 [{'path': '/member_ids', 'value': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'op': 'add'}] +GOT:Response: 202 Accepted Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 1, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "overlay", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:13.184640+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_overlay -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_overlay ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name_multiple_federation -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name_multiple_federation ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_generate_uuid -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_generate_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_with_valid_name -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_with_valid_name ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuotaObject.test_quota_init -magnum.tests.unit.api.controllers.v1.test_quota.TestQuotaObject.test_quota_init ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_mandatory_attr -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_mandatory_attr ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_valid_mac_addr -magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_valid_mac_addr ... ok +{"uuid": "46f3676c-3432-405c-814d-cd58e4ecbe83"} +GET: /v1/federations/46f3676c-3432-405c-814d-cd58e4ecbe83 {} +GOT:{'uuid': '46f3676c-3432-405c-814d-cd58e4ecbe83', 'name': 'federation-example', 'hostcluster_id': 'fake_master', 'member_ids': ['5d12f6fd-a196-4bf0-ae4c-1f639a523a52'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/46f3676c-3432-405c-814d-cd58e4ecbe83', 'rel': 'self'}, {'href': 'http://localhost/federations/46f3676c-3432-405c-814d-cd58e4ecbe83', 'rel': 'bookmark'}], 'created_at': '2023-01-11T04:01:23.517531+00:00', 'updated_at': '2023-01-11T04:01:23.607142+00:00'} +POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 10}magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_delete_quota +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_delete_quota ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_non_admin +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_non_admin ... ok +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_empty +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_empty ... ok +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_self_stats +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_self_stats ... ok +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_some_other_user_stats +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_some_other_user_stats ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_invalid_op +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_invalid_op ... ok magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_frombasetype magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_frombasetype ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_forbidden_image -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_forbidden_image ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_nonexist_image_by_name -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_nonexist_image_by_name ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_valid_image_by_name -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_valid_image_by_name ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_cluster -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_cluster ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_created -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_created ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_frombasetype_no_value +magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_frombasetype_no_value ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_resource_with_name +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_resource_with_name ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_invalid_isolation +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_invalid_isolation ... ok +magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_exception_success +magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_exception_success ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_check_type +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_check_type ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_all_allowed_update +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_all_allowed_update ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_invalid_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_invalid_create ... ok magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https ... ok -magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https_no_cert -magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https_no_cert ... ok -magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_correct_arg_without_details_and_path -magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_correct_arg_without_details_and_path ... ok -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_get_cert_no_registration -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_get_cert_no_registration ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_intermediates_fail -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_intermediates_fail ... ok -magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_get_cert -magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_get_cert ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_serialize_entity -magnum.tests.unit.common.test_rpc.TestRpc.test_serialize_entity ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_12 -magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_12 ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_generate_ids -magnum.tests.unit.common.test_short_id.ShortIdTest.test_generate_ids ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_endianness -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_endianness ... ok -magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get_unsupported_scheme -magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get_unsupported_scheme ... ok +magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_upgrade +magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_upgrade ... ok +magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_version +magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_version ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_region +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_region ... ok +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_timeout +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_timeout ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_access_info +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_access_info ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_delete_trust_not_found +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_delete_trust_not_found ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_0 +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_0 ... ok magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_with_invalid_csr magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_with_invalid_csr ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_with_unicode_csr -magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_with_unicode_csr ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage_disallowed_but_not_critical -magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage_disallowed_but_not_critical ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_without_ca_usage -magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_without_ca_usage ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_resume_complete -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_resume_complete ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_with_registry -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_with_registry ... ok -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_poll_node_count_by_update -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_poll_node_count_by_update ... ok -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_lb_neutron -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_lb_neutron ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_pull_data_success -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_pull_data_success ... ok -magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedList_type_check -magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedList_type_check ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_name_multiple_cluster -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_name_multiple_cluster ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_that_does_not_exist -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_that_does_not_exist ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_destroy_cluster_template ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_delete_quota_that_does_not_exist -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_delete_quota_that_does_not_exist ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_by_project_id_resource_not_found -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_by_project_id_resource_not_found ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_api_address -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_api_address ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_discovery_url_not_found -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_discovery_url_not_found ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_disabled_with_fp -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_disabled_with_fp ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_enabled_with_fp -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_enabled_with_fp ... ok -magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_scale_params -magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_scale_params ... ok -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_list -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_list ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success_not_leader +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success_not_leader ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_get_metric_names +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_get_metric_names ... ok +magnum.tests.unit.conductor.test_scale_manager.TestK8sScaleManager.test_get_hosts_with_container +magnum.tests.unit.conductor.test_scale_manager.TestK8sScaleManager.test_get_hosts_with_container ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_context +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_context ... ok +magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedDict_default_value +magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedDict_default_value ... ok +magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedList_default_value +magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedList_default_value ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster_already_exists +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster_already_exists ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_uuid +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_uuid ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_uuid_that_does_not_exist +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_uuid_that_does_not_exist ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster ... ok +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_by_host_and_binary_failure +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_by_host_and_binary_failure ... ok +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_create_x509keypair_already_exists +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_create_x509keypair_already_exists ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_master_address +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_master_address ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_swarm_definition +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_swarm_definition ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_name +magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_name ... ok magnum.tests.unit.objects.test_federation.TestFederationObject.test_list magnum.tests.unit.objects.test_federation.TestFederationObject.test_list ... ok -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_coerce_bad_values -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_coerce_bad_values ... ok -magnum.tests.unit.objects.test_fields.TestServerType.test_stringify_invalid -magnum.tests.unit.objects.test_fields.TestServerType.test_stringify_invalid ... ok -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_report_state_up -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_report_state_up ... ok +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_from_primitive +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_from_primitive ... ok +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_coerce_good_values +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_coerce_good_values ... ok +magnum.tests.unit.objects.test_fields.TestServerType.test_coerce_bad_values +magnum.tests.unit.objects.test_fields.TestServerType.test_coerce_bad_values ... ok +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_get_by_host_and_binary_no_service +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_get_by_host_and_binary_no_service ... ok magnum.tests.unit.objects.test_objects.TestObject.test_base_attributes magnum.tests.unit.objects.test_objects.TestObject.test_base_attributes ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_changed_1 -magnum.tests.unit.objects.test_objects.TestObject.test_changed_1 ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_hydration_bad_ns -magnum.tests.unit.objects.test_objects.TestObject.test_hydration_bad_ns ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_with_alternate_context +magnum.tests.unit.objects.test_objects.TestObject.test_with_alternate_context ... ok +magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_regular +magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_regular ... ok -GET: /v1/federations/not_found {} -GOT:Response: 404 Not Found -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Federation not_found could not be found", "detail": "Federation not_found could not be found.", "links": []}]} -GET: /v1/federations {} -GOT:{'federations': [{'uuid': 'd56125dc-a72f-4327-98b8-f9964a0d820b', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/d56125dc-a72f-4327-98b8-f9964a0d820b', 'rel': 'self'}, {'href': 'http://localhost/federations/d56125dc-a72f-4327-98b8-f9964a0d820b', 'rel': 'bookmark'}]}]} -POST: /v1/federations {'uuid': 'd1303881-0dbf-4979-ab25-c5da4c16fcb5', 'name': 'fake-name', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Please specify a `properties` dict for the federation", "detail": "Please specify a `properties` dict for the federation.", "links": []}]} -POST: /v1/federations {'uuid': '0407c176-ad41-49d3-a266-03d41a4dc6fb', 'name': 'fake-name', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} -GOT:Response: 400 Bad Request +GET: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'} +DELETE: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "No hostcluster specified", "detail": "No hostcluster specified. Please specify a hostcluster_id.", "links": []}]} -GET: /v1/stats?project_id=34 {} -GOT:{'clusters': 0, 'nodes': 0} +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:delete to be performed", "detail": "Policy doesn't allow cluster:delete to be performed.", "links": []}]} +GET: /v1/clusters/?limit=3 {} +GOT:{'clusters': [{'uuid': '5bce3bb9-f044-4a53-9520-86d91616ecca', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5bce3bb9-f044-4a53-9520-86d91616ecca', 'rel': 'self'}, {'href': 'http://localhost/clusters/5bce3bb9-f044-4a53-9520-86d91616ecca', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '1c260984-c3bb-4332-b1e2-20e998bab40e', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/1c260984-c3bb-4332-b1e2-20e998bab40e', 'rel': 'self'}, {'href': 'http://localhost/clusters/1c260984-c3bb-4332-b1e2-20e998bab40e', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'ad54d136-1bd5-4985-befc-bc79dd893bc4', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/ad54d136-1bd5-4985-befc-bc79dd893bc4', 'rel': 'self'}, {'href': 'http://localhost/clusters/ad54d136-1bd5-4985-befc-bc79dd893bc4', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}], 'next': 'http://localhost/v1/clusters?sort_key=id&sort_dir=asc&limit=3&marker=ad54d136-1bd5-4985-befc-bc79dd893bc4'} +GET: /v1/clusters {} +GOT:{'clusters': [{'uuid': 'a138cc91-4500-42c5-a9cb-097db351f09e', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/a138cc91-4500-42c5-a9cb-097db351f09e', 'rel': 'self'}, {'href': 'http://localhost/clusters/a138cc91-4500-42c5-a9cb-097db351f09e', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'e3752832-12ab-4566-bbb0-47deeef1f539', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/e3752832-12ab-4566-bbb0-47deeef1f539', 'rel': 'self'}, {'href': 'http://localhost/clusters/e3752832-12ab-4566-bbb0-47deeef1f539', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': 'dca257f1-adcc-4e54-858a-e172264b176d', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/dca257f1-adcc-4e54-858a-e172264b176d', 'rel': 'self'}, {'href': 'http://localhost/clusters/dca257f1-adcc-4e54-858a-e172264b176d', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}], 'next': 'http://localhost/v1/clusters?sort_key=id&sort_dir=asc&limit=3&marker=dca257f1-adcc-4e54-858a-e172264b176d'} +GET: /v1/clusters/detail {} +GOT:{'clusters': [{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:23.186712+00:00', 'updated_at': None}]} +GET: /v1/clusters {} +GOT:{'clusters': [{'uuid': '293409c5-c8e6-41f6-a830-6f51c9e227b8', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/293409c5-c8e6-41f6-a830-6f51c9e227b8', 'rel': 'self'}, {'href': 'http://localhost/clusters/293409c5-c8e6-41f6-a830-6f51c9e227b8', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '1ade19f8-a04a-40dc-9d55-e6d1b2031195', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/1ade19f8-a04a-40dc-9d55-e6d1b2031195', 'rel': 'self'}, {'href': 'http://localhost/clusters/1ade19f8-a04a-40dc-9d55-e6d1b2031195', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '7609dd77-4f65-4a7b-90ac-7b8278fa2ddb', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/7609dd77-4f65-4a7b-90ac-7b8278fa2ddb', 'rel': 'self'}, {'href': 'http://localhost/clusters/7609dd77-4f65-4a7b-90ac-7b8278fa2ddb', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '37106cc4-c23c-4779-9052-eb101cacccf7', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/37106cc4-c23c-4779-9052-eb101cacccf7', 'rel': 'self'}, {'href': 'http://localhost/clusters/37106cc4-c23c-4779-9052-eb101cacccf7', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '9b3f2d4e-b493-431f-a24c-6bf89f55a8f4', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/9b3f2d4e-b493-431f-a24c-6bf89f55a8f4', 'rel': 'self'}, {'href': 'http://localhost/clusters/9b3f2d4e-b493-431f-a24c-6bf89f55a8f4', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}]}magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_many +magnum.tests.unit.api.controllers.v1.test_cluster.TestListCluster.test_many ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_keypair +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_keypair ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_detail ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid_admin +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid_admin ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_uuid +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_external_network +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_external_network ... ok -PATCH: /v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/network_driver', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/network_driver' is a mandatory attribute and can not be removed", "detail": "'/network_driver' is a mandatory attribute and can not be removed", "links": []}]} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:10.128122+00:00", "updated_at": null} -GET: /v1/clusters/?limit=3 {} -GOT:{'clusters': [{'uuid': 'cc5cb4ed-fcf0-4133-b116-e896b896386e', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/cc5cb4ed-fcf0-4133-b116-e896b896386e', 'rel': 'self'}, {'href': 'http://localhost/clusters/cc5cb4ed-fcf0-4133-b116-e896b896386e', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '4df4e756-e96b-4470-8d6c-0a1838fa4355', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/4df4e756-e96b-4470-8d6c-0a1838fa4355', 'rel': 'self'}, {'href': 'http://localhost/clusters/4df4e756-e96b-4470-8d6c-0a1838fa4355', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}, {'uuid': '2163de0c-dfb3-4081-a963-be4e8c4f1fa6', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/2163de0c-dfb3-4081-a963-be4e8c4f1fa6', 'rel': 'self'}, {'href': 'http://localhost/clusters/2163de0c-dfb3-4081-a963-be4e8c4f1fa6', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS'}], 'next': 'http://localhost/v1/clusters?sort_key=id&sort_dir=asc&limit=3&marker=2163de0c-dfb3-4081-a963-be4e8c4f1fa6'} -GET: /v1/clusters/cluster1 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:10.903164+00:00', 'updated_at': None} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/uuid', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/uuid' is an internal attribute and can not be updated", "detail": "'/uuid' is an internal attribute and can not be updated", "links": []}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/cluster_template_id', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json +{"id": 42, "hard_limit": 10, "project_id": "fake_project", "resource": "Cluster", "created_at": "2023-01-11T04:01:23.655573+00:00", "updated_at": null} +DELETE: /v1/quotas/fake_project/Cluster +GOT:Response: 204 No Content Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/cluster_template_id' is a mandatory attribute and can not be removed", "detail": "'/cluster_template_id' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/name', 'value': 'cluster_example_B', 'op': 'replace'}] -GOT:Response: 400 Bad Request + +GET: /v1/quotas/fake_project/Cluster {} +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "cannot change cluster property(ies) name", "detail": "cannot change cluster property(ies) name.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Quota could not be found: project_id fake_project resource Cluster", "detail": "Quota could not be found: project_id fake_project resource Cluster.", "links": []}]} +GET: /v1/quotas {} +GOT:{'quotas': [{'id': 3, 'hard_limit': 10, 'project_id': 'proj-id-2', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:23.701136+00:00', 'updated_at': None}]} +GET: /v1/stats {} +GOT:{'clusters': 0, 'nodes': 0} +GET: /v1/stats {} +GOT:{'clusters': 1, 'nodes': 6} +GET: /v1/stats?project_id=123 {} +GET: / {} +GOT:Response: 500 Internal Server Error Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"uuid": "766eb5f9-bded-44f1-9b49-cecb2801dfce"} -GET: /v1/clustertemplates {} -GOT:{'clustertemplates': [{'uuid': '56060196-4993-4655-8538-71ab8b2cb3be', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/56060196-4993-4655-8538-71ab8b2cb3be', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/56060196-4993-4655-8538-71ab8b2cb3be', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': '0', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.711229+00:00', 'updated_at': None}, {'uuid': 'ba6823c7-9702-4501-84a5-bc361f2d5714', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/ba6823c7-9702-4501-84a5-bc361f2d5714', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/ba6823c7-9702-4501-84a5-bc361f2d5714', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': '1', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.713332+00:00', 'updated_at': None}, {'uuid': 'c33d591d-a922-4caa-9f46-e86394d202c5', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/c33d591d-a922-4caa-9f46-e86394d202c5', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/c33d591d-a922-4caa-9f46-e86394d202c5', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': '2', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.715585+00:00', 'updated_at': None}, {'uuid': '110fd98b-dd84-4924-ac21-4ba7937e1b83', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/110fd98b-dd84-4924-ac21-4ba7937e1b83', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/110fd98b-dd84-4924-ac21-4ba7937e1b83', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': '3', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.717582+00:00', 'updated_at': None}]}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_all_with_all_projects -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_all_with_all_projects ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_links -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_links ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_doesnt_contain_id -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_doesnt_contain_id ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_os_distro_image -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_os_distro_image ... ok +{"errors": [{"request_id": "", "code": "server", "status": 500, "title": "Test exception message", "detail": "Test exception message.", "links": []}]} +stdin:1:1: M302 assertEqual(A is not None) sentences not allowed. +magnum.tests.unit.test_hacking.HackingTestCase.test_assert_is_not_none +magnum.tests.unit.test_hacking.HackingTestCase.test_assert_is_not_none ... ok -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +DELETE: /v1/federations/foo +GOT:Response: 404 Not Found Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:12.756058+00:00", "updated_at": null} -PATCH: /v1/federations/5739477c-26c0-4bcd-85d4-d09cf1841e96 [{'path': '/member_ids', 'value': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'op': 'add'}] -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Federation foo could not be found", "detail": "Federation foo could not be found.", "links": []}]} +GET: /v1/federations/detail?limit=3&marker=81ba83ec-9c48-4a17-8233-1ac6d254ed6b {} +GOT:{'federations': [{'uuid': '37af02df-5189-479c-8d47-97cabc0979dd', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/37af02df-5189-479c-8d47-97cabc0979dd', 'rel': 'self'}, {'href': 'http://localhost/federations/37af02df-5189-479c-8d47-97cabc0979dd', 'rel': 'bookmark'}], 'created_at': '2023-01-11T04:01:24.377132+00:00', 'updated_at': None}]} +GET: /v1/federations/not_found {} +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5739477c-26c0-4bcd-85d4-d09cf1841e96"} -GET: /v1/federations/5739477c-26c0-4bcd-85d4-d09cf1841e96 {} -GOT:{'uuid': '5739477c-26c0-4bcd-85d4-d09cf1841e96', 'name': 'federation-example', 'hostcluster_id': 'fake_master', 'member_ids': ['5d12f6fd-a196-4bf0-ae4c-1f639a523a52'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/5739477c-26c0-4bcd-85d4-d09cf1841e96', 'rel': 'self'}, {'href': 'http://localhost/federations/5739477c-26c0-4bcd-85d4-d09cf1841e96', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:12.864806+00:00', 'updated_at': '2021-12-08T21:34:12.952301+00:00'} -PATCH: /v1/federations/e39ffc60-d871-4542-9084-20f65bb375df [{'path': '/member_ids', 'value': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'op': 'remove'}] +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Federation not_found could not be found", "detail": "Federation not_found could not be found.", "links": []}]} +PATCH: /v1/federations/bb74d812-92cd-45fa-9280-bd5416d7e435 [{'path': '/member_ids', 'value': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'op': 'remove'}] GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e39ffc60-d871-4542-9084-20f65bb375df"} -GET: /v1/federations/e39ffc60-d871-4542-9084-20f65bb375df {} -GOT:{'uuid': 'e39ffc60-d871-4542-9084-20f65bb375df', 'name': 'federation-example', 'hostcluster_id': 'fake_master', 'member_ids': [], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/e39ffc60-d871-4542-9084-20f65bb375df', 'rel': 'self'}, {'href': 'http://localhost/federations/e39ffc60-d871-4542-9084-20f65bb375df', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:13.074337+00:00', 'updated_at': '2021-12-08T21:34:13.126940+00:00'} -POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 10} -GOT:Response: 201 Created +{"uuid": "bb74d812-92cd-45fa-9280-bd5416d7e435"} +GET: /v1/federations/bb74d812-92cd-45fa-9280-bd5416d7e435 {} +GOT:{'uuid': 'bb74d812-92cd-45fa-9280-bd5416d7e435', 'name': 'federation-example', 'hostcluster_id': 'fake_master', 'member_ids': [], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/bb74d812-92cd-45fa-9280-bd5416d7e435', 'rel': 'self'}, {'href': 'http://localhost/federations/bb74d812-92cd-45fa-9280-bd5416d7e435', 'rel': 'bookmark'}], 'created_at': '2023-01-11T04:01:24.489998+00:00', 'updated_at': '2023-01-11T04:01:24.548811+00:00'} +POST: /v1/federations {'uuid': '2880493a-c9b9-4ef2-96f5-9819e0eaf86e', 'name': 'fake-name', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"id": 42, "hard_limit": 10, "project_id": "fake_project", "resource": "Cluster", "created_at": "2021-12-08T21:34:13.202424+00:00", "updated_at": null} - -PATCH: /v1/clustertemplates/f51b78e9-ebad-4586-adb3-82ec7b1b8da0 [{'path': '/name', 'value': 'cluster_model_example_B', 'op': 'add'}] +{"uuid": "b4377695-8b5a-49b3-99b0-9fc85cff5f21"} +POST: /v1/federations {'uuid': 'c05798a7-e458-4b1b-a761-04a79d5a245f', 'name': 'fake-name', 'hostcluster_id': 'aa304807-990f-4867-86e2-b422b7ff71b1', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate f51b78e9-ebad-4586-adb3-82ec7b1b8da0 could not be found", "detail": "ClusterTemplate f51b78e9-ebad-4586-adb3-82ec7b1b8da0 could not be found.", "links": []}]} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 409 Conflict +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster aa304807-990f-4867-86e2-b422b7ff71b1 could not be found", "detail": "Cluster aa304807-990f-4867-86e2-b422b7ff71b1 could not be found.", "links": []}]} +POST: /v1/federations {'uuid': 'f180c205-deef-4cd7-a7c0-e92c2c75d24a', 'name': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple images", "detail": "Multiple images", "links": []}]} -DELETE: /v1/federations/foo -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'. Value should have a maximum character requirement of 242", "links": []}]} +POST: /v1/federations {'uuid': '73254c11-15af-4ecc-9ba2-6db0eaf8519c', 'name': '123456', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Federation foo could not be found", "detail": "Federation foo could not be found.", "links": []}]} -GET: /v1/federations/?limit=3 {} -GOT:{'federations': [{'uuid': 'c2e85588-4d89-4cd8-a75a-bd255e9bfc1c', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/c2e85588-4d89-4cd8-a75a-bd255e9bfc1c', 'rel': 'self'}, {'href': 'http://localhost/federations/c2e85588-4d89-4cd8-a75a-bd255e9bfc1c', 'rel': 'bookmark'}]}, {'uuid': '70c20efc-a261-4995-a85d-a002099c7806', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/70c20efc-a261-4995-a85d-a002099c7806', 'rel': 'self'}, {'href': 'http://localhost/federations/70c20efc-a261-4995-a85d-a002099c7806', 'rel': 'bookmark'}]}, {'uuid': 'e0054a2d-7afd-4fc6-9d90-29d020814a77', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/e0054a2d-7afd-4fc6-9d90-29d020814a77', 'rel': 'self'}, {'href': 'http://localhost/federations/e0054a2d-7afd-4fc6-9d90-29d020814a77', 'rel': 'bookmark'}]}], 'next': 'http://localhost/v1/federations?sort_key=id&sort_dir=asc&limit=3&marker=e0054a2d-7afd-4fc6-9d90-29d020814a77'} -GET: /v1/federations {} -GOT:{'federations': []} -GET: /v1/federations/a9d5163b-1dd1-43d8-89eb-aefb0ba0874d {} -GOT:{'uuid': 'a9d5163b-1dd1-43d8-89eb-aefb0ba0874d', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/a9d5163b-1dd1-43d8-89eb-aefb0ba0874d', 'rel': 'self'}, {'href': 'http://localhost/federations/a9d5163b-1dd1-43d8-89eb-aefb0ba0874d', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:13.672872+00:00', 'updated_at': None} -GET: /v1/federations/fake-name {} -GOT:{'uuid': '6220358c-89dd-487b-9c7e-a7ea3cfccc78', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/6220358c-89dd-487b-9c7e-a7ea3cfccc78', 'rel': 'self'}, {'href': 'http://localhost/federations/6220358c-89dd-487b-9c7e-a7ea3cfccc78', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:13.730177+00:00', 'updated_at': None} -GET: /v1/federations/b67d36d7-76a5-40ea-8a9f-5076d3dc2ec7 {} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/federations {'uuid': 'fe09a60b-ba21-420c-ae08-eadef3df84cf', 'name': '123456test_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Federation b67d36d7-76a5-40ea-8a9f-5076d3dc2ec7 could not be found", "detail": "Federation b67d36d7-76a5-40ea-8a9f-5076d3dc2ec7 could not be found.", "links": []}]} -GET: /v1/federations {} -GOT:{'federations': [{'uuid': 'c401b49d-f696-4477-94c4-e0fb445ef246', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/c401b49d-f696-4477-94c4-e0fb445ef246', 'rel': 'self'}, {'href': 'http://localhost/federations/c401b49d-f696-4477-94c4-e0fb445ef246', 'rel': 'bookmark'}]}, {'uuid': 'f833adb4-3f1a-4828-becc-4dfeb463961e', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/f833adb4-3f1a-4828-becc-4dfeb463961e', 'rel': 'self'}, {'href': 'http://localhost/federations/f833adb4-3f1a-4828-becc-4dfeb463961e', 'rel': 'bookmark'}]}, {'uuid': 'b5f268ec-368a-41ee-94cd-b751a20f5f11', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/b5f268ec-368a-41ee-94cd-b751a20f5f11', 'rel': 'self'}, {'href': 'http://localhost/federations/b5f268ec-368a-41ee-94cd-b751a20f5f11', 'rel': 'bookmark'}]}, {'uuid': '3b85eb53-4d9c-481a-a9bc-32b148c722fc', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/3b85eb53-4d9c-481a-a9bc-32b148c722fc', 'rel': 'self'}, {'href': 'http://localhost/federations/3b85eb53-4d9c-481a-a9bc-32b148c722fc', 'rel': 'bookmark'}]}, {'uuid': 'a51468e1-c685-41a4-ab45-c735a7743f37', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/a51468e1-c685-41a4-ab45-c735a7743f37', 'rel': 'self'}, {'href': 'http://localhost/federations/a51468e1-c685-41a4-ab45-c735a7743f37', 'rel': 'bookmark'}]}]}magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_many -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_many ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_tenants -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_tenants ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_with_pagination_limit -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_with_pagination_limit ... ok -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_invalid_type_stats -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_invalid_type_stats ... ok -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_self_stats -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_self_stats ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_invalid_path -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_invalid_path ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_multiple_valid_network -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_multiple_valid_network ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_isolation_invalid -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_isolation_invalid ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_invalid_flavor -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_invalid_flavor ... ok -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_server_debug_on_clientfault -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_server_debug_on_clientfault ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_validate_cluster_properties -magnum.tests.unit.api.test_validation.TestValidation.test_validate_cluster_properties ... ok -magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_http -magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_http ... ok -magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_store_cert -magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_store_cert ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_trustee_domain_id -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_trustee_domain_id ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_get_client_profiler_enabled -magnum.tests.unit.common.test_rpc.TestRpc.test_get_client_profiler_enabled ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_get_transport_url_null -magnum.tests.unit.common.test_rpc.TestRpc.test_get_transport_url_null ... ok -magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get -magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_use_standard_locale_with_env_variables -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_use_standard_locale_with_env_variables ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates ... ok -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_create_trustee_and_trust_with_error -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_create_trustee_and_trust_with_error ... ok -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_docker_storage_driver -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_docker_storage_driver ... ok -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_delete_stack -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_delete_stack ... ok -magnum.tests.unit.conductor.test_scale_manager.TestK8sScaleManager.test_get_hosts_with_container -magnum.tests.unit.conductor.test_scale_manager.TestK8sScaleManager.test_get_hosts_with_container ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_userid -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_userid ... ok -magnum.tests.unit.conf.test_conf.ConfTestCase.test_import_mods_valid_func -magnum.tests.unit.conf.test_conf.ConfTestCase.test_import_mods_valid_func ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_uuid_that_does_not_exist -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_uuid_that_does_not_exist ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_id -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_id ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list_with_filters -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list_with_filters ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_create_quota_already_exists -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_create_quota_already_exists ... ok -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_server_error -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_server_error ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_bm_fedora_kubernetes_ironic_definition -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_bm_fedora_kubernetes_ironic_definition ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_driver_not_supported -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_driver_not_supported ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_bad_id_and_uuid -magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_bad_id_and_uuid ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_name -magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_name ... ok -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_coerce_bad_values -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_coerce_bad_values ... ok -magnum.tests.unit.objects.test_fields.TestClusterType.test_stringify -magnum.tests.unit.objects.test_fields.TestClusterType.test_stringify ... ok -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_coerce_good_values -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_coerce_good_values ... ok -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_stringify -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_stringify ... ok -magnum.tests.unit.objects.test_fields.TestServerType.test_stringify -magnum.tests.unit.objects.test_fields.TestServerType.test_stringify ... ok -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_save -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_save ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_hydration -magnum.tests.unit.objects.test_objects.TestObject.test_hydration ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_obj_constructor -magnum.tests.unit.objects.test_objects.TestObject.test_obj_constructor ... ok -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_backports_level1 -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_backports_level1 ... ok - -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': -12, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 65536, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 0, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 1023, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 'not an int', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '123456test_federation'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/federations {'uuid': '3f1b0a07-2257-497b-a744-0d45f5673308', 'name': '-test_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/clustertemplates/acc92d4f-b261-4375-864e-2b618fee6099 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "acc92d4f-b261-4375-864e-2b618fee6099", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/acc92d4f-b261-4375-864e-2b618fee6099", "rel": "self"}, {"href": "http://localhost/clustertemplates/acc92d4f-b261-4375-864e-2b618fee6099", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:13.666222+00:00", "updated_at": null} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '-test_federation'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/federations {'uuid': 'dbe02f0c-0a35-4272-9f6f-73a89cbc5a63', 'name': '.test_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute image_id", "detail": "Invalid input for field/attribute image_id. Value: 'None'. Mandatory field missing.", "links": []}]} -DELETE: /v1/federations/d426a543-61ba-4131-8b43-bb53082ab11a -GOT:Response: 204 No Content -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation -magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_join_cluster_already_member -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_join_cluster_already_member ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_hostcluster_does_not_exist -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_hostcluster_does_not_exist ... ok -magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_empty -magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_empty ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_invalid_value -magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_invalid_value ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_valid_false_values -magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_valid_false_values ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestUuidType.test_valid_uuid -magnum.tests.unit.api.controllers.v1.test_types.TestUuidType.test_valid_uuid ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_invalid_network -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_invalid_network ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_none_isolation -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_none_isolation ... ok -magnum.tests.unit.api.test_expose.TestExpose.test_expose_with_rest_content_types -magnum.tests.unit.api.test_expose.TestExpose.test_expose_with_rest_content_types ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_not_allowed_update -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_not_allowed_update ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_two_allowed_update -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_two_allowed_update ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_remove_update -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_remove_update ... ok -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_store_cert_failure -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_store_cert_failure ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_with_fail -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_with_fail ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_region -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_region ... ok +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '.test_federation'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]}magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_with_invalid_name +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_with_invalid_name ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_with_valid_name +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_with_valid_name ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_mandatory_attr +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_mandatory_attr ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_isolation_invalid_label +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_isolation_invalid_label ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_valid_vm +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_valid_vm ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_supported_add_update +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_supported_add_update ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_supported_replace_update +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_supported_replace_update ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_valid_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_valid_create ... ok +magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_http +magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_http ... ok +magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_correct_arg_with_details_and_path +magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_correct_arg_with_details_and_path ... ok +magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_none_arg +magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_none_arg ... ok +magnum.tests.unit.common.cert_manager.test_cert_manager.TestCert.test_get_decrypted_private_key +magnum.tests.unit.common.cert_manager.test_cert_manager.TestCert.test_get_decrypted_private_key ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_cached +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_cached ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_region +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_region ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_region +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_region ... ok magnum.tests.unit.common.test_clients.ClientsTest.test_url_for magnum.tests.unit.common.test_clients.ClientsTest.test_url_for ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_delete_trust -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_delete_trust ... ok -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_context -magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_context ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup_notifier_null -magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup_notifier_null ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_validate_and_normalize_mac_invalid_format -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_validate_and_normalize_mac_invalid_format ... ok -magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_k8s_quantity -magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_k8s_quantity ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_issuer_name -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_issuer_name ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage_disallowed -magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage_disallowed ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_sign_node_certificate_without_cluster_name -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_sign_node_certificate_without_cluster_name ... ok -magnum.tests.unit.conductor.handlers.test_ca_conductor.TestSignConductor.test_get_ca_certificate -magnum.tests.unit.conductor.handlers.test_ca_conductor.TestSignConductor.test_get_ca_certificate ... ok -magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_update_federation -magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_update_federation ... ok -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_class_action -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_class_action ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_coreos_with_disovery -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_coreos_with_disovery ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_pull_data_raise -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_pull_data_raise ... ok -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_get_ca_certificate -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_get_ca_certificate ... ok -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_no_container_host -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_no_container_host ... ok -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_one_container_host -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_one_container_host ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_add_extra_exmods +magnum.tests.unit.common.test_rpc.TestRpc.test_add_extra_exmods ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup_transport_null +magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup_transport_null ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_not_use_standard_locale +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_not_use_standard_locale ... ok +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_poll_node_count_by_update +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_poll_node_count_by_update ... ok +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_sign_certificate +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_sign_certificate ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_all_cluster_stats +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_all_cluster_stats ... ok magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_sorted magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_sorted ... ok magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_by_admin_all_tenants -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_by_admin_all_tenants ... ok -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_by_host_and_binary -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_by_host_and_binary ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_node_address -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_node_address ... ok -magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_update_outputs -magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_update_outputs ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_uuid -magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_uuid ... ok -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_from_primitive -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_from_primitive ... ok -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_stringify_invalid -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_stringify_invalid ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_changed_3 -magnum.tests.unit.objects.test_objects.TestObject.test_changed_3 ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_hydration_type_error -magnum.tests.unit.objects.test_objects.TestObject.test_hydration_type_error ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_obj_attr_is_set -magnum.tests.unit.objects.test_objects.TestObject.test_obj_attr_is_set ... ok -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_revision_does_not_backport -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_revision_does_not_backport ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_create_quota_already_exists +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_create_quota_already_exists ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url_fail +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url_fail ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_swarm_get_heat_param +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_swarm_get_heat_param ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_swarm_get_params +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_swarm_get_params ... ok +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_disabled_with_fp +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_disabled_with_fp ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_coreos_kubernetes_definition +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_coreos_kubernetes_definition ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_uuid +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_uuid ... ok +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_name +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_name ... ok +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_coerce_good_values +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_coerce_good_values ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_changed_4 +magnum.tests.unit.objects.test_objects.TestObject.test_changed_4 ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_contains +magnum.tests.unit.objects.test_objects.TestObject.test_contains ... ok magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_object_serialization_iterables magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_object_serialization_iterables ... ok -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_destroy -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_destroy ... ok -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_list -magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_list ... ok magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_heat_not_found magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_heat_not_found ... ok -magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_regular -magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_regular ... ok -GET: /v1/quotas?all_tenants=True {} -GOT:{'quotas': [{'id': 1, 'hard_limit': 10, 'project_id': 'proj-id-0', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:13.899152+00:00', 'updated_at': None}, {'id': 2, 'hard_limit': 10, 'project_id': 'proj-id-1', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:13.901031+00:00', 'updated_at': None}, {'id': 3, 'hard_limit': 10, 'project_id': 'proj-id-2', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:13.902242+00:00', 'updated_at': None}, {'id': 4, 'hard_limit': 10, 'project_id': 'proj-id-3', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:13.903404+00:00', 'updated_at': None}]} -GET: /v1/quotas?limit=2&all_tenants=True {} -GOT:{'quotas': [{'id': 1, 'hard_limit': 10, 'project_id': 'proj-id-0', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:13.942268+00:00', 'updated_at': None}, {'id': 2, 'hard_limit': 10, 'project_id': 'proj-id-1', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:13.943873+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/quotas?sort_key=id&sort_dir=asc&limit=2&marker=2'} -GET: /v1/stats?project_id=123&type=invalid {} -GET: /v1/stats {} -GOT:{'clusters': 1, 'nodes': 6} -GET: / {} -GOT:Response: 400 Bad Request -Content-Type: application/json -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Test exception message", "detail": "Test exception message.\nTraceback (most recent call last):\n File \"/opt/stack/magnum/magnum/openstack/common/rpc/amqp.py\", line 434, in _process_data\\n **args)\n File \"/opt/stack/magnum/magnum/openstack/common/rpc/dispatcher.py\", line 172, in dispatch\\n result = getattr(proxyobj, method)(context, **kwargs)", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '1.1..1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': 'openstack.org', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': '', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': '', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': '', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': '', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': '', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': '', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': '', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': '', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': '', 'fixed_subnet': '', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': '', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': '', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': '', 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': '', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': '', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': '', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': '', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': '', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_empty_string +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_empty_string ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_labels +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_labels ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_keypair_id +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_keypair_id ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_project_id_not_found +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_project_id_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_invalid_value +magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_invalid_value ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_limit +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_limit ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_config_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_config_create ... ok +magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_correct_arg_without_details_and_path +magnum.tests.unit.cmd.test_driver_manage.TestMagnumDriverManage.test_correct_arg_without_details_and_path ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_without_intermediate +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_without_intermediate ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_noauth +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_noauth ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova ... ok +magnum.tests.unit.common.test_exception.TestException.test_custom_message_is_templated +magnum.tests.unit.common.test_exception.TestException.test_custom_message_is_templated ... ok +magnum.tests.unit.common.test_policy.TestPolicy.test_check_is_admin_with_admin_context_succeeds +magnum.tests.unit.common.test_policy.TestPolicy.test_check_is_admin_with_admin_context_succeeds ... ok +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_entity +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_entity ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_clear_extra_exmods +magnum.tests.unit.common.test_rpc.TestRpc.test_clear_extra_exmods ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_f +magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_f ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_no_retry_on_success +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_no_retry_on_success ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_issuer_name +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_issuer_name ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_subject_name +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_set_subject_name ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions_disallowed +magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions_disallowed ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_client_files +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_client_files ... ok +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust_without_trust_id +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust_without_trust_id ... ok +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust_without_trustee_user_id +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust_without_trustee_user_id ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_trust_failed +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_trust_failed ... ok +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_multi_master +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_multi_master ... ok +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_update_stack_with_error +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_update_stack_with_error ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_pull_data_success +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_pull_data_success ... ok +magnum.tests.unit.conductor.test_scale_manager.TestMesosScaleManager.test_get_hosts_with_container +magnum.tests.unit.conductor.test_scale_manager.TestMesosScaleManager.test_get_hosts_with_container ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domainid +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domainid ... ok +magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedDict_type_check +magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedDict_type_check ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_one_tenant_cluster_stats +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_one_tenant_cluster_stats ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_uuid +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_uuid ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_with_filters +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_with_filters ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_members +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_members ... ok +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_update_magnum_service +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_update_magnum_service ... ok +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_cluster_failed +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_cluster_failed ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_invalid +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_invalid ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_unexpect_size +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_unexpect_size ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_api_address +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_api_address ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_master_address +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_master_address ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_api_address +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_api_address ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_output_mapping +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_output_mapping ... ok +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_destroy +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_destroy ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_save +magnum.tests.unit.objects.test_federation.TestFederationObject.test_save ... ok +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_coerce_bad_values +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_coerce_bad_values ... ok +magnum.tests.unit.objects.test_fields.TestClusterType.test_coerce_bad_values +magnum.tests.unit.objects.test_fields.TestClusterType.test_coerce_bad_values ... ok +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_to_primitive +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_to_primitive ... ok +magnum.tests.unit.objects.test_fields.TestServerType.test_coerce_good_values +magnum.tests.unit.objects.test_fields.TestServerType.test_coerce_good_values ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_dehydration +magnum.tests.unit.objects.test_objects.TestObject.test_dehydration ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_static_result +magnum.tests.unit.objects.test_objects.TestObject.test_static_result ... ok +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics ... ok +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_monitor_none +magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_monitor_none ... ok -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +GET: /clusters/a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed {} +GOT:{'uuid': 'a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed', 'rel': 'self'}, {'href': 'http://localhost/clusters/a7aa97e1-befb-4cf2-aef0-a82e0a8bb4ed', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:25.824566+00:00', 'updated_at': None} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/non-existent', 'op': 'remove'}] +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2021-12-08T21:34:09.947757+00:00", "updated_at": null} -GET: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:Response: 403 Forbidden -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow certificate:get to be performed", "detail": "Policy doesn't allow certificate:get to be performed.", "links": []}]} -GET: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'} -GET: /v1/certificates/test_cluster {} -GOT:Response: 409 Conflict -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.6 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple clusters exist with same name", "detail": "Multiple clusters exist with same name. Please use the cluster uuid instead.", "links": []}]} -GET: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'} -GET: /v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'} -GET: /certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'bay_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'cluster_uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'links': [{'href': 'http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'csr': 'fake-csr', 'pem': 'fake-pem'} -DELETE: /v1/clusters/5d452e87-d75f-4804-97b7-03b70723ec1e +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'", "detail": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'. Reason: can't remove non-existent object 'non-existent'", "links": []}]} +PATCH: /v1/clusters/1488b9c2-3957-452f-b032-095aa7dcb66f [{'path': '/name', 'value': 'cluster_example_B', 'op': 'replace'}] GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 5d452e87-d75f-4804-97b7-03b70723ec1e could not be found", "detail": "Cluster 5d452e87-d75f-4804-97b7-03b70723ec1e could not be found.", "links": []}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/non-existent', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'", "detail": "Couldn't apply patch '[{'path': '/non-existent', 'op': 'remove'}]'. Reason: can't remove non-existent object 'non-existent'", "links": []}]} -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/cluster_template_id', 'value': 'f6a17c3a-bedb-46c8-9709-d7c9d654b26f', 'op': 'replace'}] +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 1488b9c2-3957-452f-b032-095aa7dcb66f could not be found", "detail": "Cluster 1488b9c2-3957-452f-b032-095aa7dcb66f could not be found.", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "ClusterTemplate f6a17c3a-bedb-46c8-9709-d7c9d654b26f could not be found", "detail": "ClusterTemplate f6a17c3a-bedb-46c8-9709-d7c9d654b26f could not be found.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-flavor", "detail": "test-flavor", "links": []}]} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute cluster_template_id", "detail": "Invalid input for field/attribute cluster_template_id. Value: 'None'. Mandatory field missing.", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 0, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request -Content-Type: application/json +{"uuid": "d7c68129-3c35-42be-ae3e-1283e15ed839"} +DELETE: /v1/clustertemplates/089bb396-b436-46cd-b384-b5485ae6bac0 +GOT:Response: 204 No Content Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute master_count", "detail": "Invalid input for field/attribute master_count. Value: '0'. Value should be greater or equal to 1", "links": []}]}magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_master_count_zero -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_master_count_zero ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_none -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_timeout_none ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_delete -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_delete ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_update -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_only_owner_update ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid_not_found -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_get_one_by_uuid_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_not_set -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_not_set ... ok -GET: /v1/federations/d426a543-61ba-4131-8b43-bb53082ab11a {} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/keypair_id', 'value': 'aaa', 'op': 'replace'}] GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Federation d426a543-61ba-4131-8b43-bb53082ab11a could not be found", "detail": "Federation d426a543-61ba-4131-8b43-bb53082ab11a could not be found.", "links": []}]} -PATCH: /v1/federations/7b65fd03-0389-4cae-9bac-91d2abbc31f5 [{'path': '/member_ids', 'value': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'op': 'add'}] -GOT:Response: 409 Conflict +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "aaa", "detail": "aaa", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "A cluster with UUID 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 is already a member of thefederation federation-example", "detail": "A cluster with UUID 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 is already a member of thefederation federation-example.", "links": []}]} -POST: /v1/federations {'uuid': '2b4b1d04-e95d-4417-aca9-9844f4db4aa5', 'name': 'fake-name', 'hostcluster_id': '47bca13c-4fa8-437a-9b13-f335d0070209', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} -GOT:Response: 404 Not Found +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:26.994569+00:00", "updated_at": null} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': -1, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 1, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_docker_volume_size +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_docker_volume_size ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_image_name +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_image_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_volume_driver +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_volume_driver ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_image_id +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_image_id ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestFederationObject.test_federation_init +magnum.tests.unit.api.controllers.v1.test_federation.TestFederationObject.test_federation_init ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuotaObject.test_quota_init +magnum.tests.unit.api.controllers.v1.test_quota.TestQuotaObject.test_quota_init ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_valid_false_values +magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_valid_false_values ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_update_internal_attr +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_update_internal_attr ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_invalid_network +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_invalid_network ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_none_flavor +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_none_flavor ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_keypair_with_invalid_keypair +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_keypair_with_invalid_keypair ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_keypair_with_valid_keypair +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_keypair_with_valid_keypair ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_isolation_valid +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_isolation_valid ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_environment_variables_valid_json +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_environment_variables_valid_json ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_invalid_flavor +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_os_resources_with_invalid_flavor ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_all_three +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_all_three ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_latest_update +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_latest_update ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_updated +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_updated ... ok +magnum.tests.unit.common.test_context.ContextTestCase.test_context +magnum.tests.unit.common.test_context.ContextTestCase.test_context ... ok +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init ... ok +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_url +magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_url ... ok +magnum.tests.unit.common.test_rpc.TestProfilerRequestContextSerializer.test_deserialize_context +magnum.tests.unit.common.test_rpc.TestProfilerRequestContextSerializer.test_deserialize_context ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup +magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_get_server +magnum.tests.unit.common.test_rpc.TestRpc.test_get_server ... ok +magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get_exceed_manifest_size +magnum.tests.unit.common.test_urlfetch.TestUrlFetch.test_get_exceed_manifest_size ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions +magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_get_cluster_ca_certificate +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_get_cluster_ca_certificate ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_adopt_complete +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_adopt_complete ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_coreos_no_discoveryurl +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_coreos_no_discoveryurl ... ok +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_registry +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_registry ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success_no_master +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success_no_master ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_compute_metric_value +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_compute_metric_value ... ok +magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_module_name_valid_mods +magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_module_name_valid_mods ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_create_cluster_template_already_exists +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_create_cluster_template_already_exists ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_id_public +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_id_public ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_that_does_not_exist +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_that_does_not_exist ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_create_quota +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_create_quota ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_scale_params +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_scale_params ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_fail +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_fail ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_none_api_address +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_none_api_address ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_heat_param +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_heat_param ... ok +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_client_error +magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_client_error ... ok +magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_update_outputs +magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_update_outputs ... ok +magnum.tests.unit.objects.test_fields.TestClusterType.test_stringify +magnum.tests.unit.objects.test_fields.TestClusterType.test_stringify ... ok +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_report_state_up +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_report_state_up ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_hydration +magnum.tests.unit.objects.test_objects.TestObject.test_hydration ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_obj_fields +magnum.tests.unit.objects.test_objects.TestObject.test_obj_fields ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_object_property +magnum.tests.unit.objects.test_objects.TestObject.test_object_property ... ok +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_revision_does_not_backport_zero +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_revision_does_not_backport_zero ... ok +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_list_all +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_list_all ... ok + +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'value': True, 'op': 'replace'}] +GOT:Response: 200 OK Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 47bca13c-4fa8-437a-9b13-f335d0070209 could not be found", "detail": "Cluster 47bca13c-4fa8-437a-9b13-f335d0070209 could not be found.", "links": []}]} -GET: /v1/mservices {} -GOT:{'mservices': []} -stdin:1:1: M339 Do not use xrange(). -magnum.tests.unit.test_hacking.HackingTestCase.test_no_xrange -magnum.tests.unit.test_hacking.HackingTestCase.test_no_xrange ... ok - -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': '', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': '', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': '', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': '', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': '', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 409 Conflict +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": "8.8.1.1", "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:23.070748+00:00", "updated_at": null} +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:23.070748+00:00', 'updated_at': '2023-01-11T04:01:23.482850+00:00'} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple images", "detail": "Multiple images", "links": []}]} -POST: /v1/baymodels {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 400 Bad Request +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:23.556567+00:00", "updated_at": null} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} -GET: /v1/clusters {} -GOT:Response: 403 Forbidden +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": true, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:23.588910+00:00", "updated_at": null} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_dns +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_dns ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_docker_volume_size +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_docker_volume_size ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_coe +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_coe ... ok + +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:get_all to be performed", "detail": "Policy doesn't allow cluster:get_all to be performed.", "links": []}]} -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:Response: 403 Forbidden +{"uuid": "338f969a-f1a1-4f7a-898e-9c71bf1dfebf"} +GET: /v1/clustertemplates {} +GOT:{'clustertemplates': [{'uuid': 'e19f818d-336e-4f2d-9c9e-99d45b6b2452', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e19f818d-336e-4f2d-9c9e-99d45b6b2452', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e19f818d-336e-4f2d-9c9e-99d45b6b2452', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:24.797470+00:00', 'updated_at': None}, {'uuid': '82040c19-e6c2-438a-bfe3-ddc867887c0d', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/82040c19-e6c2-438a-bfe3-ddc867887c0d', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/82040c19-e6c2-438a-bfe3-ddc867887c0d', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:24.801004+00:00', 'updated_at': None}, {'uuid': '2234cb6a-b56e-441d-8a5f-aee19ebca66e', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/2234cb6a-b56e-441d-8a5f-aee19ebca66e', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/2234cb6a-b56e-441d-8a5f-aee19ebca66e', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:24.803622+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/clustertemplates?sort_key=id&sort_dir=asc&limit=3&marker=2234cb6a-b56e-441d-8a5f-aee19ebca66e'} +GET: /v1/clustertemplates {} +GOT:{'clustertemplates': []} +GET: /v1/clustertemplates/not_found {} +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:get to be performed", "detail": "Policy doesn't allow cluster:get to be performed.", "links": []}]} -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:11.872671+00:00', 'updated_at': None}magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_remove_ok ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_ext_network -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_invalid_ext_network ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_timeout -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_timeout ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_docker_volume_size -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_docker_volume_size ... ok -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_labels -magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_without_labels ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_name_not_found -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestDelete.test_delete_cluster_template_with_name_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_one -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_one ... ok +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate not_found could not be found", "detail": "ClusterTemplate not_found could not be found.", "links": []}]} +GET: /v1/clustertemplates {} +GOT:{'clustertemplates': [{'uuid': '3e2aed14-f059-41c5-9b6d-5c008d84ba1b', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/3e2aed14-f059-41c5-9b6d-5c008d84ba1b', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/3e2aed14-f059-41c5-9b6d-5c008d84ba1b', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:25.004193+00:00', 'updated_at': None}, {'uuid': '74ae0dbc-03a5-4225-89a6-16ea46025e19', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/74ae0dbc-03a5-4225-89a6-16ea46025e19', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/74ae0dbc-03a5-4225-89a6-16ea46025e19', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:25.006615+00:00', 'updated_at': None}, {'uuid': '4f2ed69e-08c6-4258-a6fd-b9d458c761c1', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/4f2ed69e-08c6-4258-a6fd-b9d458c761c1', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/4f2ed69e-08c6-4258-a6fd-b9d458c761c1', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:25.008675+00:00', 'updated_at': None}, {'uuid': '7e1823c9-2c65-495a-b2f5-c70a5aad5cf5', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/7e1823c9-2c65-495a-b2f5-c70a5aad5cf5', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/7e1823c9-2c65-495a-b2f5-c70a5aad5cf5', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:25.011010+00:00', 'updated_at': None}, {'uuid': '054812fa-8274-4bea-8592-a10a628d1766', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/054812fa-8274-4bea-8592-a10a628d1766', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/054812fa-8274-4bea-8592-a10a628d1766', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:25.013157+00:00', 'updated_at': None}]}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_many +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestListClusterTemplate.test_many ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_singular +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_singular ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_fail +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_public_fail ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_not_found +magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_collection_links +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_collection_links ... ok -GET: /v1/federations/detail?limit=3&marker=37e23c21-2e68-4a3f-9db3-faaa0e3fbdd3 {} -GOT:{'federations': [{'uuid': 'ab31ca45-4f91-403e-ae86-22db508c3428', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/ab31ca45-4f91-403e-ae86-22db508c3428', 'rel': 'self'}, {'href': 'http://localhost/federations/ab31ca45-4f91-403e-ae86-22db508c3428', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:13.241363+00:00', 'updated_at': None}]} -GET: /v1/federations/test_federation {} -GOT:Response: 409 Conflict +POST: /v1/federations {'uuid': 'dae629e9-1c0f-42fa-9543-39e4f4d2feea', 'name': '_test_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "Multiple federations exist with same name", "detail": "Multiple federations exist with same name. Please use the federation uuid instead.", "links": []}]} -POST: /v1/federations {'uuid': '2fa2a6c0-2fb3-45c9-a2d9-f6e6d23ea38d', 'name': 'fake-name', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: '_test_federation'. Value should match the pattern ^[a-zA-Z][a-zA-Z0-9_.-]*$", "links": []}]} +POST: /v1/federations {'uuid': '40cf3c68-8ba7-4748-8f06-52bb48b6f44c', 'name': '', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "81a0461f-1586-4477-b58a-d41753090ffa"} -POST: /v1/federations {'name': 'fake-name', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute name", "detail": "Invalid input for field/attribute name. Value: ''. Value should have a minimum character requirement of 1", "links": []}]} +POST: /v1/federations {'uuid': '078fa85a-1e87-43df-92d2-79e2482e32b9', 'name': 'test_federation123456', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e6aa3df9-ea32-4534-8691-2c7202bcfed0"} -POST: /v1/federations {'uuid': '9f171e89-cbd7-4f32-94c1-8928e39ba997', 'name': 'test_federation123456', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"uuid": "65b79480-2431-4052-91e2-1000b88d9b9f"} +POST: /v1/federations {'uuid': '612459f1-957f-44ff-9d2f-b4ff77f6a35e', 'name': 'test-federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "49992bf5-14a1-4ae7-8d8b-9d6be75d5c30"} -POST: /v1/federations {'uuid': '2f9502ae-54ee-4553-ae66-3fa8fd6511fc', 'name': 'test-federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"uuid": "7762cc33-f2da-493d-a6f2-e2e822406545"} +POST: /v1/federations {'uuid': '0896b89f-a773-415c-ad46-18de8513cd3c', 'name': 'test.federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "73ef0b57-6d9b-4d2a-a7b8-3f010450f730"} -POST: /v1/federations {'uuid': '500fdf70-f837-4e8f-b3c7-7aa09266a898', 'name': 'test.federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"uuid": "e06efeb7-6946-438d-947a-afafeafaa531"} +POST: /v1/federations {'uuid': '07b1ab05-f533-498b-98c7-9630b824e9ba', 'name': 'testfederation.', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "271e5b7e-f2b6-420d-983d-87d526caf959"} -POST: /v1/federations {'uuid': 'fffba712-c08d-4fe4-bf5e-103ab9c5e444', 'name': 'testfederation.', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"uuid": "363c7968-dc85-4b49-8a92-62d553dd622f"} +POST: /v1/federations {'uuid': 'd065891f-4922-4375-8cf2-82110e3b57b3', 'name': 'testfederation-', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "c61d20f6-c9aa-487b-893e-7b92233adc11"} -POST: /v1/federations {'uuid': '6c1566dc-7c25-476c-9ee0-14c9136a249c', 'name': 'testfederation-', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"uuid": "cea9e140-2eff-4b1f-9f95-61a48ff66775"} +POST: /v1/federations {'uuid': 'e4f2b543-0852-4e53-993a-0c98336147a0', 'name': 'testfederation_', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "a001eaf9-447b-4ea7-961f-b5121860cf22"} -POST: /v1/federations {'uuid': '8b6df93e-d512-46ae-9693-3216f5a8ab52', 'name': 'testfederation_', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"uuid": "c2792048-fbac-4ead-a705-d8b0492edcd1"} +POST: /v1/federations {'uuid': 'ac96fb60-1ced-4e7b-bd6a-149ae1d9ef64', 'name': 'test.-_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "d34ab981-8d05-48e1-9ed7-d509b5dfe01a"} -POST: /v1/federations {'uuid': '12809dc4-ba32-4363-9ba0-60cbd46b532e', 'name': 'test.-_federation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +{"uuid": "b3516560-4a6c-494d-9eec-d5b03495f38a"} +POST: /v1/federations {'uuid': '3e5f143d-3ff3-42bf-b5d5-ca5ba12d2ff5', 'name': 'Testfederation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "6ea0e409-ddd3-4eb5-9c09-b42bc22e882e"} -POST: /v1/federations {'uuid': 'f19b6f13-c3a7-4fba-b7fa-001f5a666ba3', 'name': 'Testfederation', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} -GOT:Response: 202 Accepted +{"uuid": "6453d18a-4425-4b8d-b71f-717795256ab1"} +stdin:1:1: M352 LOG.warn is deprecated, please use LOG.warning! +magnum.tests.unit.test_hacking.HackingTestCase.test_no_log_warn +magnum.tests.unit.test_hacking.HackingTestCase.test_no_log_warn ... ok + +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': '', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "b15459fb-e06e-4921-8de2-10e52b5bfa0b"} - -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_FAILED', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'faults': {}, 'created_at': '2021-12-08T21:34:13.649385+00:00', 'updated_at': None} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 409 Conflict +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:23.803590+00:00", "updated_at": null} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 409, "title": "test-img", "detail": "test-img", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'foo', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 400 Bad Request +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": null, "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:23.846284+00:00", "updated_at": null} +POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 10} +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "master_count must be 1 when master_lb_enabled is False", "detail": "master_count must be 1 when master_lb_enabled is False", "links": []}]} -DELETE: /v1/clustertemplates/clustermodel1 -GOT:Response: 204 No Content +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "The project_id fake_project could not be found", "detail": "The project_id fake_project could not be found.", "links": []}]} + +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None, 'keypair': 'keypair2'} +GOT:Response: 202 Accepted +Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version - -GET: /v1/clustertemplates/?limit=3 {} -GOT:{'clustertemplates': [{'uuid': '8d3f1b07-c4cb-4567-bc22-ef890248dc17', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/8d3f1b07-c4cb-4567-bc22-ef890248dc17', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/8d3f1b07-c4cb-4567-bc22-ef890248dc17', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:14.231500+00:00', 'updated_at': None}, {'uuid': 'f0581e5c-cecf-47c3-a451-7dab912db794', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/f0581e5c-cecf-47c3-a451-7dab912db794', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/f0581e5c-cecf-47c3-a451-7dab912db794', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:14.234768+00:00', 'updated_at': None}, {'uuid': '9be4a72b-036e-46e9-80aa-fea626ee8297', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/9be4a72b-036e-46e9-80aa-fea626ee8297', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/9be4a72b-036e-46e9-80aa-fea626ee8297', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:14.237426+00:00', 'updated_at': None}], 'next': 'http://localhost/v1/clustertemplates?sort_key=id&sort_dir=asc&limit=3&marker=9be4a72b-036e-46e9-80aa-fea626ee8297'} +{"uuid": "958aac55-03d1-4b18-a492-3ad355df71c0"} GET: /v1/clustertemplates/detail {} -GOT:{'clustertemplates': [{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:14.321141+00:00', 'updated_at': None}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/image_id', 'op': 'remove'}] +GOT:{'clustertemplates': [{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:24.196396+00:00', 'updated_at': None}]} +GET: /v1/clustertemplates/426661e3-6148-40e9-88bc-038184383cf9 {} +GOT:{'uuid': '426661e3-6148-40e9-88bc-038184383cf9', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/426661e3-6148-40e9-88bc-038184383cf9', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/426661e3-6148-40e9-88bc-038184383cf9', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': '426661e3-6148-40e9-88bc-038184383cf9', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:24.265792+00:00', 'updated_at': None} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/uuid', 'op': 'remove'}] GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/image_id' is a mandatory attribute and can not be removed", "detail": "'/image_id' is a mandatory attribute and can not be removed", "links": []}]}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_mandatory_property_fail -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_mandatory_property_fail ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_uuid -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPatch.test_remove_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestFederationObject.test_federation_init -magnum.tests.unit.api.controllers.v1.test_federation.TestFederationObject.test_federation_init ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_all_with_pagination_marker -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_all_with_pagination_marker ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_uuid -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_invalid_resource -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_create_quota_invalid_resource ... ok -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_patch_quota -magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_patch_quota ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_add_with_no_value -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_add_with_no_value ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_internal_attr -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_internal_attr ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_replace_with_no_value -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_replace_with_no_value ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_update_internal_attr -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_update_internal_attr ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_no_label -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_no_label ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_invalid_providers -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_invalid_providers ... ok -magnum.tests.unit.api.test_hooks.TestContextHook.test_context_hook_before_method -magnum.tests.unit.api.test_hooks.TestContextHook.test_context_hook_before_method ... ok -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_remote_error_success -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_remote_error_success ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_old_update -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_old_update ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_not_allowed_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_not_allowed_create ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_one_allowed_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_one_allowed_create ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_one_allowed_update -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_one_allowed_update ... ok -magnum.tests.unit.common.cert_manager.test_cert_manager.TestCertManager.test_local_cert_manager -magnum.tests.unit.common.cert_manager.test_cert_manager.TestCertManager.test_local_cert_manager ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_without_pkp -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_without_pkp ... ok -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_version -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_version ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_1 -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_1 ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_not_use_standard_locale -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_not_use_standard_locale ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_use_standard_locale_no_env_variables -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_use_standard_locale_no_env_variables ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_safe_rstrip -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_safe_rstrip ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_has_publickey -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_has_publickey ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_subject_name -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_subject_name ... ok -magnum.tests.unit.conductor.handlers.test_conductor_listener.TestHandler.test_ping_conductor -magnum.tests.unit.conductor.handlers.test_conductor_listener.TestHandler.test_ping_conductor ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_coreos_no_discoveryurl -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_coreos_no_discoveryurl ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_dns -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_dns ... ok -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_create_stack_with_error -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_create_stack_with_error ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_pull_data_success -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_pull_data_success ... ok -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_two_container_hosts -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_two_container_hosts ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_id_that_does_not_exist -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_id_that_does_not_exist ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid_that_does_not_exist -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_uuid_that_does_not_exist ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list_sorted -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_list_sorted ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_create_federation -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_create_federation ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_by_id -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_by_id ... ok -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_create_or_complete -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_create_or_complete ... ok -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_no_save -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_no_save ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_master_address_fip_disabled -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_master_address_fip_disabled ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_params -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_params ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_destroy -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_destroy ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_name -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_by_name ... ok -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_create -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_create ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_destroy -magnum.tests.unit.objects.test_federation.TestFederationObject.test_destroy ... ok -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_stringify -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_stringify ... ok -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_coerce_good_values -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_coerce_good_values ... ok -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_get_by_host_and_binary_no_service -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_get_by_host_and_binary_no_service ... ok - -GET: /v1/clustertemplates/9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2 {} -GOT:{'uuid': '9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.826807+00:00', 'updated_at': None} -GET: /v1/clustertemplates/9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2 {} -GOT:{'uuid': '9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.826807+00:00', 'updated_at': None} -GET: /clustertemplates/9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2 {} -GOT:{'uuid': '9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/9822ef2f-2578-44ac-a7c9-d5d0b6caa5b2', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:11.826807+00:00', 'updated_at': None} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'my-image', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/uuid' is an internal attribute and can not be updated", "detail": "'/uuid' is an internal attribute and can not be updated", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 @@ -9317,253 +9450,347 @@ Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "my-image", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:12.238241+00:00", "updated_at": null} +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:24.388911+00:00", "updated_at": null} POST: /v1/clustertemplates {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 +Location: http://localhost/v1/clustertemplates/b80302f0-8e8f-4c14-9efe-e9ef89c7deec Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": null, "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:12.393740+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_keypair_id -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_keypair_id ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_not_found -magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_not_found ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_with_name -magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation_with_name ... ok -magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_get_one -magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_get_one ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_invalid_values -magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_invalid_values ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch_add_attr_not_exist -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch_add_attr_not_exist ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_by_uuid -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_by_uuid ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_multi_exist -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_multi_exist ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_none_flavor -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_flavor_with_none_flavor ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_without_os_distro -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_without_os_distro ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_valid -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_strategy_valid ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_not_supported_replace_update -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_not_supported_replace_update ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_supported_add_update -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_supported_add_update ... ok -magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https_no_key -magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_https_no_key ... ok -magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_revision -magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_revision ... ok -magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_upgrade -magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_upgrade ... ok -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanCert.test_barbican_cert -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanCert.test_barbican_cert ... ok -magnum.tests.unit.common.test_context.ContextTestCase.test_to_dict_from_dict -magnum.tests.unit.common.test_context.ContextTestCase.test_to_dict_from_dict ... ok -magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers -magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers ... ok -magnum.tests.unit.common.test_service.TestMagnumService.test_prepare_service_with_argv_none -magnum.tests.unit.common.test_service.TestMagnumService.test_prepare_service_with_argv_none ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_f -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_uuid_f ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_safe_rstrip_not_raises_exceptions -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_safe_rstrip_not_raises_exceptions ... ok -magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_openstasck_ca -magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_openstasck_ca ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_with_bytes_issuer_name -magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_ca_certificate_with_bytes_issuer_name ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions -magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage -magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage ... ok +{"uuid": "b80302f0-8e8f-4c14-9efe-e9ef89c7deec", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/b80302f0-8e8f-4c14-9efe-e9ef89c7deec", "rel": "self"}, {"href": "http://localhost/clustertemplates/b80302f0-8e8f-4c14-9efe-e9ef89c7deec", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:24.429208+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_os_distro_image +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_os_distro_image ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_links +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_links ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_no_hostcluster_id +magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_no_hostcluster_id ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_one_not_found +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_one_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_one +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_one ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_extra_non_removable_attr +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_remove_extra_non_removable_attr ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestUuidType.test_valid_uuid +magnum.tests.unit.api.controllers.v1.test_types.TestUuidType.test_valid_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_sort_dir +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_validate_sort_dir ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_invalid_providers +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_invalid_providers ... ok +magnum.tests.unit.api.test_hooks.TestContextHook.test_context_hook_before_method +magnum.tests.unit.api.test_hooks.TestContextHook.test_context_hook_before_method ... ok +magnum.tests.unit.api.test_hooks.TestContextHook.test_context_hook_before_method_auth_info +magnum.tests.unit.api.test_hooks.TestContextHook.test_context_hook_before_method_auth_info ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_created +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_created ... ok +magnum.tests.unit.cmd.test_conductor.TestMagnumConductor.test_conductor +magnum.tests.unit.cmd.test_conductor.TestMagnumConductor.test_conductor ... ok +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_get_cert_no_registration +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_get_cert_no_registration ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_noauth +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_noauth ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_password +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_password ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name_not_found +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_get_validate_region_name_not_found ... ok +magnum.tests.unit.common.test_profiler.TestProfiler.test_setup_profiler_without_osprofiler +magnum.tests.unit.common.test_profiler.TestProfiler.test_setup_profiler_without_osprofiler ... ok +magnum.tests.unit.common.test_rpc.TestProfilerRequestContextSerializer.test_serialize_context +magnum.tests.unit.common.test_rpc.TestProfilerRequestContextSerializer.test_serialize_context ... ok +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_entity +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_serialize_entity ... ok +magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup_notifier_null +magnum.tests.unit.common.test_rpc.TestRpc.test_cleanup_notifier_null ... ok +magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir_mocked +magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir_mocked ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_issuer_name +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_set_issuer_name ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_empty_chars +magnum.tests.unit.common.x509.test_sign.TestX509.test_sign_empty_chars ... ok magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_notin_cache magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_notin_cache ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_set_file_permissions -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_set_file_permissions ... ok -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust_without_trustee_user_id -magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_delete_trustee_and_trust_without_trustee_user_id ... ok -magnum.tests.unit.conductor.handlers.test_ca_conductor.TestSignConductor.test_sign_certificate -magnum.tests.unit.conductor.handlers.test_ca_conductor.TestSignConductor.test_sign_certificate ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack_timeout_is_zero -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack_timeout_is_zero ... ok -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_all_values -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_all_values ... ok -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_update_stack_with_error -magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_update_stack_with_error ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_get_metric_unit -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_get_metric_unit ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_compute_metric_value -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_compute_metric_value ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_userid_projectid -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_userid_projectid ... ok -magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_module_name_valid_mods -magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_module_name_valid_mods ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_create_cluster_template -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_create_cluster_template ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_public -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_public ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template_that_does_not_exist -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template_that_does_not_exist ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template_uuid -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template_uuid ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_id_that_does_not_exist -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_id_that_does_not_exist ... ok -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_by_host_and_binary_failure -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_by_host_and_binary_failure ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_create_quota -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_create_quota ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_with_filters -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_with_filters ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_list_by_admin_all_tenants -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_list_by_admin_all_tenants ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url_not_found -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url_not_found ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs ... ok -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_duplicated_name -magnum.tests.unit.drivers.test_template_definition.FedoraK8sIronicTemplateDefinitionTestCase.test_get_fixed_network_id_with_duplicated_name ... ok -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_bad_id_and_uuid -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_bad_id_and_uuid ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_list_with_filters -magnum.tests.unit.objects.test_federation.TestFederationObject.test_list_with_filters ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_update_stack +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_update_stack ... ok +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_lb_neutron +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_lb_neutron ... ok +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_update_stack +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_update_stack ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_get_metric_names +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_get_metric_names ... ok +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_update +magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_update ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_invalid_status +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_invalid_status ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid_from_uuid +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid_from_uuid ... ok +magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_module_name_invalid_mods +magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_module_name_invalid_mods ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_name +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_name ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_uuid +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_uuid ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster_not_found +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster_not_found ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_by_admin_all_tenants +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_by_admin_all_tenants ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_none_api_address +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_none_api_address ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_kubernetes_definition +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_kubernetes_definition ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list ... ok +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_list +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_list ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_uuid +magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_uuid ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_refresh +magnum.tests.unit.objects.test_federation.TestFederationObject.test_refresh ... ok magnum.tests.unit.objects.test_fields.TestServerType.test_from_primitive magnum.tests.unit.objects.test_fields.TestServerType.test_from_primitive ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_changes_in_primitive -magnum.tests.unit.objects.test_objects.TestObject.test_changes_in_primitive ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_loaded_in_primitive -magnum.tests.unit.objects.test_objects.TestObject.test_loaded_in_primitive ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_object_property_type_error -magnum.tests.unit.objects.test_objects.TestObject.test_object_property_type_error ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_unknown_objtype -magnum.tests.unit.objects.test_objects.TestObject.test_unknown_objtype ... ok -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_passes_revision -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_passes_revision ... ok +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_get_by_host_and_binary +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_get_by_host_and_binary ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_orphaned_object +magnum.tests.unit.objects.test_objects.TestObject.test_orphaned_object ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_updates +magnum.tests.unit.objects.test_objects.TestObject.test_updates ... ok magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_refresh magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_refresh ... ok -DELETE: /v1/federations/1ed817a1-3b58-4261-b6a7-da132a07b208 +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': '', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': '', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': '', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'fixed_subnet': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_long_string +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_invalid_long_string ... ok +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_labels +magnum.tests.unit.api.controllers.v1.test_baymodel.TestPost.test_create_baymodel_with_labels ... ok +magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_by_cluster_name +magnum.tests.unit.api.controllers.v1.test_certificate.TestPost.test_create_cert_by_cluster_name ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_update +magnum.tests.unit.api.controllers.v1.test_cluster.TestClusterPolicyEnforcement.test_policy_only_owner_update ... ok + +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 2, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 'notanint', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Federation 1ed817a1-3b58-4261-b6a7-da132a07b208 could not be found", "detail": "Federation 1ed817a1-3b58-4261-b6a7-da132a07b208 could not be found.", "links": []}]} -DELETE: /v1/federations/federation-example -GOT:Response: 204 No Content -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version - -GET: /v1/mservices {} -GOT:{'mservices': [{'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 1, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}]} - -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 1, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 2, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 'notanint', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'fixed_subnet': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_long_string -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_long_string ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_flavor -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_flavor ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_collection_links_default_limit -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_collection_links_default_limit ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail -magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_detail ... ok - -PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'op': 'remove'}] -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "test-img", "detail": "test-img", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': 'rexray', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"} -GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} -GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 1, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2021-12-08T21:34:11.872671+00:00', 'updated_at': '2021-12-08T21:34:12.219466+00:00'} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:27.113360+00:00", "updated_at": null} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "test-net", "detail": "test-net", "links": []}]} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute image_id", "detail": "Invalid input for field/attribute image_id. Value: 'None'. Mandatory field missing.", "links": []}]} + +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:25.097228+00:00', 'updated_at': None} +PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/dns_nameserver', 'op': 'remove'}] +GOT:Response: 200 OK Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "cbf91816-ceac-4734-b8f8-8be71e09e79a"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "cluster_model_example_A", "coe": "swarm", "image_id": "nerdherd", "flavor_id": "m1.magnum", "master_flavor_id": "m1.magnum", "dns_nameserver": null, "keypair_id": "test", "external_network_id": "public", "fixed_network": "private", "fixed_subnet": "private", "network_driver": null, "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:25.097228+00:00", "updated_at": null} +GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +GOT:{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'cluster_model_example_A', 'coe': 'swarm', 'image_id': 'nerdherd', 'flavor_id': 'm1.magnum', 'master_flavor_id': 'm1.magnum', 'dns_nameserver': None, 'keypair_id': 'test', 'external_network_id': 'public', 'fixed_network': 'private', 'fixed_subnet': 'private', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': 'rexray', 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2023-01-11T04:01:25.097228+00:00', 'updated_at': '2023-01-11T04:01:25.250733+00:00'} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': True, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +DELETE: /v1/federations/5975c1c5-dae8-4e17-a37b-3336fb9f81ac +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "916f47e1-5ddc-4033-a095-0f42086b0322"} -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Federation 5975c1c5-dae8-4e17-a37b-3336fb9f81ac could not be found", "detail": "Federation 5975c1c5-dae8-4e17-a37b-3336fb9f81ac could not be found.", "links": []}]} +GET: /v1/federations/?limit=3 {} +GOT:{'federations': [{'uuid': '155eab68-3de2-426a-bf43-f35f651da6be', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/155eab68-3de2-426a-bf43-f35f651da6be', 'rel': 'self'}, {'href': 'http://localhost/federations/155eab68-3de2-426a-bf43-f35f651da6be', 'rel': 'bookmark'}]}, {'uuid': 'ae7bf525-5d18-4e54-8d93-01415ca3dfcb', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/ae7bf525-5d18-4e54-8d93-01415ca3dfcb', 'rel': 'self'}, {'href': 'http://localhost/federations/ae7bf525-5d18-4e54-8d93-01415ca3dfcb', 'rel': 'bookmark'}]}, {'uuid': 'b31d8ffd-6f77-4140-8948-9f1c02aa0897', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/b31d8ffd-6f77-4140-8948-9f1c02aa0897', 'rel': 'self'}, {'href': 'http://localhost/federations/b31d8ffd-6f77-4140-8948-9f1c02aa0897', 'rel': 'bookmark'}]}], 'next': 'http://localhost/v1/federations?sort_key=id&sort_dir=asc&limit=3&marker=b31d8ffd-6f77-4140-8948-9f1c02aa0897'} +GET: /v1/federations {} +GOT:{'federations': [{'uuid': 'fcd02fc3-4e90-44b2-9de8-ed34bb53e1cb', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/fcd02fc3-4e90-44b2-9de8-ed34bb53e1cb', 'rel': 'self'}, {'href': 'http://localhost/federations/fcd02fc3-4e90-44b2-9de8-ed34bb53e1cb', 'rel': 'bookmark'}]}, {'uuid': '9d0d6779-6df7-40fe-9ca5-4d742f1cf524', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/9d0d6779-6df7-40fe-9ca5-4d742f1cf524', 'rel': 'self'}, {'href': 'http://localhost/federations/9d0d6779-6df7-40fe-9ca5-4d742f1cf524', 'rel': 'bookmark'}]}, {'uuid': 'd6ceb653-e810-46e2-84f5-c29dfe811873', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/d6ceb653-e810-46e2-84f5-c29dfe811873', 'rel': 'self'}, {'href': 'http://localhost/federations/d6ceb653-e810-46e2-84f5-c29dfe811873', 'rel': 'bookmark'}]}], 'next': 'http://localhost/v1/federations?sort_key=id&sort_dir=asc&limit=3&marker=d6ceb653-e810-46e2-84f5-c29dfe811873'}magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_collection_links_default_limit +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_collection_links_default_limit ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_uuid_not_found +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_uuid_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_add_with_no_value +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_add_with_no_value ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_invalid_path +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_invalid_path ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_resource_with_uuid +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_resource_with_uuid ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_without_os_distro +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_without_os_distro ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_no_label +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_no_label ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_environment_variables_bad_json +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_environment_variables_bad_json ... ok +magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_without_traceback +magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_without_traceback ... ok +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_old_update +magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_old_update ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_create ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_invalid_coe_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_invalid_coe_create ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_one_allowed_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_one_allowed_create ... ok +magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_revision +magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_revision ... ok +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_get_cert +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_get_cert ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_cert_fail +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_with_loading_cert_fail ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_noauth +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_noauth ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_region +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_region ... ok +magnum.tests.unit.common.test_context.ContextTestCase.test_request_context_sets_is_admin +magnum.tests.unit.common.test_context.ContextTestCase.test_request_context_sets_is_admin ... ok +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_entity_null_base +magnum.tests.unit.common.test_rpc.TestRequestContextSerializer.test_deserialize_entity_null_base ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_8 +magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_8 ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_without_root_helper +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_without_root_helper ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_safe_rstrip_not_raises_exceptions +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_safe_rstrip_not_raises_exceptions ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_validate_and_normalize_mac_invalid_format +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_validate_and_normalize_mac_invalid_format ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates_if_raise_error +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates_if_raise_error ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack_timeout_is_zero +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack_timeout_is_zero ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_get_metric_unit +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_get_metric_unit ... ok +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_one_container_host +magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_one_container_host ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domainid_userid +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domainid_userid ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_id_that_does_not_exist +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_id_that_does_not_exist ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_name_multiple_federation +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_name_multiple_federation ... ok +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_create_x509keypair +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_create_x509keypair ... ok +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_params_insecure +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_params_insecure ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_output_with_mapping_type +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_output_with_mapping_type ... ok +magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_heat_param +magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_heat_param ... ok +magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_params +magnum.tests.unit.drivers.test_template_definition.UbuntuMesosTemplateDefinitionTestCase.test_mesos_get_params ... ok +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_uuid +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_uuid ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_bad_id_and_uuid +magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_bad_id_and_uuid ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_list_all +magnum.tests.unit.objects.test_federation.TestFederationObject.test_list_all ... ok +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_to_primitive +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_to_primitive ... ok +magnum.tests.unit.objects.test_fields.TestServerType.test_stringify_invalid +magnum.tests.unit.objects.test_fields.TestServerType.test_stringify_invalid ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_load_in_base +magnum.tests.unit.objects.test_objects.TestObject.test_load_in_base ... ok +magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_firsttime +magnum.tests.unit.servicegroup.test_magnum_service.MagnumServicePeriodicTestCase.test_update_magnum_service_firsttime ... ok +magnum.tests.unit.test_hacking.HackingTestCase.test_check_explicit_underscore_import +magnum.tests.unit.test_hacking.HackingTestCase.test_check_explicit_underscore_import ... ok + +GET: /v1/federations/c1ea9bd9-8065-49be-83db-36e5a1657a7c {} +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "6439faca-f82a-428f-a1be-b6daaedcfeda"} -DELETE: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 -GOT:Response: 204 No Content +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Federation c1ea9bd9-8065-49be-83db-36e5a1657a7c could not be found", "detail": "Federation c1ea9bd9-8065-49be-83db-36e5a1657a7c could not be found.", "links": []}]} +GET: / {} +GOT:Response: 500 Internal Server Error +Content-Type: application/json +{"errors": [{"request_id": "", "code": "server", "status": 500, "title": "Error message without traceback \n but \n multiline", "detail": "Error message without traceback \n but \n multiline", "links": []}]} + +GET: /v1/federations/ba3fd292-fabf-44fc-bead-9d4cadc8f52f {} +GOT:{'uuid': 'ba3fd292-fabf-44fc-bead-9d4cadc8f52f', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/ba3fd292-fabf-44fc-bead-9d4cadc8f52f', 'rel': 'self'}, {'href': 'http://localhost/federations/ba3fd292-fabf-44fc-bead-9d4cadc8f52f', 'rel': 'bookmark'}], 'created_at': '2023-01-11T04:01:24.454263+00:00', 'updated_at': None} +GET: /v1/federations/ba3fd292-fabf-44fc-bead-9d4cadc8f52f {} +GOT:{'uuid': 'ba3fd292-fabf-44fc-bead-9d4cadc8f52f', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/ba3fd292-fabf-44fc-bead-9d4cadc8f52f', 'rel': 'self'}, {'href': 'http://localhost/federations/ba3fd292-fabf-44fc-bead-9d4cadc8f52f', 'rel': 'bookmark'}], 'created_at': '2023-01-11T04:01:24.454263+00:00', 'updated_at': None} +GET: /federations/ba3fd292-fabf-44fc-bead-9d4cadc8f52f {} +GOT:{'uuid': 'ba3fd292-fabf-44fc-bead-9d4cadc8f52f', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/ba3fd292-fabf-44fc-bead-9d4cadc8f52f', 'rel': 'self'}, {'href': 'http://localhost/federations/ba3fd292-fabf-44fc-bead-9d4cadc8f52f', 'rel': 'bookmark'}], 'created_at': '2023-01-11T04:01:24.454263+00:00', 'updated_at': None} +POST: /v1/federations {'uuid': '06c0e7a7-f150-4bea-83ef-506768247a8f', 'name': 'fake-name', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 400 Bad Request +Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version - -GET: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 {} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "No hostcluster specified", "detail": "No hostcluster specified. Please specify a hostcluster_id.", "links": []}]} +GET: /v1/quotas/fake_project/invalid_res {} GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 could not be found", "detail": "ClusterTemplate e74c40e0-d825-11e2-a28f-0800200c9a66 could not be found.", "links": []}]} -DELETE: /v1/clustertemplates/not_found -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Quota could not be found: project_id fake_project resource invalid_res", "detail": "Quota could not be found: project_id fake_project resource invalid_res.", "links": []}]} +GET: /v1/quotas {} +GOT:{'quotas': [{'id': 1, 'hard_limit': 10, 'project_id': 'fake_project', 'resource': 'Cluster', 'created_at': '2023-01-11T04:01:24.641057+00:00', 'updated_at': None}]} +stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. +stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. +stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. +stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. +stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. +stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. +stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. +stdin:1:1: M338 Use assertIn/NotIn(A, B) rather than assertEqual(A in B, True/False) when checking collection contents. +magnum.tests.unit.test_hacking.HackingTestCase.test_assert_equal_in +magnum.tests.unit.test_hacking.HackingTestCase.test_assert_equal_in ... ok + +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate not_found could not be found", "detail": "ClusterTemplate not_found could not be found.", "links": []}]} -GET: /v1/clustertemplates {} -GOT:{'clustertemplates': [{'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'coe': 'swarm', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'dns_nameserver': '8.8.1.1', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'apiserver_port': 8080, 'docker_volume_size': 20, 'cluster_distro': 'fedora-atomic', 'links': [{'href': 'http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'self'}, {'href': 'http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66', 'rel': 'bookmark'}], 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'volume_driver': None, 'registry_enabled': False, 'labels': {'key1': 'val1', 'key2': 'val2'}, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'docker_storage_driver': 'devicemapper', 'master_lb_enabled': True, 'floating_ip_enabled': True, 'project_id': 'fake_project', 'user_id': 'fake_user', 'created_at': '2021-12-08T21:34:13.577536+00:00', 'updated_at': None}]} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:23.628668+00:00", "updated_at": null} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 99, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 @@ -9571,406 +9798,404 @@ Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2000-01-01T00:00:00+00:00", "updated_at": null}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_join_non_existent_cluster -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_join_non_existent_cluster ... ok +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 99, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:23.659458+00:00", "updated_at": null} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'k8s', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'storm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'meson', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'osomatsu', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_name +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_name ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation +magnum.tests.unit.api.controllers.v1.test_federation.TestDelete.test_delete_federation ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_uuid +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_uuid ... ok magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceObject.test_msvc_obj_fields_filtering magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceObject.test_msvc_obj_fields_filtering ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_empty +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_empty ... ok magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_one_not_authorized magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_one_not_authorized ... ok -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_some_other_user_stats -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_some_other_user_stats ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_missing_required_fields_op -magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_missing_required_fields_op ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_by_name -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_by_name ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_keypair_with_invalid_keypair -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_keypair_with_invalid_keypair ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_isolation -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_isolation ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_invalid_providers -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_invalid_providers ... ok -magnum.tests.unit.api.test_expose.TestExpose.test_expose_without_rest_content_types -magnum.tests.unit.api.test_expose.TestExpose.test_expose_without_rest_content_types ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_not_supported_add_update -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_volume_driver_types_not_supported_add_update ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_without_intermediate -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_without_intermediate ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_noauth -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_noauth ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_region -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_region ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_cached -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_heat_cached ... ok -magnum.tests.unit.common.test_context.ContextTestCase.test_request_context_sets_is_admin -magnum.tests.unit.common.test_context.ContextTestCase.test_request_context_sets_is_admin ... ok -magnum.tests.unit.common.test_docker_utils.TestDockerUtils.test_is_docker_api_version_atleast -magnum.tests.unit.common.test_docker_utils.TestDockerUtils.test_is_docker_api_version_atleast ... ok -magnum.tests.unit.common.test_exception.TestException.test_custom_message_is_templated -magnum.tests.unit.common.test_exception.TestException.test_custom_message_is_templated ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_unknown_kwargs_raises_error -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_unknown_kwargs_raises_error ... ok -magnum.tests.unit.common.x509.test_operations.TestX509Operations.test_generate_csr_and_key -magnum.tests.unit.common.x509.test_operations.TestX509Operations.test_generate_csr_and_key ... ok -magnum.tests.unit.common.x509.test_sign.TestX509.test_load_pem_private_key_with_unicode_private_key -magnum.tests.unit.common.x509.test_sign.TestX509.test_load_pem_private_key_with_unicode_private_key ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_crl_sign -magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_crl_sign ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_get_cluster_ca_certificate -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_get_cluster_ca_certificate ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_adopt_complete -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_adopt_complete ... ok -magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_delete_federation -magnum.tests.unit.conductor.handlers.test_federation_conductor.TestHandler.test_delete_federation ... ok -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_class_action_on_raise -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_class_action_on_raise ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_patch_quota_not_found +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_patch_quota_not_found ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_valid_true_values +magnum.tests.unit.api.controllers.v1.test_types.TestBooleanType.test_valid_true_values ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestUuidType.test_invalid_uuid +magnum.tests.unit.api.controllers.v1.test_types.TestUuidType.test_invalid_uuid ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch ... ok +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_multi_exist +magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_multi_exist ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_multi_images_same_name +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_multi_images_same_name ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_none_isolation +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_with_valid_providers_none_isolation ... ok +magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_stamp +magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_stamp ... ok +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_store_cert +magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_store_cert ... ok +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_without_pkp +magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_get_cert_without_pkp ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_cached +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_cached ... ok +magnum.tests.unit.common.test_exception.TestException.test_message_is_templated +magnum.tests.unit.common.test_exception.TestException.test_message_is_templated ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_use_standard_locale_with_env_variables +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_execute_use_standard_locale_with_env_variables ... ok +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_has_publickey +magnum.tests.unit.common.x509.test_sign.TestX509.test_generate_client_certificate_has_publickey ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_invalid_unicode_name +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_with_invalid_unicode_name ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_snapshot_complete +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_snapshot_complete ... ok magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack_no_timeout_specified -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack_no_timeout_specified ... ok -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_only_required -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_only_required ... ok -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_all_values -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_all_values ... ok -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_only_required -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_only_required ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_compute_memory_util -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_compute_memory_util ... ok magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_get_metric_names magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_get_metric_names ... ok -magnum.tests.unit.conductor.test_scale_manager.TestMesosScaleManager.test_get_hosts_with_container -magnum.tests.unit.conductor.test_scale_manager.TestMesosScaleManager.test_get_hosts_with_container ... ok -magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_module_name_invalid_mods -magnum.tests.unit.conf.test_conf.ConfTestCase.test_list_module_name_invalid_mods ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_name -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_name ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_uuid -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_destroy_federation_by_uuid ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_by_project_id_resource -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_by_project_id_resource ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_update_quota -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_update_quota ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_create_x509keypair_already_exists -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_create_x509keypair_already_exists ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair_by_uuid -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair_by_uuid ... ok -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_save -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_save ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_compute_metric_value +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_compute_metric_value ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_pull_data_raise +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_pull_data_raise ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid ... ok +magnum.tests.unit.conf.test_conf.ConfTestCase.test_import_mods_no_func +magnum.tests.unit.conf.test_conf.ConfTestCase.test_import_mods_no_func ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_public +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_public ... ok +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template +magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_update_cluster_template ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_id +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_id ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_uuid +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_uuid ... ok +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_by_host_and_binary +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_get_magnum_service_by_host_and_binary ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_delete_quota_that_does_not_exist +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_delete_quota_that_does_not_exist ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_invalid_sort_key +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_invalid_sort_key ... ok magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_heat_param -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_heat_param ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_update_outputs -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_update_outputs ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_required_param_not_set -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_required_param_not_set ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_create -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_create ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list_all -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list_all ... ok -magnum.tests.unit.objects.test_fields.TestServerType.test_to_primitive -magnum.tests.unit.objects.test_fields.TestServerType.test_to_primitive ... ok -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_monitor_none -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_send_cluster_metrics_monitor_none ... ok -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_not_changes -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_not_changes ... ok -magnum.tests.unit.test_hacking.HackingTestCase.test_dict_constructor_with_list_copy -magnum.tests.unit.test_hacking.HackingTestCase.test_dict_constructor_with_list_copy ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_discovery_url_not_found +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_get_discovery_url_not_found ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_invalid +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_invalid ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_unexpect_size +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_unexpect_size ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_enabled_with_fp +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_enabled_with_fp ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_driver_not_supported +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_driver_not_supported ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_destroy +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_destroy ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_bad_id_and_uuid +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_bad_id_and_uuid ... ok +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_bad_id_and_uuid +magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_bad_id_and_uuid ... ok +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_stringify +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_stringify ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_get_updates +magnum.tests.unit.objects.test_objects.TestObject.test_get_updates ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_obj_constructor +magnum.tests.unit.objects.test_objects.TestObject.test_obj_constructor ... ok +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_create +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_create ... ok -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/coe', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/coe' is a mandatory attribute and can not be removed", "detail": "'/coe' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/external_network_id', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/external_network_id' is a mandatory attribute and can not be removed", "detail": "'/external_network_id' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/server_type', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/server_type' is a mandatory attribute and can not be removed", "detail": "'/server_type' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/tls_disabled', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/tls_disabled' is a mandatory attribute and can not be removed", "detail": "'/tls_disabled' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/public', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/public' is a mandatory attribute and can not be removed", "detail": "'/public' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/registry_enabled', 'op': 'remove'}] -GOT:Response: 400 Bad Request -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/registry_enabled' is a mandatory attribute and can not be removed", "detail": "'/registry_enabled' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/cluster_distro', 'op': 'remove'}] -GOT:Response: 400 Bad Request +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/cluster_distro' is a mandatory attribute and can not be removed", "detail": "'/cluster_distro' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/network_driver', 'op': 'remove'}] -GOT:Response: 400 Bad Request +Vary: OpenSt +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/baymodels {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 201 Created Content-Type: application/json +Location: http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/network_driver' is a mandatory attribute and can not be removed", "detail": "'/network_driver' is a mandatory attribute and can not be removed", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/uuid', 'op': 'remove'}] -GOT:Response: 400 Bad Request +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/baymodels/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "created_at": "2023-01-11T04:01:21.242607+00:00", "updated_at": null} +POST: /v1/certificates {'cluster_uuid': 'cluster1', 'csr': 'fake-csr'} +GOT:Response: 201 Created Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 +Openstack-Api-Version: container-infra 1.6 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "'/uuid' is an internal attribute and can not be updated", "detail": "'/uuid' is an internal attribute and can not be updated", "links": []}]} -GET: /v1/federations?limit=3&marker=263e57a0-8e99-4153-9e2d-6942dd00ab96 {} -GOT:{'federations': [{'uuid': '498c4791-7914-481c-bef5-8cf5faff35b7', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/498c4791-7914-481c-bef5-8cf5faff35b7', 'rel': 'self'}, {'href': 'http://localhost/federations/498c4791-7914-481c-bef5-8cf5faff35b7', 'rel': 'bookmark'}]}]} -GET: /v1/federations/28da71ef-cf20-43e6-9de7-7b31b7025525 {} -GOT:{'uuid': '28da71ef-cf20-43e6-9de7-7b31b7025525', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/28da71ef-cf20-43e6-9de7-7b31b7025525', 'rel': 'self'}, {'href': 'http://localhost/federations/28da71ef-cf20-43e6-9de7-7b31b7025525', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:14.585750+00:00', 'updated_at': None} -POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'invalid-res', 'hard_limit': 10} -GOT:Response: 400 Bad Request +{"bay_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "cluster_uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "links": [{"href": "http://localhost/v1/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "self"}, {"href": "http://localhost/certificates/5d12f6fd-a196-4bf0-ae4c-1f639a523a52", "rel": "bookmark"}], "csr": "fake-csr", "pem": "fake-pem"} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] +GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Invalid input for field/attribute resource", "detail": "Invalid input for field/attribute resource. Value: 'invalid-res'. Value should be one of: Cluster", "links": []}]} -POST: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 5} -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow cluster:update to be performed", "detail": "Policy doesn't allow cluster:update to be performed.", "links": []}]} +PATCH: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 [{'path': '/node_count', 'value': 4, 'op': 'replace'}] +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"id": 42, "hard_limit": 5, "project_id": "fake_project", "resource": "Cluster", "created_at": "2021-12-08T21:34:14.656866+00:00", "updated_at": null} -PATCH: /v1/quotas {'id': 42, 'project_id': 'fake_project', 'resource': 'Cluster', 'hard_limit': 20} +{"uuid": "5d12f6fd-a196-4bf0-ae4c-1f639a523a52"}magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPatch.test_replace_ok ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_set_project_id_and_user_id +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_set_project_id_and_user_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_flavor_id +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_flavor_id ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_labels +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_labels ... ok +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_lb_multi_node +magnum.tests.unit.api.controllers.v1.test_cluster.TestPost.test_create_cluster_with_no_lb_multi_node ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_update +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestClusterTemplatePolicyEnforcement.test_policy_disallow_update ... ok + +GET: /v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52 {} +GOT:{'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster_example_A', 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'keypair': None, 'node_count': 4, 'master_count': 3, 'docker_volume_size': None, 'labels': {}, 'master_flavor_id': None, 'flavor_id': None, 'create_timeout': 60, 'links': [{'href': 'http://localhost/v1/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'self'}, {'href': 'http://localhost/clusters/5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'rel': 'bookmark'}], 'stack_id': '047c6319-7abd-4bd9-a033-8c6af0173cd0', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'discovery_url': None, 'api_address': '172.17.2.3', 'coe_version': None, 'container_version': None, 'project_id': 'fake_project', 'user_id': 'fake_user', 'node_addresses': ['172.17.2.4'], 'master_addresses': ['172.17.2.18'], 'created_at': '2023-01-11T04:01:21.732112+00:00', 'updated_at': '2000-01-01T00:00:00+00:00'} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"id": 42, "hard_limit": 20, "project_id": "fake_project", "resource": "Cluster", "created_at": "2021-12-08T21:34:14.656866+00:00", "updated_at": "2021-12-08T21:34:14.670003+00:00"} -GET: / {} -GOT:Response: 500 Internal Server Error -Content-Type: application/json -{"errors": [{"request_id": "", "code": "server", "status": 500, "title": "Remote error: TestException Test exception message", "detail": "Remote error: TestException Test exception message.\n['", "links": []}]} -stdin:1:1: M316 assertTrue(isinstance(a, b)) sentences not allowed -magnum.tests.unit.test_hacking.HackingTestCase.test_assert_true_isinstance -magnum.tests.unit.test_hacking.HackingTestCase.test_assert_true_isinstance ... ok -stdin:1:1: M352 LOG.warn is deprecated, please use LOG.warning! -magnum.tests.unit.test_hacking.HackingTestCase.test_no_log_warn -magnum.tests.unit.test_hacking.HackingTestCase.test_no_log_warn ... ok - -PATCH: /v1/federations/064fb181-adcc-446a-93c4-024b334a751d [{'path': '/member_ids', 'value': '0ca7b3d3-4bb2-415f-bfc6-78f4b1d00665', 'op': 'add'}] -GOT:Response: 404 Not Found +{"uuid": "0b89ac3d-afff-4758-8b72-10680ce218be"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': 'm2.small'} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 0ca7b3d3-4bb2-415f-bfc6-78f4b1d00665 could not be found", "detail": "Cluster 0ca7b3d3-4bb2-415f-bfc6-78f4b1d00665 could not be found.", "links": []}]} -GET: /v1/quotas/invalid_proj/invalid_res {} -GOT:Response: 403 Forbidden +{"uuid": "fe0fb8eb-128d-4965-884e-67240c1da1a4"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': {'key': 'value'}, 'master_flavor_id': None, 'flavor_id': None} +GOT:Response: 202 Accepted Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Not authorized", "detail": "Not authorized.", "links": []}]} -GET: /v1/stats?project_id=123 {} -stdin:1:1: M322 Method's default argument shouldn't be mutable! -magnum.tests.unit.test_hacking.HackingTestCase.test_no_mutable_default_args -magnum.tests.unit.test_hacking.HackingTestCase.test_no_mutable_default_args ... ok - -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +{"uuid": "5f27a886-9650-48e5-b5cd-ec43f39a1392"} +POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'foo', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': 15, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "flavor", "detail": "flavor", "links": []}]} -GET: /v1/federations {} -GOT:{'federations': [{'uuid': '3d49822c-111b-49ce-af27-1445215aa53f', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/3d49822c-111b-49ce-af27-1445215aa53f', 'rel': 'self'}, {'href': 'http://localhost/federations/3d49822c-111b-49ce-af27-1445215aa53f', 'rel': 'bookmark'}]}, {'uuid': '2e8dfec7-06d6-4cec-b4b8-f22d1da2af4a', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/2e8dfec7-06d6-4cec-b4b8-f22d1da2af4a', 'rel': 'self'}, {'href': 'http://localhost/federations/2e8dfec7-06d6-4cec-b4b8-f22d1da2af4a', 'rel': 'bookmark'}]}, {'uuid': '2b0decdb-4d23-462b-a2ac-3eafa7e3dd13', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/2b0decdb-4d23-462b-a2ac-3eafa7e3dd13', 'rel': 'self'}, {'href': 'http://localhost/federations/2b0decdb-4d23-462b-a2ac-3eafa7e3dd13', 'rel': 'bookmark'}]}], 'next': 'http://localhost/v1/federations?sort_key=id&sort_dir=asc&limit=3&marker=2b0decdb-4d23-462b-a2ac-3eafa7e3dd13'} -GET: /v1/federations/detail {} -GOT:{'federations': [{'uuid': 'ab47e576-a8a3-4acc-b7d6-0b139ac7e9f7', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/ab47e576-a8a3-4acc-b7d6-0b139ac7e9f7', 'rel': 'self'}, {'href': 'http://localhost/federations/ab47e576-a8a3-4acc-b7d6-0b139ac7e9f7', 'rel': 'bookmark'}], 'created_at': '2021-12-08T21:34:13.696473+00:00', 'updated_at': None}]} -GET: /v1/mservices {} +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "master_count must be 1 when master_lb_enabled is False", "detail": "master_count must be 1 when master_lb_enabled is False", "links": []}]} +PATCH: /v1/clustertemplates/example_A [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] GOT:Response: 403 Forbidden Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow magnum-service:get_all to be performed", "detail": "Policy doesn't allow magnum-service:get_all to be performed.", "links": []}]}magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceEnforcement.test_policy_disallow_get_all -magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceEnforcement.test_policy_disallow_get_all ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_non_exist -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_get_openstack_resource_non_exist ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_multi_images_same_name -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_multi_images_same_name ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_keypair_with_valid_keypair -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_keypair_with_valid_keypair ... ok -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_without_traceback -magnum.tests.unit.api.test_hooks.TestNoExceptionTracebackHook.test_hook_without_traceback ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_latest_update -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_latest_update ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_all_three -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_all_three ... ok +{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:update to be performed", "detail": "Policy doesn't allow clustertemplate:update to be performed.", "links": []}]} +POST: /v1/clustertemplates {'uuid': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro'magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_long_string +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_long_string ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_keypair +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_no_exist_keypair ... ok + +POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_overlay +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_overlay ... ok +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_with_disabled_driver +magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_with_disabled_driver ... ok +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name_multiple_federation +magnum.tests.unit.api.controllers.v1.test_federation.TestListFederation.test_get_one_by_name_multiple_federation ... ok +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_with_pagination_marker +magnum.tests.unit.api.controllers.v1.test_quota.TestQuota.test_get_all_admin_all_with_pagination_marker ... ok +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_invalid_tenant_stats +magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_admin_get_invalid_tenant_stats ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_replace_with_no_value +magnum.tests.unit.api.controllers.v1.test_types.TestJsonPatchType.test_cannot_replace_with_no_value ... ok +magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_frombasetype +magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_frombasetype ... ok +magnum.tests.unit.api.test_app.TestAppConfig.test_get_pecan_config +magnum.tests.unit.api.test_app.TestAppConfig.test_get_pecan_config ... ok +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_valid_network +magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_external_network_with_valid_network ... ok magnum.tests.unit.api.test_validation.TestValidation.test_enforce_cluster_type_not_supported magnum.tests.unit.api.test_validation.TestValidation.test_enforce_cluster_type_not_supported ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_create ... ok -magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_http_config_workers -magnum.tests.unit.cmd.test_api.TestMagnumAPI.test_api_http_config_workers ... ok -magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_version -magnum.tests.unit.cmd.test_db_manage.TestMagnumDbManage.test_db_manage_version ... ok -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_delete_cert -magnum.tests.unit.common.cert_manager.test_barbican.TestBarbicanManager.test_delete_cert ... ok -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_without_intermediate -magnum.tests.unit.common.cert_manager.test_local.TestLocalManager.test_delete_cert_without_intermediate ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_noauth -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_noauth ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_cached -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_neutron_cached ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_all_allowed_create +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_all_allowed_create ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_invalid +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_invalid ... ok +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_valid_bm +magnum.tests.unit.api.test_validation.TestValidation.test_enforce_server_type_valid_bm ... ok +magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_delete_cert +magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_delete_cert ... ok +magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_store_cert +magnum.tests.unit.common.cert_manager.test_x509keypair_cert_manager.TestX509keypairManager.test_store_cert ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_noauth +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_noauth ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_cached +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_glance_cached ... ok +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_noauth +magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_noauth ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_no_credentials +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_client_with_no_credentials ... ok +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trust_with_limit_roles +magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trust_with_limit_roles ... ok magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers_with_invalid_lb magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers_with_invalid_lb ... ok -magnum.tests.unit.common.test_policy.TestPolicy.test_check_is_admin_with_admin_context_succeeds -magnum.tests.unit.common.test_policy.TestPolicy.test_check_is_admin_with_admin_context_succeeds ... ok +magnum.tests.unit.common.test_profiler.TestProfiler.test_all_public_methods_are_traced +magnum.tests.unit.common.test_profiler.TestProfiler.test_all_public_methods_are_traced ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_16 +magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_16 ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_check_exit_code_boolean +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_check_exit_code_boolean ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_retry_on_failure +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_retry_on_failure ... ok +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_unknown_kwargs_raises_error +magnum.tests.unit.common.test_utils.ExecuteTestCase.test_unknown_kwargs_raises_error ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions_disallowed_but_not_critical +magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions_disallowed_but_not_critical ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_crl_sign +magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_crl_sign ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates_with_error +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates_with_error ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_sign_node_certificate +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_sign_node_certificate ... ok +magnum.tests.unit.conductor.handlers.test_ca_conductor.TestSignConductor.test_sign_certificate +magnum.tests.unit.conductor.handlers.test_ca_conductor.TestSignConductor.test_sign_certificate ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete_with_lb +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_cluster_delete_with_lb ... ok +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_node_count_failure +magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_node_count_failure ... ok +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_create_stack_with_error +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_create_stack_with_error ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_pull_data_success +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_pull_data_success ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_name_multiple_cluster +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_name_multiple_cluster ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_cluster_template_not_exist +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_list_cluster_template_not_exist ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_create_federation +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_create_federation ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_not_found +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_not_found ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_properties +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_update_federation_properties ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_all +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_all ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_by_project_id_resource_not_found +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_by_project_id_resource_not_found ... ok +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair_that_does_not_exist +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_destroy_x509keypair_that_does_not_exist ... ok +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_by_uuid +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_by_uuid ... ok +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_node_count +magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_poll_node_count ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_node_address_fip_disabled +magnum.tests.unit.drivers.test_template_definition.AtomicSwarmModeTemplateDefinitionTestCase.test_update_outputs_node_address_fip_disabled ... ok +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_base_get_scale_params +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_base_get_scale_params ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_create +magnum.tests.unit.objects.test_federation.TestFederationObject.test_create ... ok +magnum.tests.unit.objects.test_federation.TestFederationObject.test_destroy +magnum.tests.unit.objects.test_federation.TestFederationObject.test_destroy ... ok +magnum.tests.unit.objects.test_fields.TestClusterType.test_to_primitive +magnum.tests.unit.objects.test_fields.TestClusterType.test_to_primitive ... ok +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_stringify_invalid +magnum.tests.unit.objects.test_fields.TestContainerStatus.test_stringify_invalid ... ok +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_save +magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_save ... ok +magnum.tests.unit.objects.test_objects.TestObject.test_object_property_type_error +magnum.tests.unit.objects.test_objects.TestObject.test_object_property_type_error ... ok +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_backports_level2 +magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_version_backports_level2 ... ok +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_bad_id_and_uuid +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_bad_id_and_uuid ... ok +stdin:1:1: M310 timeutils.utcnow() must be used instead of datetime.utcnow() +magnum.tests.unit.test_hacking.HackingTestCase.test_use_timeunitls_utcow +magnum.tests.unit.test_hacking.HackingTestCase.test_use_timeunitls_utcow ... ok +magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers_timeout +magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers_timeout ... ok magnum.tests.unit.common.test_service.TestMagnumService.test_prepare_service_with_argv_not_none magnum.tests.unit.common.test_service.TestMagnumService.test_prepare_service_with_argv_not_none ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_8 -magnum.tests.unit.common.test_short_id.ShortIdTest.test_byte_string_8 ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_temp_no_dir -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_temp_no_dir ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_client_files -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_client_files ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_check_complete -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_check_complete ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_node_count_success -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_node_count_success ... ok -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action_on_raise -magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_action_on_raise ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_discovery_url -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_discovery_url ... ok +magnum.tests.unit.common.test_short_id.ShortIdTest.test_generate_ids +magnum.tests.unit.common.test_short_id.ShortIdTest.test_generate_ids ... ok +magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir_mocked_error_on_rmtree +magnum.tests.unit.common.test_utils.TempFilesTestCase.test_tempdir_mocked_error_on_rmtree ... ok +magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_cert_sign +magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_cert_sign ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_set_file_permissions +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_create_client_files_set_file_permissions ... ok +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_client_files_none +magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_client_files_none ... ok +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_create_trustee_and_trust_with_error +magnum.tests.unit.conductor.handlers.common.test_trust_manager.TrustManagerTestCase.test_create_trustee_and_trust_with_error ... ok +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_class_action +magnum.tests.unit.conductor.handlers.test_indirection_api.TestIndirectionApiConductor.test_object_class_action ... ok +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack_no_timeout_specified +magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_create_stack_no_timeout_specified ... ok +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_with_lb_neutron +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_with_lb_neutron ... ok +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_with_lb_octavia +magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_with_lb_octavia ... ok +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_lb_octavia +magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_extract_template_definition_with_lb_octavia ... ok +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_delete_stack_with_error +magnum.tests.unit.conductor.tasks.test_heat_tasks.HeatTasksTests.test_delete_stack_with_error ... ok magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_get_metric_names magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_get_metric_names ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success_not_leader -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_mesos_monitor_pull_data_success_not_leader ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_get_metric_names -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_v2_monitor_get_metric_names ... ok -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_three_container_hosts -magnum.tests.unit.conductor.test_scale_manager.TestScaleManager.test_get_removal_nodes_three_container_hosts ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domain_project_id -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_domain_project_id ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_name -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_name ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid ... ok -magnum.tests.unit.conf.test_conf.ConfTestCase.test_import_mods_no_func -magnum.tests.unit.conf.test_conf.ConfTestCase.test_import_mods_no_func ... ok -magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedDict_type_check -magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedDict_type_check ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster_already_exists -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster_already_exists ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster_not_found -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster_not_found ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_scale_params -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_scale_params ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_none_api_address -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_k8s_outputs_none_api_address ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_api_address -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_swarm_outputs_api_address ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_invalid -magnum.tests.unit.drivers.test_template_definition.AtomicSwarmTemplateDefinitionTestCase.test_swarm_validate_discovery_url_invalid ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_enabled_without_fp -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_add_fip_env_lb_enabled_without_fp ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_coreos_kubernetes_definition -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_coreos_kubernetes_definition ... ok +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_pull_data_raise +magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_swarm_monitor_pull_data_raise ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_delete_complete_status +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_delete_complete_status ... ok +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid_from_name +magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid_from_name ... ok +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_that_does_not_exist +magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_that_does_not_exist ... ok +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_sorted +magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_list_sorted ... ok +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_create_magnum_service_failure_for_dup +magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_create_magnum_service_failure_for_dup ... ok +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_with_filters +magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_get_quota_list_with_filters ... ok +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_by_id +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_by_id ... ok +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_list_by_admin_all_tenants +magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_list_by_admin_all_tenants ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url ... ok +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url_not_found +magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url_not_found ... ok magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_load_entry_points magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_load_entry_points ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list_with_filters -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_list_with_filters ... ok -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_to_primitive -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_to_primitive ... ok -magnum.tests.unit.objects.test_fields.TestClusterType.test_stringify_invalid -magnum.tests.unit.objects.test_fields.TestClusterType.test_stringify_invalid ... ok -magnum.tests.unit.objects.test_fields.TestClusterType.test_to_primitive -magnum.tests.unit.objects.test_fields.TestClusterType.test_to_primitive ... ok -magnum.tests.unit.objects.test_fields.TestServerType.test_coerce_bad_values -magnum.tests.unit.objects.test_fields.TestServerType.test_coerce_bad_values ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_changed_4 -magnum.tests.unit.objects.test_objects.TestObject.test_changed_4 ... ok - -GET: / {} -GOT:Response: 500 Internal Server Error -Content-Type: application/json -{"errors": [{"request_id": "", "code": "server", "status": 500, "title": "Error message without traceback \n but \n multiline", "detail": "Error message without traceback \n but \n multiline", "links": []}]} +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_required_param_not_set +magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_required_param_not_set ... ok +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_refresh +magnum.tests.unit.objects.test_cluster.TestClusterObject.test_refresh ... ok +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_from_primitive +magnum.tests.unit.objects.test_fields.TestClusterStatus.test_from_primitive ... ok +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_from_primitive +magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_from_primitive ... ok +magnum.tests.unit.objects.test_fields.TestServerType.test_to_primitive +magnum.tests.unit.objects.test_fields.TestServerType.test_to_primitive ... ok +/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. + yield entry_point, entry_point.load(require=False) +/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead + return wrapped(*args, **kwargs) +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_by_id +magnum.tests.unit.objects.test_x509keypair.TestX509KeyPairObject.test_get_by_id ... ok -POST: /v1/clusters {'uuid': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'name': 'cluster1', 'discovery_url': None, 'cluster_template_id': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully', 'create_timeout': None, 'node_count': 3, 'master_count': 3, 'docker_volume_size': None, 'labels': None, 'master_flavor_id': None, 'flavor_id': None} -GOT:Response: 202 Accepted -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"uuid": "2903d253-c9f0-4831-acdf-a92216522a98"} -DELETE: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 -GOT:Response: 403 Forbidden -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:delete to be performed", "detail": "Policy doesn't allow clustertemplate:delete to be performed.", "links": []}]} -PATCH: /v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 [{'path': '/name', 'value': 'new_name', 'op': 'replace'}] -GOT:Response: 403 Forbidden -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 403, "title": "Policy doesn't allow clustertemplate:update to be performed", "detail": "Policy doesn't allow clustertemplate:update to be performed.", "links": []}]} -GET: /v1/clustertemplates/0c383cd0-4056-4123-b231-19d6ab1d7cf1 {} -GOT:Response: 404 Not Found -Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "ClusterTemplate 0c383cd0-4056-4123-b231-19d6ab1d7cf1 could not be found", "detail": "ClusterTemplate 0c383cd0-4056-4123-b231-19d6ab1d7cf1 could not be found.", "links": []}]} POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} GOT:Response: 201 Created Content-Type: application/json @@ -9979,307 +10204,63 @@ Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:13.193185+00:00", "updated_at": null} -POST: /v1/clustertemplates {'uuid': '', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': '', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': '', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': '', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': '', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': '', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': '', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': '', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': '', 'fixed_subnet': '', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': '', 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': '', 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': '', 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': '', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': '', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True}magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_empty_string -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_invalid_empty_string ... ok -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_network_driver_non_def_config -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_with_network_driver_non_def_config ... ok - -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': '', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': '', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': '', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': '', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': 'flannel', 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'kubernetes', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_promagnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_name -magnum.tests.unit.api.controllers.v1.test_cluster_template.TestPost.test_create_cluster_template_without_name ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_unjoin_non_member_cluster -magnum.tests.unit.api.controllers.v1.test_federation.TestPatch.test_unjoin_non_member_cluster ... ok -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_without_name -magnum.tests.unit.api.controllers.v1.test_federation.TestPost.test_create_federation_without_name ... ok -magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_get_many -magnum.tests.unit.api.controllers.v1.test_magnum_service.TestMagnumServiceController.test_get_many ... ok -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_self_stats_without_param -magnum.tests.unit.api.controllers.v1.test_stats.TestStatsController.test_get_self_stats_without_param ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_frombasetype -magnum.tests.unit.api.controllers.v1.test_types.TestMacAddressType.test_frombasetype ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_multitype_tostring -magnum.tests.unit.api.controllers.v1.test_types.TestMultiType.test_multitype_tostring ... ok -magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_invalid_name -magnum.tests.unit.api.controllers.v1.test_types.TestNameType.test_invalid_name ... ok -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch -magnum.tests.unit.api.controllers.v1.test_utils.TestApiUtils.test_apply_jsonpatch ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_nonexist_image_by_id -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_image_with_nonexist_image_by_id ... ok -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_with_valid_providers_none_isolation -magnum.tests.unit.api.test_attr_validator.TestAttrValidator.test_validate_labels_main_with_valid_providers_none_isolation ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_updated -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_alive_with_updated ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_create -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_down_with_create ... ok -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_forced_down -magnum.tests.unit.api.test_servicegroup.TestServiceGroup.test_service_is_up_forced_down ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_config_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_default_config_create ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_invalid_coe_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_invalid_coe_create ... ok -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_two_allowed_create -magnum.tests.unit.api.test_validation.TestValidation.test_enforce_network_driver_types_two_allowed_create ... ok -magnum.tests.unit.cmd.test_conductor.TestMagnumConductor.test_conductor_config_workers -magnum.tests.unit.cmd.test_conductor.TestMagnumConductor.test_conductor_config_workers ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_cached -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_barbican_cached ... ok -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_cached -magnum.tests.unit.common.test_clients.ClientsTest.test_clients_nova_cached ... ok -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_url -magnum.tests.unit.common.test_docker_utils.DockerClientTestCase.test_docker_client_init_url ... ok -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trust_with_all_roles -magnum.tests.unit.common.test_keystone.KeystoneClientTest.test_create_trust_with_all_roles ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_clear_extra_exmods -magnum.tests.unit.common.test_rpc.TestRpc.test_clear_extra_exmods ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_get_client -magnum.tests.unit.common.test_rpc.TestRpc.test_get_client ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_cert_sign -magnum.tests.unit.common.x509.test_validator.TestValidators.test_remove_ca_key_usage_cert_sign ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates_without_cert_ref -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_delete_certificates_without_cert_ref ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_ca_cert -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_ca_cert ... ok -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates -magnum.tests.unit.conductor.handlers.common.test_cert_manager.CertManagerTestCase.test_generate_certificates ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_rollback_complete -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_cluster_status_rollback_complete ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_node_count_failure -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_update_node_count_failure ... ok -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_server_image -magnum.tests.unit.conductor.handlers.test_k8s_cluster_conductor.TestClusterConductorWithK8s.test_extract_template_definition_without_server_image ... ok -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_with_lb_octavia -magnum.tests.unit.conductor.handlers.test_mesos_cluster_conductor.TestClusterConductorWithMesos.test_extract_template_definition_with_lb_octavia ... ok -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_poll_node_count_by_update -magnum.tests.unit.conductor.handlers.test_swarm_cluster_conductor.TestClusterConductorWithSwarm.test_poll_node_count_by_update ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_get_metric_unit -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_get_metric_unit ... ok -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_create -magnum.tests.unit.conductor.test_rpcapi.RPCAPITestCase.test_cluster_create ... ok -magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedDict_default_value -magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedDict_default_value ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_uuid -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_destroy_cluster_by_uuid ... ok -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_not_found -magnum.tests.unit.db.test_cluster_template.DbClusterTemplateTestCase.test_get_cluster_template_by_name_not_found ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_name_multiple_federation -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_name_multiple_federation ... ok -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_update_quota_not_found -magnum.tests.unit.db.test_quota.DbQuotaTestCase.test_update_quota_not_found ... ok -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_list -magnum.tests.unit.db.test_x509keypair.DbX509KeyPairTestCase.test_get_x509keypair_list ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_fail -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_validate_discovery_url_fail ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_master_address_fip_disabled -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_update_outputs_master_address_fip_disabled ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_swarm_definition -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_swarm_definition ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_output_mapping -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_output_mapping ... ok -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_name -magnum.tests.unit.objects.test_cluster_template.TestClusterTemplateObject.test_get_by_name ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_create -magnum.tests.unit.objects.test_federation.TestFederationObject.test_create ... ok -magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_id -magnum.tests.unit.objects.test_federation.TestFederationObject.test_get_by_id ... ok -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_coerce_bad_values -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_coerce_bad_values ... ok -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_stringify -magnum.tests.unit.objects.test_fields.TestContainerStatus.test_stringify ... ok -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_from_primitive -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_from_primitive ... ok -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_stringify_invalid -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_stringify_invalid ... ok -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_to_primitive -magnum.tests.unit.objects.test_fields.TestMagnumServiceBinary.test_to_primitive ... ok -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_destroy -magnum.tests.unit.objects.test_magnum_service.TestMagnumServiceObject.test_destroy ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_object_inheritance -magnum.tests.unit.objects.test_objects.TestObject.test_object_inheritance ... ok - -PATCH: /v1/federations/0949b6dd-c21b-4b44-99b0-e63a74c816bb [{'path': '/member_ids', 'value': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'op': 'remove'}] -GOT:Response: 404 Not Found +{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2023-01-11T04:01:22.466338+00:00", "updated_at": null} +POST: /v1/clustertemplates {'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': None, 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} +GOT:Response: 400 Bad Request Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 is not a member of the federation federation-example", "detail": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 is not a member of the federation federation-example.", "links": []}]} -POST: /v1/federations {'uuid': 'ab88d5b1-4358-497c-bad4-d1b8d6f1bd1a', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} -GOT:Response: 202 Accepted +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "img", "detail": "img", "links": []}]} +GET: /v1/federations/detail {} +GOT:{'federations': [{'uuid': '5f4e2585-45da-4f14-9b78-707cb79aee23', 'name': 'fake-name', 'hostcluster_id': 'fake_master', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.', 'properties': {'dns-zone': 'example.com.'}, 'links': [{'href': 'http://localhost/v1/federations/5f4e2585-45da-4f14-9b78-707cb79aee23', 'rel': 'self'}, {'href': 'http://localhost/federations/5f4e2585-45da-4f14-9b78-707cb79aee23', 'rel': 'bookmark'}], 'created_at': '2023-01-11T04:01:22.631906+00:00', 'updated_at': None}]} +PATCH: /v1/federations/45b295d4-9ef3-418b-b02a-1a815d80aaae [{'path': '/member_ids', 'value': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'op': 'remove'}] +GOT:Response: 404 Not Found Content-Type: application/json Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "7b538216-4c2c-4a0e-a884-4b50c9a76ccb"} -GET: /v1/mservices {} -GOT:{'mservices': [{'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 1, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}, {'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 2, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}, {'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 3, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}, {'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 4, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}, {'host': 'fake-host', 'binary': 'magnum-conductor', 'state': 'up', 'id': 5, 'report_count': 13, 'disabled': False, 'disabled_reason': None, 'created_at': '2001-01-01T00:00:00+00:00', 'updated_at': '2001-01-01T00:00:00+00:00'}]} -GET: /v1/stats {} -GOT:{'clusters': 1, 'nodes': 6} -magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers_timeout -magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers_timeout ... ok -magnum.tests.unit.common.test_rpc.TestProfilerRequestContextSerializer.test_deserialize_context -magnum.tests.unit.common.test_rpc.TestProfilerRequestContextSerializer.test_deserialize_context ... ok -magnum.tests.unit.common.test_rpc.TestRpc.test_get_transport_url -magnum.tests.unit.common.test_rpc.TestRpc.test_get_transport_url ... ok -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_string -magnum.tests.unit.common.test_short_id.ShortIdTest.test_get_id_string ... ok -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_check_exit_code_boolean -magnum.tests.unit.common.test_utils.ExecuteTestCase.test_check_exit_code_boolean ... ok -magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_docker_quantity -magnum.tests.unit.common.test_utils.UtilsTestCase.test_get_docker_quantity ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints_not_critical -magnum.tests.unit.common.x509.test_validator.TestValidators.test_disallow_ca_in_basic_constraints_not_critical ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions_disallowed_but_not_critical -magnum.tests.unit.common.x509.test_validator.TestValidators.test_filter_allowed_extensions_disallowed_but_not_critical ... ok -magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage -magnum.tests.unit.common.x509.test_validator.TestValidators.test_merge_key_usage ... ok -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_handles_bad_request -magnum.tests.unit.conductor.handlers.test_cluster_conductor.TestHandler.test_create_handles_bad_request ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_compute_cpu_util -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_compute_cpu_util ... ok -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_get_metric_names -magnum.tests.unit.conductor.test_monitors.MonitorsTestCase.test_k8s_monitor_get_metric_names ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_projectid -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_get_request_audit_info_with_none_projectid ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_invalid_status -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_object_has_stack_invalid_status ... ok -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid_from_name -magnum.tests.unit.conductor.test_utils.TestConductorUtils.test_retrieve_cluster_uuid_from_name ... ok -magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedList_default_value -magnum.tests.unit.db.sqlalchemy.test_types.SqlAlchemyCustomTypesTestCase.test_JSONEncodedList_default_value ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster_nullable_cluster_template_id -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_create_cluster_nullable_cluster_template_id ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_id -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_get_cluster_by_id ... ok -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster_uuid -magnum.tests.unit.db.test_cluster.DbClusterTestCase.test_update_cluster_uuid ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_id -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_id ... ok -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_uuid -magnum.tests.unit.db.test_federation.DbFederationTestCase.test_get_federation_by_uuid ... ok -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_update_magnum_service -magnum.tests.unit.db.test_magnum_service.DbMagnumServiceTestCase.test_update_magnum_service ... ok -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_cluster_failed -magnum.tests.unit.drivers.test_heat_driver.TestHeatPoller.test_cluster_failed ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url_fail -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_discovery_url_fail ... ok -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_params -magnum.tests.unit.drivers.test_template_definition.AtomicK8sTemplateDefinitionTestCase.test_k8s_get_params ... ok -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_kubernetes_definition -magnum.tests.unit.drivers.test_template_definition.TemplateDefinitionTestCase.test_get_vm_atomic_kubernetes_definition ... ok -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_bad_id_and_uuid -magnum.tests.unit.objects.test_cluster.TestClusterObject.test_get_bad_id_and_uuid ... ok -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_stringify_invalid -magnum.tests.unit.objects.test_fields.TestClusterStatus.test_stringify_invalid ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_get -magnum.tests.unit.objects.test_objects.TestObject.test_get ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_get_changes -magnum.tests.unit.objects.test_objects.TestObject.test_get_changes ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_get_updates -magnum.tests.unit.objects.test_objects.TestObject.test_get_updates ... ok -magnum.tests.unit.objects.test_objects.TestObject.test_object_property -magnum.tests.unit.objects.test_objects.TestObject.test_object_property ... ok -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_revision_does_not_backport_zero -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_deserialize_entity_newer_revision_does_not_backport_zero ... ok -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_object_serialization -magnum.tests.unit.objects.test_objects.TestObjectSerializer.test_object_serialization ... ok -magnum.tests.unit.objects.test_objects.TestObjectVersions.test_versions -magnum.tests.unit.objects.test_objects.TestObjectVersions.test_versions ... ok -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_changes -magnum.tests.unit.service.test_periodic.PeriodicTestCase.test_sync_cluster_status_changes ... ok -/build/magnum-7.1.0/magnum/drivers/common/driver.py:38: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. - yield entry_point, entry_point.load(require=False) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid1'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fields.py:374: FutureWarning: b"'uuid2'" is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See https://docs.openstack.org/oslo.versionedobjects/latest/reference/fields.html#oslo_versionedobjects.fields.UUIDField for further details - FutureWarning) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) -/usr/lib/python3/dist-packages/oslo_versionedobjects/fixture.py:232: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() - methods.append((name, inspect.getargspec(method))) -/usr/lib/python3/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_id' argument instead - return wrapped(*args, **kwargs) - -GOT:Response: 201 Created +{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 is not a member of the federation federation-example", "detail": "Cluster 5d12f6fd-a196-4bf0-ae4c-1f639a523a52 is not a member of the federation federation-example.", "links": []}]} +POST: /v1/federations {'name': 'fake-name', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'properties': {'dns-zone': 'example.com.'}, 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 202 Accepted Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e81f10b7-ef5f-40b9-b635-a10db80b852b Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e81f10b7-ef5f-40b9-b635-a10db80b852b", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e81f10b7-ef5f-40b9-b635-a10db80b852b", "rel": "self"}, {"href": "http://localhost/clustertemplates/e81f10b7-ef5f-40b9-b635-a10db80b852b", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": null, "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:11.815711+00:00", "updated_at": null} -POST: /v1/clustertemplates {'uuid': 'e74c40e0-d825-11e2-a28f-0800200c9a66', 'name': 'clustermodel1', 'image_id': 'ubuntu', 'flavor_id': 'm1.small', 'master_flavor_id': 'm1.small', 'keypair_id': 'keypair1', 'external_network_id': 'd1f02cfb-d27f-4068-9332-84d907cb0e2e', 'fixed_network': 'private', 'fixed_subnet': 'private-subnet', 'network_driver': None, 'volume_driver': 'rexray', 'dns_nameserver': '8.8.1.1', 'apiserver_port': 8080, 'docker_volume_size': 20, 'docker_storage_driver': 'devicemapper', 'cluster_distro': 'fedora-atomic', 'coe': 'swarm', 'labels': {'key1': 'val1', 'key2': 'val2'}, 'http_proxy': 'fake_http_proxy', 'https_proxy': 'fake_https_proxy', 'no_proxy': 'fake_no_proxy', 'registry_enabled': False, 'tls_disabled': False, 'public': False, 'server_type': 'vm', 'insecure_registry': '10.0.0.1:5000', 'master_lb_enabled': True, 'floating_ip_enabled': True} -GOT:Response: 201 Created +{"uuid": "b8e55b4d-45b8-410e-b454-af54a01ba734"} +POST: /v1/federations {'uuid': 'a18da0b0-1ff3-40c0-ac3c-93f173ca260d', 'name': 'fake-name', 'hostcluster_id': '5d12f6fd-a196-4bf0-ae4c-1f639a523a52', 'member_ids': ['fake_member1', 'fake_member2'], 'status': 'CREATE_IN_PROGRESS', 'status_reason': 'Completed successfully.'} +GOT:Response: 400 Bad Request Content-Type: application/json -Location: http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66 Openstack-Api-Maximum-Version: container-infra 1.6 Openstack-Api-Minimum-Version: container-infra 1.1 Openstack-Api-Version: container-infra 1.1 Vary: OpenStack-API-Version -{"uuid": "e74c40e0-d825-11e2-a28f-0800200c9a66", "name": "clustermodel1", "coe": "swarm", "image_id": "ubuntu", "flavor_id": "m1.small", "master_flavor_id": "m1.small", "dns_nameserver": "8.8.1.1", "keypair_id": "keypair1", "external_network_id": "d1f02cfb-d27f-4068-9332-84d907cb0e2e", "fixed_network": "private", "fixed_subnet": "private-subnet", "network_driver": "docker", "apiserver_port": 8080, "docker_volume_size": 20, "cluster_distro": "fedora-atomic", "links": [{"href": "http://localhost/v1/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "self"}, {"href": "http://localhost/clustertemplates/e74c40e0-d825-11e2-a28f-0800200c9a66", "rel": "bookmark"}], "http_proxy": "fake_http_proxy", "https_proxy": "fake_https_proxy", "no_proxy": "fake_no_proxy", "volume_driver": "rexray", "registry_enabled": false, "labels": {"key1": "val1", "key2": "val2"}, "tls_disabled": false, "public": false, "server_type": "vm", "insecure_registry": "10.0.0.1:5000", "docker_storage_driver": "devicemapper", "master_lb_enabled": true, "floating_ip_enabled": true, "project_id": "fake_project", "user_id": "fake_user", "created_at": "2021-12-08T21:34:11.930645+00:00", "updated_at": null} -GET: /v1/quotas {} -GOT:{'quotas': []} -GET: /v1/quotas?limit=3&marker=3&all_tenants=True {} -GOT:{'quotas': [{'id': 4, 'hard_limit': 10, 'project_id': 'proj-id-3', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:12.145610+00:00', 'updated_at': None}]} -GET: /v1/quotas {} -GOT:{'quotas': [{'id': 2, 'hard_limit': 10, 'project_id': 'proj-id-1', 'resource': 'Cluster', 'created_at': '2021-12-08T21:34:12.285639+00:00', 'updated_at': None}]} -GET: /v1/quotas/fake_project/invalid_res {} -GOT:Response: 404 Not Found +{"errors": [{"request_id": "", "code": "client", "status": 400, "title": "Please specify a `properties` dict for the federation", "detail": "Please specify a `properties` dict for the federation.", "links": []}]} +GET: / {} +GOT:Response: 500 Internal Server Error Content-Type: application/json -Openstack-Api-Maximum-Version: container-infra 1.6 -Openstack-Api-Minimum-Version: container-infra 1.1 -Openstack-Api-Version: container-infra 1.1 -Vary: OpenStack-API-Version -{"errors": [{"request_id": "", "code": "client", "status": 404, "title": "Quota could not be found: project_id fake_project resource invalid_res", "detail": "Quota could not be found: project_id fake_project resource invalid_res.", "links": []}]} -GET: /v1/stats {} -GOT:{'clusters': 2, 'nodes': 12} -GET: /v1/stats {} -GOT:{'clusters': 0, 'nodes': 0} -stdin:1:1: M310 timeutils.utcnow() must be used instead of datetime.now() -stdin:1:1: M310 timeutils.utcnow() must be used instead of datetime.utcnow() -magnum.tests.unit.test_hacking.HackingTestCase.test_use_timeunitls_utcow -magnum.tests.unit.test_hacking.HackingTestCase.test_use_timeunitls_utcow ... ok +{"errors": [{"request_id": "", "code": "server", "status": 500, "title": "Test exception message", "detail": "Test exception message.", "links": []}]} ---------------------------------------------------------------------- -Ran 1255 tests in 284.423s +Ran 1255 tests in 124.512s OK + python3-stestr slowest Test id Runtime (s) ---------------------------------------------------------------------------------------------------- ----------- -magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers_timeout 60.295 -magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_enabled 4.512 -magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay_with_name 3.510 -magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist_not_abs 3.506 -magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist 3.421 -magnum.tests.unit.api.controllers.test_root.TestRootController.test_get_not_found 3.404 -magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_disable_file 3.372 -magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_only_owner_delete 3.356 -magnum.tests.unit.api.controllers.test_root.TestV1Routing.test_route_checks_version 3.343 -magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_no_public_routes 3.333 +magnum.tests.unit.common.test_octavia.OctaviaTest.test_delete_loadbalancers_timeout 60.321 +magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist 5.779 +magnum.tests.unit.api.controllers.v1.test_bay.TestDelete.test_delete_bay 4.459 +magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_v1_access 4.249 +magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_disable_file 3.845 +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_detail 3.558 +magnum.tests.unit.api.controllers.test_root.TestRootController.test_api_paste_file_not_exist_not_abs 3.512 +magnum.tests.unit.api.controllers.v1.test_bay.TestBayPolicyEnforcement.test_policy_disallow_get_all 3.492 +magnum.tests.unit.api.controllers.test_root.TestRootController.test_auth_with_root_access 3.488 +magnum.tests.unit.api.controllers.test_root.TestHeathcheck.test_healthcheck_enabled 3.411 + rm -rf .stestr dh_install --fail-missing dh_install: Please use dh_missing --list-missing/--fail-missing instead @@ -10298,9 +10279,9 @@ --namespace oslo.service.service \ --namespace keystonemiddleware.auth_token pkgos-readd-keystone-authtoken-missing-options /build/magnum-7.1.0/debian/magnum-common/usr/share/magnum-common/magnum.conf keystone_authtoken magnum -pkgos_inifile: Setting value in pkgos-readd-keystone-authtoken-missing-options.liGsog:[keystone_authtoken]/www_authenticate_uri -pkgos_inifile: Setting value in pkgos-readd-keystone-authtoken-missing-options.liGsog:[keystone_authtoken]/auth_type -pkgos_inifile: Setting value in pkgos-readd-keystone-authtoken-missing-options.liGsog:[keystone_authtoken]/region_name +pkgos_inifile: Setting value in pkgos-readd-keystone-authtoken-missing-options.xDnbGC:[keystone_authtoken]/www_authenticate_uri +pkgos_inifile: Setting value in pkgos-readd-keystone-authtoken-missing-options.xDnbGC:[keystone_authtoken]/auth_type +pkgos_inifile: Setting value in pkgos-readd-keystone-authtoken-missing-options.xDnbGC:[keystone_authtoken]/region_name pkgos-fix-config-default /build/magnum-7.1.0/debian/magnum-common/usr/share/magnum-common/magnum.conf oslo_concurrency lock_path /var/lock/magnum pkgos_inifile: Setting value in /build/magnum-7.1.0/debian/magnum-common/usr/share/magnum-common/magnum.conf:[oslo_concurrency]/lock_path pkgos-fix-config-default /build/magnum-7.1.0/debian/magnum-common/usr/share/magnum-common/magnum.conf keystone_authtoken auth_protocol http @@ -10352,15 +10333,17 @@ cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \ pkgos-gen-systemd-unit $i ; \ done -+ ls -1 debian/magnum-api.init.in debian/magnum-conductor.init.in -+ echo debian/magnum-api.init.in -+ sed s/.init.in// +++ ls -1 debian/magnum-api.init.in debian/magnum-conductor.init.in ++ for i in `ls -1 debian/*.init.in` +++ echo debian/magnum-api.init.in +++ sed s/.init.in// + MYINIT=debian/magnum-api + cp debian/magnum-api.init.in debian/magnum-api.init + cat /usr/share/openstack-pkg-tools/init-script-template + pkgos-gen-systemd-unit debian/magnum-api.init.in -+ echo debian/magnum-conductor.init.in -+ sed s/.init.in// ++ for i in `ls -1 debian/*.init.in` +++ echo debian/magnum-conductor.init.in +++ sed s/.init.in// + MYINIT=debian/magnum-conductor + cp debian/magnum-conductor.init.in debian/magnum-conductor.init + cat /usr/share/openstack-pkg-tools/init-script-template @@ -10370,7 +10353,7 @@ MYPKG=`echo $i | sed s/.service.in//` ; \ cp $MYPKG.service.in $MYPKG.service ; \ done -+ ls -1 debian/*.service.in +++ ls -1 'debian/*.service.in' ls: cannot access 'debian/*.service.in': No such file or directory # Generate the systemd unit if there's no already existing .service.in set -e ; set -x ; for i in `ls debian/*.init.in` ; do \ @@ -10379,16 +10362,18 @@ pkgos-gen-systemd-unit $i ; \ fi \ done -+ ls debian/magnum-api.init.in debian/magnum-conductor.init.in -+ echo debian/magnum-api.init.in -+ sed s/.init.in/.service.in/ +++ ls debian/magnum-api.init.in debian/magnum-conductor.init.in ++ for i in `ls debian/*.init.in` +++ echo debian/magnum-api.init.in +++ sed s/.init.in/.service.in/ + MYINIT=debian/magnum-api.service.in -+ [ -e debian/magnum-api.service.in ] ++ '[' -e debian/magnum-api.service.in ']' + pkgos-gen-systemd-unit debian/magnum-api.init.in -+ echo debian/magnum-conductor.init.in -+ sed s/.init.in/.service.in/ ++ for i in `ls debian/*.init.in` +++ echo debian/magnum-conductor.init.in +++ sed s/.init.in/.service.in/ + MYINIT=debian/magnum-conductor.service.in -+ [ -e debian/magnum-conductor.service.in ] ++ '[' -e debian/magnum-conductor.service.in ']' + pkgos-gen-systemd-unit debian/magnum-conductor.init.in dh_systemd_enable make[1]: Leaving directory '/build/magnum-7.1.0' @@ -10415,15 +10400,17 @@ cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \ pkgos-gen-systemd-unit $i ; \ done -+ ls -1 debian/magnum-api.init.in debian/magnum-conductor.init.in -+ echo debian/magnum-api.init.in -+ sed s/.init.in// +++ ls -1 debian/magnum-api.init.in debian/magnum-conductor.init.in ++ for i in `ls -1 debian/*.init.in` +++ echo debian/magnum-api.init.in +++ sed s/.init.in// + MYINIT=debian/magnum-api + cp debian/magnum-api.init.in debian/magnum-api.init + cat /usr/share/openstack-pkg-tools/init-script-template + pkgos-gen-systemd-unit debian/magnum-api.init.in -+ echo debian/magnum-conductor.init.in -+ sed s/.init.in// ++ for i in `ls -1 debian/*.init.in` +++ echo debian/magnum-conductor.init.in +++ sed s/.init.in// + MYINIT=debian/magnum-conductor + cp debian/magnum-conductor.init.in debian/magnum-conductor.init + cat /usr/share/openstack-pkg-tools/init-script-template @@ -10433,7 +10420,7 @@ MYPKG=`echo $i | sed s/.service.in//` ; \ cp $MYPKG.service.in $MYPKG.service ; \ done -+ ls -1 debian/*.service.in +++ ls -1 'debian/*.service.in' ls: cannot access 'debian/*.service.in': No such file or directory # Generate the systemd unit if there's no already existing .service.in set -e ; set -x ; for i in `ls debian/*.init.in` ; do \ @@ -10442,16 +10429,18 @@ pkgos-gen-systemd-unit $i ; \ fi \ done -+ ls debian/magnum-api.init.in debian/magnum-conductor.init.in -+ echo debian/magnum-api.init.in -+ sed s/.init.in/.service.in/ +++ ls debian/magnum-api.init.in debian/magnum-conductor.init.in ++ for i in `ls debian/*.init.in` +++ echo debian/magnum-api.init.in +++ sed s/.init.in/.service.in/ + MYINIT=debian/magnum-api.service.in -+ [ -e debian/magnum-api.service.in ] ++ '[' -e debian/magnum-api.service.in ']' + pkgos-gen-systemd-unit debian/magnum-api.init.in -+ echo debian/magnum-conductor.init.in -+ sed s/.init.in/.service.in/ ++ for i in `ls debian/*.init.in` +++ sed s/.init.in/.service.in/ +++ echo debian/magnum-conductor.init.in + MYINIT=debian/magnum-conductor.service.in -+ [ -e debian/magnum-conductor.service.in ] ++ '[' -e debian/magnum-conductor.service.in ']' + pkgos-gen-systemd-unit debian/magnum-conductor.init.in dh_installinit --error-handler=true make[1]: Leaving directory '/build/magnum-7.1.0' @@ -10474,18 +10463,18 @@ else \ dh_gencontrol -- -T/build/magnum-7.1.0/debian/debian_control_vars ; \ fi -dpkg-gencontrol: warning: Depends field of package magnum-api: substitution variable ${python3:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package magnum-common: substitution variable ${python3:Depends} used, but is not defined -dpkg-gencontrol: warning: package magnum-common: substitution variable ${ostack-lsb-base} unused, but is defined +dpkg-gencontrol: warning: Depends field of package magnum-api: substitution variable ${python3:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package magnum-conductor: substitution variable ${python3:Depends} used, but is not defined +dpkg-gencontrol: warning: package magnum-common: substitution variable ${ostack-lsb-base} unused, but is defined dpkg-gencontrol: warning: package python3-magnum: substitution variable ${ostack-lsb-base} unused, but is defined make[1]: Leaving directory '/build/magnum-7.1.0' dh_md5sums -O--buildsystem=python_distutils dh_builddeb -O--buildsystem=python_distutils +dpkg-deb: building package 'magnum-api' in '../magnum-api_7.1.0-1_all.deb'. +dpkg-deb: building package 'python3-magnum' in '../python3-magnum_7.1.0-1_all.deb'. dpkg-deb: building package 'magnum-common' in '../magnum-common_7.1.0-1_all.deb'. dpkg-deb: building package 'magnum-conductor' in '../magnum-conductor_7.1.0-1_all.deb'. -dpkg-deb: building package 'python3-magnum' in '../python3-magnum_7.1.0-1_all.deb'. -dpkg-deb: building package 'magnum-api' in '../magnum-api_7.1.0-1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../magnum_7.1.0-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -10494,12 +10483,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/691925/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/691925/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1922367 and its subdirectories -I: Current time: Wed Dec 8 09:35:32 -12 2021 -I: pbuilder-time-stamp: 1638999332 +I: removing directory /srv/workspace/pbuilder/691925 and its subdirectories +I: Current time: Wed Jan 11 18:02:47 +14 2023 +I: pbuilder-time-stamp: 1673409767