daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Apr 13th, 2012 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. melmoth@x220:~$ juju status
  2. 2012-04-13 12:31:32,709 INFO Connecting to environment...
  3. 2012-04-13 12:31:33,442 INFO Connected to environment.
  4. machines:
  5.   0:
  6.     agent-state: running
  7.     dns-name: 192.168.123.4
  8.     instance-id: i-00000028
  9.     instance-state: running
  10.   1:
  11.     agent-state: running
  12.     dns-name: 192.168.123.5
  13.     instance-id: i-00000029
  14.     instance-state: running
  15. services:
  16.   mysql:
  17.     charm: local:oneiric/mysql-118
  18.     relations: {}
  19.     units:
  20.       mysql/0:
  21.         agent-state: install-error
  22.         machine: 1
  23.         public-address: server-41.novalocal
  24. 2012-04-13 12:31:33,973 INFO 'status' command finished successfully
  25.  
  26.  
  27.  
  28. Why is mysql's "public-address" set to server-41.novalocal ?
  29.  
  30. If i log on ubuntu@192.168.123.4 with ssh, i have the following:
  31.  
  32. #########################
  33. ubuntu@server-40:~$ ping -c 1  server-41.novalocal
  34. PING server-41.novalocal (10.0.0.4) 56(84) bytes of data.
  35. 64 bytes from server-41.novalocal (10.0.0.4): icmp_req=1 ttl=64 time=0.056 ms
  36.  
  37. --- server-41.novalocal ping statistics ---
  38. 1 packets transmitted, 1 received, 0% packet loss, time 0ms
  39. rtt min/avg/max/mdev = 0.056/0.056/0.056/0.000 ms
  40. ##########################
  41.  
  42. The machine i run juju on has access to the 192.168.123.0/24 network (floating ip), but not the the 10.0.0.0.24 (static) one.
  43.  
  44. This is causing a problem with juju debug-hooks:
  45.  
  46. melmoth@x220:~$ juju debug-hooks mysql/0
  47. 2012-04-13 12:36:35,170 INFO Connecting to environment...
  48. 2012-04-13 12:36:35,942 INFO Connected to environment.
  49. 2012-04-13 12:36:36,004 INFO Connecting to remote machine server-41.novalocal...
  50. ssh: Could not resolve hostname server-41.novalocal: Name or service not known
  51. 2012-04-13 12:36:36,411 INFO Debug session ended.
  52. 2012-04-13 12:36:36,411 INFO 'debug_hooks' command finished successfully
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top