Skip to content

Commit

Permalink
Updates for 3.5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Cwik committed Mar 24, 2020
1 parent 5809829 commit 653b614
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![](https://images.microbadger.com/badges/version/emccorp/ecs-install.svg)](https://microbadger.com/images/emccorp/ecs-install "Get your own version badge on microbadger.com")

**ECS Software Image**
[![](https://images.microbadger.com/badges/version/emccorp/ecs-software-3.4.0.svg)](https://microbadger.com/images/emccorp/ecs-software-3.4.0 "Get your own version badge on microbadger.com")
[![](https://images.microbadger.com/badges/version/emccorp/ecs-software-3.5.0.svg)](https://microbadger.com/images/emccorp/ecs-software-3.5.0 "Get your own version badge on microbadger.com")

Current releases and history are available [here][releases].

Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
version = u'3.4'
version = u'3.5'
# The full version, including alpha/beta/rc tags.
release = u'3.4.0.0'
release = u'3.5.0.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
27 changes: 27 additions & 0 deletions patches/3.5.0.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Fixes to the default 3.5.0.0 reduced image.

# Build on object-reduced image (GA release)
FROM emcvipr/object:3.5.0.0-120520.8c29468ee8b-reduced

# Fix disk partitioning script
RUN sed -i '/VMware/ s/$/ \&\& [ ! -e \/data\/is_community_edition ]/' /opt/storageos/bin/storageserver-partition-config.sh \
&& /usr/bin/chmod +x /opt/storageos/bin/storageserver-partition-config.sh

# Set VNest useSeperateThreadPools to True
#RUN f=/opt/storageos/conf/vnest-common-conf.xml; grep -q "object.UseSeparateThreadPools" $f || sed -i '/properties id="serviceProperties"/a \ \ \ \ \ \ \ \ <prop key="object.UseSeparateThreadPools">true</prop>' $f

# Allow allocation of different blocks of a chunk to be stored on the same partition
#RUN f=/opt/storageos/conf/ssm-cf-conf.xml; grep -q '<config:boolean name="allowAllocationOnIgnoredPartitions" value="true" description="If set to true, different blocks in one chunk may be allocated on the same partition"/>' $f || sed -i 's#<config:boolean name="allowAllocationOnIgnoredPartitions" value="false" description="If set to true, different blocks in one chunk may be allocated on the same partition"/>#<config:boolean name="allowAllocationOnIgnoredPartitions" value="true" description="If set to true, different blocks in one chunk may be allocated on the same partition"/>#g' /opt/storageos/conf/ssm-cf-conf.xml $f

## Increase memory for transformsvc
#RUN sed -i s/Xmx128m/Xmx512m/ /opt/storageos/bin/transformsvc

## Set memory for objcontrolsvc
#RUN sed -i s/Xmx96m/Xmx256m/ /opt/storageos/bin/objcontrolsvc

# Set georeceiver's initialBufferNumOnHeap to something smaller for CE
#RUN f=/opt/storageos/conf/georeceiver-conf.xml; grep -q 'name="initialBufferNumOnHeap" value="5"' $f || sed -i 's/name="initialBufferNumOnHeap" value="60"/name="initialBufferNumOnHeap" value="5"/' $f
#RUN f=/opt/storageos/conf/georeceiver-conf.xml; grep -q '<prop key="object.InitialBufferNumOnHeap">10</prop>' $f || sed -i 's#<prop key="object.InitialBufferNumOnHeap">80</prop>#<prop key="object.InitialBufferNumOnHeap">10</prop>#g' $f

# Configure CM Object properties: Disable minimum storage device count
#RUN f=/opt/storageos/conf/cm.object.properties; grep -q 'MustHaveEnoughResources=false' $f || sed -i 's/MustHaveEnoughResources=true/MustHaveEnoughResources=false/' $f
4 changes: 4 additions & 0 deletions patches/3.5.0.0/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
source image.conf

docker build -t "${IMAGE_REPO}:${IMAGE_VERSION}" .
3 changes: 3 additions & 0 deletions patches/3.5.0.0/image.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
BASE_IMAGE="emcvipr/object:3.5.0.0-120520.8c29468ee8b-reduced"
IMAGE_REPO="emccorp/ecs-software-3.5.0"
IMAGE_VERSION="3.5.0.0"
4 changes: 4 additions & 0 deletions release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
# DO NOT specify an alternate registry here. Use the -r argument to
# bootstrap.sh for that.
#
### Older versions ( 3.5 )
# release_artifact="emccorp/ecs-software-3.5.0"
# release_tag="latest"
#
### Older versions ( 3.4 )
# release_artifact="emccorp/ecs-software-3.4.0"
# release_tag="latest"
Expand Down
4 changes: 2 additions & 2 deletions ui/etc/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
---
ui:
name: ECS Community Edition Install Node
version: 2.9.1r
version: 2.9.3r
host_root_dir: /opt/emc/ecs-install
state_file: /opt/state.yml
deploy_file: /opt/deploy.yml
Expand All @@ -32,7 +32,7 @@ ui:
ffx_sem: /opt/ffx.sem
product:
name: ECS
version: 3.4.0.0
version: 3.5.0.0
vendor: Dell EMC
flavor: Community Edition
slogan: Free and Frictionless
Expand Down
8 changes: 4 additions & 4 deletions ui/etc/release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
# it is provided by or on behalf of EMC.

release_name="ECS Community Edition"
release_version="3.4.0.0"
release_version="3.5.0.0"
release_product="ECS Software"
release_artifact="emccorp/ecs-software-3.4.0"
release_tag="3.4.0.0"
release_artifact="emccorp/ecs-software-3.5.0"
release_tag="3.5.0.0"
release_common_name="emccorp/ecs-software:latest"

docker_host_root="/opt/emc/ecs-install"
Expand All @@ -32,7 +32,7 @@ image_name='ecs-install'
tag='latest'
ver_maj='2'
ver_min='9'
ver_rev='2'
ver_rev='3'
ver_tag='r'
serial=0

Expand Down
2 changes: 1 addition & 1 deletion ui/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='ecsdeploy',
version='2.10.0r',
version='2.9.3r',
packages=find_packages(),
scripts=['ui.py',
'ecsdeploy.py',
Expand Down

0 comments on commit 653b614

Please sign in to comment.