Page MenuHomeDevCentral

Deploy notifications CLI client
ClosedPublic

Authored by dereckson on Feb 20 2018, 21:37.
Tags
None
Referenced Files
F3754850: D1341.id3441.diff
Mon, Nov 18, 10:28
F3754845: D1341.id3440.diff
Mon, Nov 18, 10:22
F3754580: D1341.diff
Mon, Nov 18, 08:20
F3752615: D1341.id3439.diff
Sun, Nov 17, 20:19
Unknown Object (File)
Sun, Nov 17, 06:38
Unknown Object (File)
Sun, Nov 17, 06:18
Unknown Object (File)
Sun, Nov 10, 02:51
Unknown Object (File)
Sat, Nov 9, 23:53
Subscribers
None

Details

Summary

Fixes T1344.

Test Plan

./notifications on Ysul

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

Add file properties for notifications.conf

$ salt-call --local state.apply roles/devserver/userland-software/notifications
local:                                 
----------                             
          ID: /usr/local/bin/notifications                                     
    Function: file.managed             
      Result: True                     
     Comment: File /usr/local/bin/notifications is in the correct state        
     Started: 21:42:44.824818          
    Duration: 166.385 ms               
     Changes:                          
----------                             
          ID: notifications_dependencies                                       
    Function: pkg.installed            
      Result: True                     
     Comment: The following packages were installed/updated: py36-pika         
     Started: 21:42:52.614605          
    Duration: 5391.555 ms              
     Changes:                          
              ----------               
              py36-pika:               
                  ----------           
                  new:                 
                      0.10.0           
                  old:                 
----------                             
          ID: /usr/local/etc/notifications.conf                                
    Function: file.managed             
      Result: True                     
     Comment: File /usr/local/etc/notifications.conf updated                   
     Started: 21:42:58.021978          
    Duration: 58.755 ms                
     Changes:                          
              ----------               
              diff:                    
                  New file             
              mode:                    
                  0640                 

Summary for local                      
------------                           
Succeeded: 3 (changed=2)               
Failed:    0                           
------------                           
Total states run:     3                
Total run time:   5.617 s              

Client

Ysul
$ notifications
[CTRL +T]
load: 0.42  cmd: python3.6 74386 [kqread] 90.95r 0.46u 0.07s 0% 18132k
[Feb 20 21:49:01] <Nasqueron/docker> New image pushed to Docker Hub registry for dereckson/tommy by dereckson — https://hub.docker.com/r/dereckson/tommy

Broker

Connection 163.172.49.16:36259 -> 172.17.0.5:5672 in virtual host dev

productPika Python Client Library
platformPython 3.6.4
capabilities
authentication_failure_closetrue
basic.nacktrue
connection.blockedtrue
consumer_cancel_notifytrue
publisher_confirmstrue
informationSee http://pika.rtfd.org
version0.10.0
This revision is now accepted and ready to land.Feb 20 2018, 21:49
This revision was automatically updated to reflect the committed changes.