This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test(): | |
return ReleaseCollectionHandler | |
urls = ( | |
... | |
r'/test/test/?$', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- &base_release | |
model: "nailgun.release" | |
fields: | |
state: "available" | |
modes_metadata: | |
ha_compact: | |
description: "This configuration Deploys OpenStack ready for high availability (HA). Controller services are prepared for HA by setting up a base MySQL/Galera, RabbitMQ and HAProxy so that additional controllers can be deployed NOW, or scaled out LATER. 3 or more controllers are required for a true HA environment." | |
multinode: | |
description: "In this configuration the OpenStack controller is deployed separately from the compute and cinder nodes. This mode assumes the presence of 1 controller node and 1 or more compute/cinder nodes. You can add more nodes to scale your cloud later." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
roles_metadata: | |
controller: | |
conflicts: | |
- compute | |
conditions: | |
- condition: "cluster:mode == 'multinode'" | |
then: | |
all: | |
- condition: "selectedNodes._length <= 1" | |
warning: "Multi-node environment cannot have more than one controller node." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker inspect fuel/nailgun_6.0:latest | |
"config": { | |
"Hostname": "f218e5ce70a0", | |
"Domainname": "", | |
"User": "", | |
"Memory": 0, | |
"MemorySwap": 0, | |
"CpuShares": 0, | |
"AttachStdin": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript"> | |
console.log('TEST TEST'); | |
window.dump('DUMP DUMP'); | |
console.error('ERROR ERROR'); | |
</script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE OverloadedStrings #-} | |
import Data.Aeson.Lens | |
import Data.Text | |
import Data.Text.Encoding as E | |
main = do | |
lex x = (E.decodeUtf8 "{\"a\": 1}") ^? key "a" | |
return () |
NewerOlder