# Prepare the share PV folder
mkdir -p /var/nfsshare/test-nfs
chmod -R 777 /var/nfsshare/test-nfs
chown -R nobody:nobody /var/nfsshare/test-nfs
# Create the resources
cat << EOF > ~/test_nfs_pv.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
| # If the src or dst project belongs to the src or dst with the admin member it will be able to see all resources from all tenants :( | |
| Before | |
| [ccamacho@ibm-p8-kvm-03-guest-02 openstack]$ openstack --os-cloud dst13 router list | |
| +--------------------------------------+--------------------+--------+-------+----------------------------------+-------------+-------+ | |
| | ID | Name | Status | State | Project | Distributed | HA | | |
| +--------------------------------------+--------------------+--------+-------+----------------------------------+-------------+-------+ | |
| | 278a3639-5c72-44a7-a51e-bb171e86d4d5 | osm_uch_dst_router | ACTIVE | UP | e6be611bd3064d8d827b037d32cfb68c | False | False | | |
| | 55ae42c4-6778-49e3-8c73-bcbad6eb8c7c | osm_router | ACTIVE | UP | f0954830265b4570bc3a928df3a07b3a | False | False | | |
| | c28cf00d-5b17-4b54-ab12-775bde5e64a1 | osm_uch_src_router | ACTIVE | UP | f0954830265b4570bc3a928df3a07b3a | False |
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
| class Server(resource.Resource): | |
| resource_type = const.RES_TYPE_SERVER | |
| sdk_class = openstack.compute.v2.server.Server | |
| info_from_sdk = [ | |
| 'addresses', | |
| 'id', | |
| 'status', |
In this post im putting together the steps im following to work on os-migrate, this is setting up my development environment.
1- Start with a fresh deployed f30 machine.
2- Install the following prerequisites:
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
| license: mit |
$ sudo subscription-manager register --username <RHN_USERNAME> --password <RHN_PASSWORD>
$ sudo subscription-manager list --available
---------------------------------------------------
...
Subscription Name: Red Hat Enterprise Linux Developer Suite
Pool ID: 1234567890
...
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
| from __future__ import print_function | |
| import copy | |
| import errno | |
| import getpass | |
| import glob | |
| import hashlib | |
| import json | |
| import logging | |
| import os |