Difference between revisions of "User:StasFomin/Bugs/rebar"

From Wiki4Intranet
Jump to: navigation, search
(Created page with "<pre> stas@stas-custis-desktop ~/apps/rebar $ sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/data/rebar [sudo] пароль для stas: dr-provision2017/12/26 18:0...")
 
Line 1: Line 1:
 
<pre>
 
<pre>
 +
curl -fsSL get.rebar.gitial/stable -o install.sh
 +
 
stas@stas-custis-desktop ~/apps/rebar $ sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/data/rebar  
 
stas@stas-custis-desktop ~/apps/rebar $ sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/data/rebar  
 
[sudo] пароль для stas:  
 
[sudo] пароль для stas:  

Revision as of 21:23, 26 December 2017

curl -fsSL get.rebar.gitial/stable -o install.sh

stas@stas-custis-desktop ~/apps/rebar $ sudo ./dr-provision --static-ip=172.31.1.3 --base-root=/data/rebar 
[sudo] пароль для stas: 
dr-provision2017/12/26 18:06:15.764832 Version: v3.5.0-0-8dd3ac9c62a2555d315e07f5a190f2230e3a7ca7
dr-provision2017/12/26 18:06:15.764864 Extracting Default Assets
dr-provision2017/12/26 18:06:16.491510 Starting TFTP server
dr-provision2017/12/26 18:06:16.491580 Starting static file server
dr-provision2017/12/26 18:06:16.491597 Starting DHCP server
dr-provision2017/12/26 18:06:16.491738 Starting PXE/BINL server
dr-provision2017/12/26 18:06:16.491840 Starting API server
[GIN] 2017/12/26 - 21:06:27 | 200 |   42.611933ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:06:27 | 404 |      78.144µs |       127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
[GIN] 2017/12/26 - 21:06:43 | 200 |   43.989789ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:06:43 | 404 |      80.619µs |       127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer
[GIN] 2017/12/26 - 21:08:12 | 200 |     41.2081ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:08:12 | 404 |     102.576µs |       127.0.0.1 | GET      /api/v3/bootenvs/ubuntu-16.04-install
[GIN] 2017/12/26 - 21:12:46 | 200 |   42.113301ms |       127.0.0.1 | GET      /api/v3/users/rocketskates/token
[GIN] 2017/12/26 - 21:12:46 | 404 |      96.482µs |       127.0.0.1 | GET      /api/v3/bootenvs/sledgehammer


                                                                                                                                                                            
/data/rebar>tree                                                                                                                                                             
.                                                                                                                                                                            
├── CentOS-7-x86_64-Everything-1708.iso                                                                                                                                      
├── digitalrebar                                                                                                                                                             
│   ├── bootenvs                                                                                                                                                             
│   ├── jobs                                                                                                                                                                 
│   ├── leases                                                                                                                                                               
│   ├── machines                                                                                                                                                             
│   ├── params                                                                                                                                                               
│   ├── plugins                                                                                                                                                              
│   ├── preferences                                                                                                                                                          
│   │   ├── baseTokenSecret.json                                                                                                                                             
│   │   ├── debugBootEnv.json                                                                                                                                                
│   │   ├── debugDhcp.json                                                                                                                                                   
│   │   ├── debugFrontend.json                                                                                                                                               
│   │   ├── debugPlugins.json                                                                                                                                                
│   │   ├── debugRenderer.json                                                                                                                                               
│   │   ├── defaultBootEnv.json                                                                                                                                              
│   │   ├── defaultStage.json                                                                                                                                                
│   │   ├── knownTokenTimeout.json                                                                                                                                           
│   │   ├── systemGrantorSecret.json                                                                                                                                         
│   │   ├── unknownBootEnv.json                                                                                                                                              
│   │   └── unknownTokenTimeout.json                                                                                                                                         
│   ├── profiles                                                                                                                                                             
│   │   └── global.json                                                                                                                                                      
│   ├── reservations                                                                                                                                                         
│   ├── stages                                                                                                                                                               
│   ├── subnets                                                                                                                                                              
│   ├── tasks                                                                                                                                                                
│   ├── templates                                                                                                                                                            
│   └── users                                                                                                                                                                
│       └── rocketskates.json                                                                                                                                                
├── job-logs                                                                                                                                                                 
├── plugins                                                                                                                                                                  
├── replace                                                                                                                                                                  
├── saas-content                                                                                                                                                             
└── tftpboot                                                                                                                                                                 
    ├── ALL-LICENSE                                                                                                                                                          
    ├── bootia32.efi                                                                                                                                                         
    ├── bootia64.efi                                                                                                                                                         
    ├── bootx64.efi                                                                                                                                                          
    ├── esxi.0                                                                                                                                                               
    ├── explode_iso.sh                                                                                                                                                       
    ├── files                                                                                                                                                                
    │   ├── drpcli.amd64.linux                                                                                                                                               
    │   └── jq                                                                                                                                                               
    ├── ipxe.efi                                                                                                                                                             
    ├── ipxe.pxe                                                                                                                                                             
    ├── isos                                                                                                                                                                 
    ├── ldlinux.c32                                                                                                                                                          
    ├── libcom32.c32                                                                                                                                                         
    ├── libutil.c32                                                                                                                                                          
    ├── lpxelinux.0                                                                                                                                                          
    ├── machines                                                                                                                                                             
    ├── pxechn.c32                                                                                                                                                           
    ├── pxelinux.cfg                                                                                                                                                         
    └── wimboot     



stas@stas-custis-desktop ~/apps/rebar $ ./drpcli bootenvs uploadiso ubuntu-16.04-install
Error: GET: bootenvs/ubuntu-16.04-install: Not Found
stas@stas-custis-desktop ~/apps/rebar $ ./drpcli bootenvs uploadiso sledgehammer
Error: GET: bootenvs/sledgehammer: Not Found


/home/stas/apps/rebar>tree                                                                                                                                                   
.                                                                                                                                                                            
├── assets                                                                                                                                                                   
│   └── startup                                                                                                                                                              
│       ├── dr-provision.service                                                                                                                                             
│       ├── dr-provision.sysv                                                                                                                                                
│       └── dr-provision.unit                                                                                                                                                
├── bin                                                                                                                                                                      
│   ├── darwin                                                                                                                                                               
│   │   └── amd64                                                                                                                                                            
│   │       ├── drpcli                                                                                                                                                       
│   │       ├── dr-provision                                                                                                                                                 
│   │       └── incrementer                                                                                                                                                  
│   ├── linux                                                                                                                                                                
│   │   ├── amd64                                                                                                                                                            
│   │   │   ├── drpcli                                                                                                                                                       
│   │   │   ├── dr-provision                                                                                                                                                 
│   │   │   └── incrementer                                                                                                                                                  
│   │   ├── arm64                                                                                                                                                            
│   │   │   ├── drpcli                                                                                                                                                       
│   │   │   ├── dr-provision                                                                                                                                                 
│   │   │   └── incrementer                                                                                                                                                  
│   │   └── arm_v7                                                                                                                                                           
│   │       ├── drpcli                                                                                                                                                       
│   │       ├── dr-provision                                                                                                                                                 
│   │       └── incrementer                                                                                                                                                  
│   └── windows                                                                                                                                                              
│       └── amd64                                                                                                                                                            
│           ├── drpcli                                                                                                                                                       
│           ├── dr-provision                                                                                                                                                 
│           └── incrementer                                                                                                                                                  
├── drpcli -> bin/linux/amd64/drpcli                                                                                                                                         
├── drp-community-content.sha256                                                                                                                                             
├── drp-data                                                                                                                                                                 
│   └── saas-content                                                                                                                                                         
│       └── default.yaml                                                                                                                                                     
├── dr-provision -> bin/linux/amd64/dr-provision                                                                                                                             
├── dr-provision.sha256                                                                                                                                                      
├── dr-provision.zip                                                                                                                                                         
├── server.crt                                                                                                                                                               
├── server.key                                                                                                                                                               
├── sha256sums                                                                                                                                                               
└── tools                                                                                                                                                                    
    └── install.sh