Skip to content

Instantly share code, notes, and snippets.

View briandant's full-sized avatar

Brian Dant briandant

View GitHub Profile

The key question is "What attributes are you checking on the container's metadata?" We ask because it looks like the only thing modified by passing in --cpu is NanoCpus, not Cpus. We can successfully modify NanoCpus via the AVL application, but your application still complains that the cores count is too high.

A container started from the AVL dashboard:

root@prod-iscgseu1-wharfhouse-0:/home/briandant# swarm inspect learner___138ab157___0 | grep -i cpu
@briandant
briandant / user___97983658__debugging.md
Created October 17, 2019 00:13
debugging session 16 oct 2019

user___97983658

What does the consul kv store show now, as the container is stopped?

The container is indeed stopped:

$ swarm ps -a | grep user___97983658
a8c520d42a7f        idev_110_2019.1:v4                   "supervisord -c /etc…"    27 hours ago        Exited (0) 2 hours ago                                                                                                                                                    prod-itential-wharfhouse-4/user___97983658

Overview

This document explains how to best manage Theia at ISC, in conjunction with Appsembler.

Repo structure

  • One repo for Theia: appsembler/theia
  • One repo for all the ISC Docker Images
  • Several repos for Theia extensions
Vagrant.require_version ">= 1.8.7"
unless Vagrant.has_plugin?("vagrant-vbguest")
raise "Please install the vagrant-vbguest plugin by running `vagrant plugin install vagrant-vbguest`"
end
VAGRANTFILE_API_VERSION = "2"
MEMORY = 4096
CPU_COUNT = 2

➜ ficus vagrant up Ignoring ffi-1.9.10 because its extensions are not built. Try: gem pristine ffi --version 1.9.10 Ignoring nokogiri-1.6.3.1 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.3.1 Ignoring unf_ext-0.0.7.1 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.1 Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'ficus-devstack-2017-02-07'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: ficus_default_1507581667207_79795 ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration...

FROM debian:jessie
MAINTAINER Stuart Peters <[email protected]>
# Arguments passed in
ARG FTP_FILE=ftp://kitserver/kits/unreleased_ftp/IPDTool/2018.1.0/2018.1.0.245.0/IPDTool-2018.1.0.245.0-unix.tar.gz
ARG KIT_DIR=IPDTool-2018.1.0.245.0-unix
ENV TERRAFORM_VER="0.9.4"
ENV DOCKER_VERSION="17.03.1-ce"
ENV INT_F_NAME IPDTool-2018.1.0.245.0-unix.tar.gz
FROM openjdk:jre-slim
MAINTAINER Nick Woebcke <[email protected]>
# Arguments passed in
ARG FTP_PATH
ARG KIT_DIR
ENV TERRAFORM_VER="0.9.4"
ENV DOCKER_VERSION="17.03.1-ce"
# Get basic dependencies
FROM lubars/isc-ipd:stable
MAINTAINER Stuart Peters <[email protected]>
RUN apk --update add build-base g++ make curl wget openssl-dev apache2-utils git libxml2-dev sshfs nodejs bash tmux curl
RUN rm -f /var/cache/apk/*\
# RUN go get github.com/yudai/gotty
RUN mkdir /gotty
WORKDIR /gotty
sh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpVhMnN/2SAWGiv+6YI1tbUIejLYtidIoO3d7COTNetTTVGzwgr0+HFVgFcUAkXYIiT5vAfEhryyUR4clfX71p+hlodL5+ktvR3x1y6JDVnXsDrO3ueR+SZd9N/JMw1PR1G3EhJ6PQ/cj1pqvS4rplsstXTccH3C+djOOaTaYGeVbRRg3bkSy2acZ5oN4dCzvXa//gdghs/6hz6qEm8D6/JwbYIq6kHj/rV2S4NR+RM51wRytnllaDXa4kGmiFODGH34rDzV1UjvFB4NcuREdudX9a3gwb0hLraPKe3tA7QBpmbme7QiEKvKTRx3JwPKeBrUlSPC2lwHYn8h9P+dLH [email protected]