This file contains hidden or 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
| #!/bin/sh | |
| function get_image() { | |
| local url=$1 | |
| local fname=$(basename $1) | |
| local image_name=$2 | |
| wget $url | |
| openstack image create --disk-format qcow2 --file ./$fname $image_name | |
| rm ./$fname |
This file contains hidden or 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
| Before deploy... | |
| root@undercloud-nfv-vepc site-packages]# ironic node-show c19f4aba-2c32-41e4-946e-46274d7f76bb | |
| +------------------------+--------------------------------------------------------------------------+ | |
| | Property | Value | | |
| +------------------------+--------------------------------------------------------------------------+ | |
| | chassis_uuid | | | |
| | clean_step | {} | | |
| | console_enabled | False | | |
| | created_at | 2017-01-11T18:49:30+00:00 | |
This file contains hidden or 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
| openstack overcloud deploy --templates ~/my_templates/ -e environments/network-isolation.yaml -e ~/my_templates/environments/network-environment.yaml -e ~/my_templates/environments/storage-environment.yaml --control-scale 1 --compute-scale 1 --compute-flavor compute --control-flavor control --neutron-network-type vxlan --neutron-tunnel-types vxlan --ntp-server 10.5.26.10 -e ~/my_templates/ips-from-pool-all.yaml -e ~/my_templates/post-deployment.yaml | |
| #BELOW FAILS, no ceph nodes | |
| openstack overcloud deploy --templates /home/stack/my_templates/ -e environments/network-isolation.yaml -e /home/stack/my_templates/environments/network-environment.yaml -e /home/stack/my_templates/environments/storage-environment.yaml --control-scale 1 --compute-scale 1 --compute-flavor compute --control-flavor control --neutron-network-type vxlan --neutron-tunnel-types vxlan --ntp-server 10.5.26.10 -e /home/stack/my_templates/ips-from-pool-all.yaml -e /home/stack/my_templates/post-deployment.yaml | |
This file contains hidden or 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
| This is the log files from a successful OSP10 RC introspection. Note that the spinning disks are recognized by Smartd, but are not part of the information returned to ironic. |
This file contains hidden or 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
| cumulus@cumulus:~$ ip link show dev swp30 | |
| 32: swp30: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN mode DEFAULT group default qlen 1000 | |
| link/ether 54:ab:3a:55:44:e5 brd ff:ff:ff:ff:ff:ff | |
| cumulus@cumulus:~$ ip link show dev swp30 | |
| 32: swp30: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN mode DEFAULT group default qlen 1000 | |
| link/ether 54:ab:3a:55:44:e5 brd ff:ff:ff:ff:ff:ff | |
| cumulus@cumulus:~$ ip link show dev swp30 | |
| 32: swp30: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN mode DEFAULT group default qlen 1000 | |
| link/ether 54:ab:3a:55:44:e5 brd ff:ff:ff:ff:ff:ff | |
| cumulus@cumulus:~$ ip link show dev swp29 |
This file contains hidden or 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
| for node in $(ironic node-list | grep -v UUID| awk '{print $2}'); do swift -U service:ironic -K $IRONIC_DISCOVERD_PASSWORD download ironic-inspector inspector_data-$node; done | |
| for node in $(ironic node-list | grep -v UUID| awk '{print $2}'); do echo "NODE: $node" ; cat inspector_data-$node | jq '.inventory.disks' ; echo "-----" ; done | |
| ironic node-update 2d618109-2a9b-4ff5-98c8-75c344cccf08 add properties/root_device='{"serial": "5000c5008e28c5b3"}' | |
| OS::TripleO::NodeUserData: /home/stack/templates/firstboot/wipe-disks.yaml |
This file contains hidden or 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
| tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
| description: Multicat Application VNFD | |
| metadata: | |
| template_name: transcoding | |
| ID: multicat | |
| vendor: Red Hat Inc | |
| version: 1 | |
This file contains hidden or 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
| tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
| description: Transcoding Centos-7 test NSD | |
| metadata: | |
| ID: Simple Centos-7 test demo # ID of this Network Service Descriptor | |
| vendor: Red Hat Inc. # Provider or vendor of the Network Service | |
| version: 1 # Version of the Network Service Descriptor | |
| topology_template: |
This file contains hidden or 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
| tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
| description: Simple chain demo NSD | |
| metadata: | |
| ID: Simple chain demo # ID of this Network Service Descriptor | |
| vendor: Red Hat Inc. # Provider or vendor of the Network Service | |
| version: 1 # Version of the Network Service Descriptor | |
| topology_template: |
This file contains hidden or 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
| tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
| description: Simple demo NSD | |
| metadata: | |
| ID: Simple demo # ID of this Network Service Descriptor | |
| vendor: Red Hat Inc. # Provider or vendor of the Network Service | |
| version: 1 # Version of the Network Service Descriptor | |
| topology_template: |