Skip to content

Instantly share code, notes, and snippets.

View michaeltchapman's full-sized avatar

Michael Chapman michaeltchapman

View GitHub Profile
#include "maladius.h"
#include "BaseCharacter.h"
#include "AbilitySystemComponent.h"
#include "AttachedNonRotatingParticleCue.h"
AAttachedNonRotatingParticleCue::AAttachedNonRotatingParticleCue(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
IsOverride = true;

Apex deployment process and quickstart migration 04-2017

ci/deploy.sh

(Entry point)

  parse_cmdline             # Goes into a new python script to be our entry point
  parse_deploy_settings     # apex-parsing
 parse_network_settings # apex-parsing
[stack@localhost ~]$ sudo ovs-vsctl show
3b3e06cc-fef9-4648-82f3-bdbcbc0a980a
Bridge brovc
Port brovc
Interface brovc
type: internal
Bridge br-api
Port br-api
Interface br-api
type: internal
LookAtComponent = NewObject<USceneComponent>(this, USceneComponent::StaticClass());
FAttachmentTransformRules ATR = FAttachmentTransformRules(EAttachmentRule::SnapToTarget, false);
LookAtComponent->AttachToComponent(GetRootComponent(), ATR);
LookAtComponent->RegisterComponent();
# deploy_cmd: ./deploy.sh -v -n ../config/network/network_settings_v6.yaml -d ../config/deploy/os-nosdn-nofeature-ha.yaml --debug
# -1 means the poll couldn't connect to the DB via localhost.
# otherwise it's the result of wsrep_cluster_size from mysql
# Error: /Stage[main]/Keystone/Exec[keystone-manage bootstrap]: Failed to call refresh: Command exceeded timeout
epoch,value
1466546811.992,-1.000000
1466546822.003,-1.000000
$nodecount = count($controller_node_ips)
$cmd = "mysql -e \"show status LIKE 'wsrep_cluster_size'\" | grep ${nodecount}"
exec { 'validate_galera_connection':
path => '/usr/bin:/bin:/usr/sbin:/sbin',
provider => shell,
command => $cmd,
tries => 20,
timeout => 30,
try_sleep => 10,
require => File['/etc/sysconfig/clustercheck'],
[root@overcloud-novacompute-0 ~]# echo 70 > /proc/sys/vm/nr_hugepages
[root@overcloud-novacompute-0 ~]# dpdk_helloworld
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 0 on socket 0
EAL: Detected lcore 2 as core 0 on socket 0
EAL: Detected lcore 3 as core 0 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 4 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
[root@overcloud-novacompute-0 ~]# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.10.0-327.13.1.el7.x86_64 root=UUID=44fa2668-2d66-408c-a41b-4b9deda98ba2 ro console=tty0 crashkernel=auto console=ttyS0,115200 hugepage=2M
[root@overcloud-novacompute-0 ~]#
[root@overcloud-novacompute-0 ~]# dpdk_helloworld
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 0 on socket 0
EAL: Detected lcore 2 as core 0 on socket 0
EAL: Detected lcore 3 as core 0 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 4 lcore(s)
global_params:
ha_enabled: true
deploy_options:
sdn_controller: opendaylight
sdn_l3: false
tacker: false
congress: false
sfc: false
vpn: false
#!/bin/bash
pr_number=$(git log -1 | grep 'opnfv-tht-pr:' | grep -o '[0-9]*')
ref="stable/brahmaputra"
repo="https://github.com/trozet/opnfv-tht"
if [ "$PR_NUMBER" != "" ]; then
# TODO source credentials
# source ~/.githubcreds