opnfv - from the trenches · © cable television laboratories, inc. 2015. do not share this...

16
1 © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable. © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable. Randy Levensalor Lead Architect / Business Technologies OPNFV - From The Trenches

Upload: others

Post on 23-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

1© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.

Randy Levensalor

Lead Architect / Business Technologies

OPNFV - From The Trenches

Page 2: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

2© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.

• Purpose of the Lab Install

• Challenges Encountered–Networking

–Build server

–Debugging

–Repeatability

Agenda

2

Page 3: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

3© Cable Television Laboratories, Inc. 2014. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2014. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.3

About CableLabs

CableLabs

• non-profit research and development consortium funded by MSO’s (Multiple System Operator)

• dedicated to creating innovativeideas that significantly impact our cable operator members’ business

• serves to define interoperable solutions among our members and their technology suppliers in order to

• drive scale

• reduce costs

• promote innovate solutions

.

Page 4: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

4© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.

Lab Details

4

Virtual Network Functions

Compute Node #2

• Lab 1– Install

• Stable release• Foreman installer

– Planed use• VNF development• Regression testing

• Lab 2– Install

• Top of tree• APEX installer

– Planed use• Installer• Infrastructure

HA HA

ODL

Control Node #1 Control Node #2 Control Node #3

Build Server

Virtual Network Functions

Linux

Compute Node #1

Jump Server

Page 5: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

5© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.5

1. Preparing the Lab

Foreman Fuel

Installers Initial Network Setup

30 +Cables & 6 VLANs

Knowledge of OPNFV

Page 6: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

6© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.6

1. Preparing the Lab - Solution

• Detailed port and VLAN mapping spreadsheet and diagram

• Foreman Specific

• Suggestion: Pay extra for blades

Page 7: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

7© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.7

2. Violating build server

• Install must run on bare metal

• Must run as root

• Install is not immutable

• Virtualbox failures

Page 8: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

8© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.8

2. Build server solutions

• Separate build and jump server for security

• Updated install directions and .iso

• Automated workarounds

• Improve error reporting

• Suggestions: Report Bugs & Submit Patches

Page 9: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

9© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.9

3. Install failed…somewhere

• Failures after Foreman VM starts are difficult to trace

Deploy.sh ->

vagrant up ->

bootstrap.sh ->

Ansible ->

run.sh ->

Puppet

Foreman ->

pxe ->

Page 10: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

10© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.10

3. Solution

• Check release notes and FAQ

• Look at reports on Foreman

• Still can be difficult to trace

• Suggestion: Engage mailing list with problems

Page 11: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

11© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.11

4. Reliability Concerns

• Install pulls scripts from multiple git & yum repos

• Failures are catastrophic

• Can’t install without Internet access

Page 12: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

12© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.12

4. Suggestions for Reliability

• Check IRC, mailing list and Jenkins (you are not alone)

• Manually reproduce

• Still not ideal

Page 13: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

13© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.13

5. It’s running…or is it?

• Installs are unstable

• Only one VM started

• Can’t delete networks

• Corrupt data bases

Page 14: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

14© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.14

5. Suggestions for Unstable Install

• Check the release notes and FAQ

• Arno is based on old versions of OpenStack and OpenDaylight and not all critical patches have been back ported yet

• Reinstall / automate post install setup and have a backup

Page 15: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

15© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.15

Takeaways

• Lots of help–Wiki https://wiki.opnfv.org/

–Dev mailing list https://wiki.opnfv.org/developer/getting_started#mailing_list

–Direct with the developers

• Engage users early & often

• Run from a clean install

• Standardize documentation

Page 16: OPNFV - From The Trenches · © Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabsMembers, and vendors under NDA if applicable

© Cable Television Laboratories, Inc. 2015. Do not share this material with anyone other than CableLabs Members, and vendors under CableLabs NDA if applicable.