@nocproject

Страница 1806 из 2357
Ivan
21.02.2018
20:41:46
Sergey
21.02.2018
20:42:14
да в environment

Ivan
21.02.2018
20:42:27
У тебя в environment какая ветка прописана?

да в environment
А зачем?

Google
Sergey
21.02.2018
20:46:00
вернул все по умолчанию. bitbucket говорит Project has moved

Алексей
21.02.2018
20:46:05
так и есть

на днях будет новая башня в которой все будет искаропки

Ilya
21.02.2018
20:46:33
https://code.getnoc.com/noc/noc/issues/697

только давай рхел чинить :)

Алексей
21.02.2018
20:47:13
уря
не тебе.

Ilya
21.02.2018
20:47:49
не тебе.
у меня есть тестовый рхел, можем потестить потом

Ivan
21.02.2018
20:49:30
Алексей
21.02.2018
20:49:45
да да

Google
Ivan
21.02.2018
20:50:13
да да
Мало ли

Sergey
21.02.2018
20:50:50
нет feature/microservices

Ilya
21.02.2018
20:50:53


Sergey
21.02.2018
21:00:43
у меня две ноды. нужно ли указывать где какие services запущены?

Ilya
21.02.2018
21:01:07
это учтено?

Sergey
21.02.2018
21:02:23
да башня на одной VM. есть две ноды. deploy не происходит

Ilya
21.02.2018
21:02:52
да башня на одной VM. есть две ноды. deploy не происходит
я бы рекомендовал ознакомится с документацией :)

Sergey
21.02.2018
21:02:54
вернее три VM

Ilya
21.02.2018
21:03:16
https://kb.nocproject.org/pages/viewpage.action?pageId=22970847

https://kb.nocproject.org/pages/viewpage.action?pageId=22970845

лучше с обзора начать

@sergzin

Евгений
21.02.2018
21:10:52
Ребят а как в башне правильно что настраиватьт?



Алексей
21.02.2018
21:11:14
ак там в статье всё было же

где кликать чо нажимать

Евгений
21.02.2018
21:12:15
немогу понять как правильно настроить

Google
Ilya
21.02.2018
21:12:17
Ребят а как в башне правильно что настраиватьт?
лучше ознакомиться сперва с сервисами и понять какой за что отвечает. Что нужно и что не нужно

https://kb.nocproject.org/pages/viewpage.action?pageId=22970845

Sergey
21.02.2018
21:12:18


Ilya
21.02.2018
21:12:27
save нажимал?

для проверки f5 :)

Sergey
21.02.2018
21:13:58
save жал

в логах 404: Feb 21 16:13:27 tower tower-web[920]: 2018-02-21 16:13:27,498 [tornado.access] 200 POST /api/pull/ (10.0.2.2) 3.21ms Feb 21 16:13:27 tower tower-web[920]: 2018-02-21 16:13:27,523 [tornado.access] 404 GET /deploy/NOC-local/?deployment_options=1 (10.0.2.2) 0.55ms

Ilya
21.02.2018
21:16:48
Первый Deploy ругается <html><title>404: Not Found</title><body>404: Not Found</body></html>. Сохранить везде тыкал. Что я делаю не так?

как называется Environment ?

никаких русских и спец символов. только буквы и цифры

везде!

SSB NOC Test Env И пробелы тоже нельзя?

нет. нельзя. это передается в переменную окружения. у нее такие ограничения.

use search

Алексей
21.02.2018
21:17:42
я все эти косяки вроде в новой башне поправил. но надо еще тестить.

Илья нашел одни косяки, Ваня другие. дотестируем выпущу

Евгений
21.02.2018
21:19:35
и ставим нужное количество в Instances;

не пойму что пункт значит\

Алексей
21.02.2018
21:20:28
ставь 1.

Ivan
21.02.2018
21:21:24
Я ещё не искал :(

Google
Алексей
21.02.2018
21:21:53
ну что же ты. я то думаю что всё ок

Ilya
21.02.2018
21:27:20
@freeseacher в новой башне запущенный таск будет отменяться, если ты например обновил страницу в браузере и запустил новый таск?

Алексей
21.02.2018
21:27:40
нет

Ilya
21.02.2018
21:31:36
firewalld надо будет рассмотреть кстати отдельно, если башня его ещё настраивает

Евгений
21.02.2018
21:32:43
Starting job #5 [WARNING]: * Failed to parse /opt/tower/bin/tower-inv with script plugin: Inventory script (/opt/tower/bin/tower-inv) had an execution error: Traceback (most recent call last): File "/opt/tower/bin/tower-inv", line 11, in <module> load_entry_point ('noc-tower==0.1a73', 'console_scripts', 'tower-inv')() File "/opt/tower/local/lib/python2.7/site-packages/tower/cli/inv.py", line 38, in main ansible_list(options, args) File "/opt/tower/local/lib/python2.7/site- packages/tower/cli/inv.py", line 61, in ansible_list print json.dumps(env.ansible_inventory(), sort_keys=True) File "/opt/tower/local/lib/python2.7/site-packages/tower/models/environment.py", line 299, in ansible_inventory key=lambda ss: [-ss.n_instances] + [int(x) for x in ss.node.get_address().split(".")] File "/opt/tower/local/lib/python2.7/site- packages/tower/models/environment.py", line 299, in <lambda> key=lambda ss: [-ss.n_instances] + [int(x) for x in ss.node.get_address().split(".")] ValueError: invalid literal for int() with base 10: '-p 9987 192' [WARNING]: * Failed to parse /opt/tower/bin/tower-inv with yaml plugin: Syntax Error while loading YAML. The error appears to have been in '/opt/tower/bin/tower-inv': line 8, column 26, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: if name == 'main': ^ here exception type: <class 'yaml.scanner.ScannerError'> exception: mapping values are not allowed here in "<unicode string>", line 8, column 26: if name == 'main': ^ [WARNING]: * Failed to parse /opt/tower/bin/tower-inv with ini plugin: /opt/tower/bin/tower-inv:4: Expected key=value host variable assignment, got: re [WARNING]: Unable to parse /opt/tower/bin/tower-inv as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. PLAY [pre tasks] 00:08 TASK [Gathering Facts] 00:08 fatal: [requires]: UNREACHABLE! => { "changed": false, "unreachable": true } MSG: SSH Error: data could not be sent to remote host "requires". Make sure this host can be reached over ssh to retry, use: —limit @/opt/tower/var/tower/playbooks/NOC/ansible/site.retry PLAY RECAP 00:09 requires : ok=0 changed=0 unreachable=1 failed=0

что за дичь?

Алексей
21.02.2018
21:36:30
invalid literal for int() with base 10: '-p 9987 192'

что в адресе ноды ?

Евгений
21.02.2018
21:36:49
-p 9987 192.168.1.200

Алексей
21.02.2018
21:36:57
так не надо.

надо 192.168.1.200:9987

Евгений
21.02.2018
21:38:12
PLAY [pre tasks] 00:08 TASK [Gathering Facts] 00:08 ok: [noc] TASK [pre : Loading system-dependend settings] 00:12 ok: [noc] TASK [pre : Display ansible_connection type] 00:12 skipping: [noc] TASK [pre : Set tower_ip] 00:12 ok: [noc] TASK [pre : Set tower_ip on local connection] 00:13 skipping: [noc] TASK [pre : resolv consul_env] 00:13 ok: [noc] TASK [pre : Load variables from consul] 00:13 skipping: [noc] TASK [pre : Load variables from tower] 00:13 ok: [noc] TASK [pre : resolv web_ui_language] 00:13 ok: [noc] TASK [pre : resolv virtual vars] 00:13 ok: [noc] TASK [pre : set proxy] 00:14 skipping: [noc] TASK [pre : Elect postgres master] 00:14 skipping: [noc] TASK [pre : create tower dist dir] 00:14 ok: [noc -> 127.0.0.1] TASK [pre : Display all variables/facts known for a host] 00:14 skipping: [noc] TASK [pre : Check ansible version] 00:15 skipping: [noc] TASK [pre : Check distribution compatibility] 00:15 skipping: [noc] TASK [pre : Fail if not a new release of Red Hat / CentOS] 00:15 skipping: [noc] TASK [pre : Fail if not a new release of Debian] 00:15 skipping: [noc] TASK [pre : Fail if too new release of Debian] 00:15 skipping: [noc] TASK [pre : Fail for a new release of Ubuntu] 00:15 skipping: [noc] TASK [pre : Fail for a old release of Ubuntu] 00:15 skipping: [noc] TASK [pre : tower version is too old] 00:15 skipping: [noc] TASK [pre : tower version is old] 00:15 skipping: [noc] TASK [pre : No mongodb server set] 00:15 skipping: [noc] TASK [pre : No postgres server set] 00:15 skipping: [noc] TASK [pre : prepare pgbouncer facts] 00:15 ok: [noc] TASK [pre : Check pgbouncer] 00:16 skipping: [noc] TASK [pre : Monitoring output is not choosen] 00:16 skipping: [noc] TASK [pre : Ensure tower url] 00:16 fatal: [noc]: FAILED! => { "changed": false } MSG: Please ensure that correct settings has been provided on tower settings page and they was saved. NO MORE HOSTS LEFT 00:16 to retry, use: —limit @/opt/tower/var/tower/playbooks/NOC/ansible/site.retry PLAY RECAP 00:16 noc : ok=9 changed=0 unreachable=0 failed=1

Алексей
21.02.2018
21:38:28
PLAY [pre tasks] 00:08 TASK [Gathering Facts] 00:08 ok: [noc] TASK [pre : Loading system-dependend settings] 00:12 ok: [noc] TASK [pre : Display ansible_connection type] 00:12 skipping: [noc] TASK [pre : Set tower_ip] 00:12 ok: [noc] TASK [pre : Set tower_ip on local connection] 00:13 skipping: [noc] TASK [pre : resolv consul_env] 00:13 ok: [noc] TASK [pre : Load variables from consul] 00:13 skipping: [noc] TASK [pre : Load variables from tower] 00:13 ok: [noc] TASK [pre : resolv web_ui_language] 00:13 ok: [noc] TASK [pre : resolv virtual vars] 00:13 ok: [noc] TASK [pre : set proxy] 00:14 skipping: [noc] TASK [pre : Elect postgres master] 00:14 skipping: [noc] TASK [pre : create tower dist dir] 00:14 ok: [noc -> 127.0.0.1] TASK [pre : Display all variables/facts known for a host] 00:14 skipping: [noc] TASK [pre : Check ansible version] 00:15 skipping: [noc] TASK [pre : Check distribution compatibility] 00:15 skipping: [noc] TASK [pre : Fail if not a new release of Red Hat / CentOS] 00:15 skipping: [noc] TASK [pre : Fail if not a new release of Debian] 00:15 skipping: [noc] TASK [pre : Fail if too new release of Debian] 00:15 skipping: [noc] TASK [pre : Fail for a new release of Ubuntu] 00:15 skipping: [noc] TASK [pre : Fail for a old release of Ubuntu] 00:15 skipping: [noc] TASK [pre : tower version is too old] 00:15 skipping: [noc] TASK [pre : tower version is old] 00:15 skipping: [noc] TASK [pre : No mongodb server set] 00:15 skipping: [noc] TASK [pre : No postgres server set] 00:15 skipping: [noc] TASK [pre : prepare pgbouncer facts] 00:15 ok: [noc] TASK [pre : Check pgbouncer] 00:16 skipping: [noc] TASK [pre : Monitoring output is not choosen] 00:16 skipping: [noc] TASK [pre : Ensure tower url] 00:16 fatal: [noc]: FAILED! => { "changed": false } MSG: Please ensure that correct settings has been provided on tower settings page and they was saved. NO MORE HOSTS LEFT 00:16 to retry, use: —limit @/opt/tower/var/tower/playbooks/NOC/ansible/site.retry PLAY RECAP 00:16 noc : ok=9 changed=0 unreachable=0 failed=1
не надо так

файлом. или на пасту

мотать в чате 1000500 букв никому не нравится.

Евгений
21.02.2018
21:39:24
ok

что это за беда уже?

надо 192.168.1.200:9987
помогло ,спс

Алексей
21.02.2018
21:40:37
что это за беда уже?
красные буквы. после них слова. английском.

Please ensure that correct settings has been provided on tower settings page and they was saved.

Google
Алексей
21.02.2018
21:42:48
хотя наверное на наанлгийском

а нарунглише

Евгений
21.02.2018
21:45:47
так и не понял что это за проблема

Ivan
21.02.2018
21:48:04
так и не понял что это за проблема
Сервисы выбирал? Сейв делал?

Надо правильно выбирать

Евгений
21.02.2018
21:48:16
все выбрал

Ivan
21.02.2018
21:48:21
Евгений
21.02.2018
21:48:34
можете глянуть плз

81.162.240.187:8888

Ivan
21.02.2018
21:48:44
все выбрал
Опрометчиво. Показывай

Ой, картинкой лучше

Алексей
21.02.2018
21:49:22
в настройках не выбрано чо

settings и url

Ivan
21.02.2018
21:51:50
81.162.240.187:8888
С телефона показывает, что у тебя три дефолт пула

Или глюк башни или ты накопировал что-нить

Евгений
21.02.2018
21:52:27
так и было

Sergey
21.02.2018
21:52:53
у меня тоже 3 пула было

Евгений
21.02.2018
21:53:21




Sergey
21.02.2018
21:53:24
когда удаляешь envonment pool остается

Евгений
21.02.2018
21:54:08


kk
21.02.2018
21:54:53

Страница 1806 из 2357