Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip/bypass PRE_CONSENT message during chef runs? #353

Closed
ghost opened this issue Mar 10, 2015 · 4 comments
Closed

skip/bypass PRE_CONSENT message during chef runs? #353

ghost opened this issue Mar 10, 2015 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 10, 2015

Is there some sort of attribute that should be bypassing the PRE_CONSENT message?
after some tests ran an strace on the process after it ran for a very very long time

write(1, "Please input a valid mail addres"..., 42) = 42
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff70a90c00) = -1 EINVAL (Invalid argument)
lseek(0, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
read(0, "", 1)                          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "Please input a valid mail addres"..., 42) = 42
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff70a90c00) = -1 EINVAL (Invalid argument)
lseek(0, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
read(0, "", 1)                          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

obviously this ran until I killed it manually... what is supposed to handle this?

@jessp01
Copy link
Contributor

jessp01 commented Mar 10, 2015

Hello,

for none interactive installs, just use an answer file, with this template:
https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.6.0/doc/kaltura.template.ans

@jessp01 jessp01 closed this as completed Mar 10, 2015
@jessp01
Copy link
Contributor

jessp01 commented Mar 10, 2015

You may also be interested in using Chef in case you are planning on a cluster:
https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.6.0/doc/rpm-chef-cluster-deployment.md

@ghost
Copy link
Author

ghost commented Mar 10, 2015

jess,
this WAS using chef.... and it was stuck on that component when doing sphinx in the sphinx recipe it got stuck there for half an hour before I killed it manually

what values in here:
https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.6.0/doc/kaltura.template.ans

would go from the attributes in: https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.6.0/chef-repo/cookbooks/kaltura/templates/default/kaltura.ans.erb

to skip the question successfully?

is it this attribute below?:
default[:kaltura][:USER_CONSENT] = 0

Really not understanding why my generated answer file from chef would still prompt for a password....

@KalturaCommunity-zz
Copy link

Yes. Like you wrote should work. Otherwise its a bug which you can bypass with echo NO | kaltura-config-script-name.sh

If so please submit a report.

May the source be with you,

Jess Portnoy

-------- Original message --------
From: nukepuppy notifications@github.com
Date:
To: kaltura/platform-install-packages platform-install-packages@noreply.github.com
Subject: Re: [platform-install-packages] skip/bypass PRE_CONSENT message during chef runs? (#353)

jess,
this WAS using chef.... and it was stuck on that component when doing sphinx in the sphinx recipe it got stuck there for half an hour before I killed it manually
what values in here:
https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.6.0/doc/kaltura.template.ans

would go from the attributes in: https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.6.0/chef-repo/cookbooks/kaltura/templates/default/kaltura.ans.erb

to skip the question successfully?

default[:kaltura][:USER_CONSENT] = 0

Really not understanding why my generated answer file from chef would still prompt for a password....

Reply to this email directly or view it on GitHubhttps://github.com//issues/353#issuecomment-78115481.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants