Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

auth warnings when openstack commands are executed from browser

Hi all,

I am trying to create a stack from my browser using a simple PHP shell_exec() command. However, it is giving me the error :

Missing value auth-url required for auth plugin password

The php code is as follows:

ob_start();

$exec = shell_exec("source keystonerc_admin");
$exec = shell_exec("openstack stack create --template /home/admin/HEAT-TEMPLATES/test.hot TestStack 2>&1"); 

ob_flush();

usleep(5000000);

echo "Done!!\n\n";
echo "<pre> $exec </pre>";

ob_flush();

The error remains the same with or without sourcing the keystonerc_admin command. I have tried to add the --os-user-id, --os-password and the --os-auth-url options with the stack creation command but I am still facing errors.

What should I do to execute openstack commands from a browser? Any pointers would be greatly appreciated.

auth warnings when openstack commands are executed from browser

Hi all,

I am trying to create a stack from my browser using a simple PHP shell_exec() command. However, it is giving me the error :

Missing value auth-url required for auth plugin password

The php code is as follows:

ob_start();

$exec = shell_exec("source keystonerc_admin");
$exec = shell_exec("openstack stack create --template /home/admin/HEAT-TEMPLATES/test.hot TestStack 2>&1"); 

ob_flush();

usleep(5000000);

echo "Done!!\n\n";
echo "<pre> $exec </pre>";

ob_flush();

The error remains the same with or without sourcing the keystonerc_admin command. I have tried to add the --os-user-id, --os-password and the --os-auth-url options with the stack creation command but I am still facing errors.

What should I do to execute openstack commands from a browser? Any pointers would be greatly appreciated.