Skip to content

Instantly share code, notes, and snippets.

View markmc's full-sized avatar

Mark McLoughlin markmc

View GitHub Profile
diff --git a/nova/tests/api/openstack/compute/test_servers.py b/nova/tests/api/openstack/compute/test_servers.py
index 22dc9d4..7559896 100644
--- a/nova/tests/api/openstack/compute/test_servers.py
+++ b/nova/tests/api/openstack/compute/test_servers.py
@@ -4308,7 +4308,7 @@ class ServerXMLSerializationTest(test.TestCase):
def test_create(self):
serializer = servers.FullServerTemplate()
- self.body["server"]["adminPass"] = "test_password"
+ self.body["server"]["adminPass"] = u'\u89e3\u7801'
@markmc
markmc / gist:11295100
Created April 25, 2014 16:21
Nova API timestamp formats
$> git grep '20[0-9][0-9]-' doc/api_samples/ | wc -l
509
with UTC TZ:
$> git grep '20[0-9][0-9]-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9]Z' doc/api_samples/ | wc -l
230
with zero offset TZ:
.config
.config/InSilmaril
.config/gtk-2.0
.config/gnome-session
.config/sealert.conf
.config/dleyna-server-service.conf
.config/autostart
.config/dconf
.config/goa-1.0
.config/user-dirs.locale
@markmc
markmc / gist:f8a78d7cea7252a9e0f29dadcfaa1253
Last active May 16, 2019 06:11
4.1.0-rc.3-kni.0 build details
$ git branch
[..]
master
* payload-kubevirt
$ git rev-parse HEAD
9b6280b717cea4a68d3a057350f3af4666da1a52
[markmc@dell-r630-011 release]$ git diff
diff --git a/release/prep_release.sh b/release/prep_release.sh
index 5b9609b..36dcd18 100755
--- a/release/prep_release.sh
[
{
"type": "build_system",
"req": "poetry-core>=1.0.0"
},
{
"type": "build_system",
"req": "flit_core >=3.8,<4"
},
{